
:root {
    /* Purple brand palette based on #772f8d */
    --brand-main: #f5eef7;
    --brand-light: #e8d4f0;
    --brand-dark: #4a1b57;
    --brand-accent: #f5a623;
    --text-primary: #2d1435;
    --text-secondary: #5c3d66;
    --text-light: #ffffff;
    --card-bg: #ffffff;
    --card-shadow: rgba(119, 47, 141, 0.15);

    --bg:#e9f9ef;
    --text:#2b2f33;
    --muted:#66727f;
    --card:#fff;
    --shadow:0 14px 28px rgba(15,23,42,.08);
    --speed:28s; /* marquee speed */
    
    /* Additional variables */
    --border: rgba(0, 0, 0, 0.08);
    --green: #0b7b57;
    --primary: #2d1435;

    /* New breakpoints */
    --breakpoint-mobile-sm: 320px;
    --breakpoint-mobile-md: 480px;
    --breakpoint-tablet: 768px;
    --breakpoint-laptop-sm: 1024px;
    --breakpoint-laptop-md: 1280px;
    --breakpoint-desktop: 1440px;
}

@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

/* Base styles for all screen sizes */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient( at left , var(--brand-light) 0%, var(--brand-main) 60%, #5e2472 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden; /* Ensure no horizontal scrolling */
}

.top-hero-bg{
    position: absolute;
    z-index: 0;
}

.top-heading::after{
    content: "";
    position: absolute;
    z-index: 1;
}

.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 32px 64px;
}

/* General responsive adjustments for .page and .page2 */
@media (max-width: 1200px) {
    .page, .page2 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .page, .page2 {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 20px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .page, .page2 {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 15px;
        padding-bottom: 30px;
    }
}

.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}

/* ------------ HEADER ------------ */
.top-bar {
    position: relative; 
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-wrapper img {
    height: 90px;
    width: auto;
    display: block;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
}

.menu-icon {
    width: 36px;
    height: 26px;
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-icon span {
    height: 3px;
    border-radius: 99px;
    background: var(--text-light);
    opacity: 0.9;
}

/* Responsive adjustments for top-bar and menu-icon */
@media (max-width: 768px) {
    .top-bar {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }

    .logo-wrapper img {
        height: 70px; /* Smaller logo on mobile */
    }

    .menu-icon {
        display: flex; /* Show menu icon on smaller screens */
    }
}

@media (max-width: 480px) {
    .logo-wrapper img {
        height: 60px; /* Even smaller logo on extra small screens */
    }
}

/* ------------ HERO SECTION ------------ */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1 1 360px;
    max-width: 520px;
}

.hero-right {
    position: relative;
    flex: 1 1 360px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--card-bg);
    font-size: 0.8rem;
    color: var(--text-secondary);
    box-shadow: 0 12px 28px var(--card-shadow);
    border: 1px solid rgba(119, 47, 141, 0.08);
    animation: slide-pill 9s ease-in-out infinite alternate;
    overflow: hidden;
    /* white-space: nowrap; */
}

.info-pill-emoji {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5d4a3;
}

@keyframes slide-pill {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(8px); }
    100% { transform: translateY(-6px); }
}

h1 {
    font-size: clamp(2.4rem, 5vw, .8rem); /* Fluid font size */
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--brand-dark);
}

h1 span {
    color: var(--text-primary);
}

.hero-sub {
    font-size: clamp(0.96rem, 2.5vw, 1.1rem); /* Fluid font size */
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 460px;
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 30px;
    border-radius: 999px;
    border: none;
    background: var(--brand-dark);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(74, 27, 87, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: #3a1545;
    box-shadow: 0 22px 40px rgba(74, 27, 87, 0.45);
}

.cta-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--brand-dark);
}

/* ------------ RIGHT SIDE / DOCTOR ------------ */

.circle-bg {
    position: absolute;
    width: min(80vw, 420px);
    height: min(80vw, 420px);     

    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.25),
                0 0 0 70px rgba(255, 255, 255, 0.12);
}

