:root {
    --brand-color: #CB776D;
    --text-dark: #2D3134;
    --text-gray: #676E73;
    --bg-light: #F9FAFB;
    --transition: all 0.3s ease;
    --max-content-width: 1400px; /* Updated to 1400px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: #fff;
}

/* --- Container Utility --- */
.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 40px; /* Balanced side padding */
}


/* --- Logo Styling --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between hard-hat icon and text */
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.logo-icon {
    background-color: var(--brand-color); /* #CB776D */
    color: white;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* Modern rounded square look */
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(203, 119, 109, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

/* Optional: Slight color shift on hover */
.logo:hover .logo-icon {
    transform: translateY(-2px);
    background-color: #b8665c; /* Slightly darker shade of brand color */
}

/* Adjusting Logo Text for Scrolled Navbar if needed */
.navbar.scrolled .logo-text {
    color: #1A1D1F; /* Ensure it's sharp against the white background */
}

/* --- Base Navbar Styles --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

/* Scrolled State (Triggered by JS) */
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--brand-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.login-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.btn-signup {
    background: var(--brand-color);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none; /* Hidden by default */
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    /* Active State for Mobile Menu */
    .nav-container.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: left;
        gap: 20px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-signup {
        width: 100%;
        text-align: center;
    }
}

/* --- Hero Section --- */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-left {
    flex: 1.2;
}

.hero-badge {
    background: #FFF5F4;
    color: var(--brand-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-left h1 {
    font-size: 72px; /* Slightly larger for the wider container */
    margin: 25px 0;
    line-height: 1.05;
}

.hero-left h1 span {
    color: var(--brand-color);
}

.hero-left p {
    color: var(--text-gray);
    font-size: 19px;
    max-width: 550px;
    margin-bottom: 45px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--brand-color);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(203, 119, 109, 0.2);
}

.btn-secondary {
    border: 1px solid #E5E7EB;
    color: var(--text-gray);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat h3 {
    font-size: 34px;
    margin-bottom: 4px;
}

.stat p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* --- Hero Right --- */
.hero-right {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.main-hero-img {
    width: 100%;
    border-radius: 40px;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.floating-card {
    position: absolute;
    bottom: 12%;
    left: -70px;
    background: white;
    padding: 24px 30px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    min-width: 280px;
}

.card-subtitle {
    color: var(--brand-color);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.doctor-avatar {
    width: 48px;
    height: 48px;
    background: var(--brand-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1150px) {
    .hero-left h1 { font-size: 56px; }
    .floating-card { left: -20px; }
}

@media (max-width: 1024px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-left p { margin: 20px auto 40px; }
    .hero-cta, .hero-stats { justify-content: center; }
    .hero-right { justify-content: center; margin-top: 50px; width: 100%; }
    .floating-card { left: 50%; transform: translateX(-50%); bottom: -30px; }
}



/* --- Welcome Section --- */
.welcome {
    padding: 100px 0;
    background-color: #fff;
}

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.welcome-header h2 {
    font-size: 36px;
    max-width: 600px;
    line-height: 1.3;
}

.header-stat {
    text-align: right;
}

.header-stat h3 {
    font-size: 32px;
    color: var(--brand-color);
}

.header-stat p {
    font-size: 14px;
    color: var(--text-gray);
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.welcome-image-side {
    flex: 1;
}

.welcome-image-side .image-container {
    position: relative;
    max-width: 500px;
}

.welcome-img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

/* Floating Trend Card */
.trend-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 240px;
}

.trend-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.trend-value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.trend-value h4 {
    font-size: 28px;
    color: var(--brand-color);
}

.trend-badge {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.trend-chart {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.chart-days {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 10px;
}

.welcome-text-side {
    flex: 1;
}

.welcome-text-side h2 {
    font-size: 48px;
    line-height: 1.2;
    margin: 20px 0;
}

.welcome-text-side h2 span {
    color: var(--brand-color);
}

.welcome-text-side p {
    color: var(--text-gray);
    font-size: 17px;
    margin-bottom: 40px;
}

.welcome-btns {
    display: flex;
    gap: 15px;
}

.btn-outline-small {
    border: 1px solid #E5E7EB;
    color: var(--text-gray);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-small:hover {
    background: #f9f9f9;
}

/* Responsive Welcome Section */
@media (max-width: 1024px) {
    .welcome-header {
        flex-direction: column;
        align-items: left;
        text-align: left;
        gap: 20px;
    }
    .header-stat { text-align: left; }
    .welcome-content {
        flex-direction: column-reverse;
        gap: 60px;
    }
    .welcome-text-side { text-align: left; }
    .welcome-btns { justify-content: center; }
    .welcome-image-side .image-container { margin: 0 auto; }
}



/* --- Services Section --- */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.services-intro p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

/* Featured Card Styles (First item) */
.service-card.featured {
    background-color: var(--brand-color);
    color: white;
    border: none;
}

.service-card.featured .s-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .read-more {
    color: white;
}

/* Standard Card Styles */
.s-icon {
    width: 50px;
    height: 50px;
    background: #FFF5F4;
    color: var(--brand-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    text-decoration: none;
    color: var(--brand-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card:not(.featured):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: transparent;
}

/* Responsive Grid */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-intro h2 {
        font-size: 32px;
    }
}



/* --- Why Choose Us Section --- */
.why-choose {
    padding: 100px 0;
    background-color: #fff;
}

.why-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-text {
    flex: 1;
}

.why-text h2 {
    font-size: 48px;
    line-height: 1.1;
    margin: 25px 0;
}

.why-text h2 span {
    color: var(--brand-color);
}

.why-text p {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.why-btns {
    display: flex;
    gap: 20px;
}

/* Image Side and Progress Card */
.why-image-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.why-image-wrapper {
    position: relative;
    max-width: 520px;
}

.why-main-img {
    width: 100%;
    border-radius: 40px;
    display: block;
}

.progress-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: white;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    width: 300px;
}

.p-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.p-card-header p {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.p-card-header i {
    color: #ddd;
    font-size: 12px;
}

.p-card-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-icon {
    width: 45px;
    height: 45px;
    background: var(--brand-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-info {
    flex: 1;
}

.p-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 75%; /* Represents the progress level */
    height: 100%;
    background: var(--brand-color);
}

/* Responsive Why Choose Section */
@media (max-width: 1024px) {
    .why-content {
        flex-direction: column;
        text-align: center;
    }
    .why-text h2 { font-size: 38px; }
    .why-btns { justify-content: left; }
    .why-image-side { justify-content: left; margin-top: 40px; }
    .progress-card { left: 50%; transform: translateX(-50%); bottom: -20px; }
}







/* --- How We Work Section --- */
.process {
    padding: 100px 0;
    background-color: #F9FAFB; /* Light background to separate from white sections */
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.process-header h2 {
    font-size: 38px;
    max-width: 500px;
    line-height: 1.2;
}

.slider-controls {
    display: flex;
    gap: 15px;
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--brand-color);
    color: white;
    border-color: var(--brand-color);
}

.process-slider {
    display: flex;
    gap: 30px;
    overflow: hidden; /* In a real app, this would be handled by JS slider */
}

.process-card {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Active Step Styling */
.process-card.active {
    background-color: var(--brand-color);
    color: white;
    border: none;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(203, 119, 109, 0.2);
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.process-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.process-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.process-card.active p {
    color: rgba(255, 255, 255, 0.9);
}

/* Step Indicator Dots inside cards */
.step-indicator {
    display: flex;
    gap: 8px;
}

.step-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #eee;
}

.process-card.active .step-indicator span {
    background: rgba(255, 255, 255, 0.3);
}

/* Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--brand-color);
    width: 20px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-slider {
        flex-direction: column;
    }
    .process-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}



/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-content {
    display: flex;
    gap: 80px;
}

.faq-title-side {
    flex: 1;
}

.faq-title-side h2 {
    font-size: 42px;
    margin: 20px 0;
    line-height: 1.2;
}

.faq-title-side p {
    color: var(--text-gray);
    font-size: 16px;
}

.faq-list-side {
    flex: 1.5;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 25px 0;
    transition: var(--transition);
}

.faq-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

.faq-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-color);
}

.faq-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-header i {
    font-size: 14px;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-body p {
    padding: 15px 0 0 45px;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Active State for FAQ */
.faq-item.active .faq-body {
    max-height: 200px; /* Adjust based on content */
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* Responsive FAQ */
@media (max-width: 1024px) {
    .faq-content {
        flex-direction: column;
        gap: 40px;
    }
    .faq-title-side { text-align: left; }
}







/* --- Footer Section --- */
.footer {
    background-color: #0A142F; /* Dark navy background */
    color: #fff;
    padding-top: 60px;
    padding-bottom: 40px;
}

/* Newsletter Bar */
.newsletter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.newsletter-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.newsletter-form .input-group {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px 5px 5px 45px;
    display: flex;
    align-items: center;
    min-width: 400px;
}

.newsletter-form i {
    position: absolute;
    left: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 0;
    flex: 1;
    outline: none;
}

.btn-subscribe {
    background: var(--brand-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-subscribe:hover {
    filter: brightness(1.1);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--brand-color);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.bottom-links {
    display: flex;
    gap: 25px;
}

.bottom-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.bottom-links a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .footer-brand { grid-column: span 3; margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .newsletter-bar {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .newsletter-form .input-group {
        min-width: 100%;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand { grid-column: span 2; }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}








