/* Custom CSS for PrapMed Website */

:root {
    --primary-color: #059669;
    --secondary-color: #0d9488;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #059669, #0d9488);
    --gradient-secondary: linear-gradient(135deg, #10b981, #059669);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.brand-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -2px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-cta {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #f0fdfa 100%);
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
    top: 40%;
    right: 20%;
    animation-delay: -2s;
}

.floating-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    bottom: 30%;
    left: 25%;
    animation-delay: -4s;
}

.medical-cross {
    position: absolute;
    top: 25%;
    right: 25%;
    opacity: 0.05;
    width: 128px;
    height: 128px;
}

.medical-cross::before,
.medical-cross::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    border-radius: 4px;
}

.medical-cross::before {
    width: 128px;
    height: 16px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.medical-cross::after {
    width: 16px;
    height: 128px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    padding: 80px 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-secondary {
    border: 2px solid #d1d5db;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    padding-top: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    padding: 2rem;
}

.medicine-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.7s ease;
    transform-style: preserve-3d;
}

.medicine-card:hover {
    transform: rotateY(2deg) rotateX(2deg) scale(1.05);
}

.card-header {
    margin-bottom: 1.5rem;
}

.quality-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quality-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.quality-rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.medicine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.medicine-item {
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.medicine-item:hover {
    transform: scale(1.1);
}

.medicine-item i {
    color: var(--white);
    font-size: 1.5rem;
}

.medicine-1 { background: linear-gradient(135deg, #f97316, #ea580c); }
.medicine-2 { background: linear-gradient(135deg, #10b981, #059669); }
.medicine-3 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.medicine-4 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.medicine-5 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.medicine-6 { background: linear-gradient(135deg, #10b981, #059669); }

.innovation-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 12px;
    padding: 1rem;
}

.innovation-badge h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.innovation-badge small {
    color: var(--text-light);
}

.floating-badge {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.7s ease;
}

.floating-badge:hover {
    transform: rotate(12deg);
}

.badge-1 {
    background: linear-gradient(135deg, #f97316, #ea580c);
    top: -16px;
    right: -16px;
}

.badge-2 {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    bottom: -16px;
    left: -16px;
}

.badge-3 {
    background: linear-gradient(135deg, #10b981, #059669);
    top: 50%;
    left: -32px;
    width: 32px;
    height: 32px;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #f9fafb, #ecfdf5);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.trust-item {
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
}

.trust-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    box-shadow: var(--shadow-xl);
}

.trust-icon i {
    color: var(--primary-color);
    font-size: 2rem;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.trust-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(16, 185, 129, 0.2);
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-icon i {
    color: var(--white);
    font-size: 2rem;
}

.product-icon-1 { background: linear-gradient(135deg, #f97316, #ea580c); }
.product-icon-2 { background: linear-gradient(135deg, #10b981, #059669); }
.product-icon-3 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.product-icon-4 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.product-icon-5 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.product-icon-6 { background: linear-gradient(135deg, #10b981, #059669); }

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-features .fa-check-circle {
    color: var(--accent-color);
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--secondary-color);
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(4px);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    padding: 5rem 0;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

.about-values {
    margin-top: 2rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.value-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.value-icon-1 { background: var(--gradient-primary); }
.value-icon-2 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.value-icon-3 { background: linear-gradient(135deg, #f97316, #ea580c); }

.value-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.value-desc {
    color: var(--text-light);
}

.about-visual {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: 256px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.about-info h5 {
    font-weight: 700;
    color: var(--text-dark);
}

.about-info p {
    color: var(--text-light);
}

.certification-badges .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-xl);
}

.testimonial-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #fbbf24;
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    background: var(--primary-color);
}

/* Quality Section */
.quality-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.quality-item {
    transition: all 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-4px);
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.quality-item:hover .quality-icon {
    box-shadow: var(--shadow-xl);
}

.quality-icon i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.quality-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.quality-desc {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-light {
    border-radius: 25px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light {
    border: 2px solid var(--white);
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    box-shadow: var(--shadow-xl);
}

.contact-icon i {
    color: var(--white);
    font-size: 2rem;
}

.contact-icon-1 { background: var(--gradient-primary); }
.contact-icon-2 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.contact-icon-3 { background: linear-gradient(135deg, #f97316, #ea580c); }

.contact-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Footer */
.footer-section {
    background: #111827;
    color: var(--white);
    padding: 4rem 0;
}

.footer-brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: -2px;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4b5563;
    color: var(--white);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .medicine-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-visual {
        padding: 1rem;
    }
    
    .floating-badge {
        display: none;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Modal Enhancements */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: linear-gradient(135deg, #f9fafb, #ecfdf5);
    border-radius: 16px 16px 0 0;
}

.modal-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* Form Enhancements */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-check-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.partnership-info {
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}

.partnership-info h6 {
    font-weight: 600;
    margin-bottom: 16px;
}

.partnership-info ul li {
    font-size: 14px;
    color: var(--text-light);
}

/* Video Modal Enhancements */
.modal-xl .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.ratio iframe {
    border-radius: 0;
}

/* Button Enhancements */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .partnership-info {
        margin-bottom: 2rem;
    }
    
    .form-check-group {
        grid-template-columns: 1fr;
    }
}