/* Variables for easy color changes */
:root {
    --primary-color: #00b894; /* Medical Teal */
    --primary-dark: #00a383;
    --secondary-color: #e3fdf5; /* Light Mint */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 184, 148, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f9fbfd;
}

/* Utilities */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; }
ul { list-style: none; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--primary-color);
    margin-left: 20px;
    font-weight: 600;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-white:hover {
    background-color: var(--secondary-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo span { color: var(--primary-color); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dark); font-weight: 500; }
.nav-links .btn-primary { color: var(--white); }

/* --- Updated Hero Section (Text-First & Responsive) --- */
.hero {
    /* Reduced top padding to move everything up */
    padding: 20px 0 60px 0; 
    background: linear-gradient(to right, #ffffff, var(--secondary-color));
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    /* Lifting the content higher */
    margin-top: -30px; 
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); 
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 480px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Mobile Responsiveness (Priority: Text First) --- */
@media (max-width: 992px) {
    .hero {
        padding: 30px 0;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr; /* Stacks vertically */
        gap: 40px;
        margin-top: 0;
    }

    .hero-text {
        order: 1; /* Force text to the TOP */
    }

    .hero-image {
        order: 2; /* Move image BELOW the text */
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.9rem;
    }
    
    .hero-image {
        max-width: 280px; /* Smaller image on tiny screens to keep focus on text */
    }
}

/* Services Section */
.services { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); }
.card img { width: 80px; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* About Section */
.about { padding: 100px 0; background-color: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-image img { width: 100%; border-radius: 20px; }

.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Enhanced Footer Styles --- */
.footer {
    padding: 50px 0 30px;
    background-color: #00b591; /* Slightly darker teal for better contrast */
    color: var(--white);
    text-align: left; /* Standard alignment */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--secondary-color); /* Light mint accent */
}

.footer-desc {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary-color);
}

.footer-contact li {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-weight: bold;
    font-size: 0.8rem;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer {
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-social {
        justify-content: center;
    }
}

/* Mobile Responsiveness */
.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block; width: 25px; height: 3px; background: var(--text-dark); margin: 5px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav on mobile initially */
        position: absolute;
        top: 70px; right: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .btn-secondary { margin-left: 0; }
    .about-image { order: -1; /* Image on top */ }
}/* --- Contact Section --- */
.contact {
    padding: 20px 0 80px 0;
    background-color: #f9fbfd;
}

.contact-info-form {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Slightly wider form than info */
    gap: 50px;
    margin-top: 40px;
    align-items: start;
}

/* Contact Info Card */
.contact-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.info-item strong {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fcfdfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.1);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

/* Social Media Section */
.social-media {
    margin-top: 60px;
    text-align: center;
}

.social-media h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.social-media ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-media ul li a {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.social-media ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-info-form {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 30px 20px;
    }

    .social-media ul {
        flex-wrap: wrap;
    }
}/* --- Modern Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hamburger Animation to X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Combined About Section Styles --- */
.about-us-section {
    padding: 50px 0 80px 0;
    background-color: #fff;
}

.about-flex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch; /* Ensures equal height */
}

.goals-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.goal-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    flex: 1; /* Makes cards fill equal space */
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 15px;
}

.values-column {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
}

.values-column h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.values-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 25px;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .about-flex-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 0;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
