/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #1e3a8a;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.75rem;
    color: #1e3a8a;
    margin: 0;
    font-weight: 700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link:visited {
    color: #374151;
}

.nav-link:visited:hover,
.nav-link:visited.active {
    color: #3b82f6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #3b82f6;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -3px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.stat h3 {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Products Section */
.products {
    background-color: #f8fafc;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    border-color: #dbeafe;
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #dbeafe;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.product-card p {
    color: #6b7280;
    margin: 0;
}

/* About Section */
.about {
    background-color: #f8fafc;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.feature h4 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.feature p {
    color: #6b7280;
    margin: 0;
}

/* Quality Section */
.quality {
    background-color: #f1f5f9;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    min-width: 0;
}

/* Responsive for quality grid */
@media (max-width: 1600px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.quality-card {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.quality-card:hover {
    background-color: #dbeafe;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.quality-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.quality-card p {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.certificate-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.quality-card:hover .certificate-icon {
    opacity: 1;
}

.certificate-icon svg {
    flex-shrink: 0;
}

/* References Section */
.references {
    background-color: #f8fafc;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1400px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .references-grid {
        grid-template-columns: 1fr;
    }
}

.reference-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    font-weight: 500;
    color: #1e3a8a;
    transition: all 0.3s ease;
}

.reference-item:hover {
    background-color: #dbeafe;
    border-color: #3b82f6;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item h4 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.contact-form h4 {
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        margin-left: auto;
    }

    .nav-wrapper {
        position: relative;
        justify-content: space-between;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1002;
    }

    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
        cursor: pointer;
        pointer-events: auto;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }
}

@media (min-width: 769px) {
    .nav-list {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        flex-direction: row;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        margin-top: 80px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .quality-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Hospitals Page Styles */
.hospitals-section {
    padding: 60px 0;
}

.hospitals-section:nth-child(even) {
    background-color: #f8fafc;
}

.hospitals-section:nth-child(odd) {
    background-color: #ffffff;
}

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.hospital-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hospital-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.hospital-card h3 {
    color: #1e3a8a;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.hospital-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Make reference items linkable */
.reference-item {
    text-decoration: none;
    display: block;
}

.reference-item:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .hospitals-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Support Button */
.whatsapp-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .whatsapp-btn span {
        display: none;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .whatsapp-support {
        bottom: 15px;
        right: 15px;
    }
    
    /* Scroll to top button adjustment for mobile */
    .scroll-to-top {
        bottom: 85px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .product-card,
    .contact-form {
        padding: 1.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .hospital-card {
        padding: 1.25rem;
    }
}