.doctor-img {
    position: relative;
    z-index: 2;
    max-height: 560px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    height: auto;

    /* Fade out at the bottom */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@media (max-width: 768px) {
    .doctor-img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .doctor-img {
        max-height: 300px;
    }
}

.floating-card {
    position: absolute;
    min-width: 230px;
    max-width: 260px;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 18px 40px var(--card-shadow);
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    z-index: 3;
}

.floating-emoji {
    font-size: 1.1rem;
    margin-top: 2px;
}

.card-1 { top: 26px; right: -25px; animation: float1 7s ease-in-out infinite; }
.card-2 { bottom: 34px; right: 40px; animation: float2 8s ease-in-out infinite; }
.card-3 { bottom: 120px; left: 8px; animation: float3 9s ease-in-out infinite; }

@keyframes float1 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}

@keyframes float2 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(12px); }
    100% { transform: translateY(0); }
}

@keyframes float3 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive adjustments for hero section */
@media (max-width: 960px) {
    .hero {
        flex-direction: column;
        gap: 30px;
    }

    .hero-right {
        order: -1;
        min-height: 300px;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        text-align: center;
    }

    .hero-sub {
        max-width: 100%;
        text-align: center;
    }

    .circle-bg {
        width: min(80vw, 420px);
        height: min(80vw, 420px);
    }

    .cta-btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .floating-card {
        min-width: 180px;
        max-width: 220px;
        padding: 10px 15px;
        font-size: 0.7rem;
    }

    .card-1 { top: 10px; right: 10px; }
    .card-2 { bottom: 10px; right: 10px; }
    .card-3 { bottom: 80px; left: 10px; }
}

@media (max-width: 480px) {
    .floating-card {
        min-width: 140px;
        max-width: 180px;
        font-size: 0.6rem;
        padding: 8px 12px;
    }

    .card-1 { top: 5px; right: 5px; }
    .card-2 { bottom: 104px; right: -46px; }
    .card-3 { bottom: -1px; left: -66px; }
}

