:root {
    --primary: #003B5C;
    --secondary: #0077B6;
    --accent: #90E0EF;
    --light: #F8F9FA;
    --dark: #001D2D;
    --text: #334155;
    --light-text: #64748B;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #003B5C 0%, #001D2D 100%);
    --shadow: 0 10px 30px -15px rgba(0, 59, 92, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
}

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

.subtitle {
    display: inline-block;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    padding: 15px 0;
    background: rgba(0, 59, 92, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(144, 224, 239, 0.2);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section with Animation */
#hero {
    height: 350vh;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

/* Glass & Vignette Overlay */
.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 59, 92, 0) 30%, rgba(0, 59, 92, 0.3) 80%, var(--dark) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Ribbed Glass Texture (Reeded Glass) */
.glass-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    display: flex;
    pointer-events: none;
    opacity: 0.7;
}

.glass-texture span {
    flex: 1;
    height: 100%;
    backdrop-filter: blur(2px);
    /* Very subtle as requested */
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0%, transparent 50%, rgba(0, 0, 0, 0.02) 100%);
}

/* Subtle Film Grain */
.noise-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 3;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
}

#animation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    pointer-events: none;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--white);
    max-width: 800px;
    margin-bottom: 40px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.mouse-icon {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* Sections General */
#about,
#infrastructure,
#services,
#testimonials,
#contact,
#cta {
    position: relative;
    z-index: 20;
    padding: 120px 0;
    background: var(--white);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

#about h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

#about p {
    margin-bottom: 25px;
    color: var(--light-text);
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature .icon {
    font-size: 1.5rem;
    background: rgba(0, 119, 182, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature p {
    font-size: 0.9rem !important;
    margin: 0 !important;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 30px 30px 0px var(--primary);
}

/* Services Section */
#services {
    background: var(--light);
}

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

.section-header h2 {
    font-size: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 119, 182, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-text);
}

/* Infrastructure */
.infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.infra-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.infra-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.infra-list {
    list-style: none;
    margin-top: 30px;
}

.infra-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-left: 30px;
    position: relative;
}

.infra-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Testimonials */
#testimonials {
    background: var(--dark);
    color: var(--white);
}

#testimonials h2,
#testimonials .subtitle {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.patient-info strong {
    display: block;
    color: var(--secondary);
    font-size: 1.1rem;
}

.patient-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* CTA Section */
#cta {
    background: var(--secondary);
    color: var(--primary);
    text-align: center;
    padding: 80px 0;
}

#cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

#cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact */
.contact-card {
    background: var(--primary);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-info {
    padding: 80px;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    margin-top: 50px;
}

.contact-details li {
    margin-bottom: 30px;
    font-size: 1.1rem;
    display: flex;
    gap: 20px;
}

.contact-form-placeholder {
    padding: 80px;
    background: var(--white);
}

.contact-form-placeholder input,
.contact-form-placeholder textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-family: inherit;
    background: #F9FAFB;
    transition: var(--transition);
}

.contact-form-placeholder input:focus,
.contact-form-placeholder textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-form {
    display: flex;
    gap: 10px;
}

.footer-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    width: 100%;
}

.btn-small {
    background: var(--secondary);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 992px) {
    #hero {
        height: 180vh;
        /* Better for mobile touch scroll */
    }

    .hamburger {
        display: flex;
    }

    #navbar .btn-primary {
        display: none;
        /* Hide top button on mobile */
    }

    .nav-links {
        display: none;
    }

    .about-grid,
    .infra-grid,
    .testimonials-grid,
    .contact-card,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* About Section Mobile */
    .about-image img {
        box-shadow: 15px 15px 0px var(--primary);
        /* Reduced for mobile */
    }

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

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .contact-info,
    .contact-form-placeholder {
        padding: 40px 20px;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-form {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Specific Small Device Fixes */
@media (max-width: 480px) {
    #hero {
        height: 160vh;
    }

    .section-header h2,
    #about h2,
    .infra-text h2,
    #cta h2 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 12px 25px;
        width: 100%;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}