/* Ring Section */
.ring-section {
    padding: 80px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .ring-section {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .ring-section {
        padding: 40px 10px;
    }
}

.ring-section__inner {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-section h1 {
    font-size: clamp(28px, 4vw, 40px); /* Fluid font size */
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.ring-section h1 span {
    color: var(--text-secondary); /* green part: "ring a bell?" */
}

.ring-section p {
    font-size: clamp(14px, 2vw, 16px); /* Fluid font size */
    line-height: 1.7;
    color: #555555;
    max-width: 500px;
}

/* Brands Container */
.brands-container {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 40px;
    padding: 26px 40px 34px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .brands-container {
        margin: 30px auto;
        border-radius: 30px;
        padding: 22px 20px 28px;
    }
}

@media (max-width: 480px) {
    .brands-container {
        margin: 20px auto;
        border-radius: 20px;
        padding: 18px 15px 24px;
    }
}

.brands-container h2 {
    text-align: center;
    font-size: clamp(16px, 3vw, 18px); /* Fluid font size */
    color: #777777;
    margin-bottom: 20px;
}

.brands-slider {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
}

.brands-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: slideLeft 25s linear infinite;
}

.brands-slider:hover .brands-track {
    animation-play-state: paused;
}

.brand-card {
    min-width: 230px;
    height: 90px;
    background: #fffefe;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

.brand-card img{
  height: 100px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

@media (max-width: 600px) {
    .brand-card img {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .brand-card img {
        height: 60px;
    }
}

/* Just to fake different "logos" */
.brand-card:nth-child(1) span { color: #e34c9b; }
.brand-card:nth-child(2) span { color: #ff7b33; }
.brand-card:nth-child(3) span { color: #6b46c1; }
.brand-card:nth-child(4) span { color: #0070c9; }
.brand-card:nth-child(5) span { color: #0a8f5b; }

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* move one full set of cards left */
    }
}

@media (max-width: 600px) {
    .brands-container {
        padding: 22px 18px 28px;
    }

    .brand-card {
        min-width: 190px;
        height: 80px;
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .brands-track {
        grid-template-columns: 1fr; /* Stack items on very small screens */
    }
    .brand-card {
        min-width: unset;
        width: 80%; /* Occupy most of the width */
    }
}

/* Section Wrapper (Cards Grid) */
.section-wrapper {
    max-width: 1150px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .section-wrapper {
        margin: 40px auto 60px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-wrapper {
        margin: 30px auto 50px;
        padding: 0 10px;
    }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 32px;
}

.card {
    background: #ffffff;
    border-radius: 32px;
    padding: 40px 34px 34px;
    text-align: center;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.04);
}

.card-icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
    background: #f6f4f7;
}

.card-title {
    font-size: clamp(16px, 3vw, 18px); /* Fluid font size */
    font-weight: 600;
    margin-bottom: 12px;
}

.card-text {
    font-size: clamp(14px, 2vw, 16px); /* Fluid font size */
    line-height: 1.6;
    color: #4b5563;
}

/* CTA button */
.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 46px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #5c3d66, #37233d);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.cta-btn span.arrow {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 32px 24px 26px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* SKLS Section */
.skls-section {
    padding: 80px 20px 100px;
    text-align: center;
}

@media (max-width: 768px) {
    .skls-section {
        padding: 60px 15px 80px;
    }
}

@media (max-width: 480px) {
    .skls-section {
        padding: 40px 10px 60px;
    }
}

.skls-wrapper {
    max-width: 1120px;
    margin: 0 auto;
}

/* Round icon at the top */
.skls-icon {
    width: clamp(100px, 15vw, 140px); /* Fluid icon size */
    height: clamp(100px, 15vw, 140px); /* Fluid icon size */
    margin: 0 auto 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff 0, #f5fffb 40%, #f4cbff 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: clamp(40px, 8vw, 60px); /* Fluid font size */
    font-weight: 600;
}

.skls-heading {
    font-size: clamp(28px, 4vw, 34px); /* Fluid font size */
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.skls-heading span {
    color: #2d1435;
}

.skls-subtitle {
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: clamp(14px, 2vw, 16px); /* Fluid font size */
    line-height: 1.8;
    color: #4b5563;
}

/* Cards */
.skls-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Responsive grid */
    gap: 26px;
}

.skls-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 40px 32px 34px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skls-letter {
    font-family: "Parisienne", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(60px, 12vw, 96px); /* Fluid font size */
    
    color: #2d1435;
    margin-bottom: 22px;
}

.skls-step-title {
    font-size: clamp(14px, 2vw, 16px); /* Fluid font size */
    font-weight: 600;
    margin-bottom: 10px;
}

.skls-step-title span {
    display: block;
}

.skls-step-text {
    font-size: clamp(13px, 1.8vw, 15px); /* Fluid font size */
    line-height: 1.7;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 1000px) {
    .skls-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .skls-cards {
        grid-template-columns: 1fr;
    }

    .skls-card {
        padding: 32px 24px 28px;
    }

    .skls-heading {
        font-size: 26px;
    }
}

/* Stats section */
.stats-section {
    background: var(--brand-dark);   /* dark green bar */
    padding: 36px 20px;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 24px 10px;
    }
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    flex-wrap: wrap; /* Allow items to wrap */
}

.stat-block {
    flex: 1 1 280px; /* Allow items to grow and shrink */
    padding: 0 40px;
    position: relative;

    /* initial hidden / blur state */
    opacity: 0;
    filter: blur(6px);
    transform: translateY(18px);
    transition: all 0.8s ease;
}

/* vertical separators (except first item) */
.stat-block:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.stat-number {
    font-size: clamp(30px, 6vw, 40px); /* Fluid font size */
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.stat-label {
    font-size: clamp(14px, 2.5vw, 16px); /* Fluid font size */
    font-weight: 500;
    color: white;
}

/* when element is in view */
.stat-block.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 24px;
    }

    .stat-block {
        padding: 10px 0;
    }

    .stat-block:not(:first-child)::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .stat-block {
        flex: 1 1 100%; /* Full width on very small screens */
    }
}

.page2{
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 32px 64px;
}

/* About Section */
.about-section {
    max-width: 1150px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .about-section {
        margin: 40px auto 60px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .about-section {
        margin: 30px auto 50px;
        padding: 0 10px;
    }
}

/* Top heading area */
.about-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow items to wrap */
}

.about-icon img{
    height: clamp(80px, 12vw, 120px); /* Fluid image height */
    top: 500px;
}
  
.about-title {
    font-size: clamp(26px, 4vw, 32px); /* Fluid font size */
    font-weight: 700;
    margin-bottom: 6px;
}

.about-title span {
    color:var(--brand-dark);
}

.about-subtitle {
    font-size: clamp(13px, 1.8vw, 14px); /* Fluid font size */
    color: #4b5563;
}

/* Cards row */
.about-cards {
    display: flex;
    gap: 26px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.about-card {
    flex: 1 1 280px; /* Allow cards to grow and shrink */
    min-width: 260px;
    background: #ffffff;
    border-radius: 32px;
    padding: 36px 30px 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.card-title {
    font-size: clamp(16px, 3vw, 18px); /* Fluid font size */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.card-text {
    font-size: clamp(14px, 2vw, 16px); /* Fluid font size */
    line-height: 1.8;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 768px) {
    .about-header {
        align-items: flex-start;
    }
    .about-cards {
        flex-direction: column; /* Stack cards on smaller screens */
        align-items: center; /* Center stacked cards */
    }
    .about-card {
        width: 90%; /* Occupy most of the width */
        min-width: unset;
    }
}

@media (max-width: 640px) {
    .about-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-icon {
        margin-bottom: 4px;
    }

    .about-title {
        font-size: 26px;
    }

    .about-cards {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-card {
        width: 95%; /* Even more width on very small screens */
    }
}

/* Founder Section */
.founder{
  max-width:1180px;
  margin:56px auto 90px;
  padding:0 22px;
  position:relative;
}

/* thin centered divider like in the screenshot */
.founder .bottom-line{
  width:72%;
  height:2px;
  background:rgba(0,0,0,.08);
  margin:0 auto 22px;
  border-radius:2px;
}

@media (max-width: 768px) {
    .founder {
        padding: 0 15px;
        margin: 40px auto 60px;
    }
    .founder .bottom-line {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .founder {
        padding: 0 10px;
        margin: 30px auto 50px;
    }
}

.grid{
  margin-top: 70px;
  display:grid;
  grid-template-columns: 520px 1fr; /* fixed photo width, flexible right side */
  gap:44px;
  align-items:start;               /* align tops */
}

/* Left: big photo with rounded frame */
.photo{
  background:var(--card);
  border-radius:28px;
  padding:12px;
  box-shadow:var(--shadow);
}
.photo img{
  display:block;
  width:100%;
  height:460px;
  object-fit:cover;
  border-radius:22px;
}

/* Right column */
.right{
  display:flex;
  flex-direction:column;
  align-items:center;      /* center heading/subtitle horizontally */
  padding-top:65px;         /* nudges down to match screenshot */
}

.title{
  font-size:clamp(30px, 5vw, 40px);
  font-weight:700;
  line-height:1.15;
  margin-bottom:10px;
  text-align:center;
  letter-spacing:.2px;
}
.title span{ color:var(--green); }

.subtitle{
  font-size:clamp(14px, 2vw, 16px);
  color:var(--muted);
  text-align:center;
  line-height:1.9;
  margin-bottom:22px;
}

/* Two cards row under the subtitle */
.cards{
  width:100%;
  display:grid;
  grid-template-columns: 1.2fr .95fr;  /* left card slightly wider like the image */
  gap:22px;
  align-items:start;
}

.card{
  background:white;
  border-radius:20px;
  box-shadow:var(--shadow);
  border:1px solid rgba(11,123,87,.08);
  padding:24px 26px;
}

/* Bio card (left) */
.bio{
  min-height:210px;
  display:flex;
  align-items:center;
}
.bio p{
  color:var(--muted);
  font-size:clamp(14px, 2vw, 16px);
  line-height:1.9;
}

/* Experience card (right) */
.exp .label{
  color:#7a8794;
  font-size:clamp(13px, 1.8vw, 14px);
  margin-bottom:12px;
}
.exp .years{
  font-size:clamp(48px, 10vw, 64px);
  font-weight:700;
  color:#6b7683;
  line-height:1;
  margin-bottom:12px;
}
.exp .foot{
  font-size:clamp(12px, 1.5vw, 13px);
  color:#7a8794;
}

/* Responsive */
@media (max-width:1100px){
  .grid{ grid-template-columns: 480px 1fr; gap:34px; }
  .photo img{ height:440px; }
}
@media (max-width:940px){
  .grid{ grid-template-columns:1fr; }
  .right{ align-items:center; padding-top:0; }
  .cards{ grid-template-columns:1fr; max-width:640px; }
  .photo img{ height:420px; }
}
@media (max-width:768px) {
    .grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
    .photo img {
        height: auto; /* Adjust height for stacked layout */
    }
    .cards {
        grid-template-columns: 1fr; /* Stack cards within the right column */
    }
}
@media (max-width:520px){
  .title{ font-size:30px; }
  .photo img{ height:360px; }
}
@media (max-width: 480px) {
    .photo {
        padding: 8px; /* Smaller padding for photo on very small screens */
    }
    .photo img {
        border-radius: 18px;
    }
    .card {
        padding: 20px 22px; /* Smaller padding for cards */
    }
}

/* Trusted Section */
.trusted{
  max-width:1180px;
  margin:56px auto 70px;
  padding:0 22px;
  position:relative;
}

.header{
  position:relative;
  padding-right:120px; /* space for the curved arrow */
}

.header h2{
  font-size:clamp(30px, 5vw, 42px);
  font-weight:700;
  line-height:1.2;
  margin-bottom:8px;
  letter-spacing:.2px;
}
.header h2 span{ color:var(--brand-dark) }

.header p{
  color:var(--muted);
  font-size:clamp(14px, 2vw, 16px);
  line-height:1.9;
  margin-bottom:28px;
}

/* curved arrow on the right of heading (decorative) */
.curve{
  position:absolute;
  right:0;
  top:-16px;
  width:120px;
  height:90px;
  color:#0b7b57;
}
.curve svg{ width:100%; height:100%; }

/* marquee */
.marquee{
  position:relative;
  overflow:hidden;                 /* keep brands inside only */
  padding:8px 0 22px;
  
}

.track{
  display:flex;
  gap:26px;
  width:max-content;
  animation:scroll var(--speed) linear infinite;
}
.marquee:hover .track{ animation-play-state:paused; }

.brand{
  flex:0 0 auto;
  /* background:var(--card); */
  
  /* border-radius:999px; */
  /* box-shadow:var(--shadow); */
  /* padding:14px 22px; */
 
  /* min-width:230px; */
  
}
.brand img{
  width:clamp(120px, 20vw, 180px);
  height:clamp(60px, 10vw, 94px);
  object-fit:contain;
  display:block;
}

.bottom-line{
  height:2px;
  width:100%;
  background:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.06) 10%, rgba(0,0,0,.06) 90%, rgba(0,0,0,0) 100%);
  border-radius:2px;
  margin-top:12px;
}

@keyframes scroll{
  from{ transform:translateX(0) }
  to  { transform:translateX(-50%) } /* one full set width (we duplicate with JS) */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .track{ animation:none }
}

/* Responsive tweaks */
@media (max-width:920px){
  .header{ padding-right:0 }
  .curve{ display:none }
  .header h2{ font-size:34px }
}
@media (max-width:520px){
  .header h2{ font-size:28px }
  .brand{ min-width:200px; height:74px }
  .brand img{ width:160px; height:48px }
}
@media (max-width: 480px) {
    .trusted {
        padding: 0 15px;
        margin: 40px auto 60px;
    }
}

/* Compare Section */
.compare{
  max-width:1140px;
  margin:62px auto 90px;
  padding:0 22px;
}

@media (max-width: 768px) {
    .compare {
        margin: 40px auto 60px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .compare {
        margin: 30px auto 50px;
        padding: 0 10px;
    }
}

.compare h2{
  font-size:clamp(30px, 5vw, 42px);
  font-weight:700;
  line-height:1.2;
  text-align:center;
  margin-bottom:28px;
  letter-spacing:.2px;
}

/* top mini titles above cards */
.mini-titles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  margin:8px 0 12px;
}

.mini-titles h3{
  font-size:clamp(20px, 3vw, 26px);
  font-weight:600;
  color:#6b7280;
}

.brand-title{
  display:flex;
  align-items:center;
  gap:12px;
  color:#163b34;
}
.brand-title .badge{
  width:38px;height:38px;border-radius:50%;
  background:var(--green);
  color:#fff;font-weight:700;
  display:grid;place-items:center;
  box-shadow:0 10px 22px rgba(11,123,87,.35);
  flex:0 0 auto;
}
.brand-title span{ color:var(--green); font-weight:600; }

/* cards grid */
.cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}

.card{
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* Left card – outline style */
.card.bad{
  background:var(--card);
  border:2px solid rgba(11,123,87,.35);
  padding:28px 34px;
}

.list{
  list-style:none;
}
.list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#23303a;
  font-size:clamp(14px, 2vw, 16px);
  line-height:1.75;
}
.list li + li{ margin-top:16px; }
.list li .icon{
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  font-size:14px;flex:0 0 auto;
}
.bad .icon{
  background:#ffe7ea;color:#d83939;border:1px solid #f3b1b9;
}

/* Right card – green gradient */
.card.good{
  background:linear-gradient(135deg, var(--text-primary) 0%, var(--brand-dark) 100%);
  color:#fff;
  padding:28px 34px;
}
.good .icon{
  background:rgba(255,255,255,.15);
  color:#3aeb2a;border:1px solid rgba(255,255,255,.35);
}
.good .list li{ color:#ffffff; }

/* responsive */
@media (max-width: 960px){
  .compare h2{ font-size:34px; }
  .mini-titles{ gap:20px; }
  .cards{ grid-template-columns:1fr; gap:22px; }
  .mini-titles{ grid-template-columns:1fr; }
}
@media (max-width: 768px) {
    .compare {
        padding: 0 15px;
    }
    .mini-titles {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .cards {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
        gap: 15px;
    }
    .mini-titles h3 {
        text-align: center;
    }
}
@media (max-width: 480px) {
    .compare h2 {
        font-size: 24px;
    }
    .card.bad, .card.good {
        padding: 20px 25px;
    }
    .list li {
        font-size: 13px;
    }
}

/* FAQ Section */
.faq{
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 20px 120px;
}

.faq h1{
  margin: 0 0 10px;
  font-family: Poppins, Inter, system-ui;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.faq .lead{
  max-width: 900px;
  margin: 0 0 44px;
  color: var(--muted);
  font-weight: 500;
}

.faq .lead a{
  color: var(--brand-accent); /* Changed from var(--accent) to var(--brand-accent) */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  white-space: nowrap;
}
.faq .lead a:hover{ border-color: var(--brand-accent); } /* Changed from var(--accent) to var(--brand-accent) */

/* Accordion */
.accordion{
  border-top: 2px solid var(--border);
  margin-top: 12px;
}

.item{
  border-bottom: 2px solid var(--border);
}

.acc-btn{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  cursor: pointer;
}

.acc-btn:focus-visible{
  outline: 2px solid color-mix(in lab, var(--brand-accent) 60%, white); /* Changed from var(--accent) to var(--brand-accent) */
  outline-offset: 4px;
  border-radius: 6px;
}

.chev{
  width: 22px;
  height: 22px;
  color: var(--text);
  transition: transform .25s ease;
  opacity: .9;
}
.acc-btn[aria-expanded="true"] .chev{
  transform: rotate(180deg);
}

.panel{
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  will-change: max-height;
}
.panel .content{
  padding: 0 0 22px;
  color: #365a55;
  font-size: clamp(15px, 1.6vw, 17px);
}

@media (prefers-reduced-motion: reduce){
  .panel, .chev { transition: none !important; }
}

@media (max-width: 768px) {
    .faq {
        padding: 40px 15px 80px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 30px 10px 60px;
    }
}

/* CTA Wrap */
.wrap{
  max-width: 1120px;
  margin: 72px auto;
  padding: 0 20px;
  background:linear-gradient(135deg, var(--text-primary) 0%, var(--brand-dark) 100%);
  border-radius: 50px;
}

@media (max-width: 768px) {
    .wrap {
        margin: 50px auto;
        padding: 0 15px;
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    .wrap {
        margin: 40px auto;
        padding: 0 10px;
        border-radius: 20px;
    }
}

.cta{
  position: relative;
  border-radius: 28px;
  /* background: linear-gradient(90deg, #5c3d66, #37233d); Adjusted colors */
  box-shadow: 0 12px 30px rgba(16,56,46,.18);
  padding: clamp(28px, 4vw, 48px);
  padding-right: clamp(220px, 35vw, 440px); /* space for image */
  overflow: visible; /* the key: allow overflow outside the card */
  color: #fff;
  min-height: clamp(220px, 32vw, 360px);
}

.cta h2{
  margin: 0 0 18px;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.25;
}
.btn{
  display: inline-block;
  background: #fff;
  color: #0f2e2a;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* Doctor image that overflows the card */
.doctor{
  position: absolute;
  bottom: -6px;
  right: -60px;              /* negative pushes it outside the card */
  width: clamp(220px, 34vw, 380px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
}

/* Mobile: stack image inside the card */
@media (max-width: 760px){
  .cta{ padding-right: 28px; text-align: center; }
  .doctor{
    position: static;
    display: block;
    margin: 10px auto 0;
    width: clamp(200px, 60vw, 300px);
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.16));
  }
}

/* Footer Section */
.container{
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

footer.footer{
    padding: 52px 0 26px;
}

.footer-grid{
    display: grid;
    grid-template-columns: 220px 1.15fr 1fr 1fr; /* logo | about | services | links */
    gap: 38px;
    align-items: start;
}

/* Logo badge (SVG) */
.logo-wrapper { /* Changed from .brand .badge */
    width: 140px;
    height: 140px;
    display: block;
}

/* Socials */
.socials{
    display: flex;
    gap: 14px;
    margin-top: 14px;
    margin-left: 30px;
}
.socials a{
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: #0c0c0c;
    text-decoration: none;
    transition: transform .1s ease, box-shadow .2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.socials a:hover{ box-shadow: 0 8px 16px rgba(0,0,0,.1); transform: translateY(-1px); }
.socials svg{ width: 18px; height: 18px; }

/* Column titles */
.footer-title{
    margin: 4px 0 12px;
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-weight: 700;
    color: var(--text-primary); /* Changed from var(--primary) to var(--text-primary) */
    font-size: clamp(18px, 3vw, 20px);
    letter-spacing: .2px;
}

.about p{
    margin: 0 0 12px;
    color: var(--brand-dark);
    line-height: 1.65;
    font-size: clamp(13px, 1.8vw, 15px);
}
.about a{
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    font-size: clamp(13px, 1.8vw, 15px);
}
.about a:hover{ border-color: var(--text-primary); } /* Changed from var(--primary) to var(--text-primary) */

/* Lists */
ul.linklist{
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 10px;
}
ul.linklist li{
    color: var(--brand-dark);
    position: relative;
    font-size: clamp(13px, 1.8vw, 15px);
}
/* add > for the Services list like the screenshot */
.services ul.linklist li::before{
    content: ">";
    color: var(--text-primary); /* Changed from var(--primary) to var(--text-primary) */
    margin-right: 8px; font-weight: 700;
}
.linklist a{
    color: inherit; text-decoration: none;
}
.linklist a:hover{ color: var(--text-primary); } /* Changed from var(--primary) to var(--text-primary) */

/* Divider + copyright */
.divider{
    margin: 26px 0 14px;
    height: 1px;
    background: rgba(0,0,0,.08); /* Changed from var(--border) */
    border-radius:2px;
}
.copy{
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    padding-bottom: 6px;
}

/* Responsive Footer */
@media (max-width: 980px){
    .footer-grid{ grid-template-columns: 180px 1fr; }
    .links{ order: 4; }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Two columns on tablet */
        gap: 30px;
    }
    .logo-wrapper {
        grid-column: 1 / -1; /* Full width for logo on tablet */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .socials {
        margin-left: 0; /* Center socials */
        justify-content: center;
    }
    .about, .services, .links {
        text-align: center;
    }
    .services ul.linklist, .links ul.linklist {
        justify-items: center;
    }
}
@media (max-width: 640px){
    .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
    .logo-wrapper { width: 120px; height: 120px; } /* Adjust logo size */
    .logo-wrapper img { height: 80px; margin-left: 46px;} /* Adjust logo size */
    .logo{ display: flex; flex-direction: column; align-items: center; justify-content: center; } /* Center logo and socials */
}
@media (max-width: 480px) {
    footer.footer {
        padding: 40px 0 20px;
    }
    .footer-grid {
        gap: 20px;
    }
    .about, .services, .links {
        padding: 0 10px; /* Add some padding to sections */
    }
    .copy {
        font-size: 12px;
    }
}

/* Mega Menu Overlay */
.mega-menu-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--text-secondary), #e8d4f0 );
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.mega-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Close button (round X in top-right) */
.mega-menu-close {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Grid of cards */
.mega-menu-grid {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.mega-menu-item {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--brand-dark);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mega-menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.mega-menu-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  border: 2px solid #0b7b57;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 10px;
}

.mega-menu-label {
  font-size: 15px;
  font-weight: 600;
}

/* Bottom contact text */
.mega-menu-footer {
  text-align: center;
  color: #ffffff;
  font-size: 14px;
}

.mega-menu-footer a {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .mega-menu-close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .mega-menu-overlay {
    padding: 72px 16px 24px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .mega-menu-item {
    padding: 18px 10px;
  }

  .mega-menu-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
}
