/* ===== Header responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .site-header {
    padding: 10px 24px;
    column-gap: 0px;
  }
  
  .site-header .logo img {
    max-height: 42px;
  }
  
  .main-nav ul {
    gap: 20px;
  }
  
  .main-nav ul li a {
    font-size: 15px;
  }
}

/* Phones */
@media (max-width: 768px) {
  /* Show hamburger */
  .nav-toggle {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  body.nav-open .nav-toggle {
    transform: rotate(90deg);
  }
  
  /* Compact header row with logos */
  .site-header {
    grid-template-columns: auto;
    padding: 10px 16px;
    row-gap: 8px;
  }
  
  .left-logo {
    display: block;
  }
  
  .right-logo {
    display: none;
  }
  
  .site-header .logo img {
    max-height: 36px;
  }
  
  /* === ACCORDION-STYLE MOBILE MENU === */
  .main-nav {
    position: relative;           /* Stays in normal flow, right under header */
    width: 100%;
    background: #fff;
    border-radius: 0 0 40px 40px;
    padding: 12px 16px;
    box-sizing: border-box;
    overflow: hidden;             /* Crucial for accordion effect */
    
    /* Closed state */
    max-height: 0;
    opacity: 0;
    
    /* Smooth transition — same speed & feel both directions */
    transition: 
      max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.7s ease;
  }
  
  /* Open state */
  body.nav-open .main-nav {
    max-height: 600px;            /* Make this larger than your tallest possible menu */
    opacity: 1;
  }
  
  /* === Menu items stagger animation (works both open & close) === */
  .main-nav ul {
    opacity: 0;
    transform: translateY(20px);
    transition: 
      opacity 0.8s ease 0.2s,
      transform 0.8s ease 0.2s;
  }
  
  body.nav-open .main-nav ul {
    opacity: 1;
    transform: translateY(0);
  }
  
  .main-nav ul li {
    opacity: 0;
    transform: translateY(15px);
    transition: 
      opacity 0.9s ease,
      transform 0.9s ease;
  }
  
  /* Staggered delays — apply to both directions */
  .main-nav ul li:nth-child(1) { transition-delay: 0.25s; }
  .main-nav ul li:nth-child(2) { transition-delay: 0.35s; }
  .main-nav ul li:nth-child(3) { transition-delay: 0.45s; }
  .main-nav ul li:nth-child(4) { transition-delay: 0.55s; }
  .main-nav ul li:nth-child(5) { transition-delay: 0.65s; }
  .main-nav ul li:nth-child(6) { transition-delay: 0.75s; }
  
  body.nav-open .main-nav ul li {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Links hover effect */
  .main-nav ul li a {
    display: block;
    padding: 10px 4px;
    font-size: 15px;
    color: #111;
    white-space: nowrap;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .main-nav ul li a:hover {
    transform: translateX(8px);
    color: #FCB017;
  }
  
  /* Prevent interaction when closed */
  body:not(.nav-open) .main-nav {
    pointer-events: none;
  }
}
/* Very small phones */
@media (max-width: 480px){
  .site-header{ padding: 8px 12px; row-gap: 6px; }
  .site-header .logo img{ max-height: 50px; }

  /* Adjust top position for smaller header height */
  .main-nav{ 
    top: calc(52px + 8px); 
   width:100%;
   margin-top:-1vh;
  }

  .main-nav ul li a{ font-size: 13px; }
}
/* ===== HERO: responsive additions only ===== */

/* Large tablets */
@media (max-width: 1200px){
  :root{ --font-size: 18px; }               /* shrinks rotating words slightly */
  .hero-section .hero-content{
    width: 64%;
    padding: 36px 20px;
    border-bottom-left-radius: 120px;
    border-bottom-right-radius: 120px;
  }
  .hero-section h1{                          /* the big “Habesha Creative Lab” */
    font-size: clamp(48px, 7vw, 80px);
    padding-top: 6vh;
  }
}

/* Tablets & landscape phones */
@media (max-width: 900px){
  .hero-section{ height: 100svh; }          /* better mobile viewport unit */
  .hero-section .hero-content{
    width: 78%;
    margin-top: 56px;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    background: #07B0B2CC;                  /* a bit more contrast over video */
  }
  :root{ --font-size: 17px; }               /* rotating word size */
  .rotating-text{ line-height: 1.25 !important; }
  .hero-section h1{
    font-size: clamp(36px, 9vw, 56px);
    padding-top: 6vh;

  }
  .hero-section .btn{
    padding: 16px 22px;
    font-size: 15px;
  }
}

/* Phones */
@media (max-width: 600px){
  .hero-section{ height: 100svh; }
  .hero-section .hero-content{
    width: 92%;
    padding: 28px 16px;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
  }
  :root{
    --font-size: 14px;                       /* controls .window height too */
    --line-height: 1.25;
  }
  .hero-section h1{
    font-size: clamp(28px, 10vw, 42px);
        padding-top: 6vh;

  }
  .hero-section p{ font-size: 16px; }
  .hero-section .btn{
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 28px;
  }
}

/* Very small phones */
@media (max-width: 380px){
  :root{ --font-size: 15px; }
  .hero-section h1{ font-size: 26px; 
      padding-top: 6vh;
}
}



/* ========== ABOUT: Responsive ========== */

/* Tablet and down */
@media (max-width: 900px){
  .about-section{
    top: -20px;                       /* softer overlap */
    padding: 48px 20px 64px;          /* tighter paddings */
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
  }

  /* Stack columns */
  .about-container{
    grid-template-columns: 1fr;       /* one column */
    row-gap: 28px;
    align-items: start;
    max-width: 640px;                 /* readable line length */
  }

  /* Hide vertical divider */
  .about-divider{ display: none; }

  /* Left column (title + paragraphs) */
  .about-left{ padding: 3vh 0 0 2vh; }
  .about-left h2{
    font-size: 34px;                  /* was 64px */
    line-height: 1.12;
    margin: 0 0 14px;
  }
  .about-left p{
    font-size: 13px;
    line-height: 1.65;
    opacity: .95;
  }

  /* Right column (logo, video, text) centered */
  .about-right{
    align-items: center;
    text-align: center;
    gap: 18px;
    width: 100%;
  }

  .about-image img{
    width: 140px; /* centered circle logo */
    height: auto;
  }

  .media-box{ width: 100%; }
  .media-box video{
    width: 90%;
    max-width: 420px;
    border-radius: 20px;
    margin: 0 auto;
  }
  .mm-row.two .mm-group {
    padding-bottom: 0px !important;
}
.mm-row.two {
    gap: 0px !important;
}
.mm-label {
    margin: 8px 0 8px;
}
.bank{
    width:100%;
}
.mtt {
   
    width: fit-content;
}
.btns{
    display:grid;
    gap:0;
}

  /* Stronger selector to beat earlier !important rules */
  .about-section .about-right .text-carousel{
    width: auto !important;       /* let JS set exact width */
    display: inline-block;        /* shrink-wrap */
    overflow: hidden;             /* hide anything beyond one slide */
    box-sizing: content-box;      /* ignore padding in width calc */
  }
  /* Tablets & iPads (most recommended range) */
@media (min-width: 768px) and (max-width: 1024px) {
    .about-section .about-right .text-carousel .carousel-track {
        flex-wrap: nowrap;
        gap: 0;
        padding-left: 17vh !important;  /* ↓ test & tweak this value */
    }
    .about-section {
        top: -12vh;
        padding: 48px 20px 64px;
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
    }
        .accordion-section {
        top: -13vh !important;
    }
    .membership-section {
        top: -13vh !important;
    }
    .cta {
    margin-top: 1vh;
  
}
    .membership-title {
        text-align: center !important;
    }
    .partners__divider {
        margin: 10vh 0 12px !important;
    }
        .socials h4, .socials p {
        padding-left: 0!important;
    }
    .socials {
    margin-left: 7vh !important;
}
.thumbs-wrap {
    position: relative;
    margin-top: 2vh;
}
}
  .about-section .about-right .text-carousel .carousel-track{
    flex-wrap: nowrap;
    /* Optional: remove flex gap and simulate with margin to avoid
       a "gap flash" passing through the viewport during the slide */
    gap: 0;
    padding-left: 5vh;
  }
  .about-section .about-right .text-carousel .slide + .slide{
    margin-left: 20vh;            /* your visual spacing */
    flex: 0 0 auto;
  }


  /* Text carousel: no side pad, readable width */
  .text-carousel{
    padding-top: 8px;
    width: auto !important;
    display: inline-block;   /* shrink-wrap to its content */
    overflow: hidden;        /* hide anything beyond one slide */
    margin-inline: auto; 
  }
  .text-carousel .carousel-track{
    flex: nowrap;                  /* single row */
    gap: 28px;                        /* slightly tighter */
  }
  .text-carousel .slide{
    padding-left: 0;                  /* remove big left pad */
    font-size: 13px;
    line-height: 1.6;
    max-width: 32ch;                  
    margin: 0 auto;
  }
}




/* Small phones */
@media (max-width: 480px){
  .about-section{
        top: -14vh;
        padding: 40px 16px 10vh;
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
  }

  .about-left h2{
    font-size: 36px;
    line-height: 1.12;
  }
  .about-left p{
    font-size: 14px;
    line-height: 1.6;
  }

  .about-image img{ width: 152px; }
  .media-box video{ width: 76%; max-width: 360px; }

  .text-carousel .slide{
    font-size: 14px;
    max-width: 40ch;
  }
}

/* ------- Keep desktop sizes everywhere; expand is responsive on small screens ------- */
.image-accordion{
  /* single source of truth for sizes */
  --card-h: 386px;
  --card-w: 92px; /* default skinny width */
  --card-w-expanded: 442px;/* desktop expanded width */
}
/* base sizes (also apply on mobile) */
.accordion{ height: var(--card-h); }
.accordion-item{
  flex: 0 0 var(--card-w);
  height: var(--card-h);
}
.accordion-item:hover{ flex-basis: var(--card-w-expanded); }
/* ---------- Mobile / tablet: expand width becomes responsive, base stays 92×386 ---------- */






/*@media (max-width: 900px){*/
/*  .accordion{*/
/*      display: flex;*/
/*  gap: 12px;*/
/*    overflow-x: auto;*/
/*    overflow-y: hidden;*/
/*    -webkit-overflow-scrolling: touch;*/
/*     scroll-snap-type: x mandatory;*/
/*    padding-bottom: 0;*/
/*    padding-left:10px;*/
/*    padding-right:10px;*/
/*    scroll-padding-left: 12px;*/

/*   justify-content: flex-start;*/
   
/*  }*/
/*  .accordion::-webkit-scrollbar { display: none; }*/

/*  .accordion-item { scroll-snap-align: start; margin-top: 0; }*/

/*  }*/
  
  
  
  
  /* Phones: scrollable accordion */
@media (max-width: 900px) {
  .accordion {
    display: flex;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
    scroll-padding-left: 12px;

    justify-content: flex-start; /* left-aligned for scrolling */
  }

  .accordion::-webkit-scrollbar {
    display: none;
  }

  .accordion-item {
    scroll-snap-align: start;
    margin-top: 0;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
    .price .amount {
        font-size:25px;
    }
    .line{
        font-size:10px;
    }
  .accordion {
    display: flex;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: auto;

    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;

    justify-content: flex-start; 
    align-items: center;

    max-width: fit-content;      
    margin-left: auto;           
    margin-right: auto;
  }

  .accordion-item {
    margin-top: 0;
  }
}

@media (min-width: 834px) and (max-width: 1210px) {
      .price .amount {
        font-size:25px;
    }
    .line{
        font-size:10px;
    }
  .accordion {
    display: flex;
    flex-direction: row;         
    gap: 12px;
    overflow-x: auto;          
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;  
    padding: 0;                  
    justify-content: center;     
    align-items: center;
    width: 100%;                 
    max-width: 100%;             
    margin: 0 auto;             
  }

  .accordion-item {
    margin-top: 0;
               /* prevent items from growing/shrinking unless you want */
    /* Add any min-width or width to items if they need consistent size */
  }
}
@media (min-width: 1180px) and (max-width: 1220px) and (orientation: landscape) {
  .news-content .left {
    padding-left: 5vh;   
  }
  .news-content .right {
    padding-right: 0vh;
  }
  .tiers {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 12px 16px;
    margin: 0;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent);
    scroll-padding-left: 12px;
}
}
  
  .accordion::-webkit-scrollbar{ display:none; }
  .accordion-item{ scroll-snap-align: start; margin-top: 0; }
  /* expand only on interaction; width clamps to viewport */
  .accordion-item:hover,
  .accordion-item:focus-within,
  .accordion-item.is-open{
    /* min 320px, up to 88vw, but never larger than your desktop 442px */
    flex-basis: clamp(320px, 88vw, var(--card-w-expanded));
  }
  /* polish so it feels good on touch */
  .accordion-item img{ transition: transform .35s cubic-bezier(.22,.61,.36,1); }
  .accordion-item:hover img,
  .accordion-item:focus-within img,
  .accordion-item.is-open img{ transform: scale(1.04); }
  /* keep arrow accessible on small screens (no jump) */
  .arrow-circle{ left: 20px; right: auto; transform: none; width: 48px; height: 48px; }
  .accordion-item:hover .arrow-circle,
  .accordion-item:focus-within .arrow-circle,
  .accordion-item.is-open .arrow-circle{ left: auto; }
  /* text panel keeps same height rules; just soften radii a bit if you want */
  .accordion-overlay .text{
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    padding: 14px 14px 16px;
  }

/* ========== ACCORDION SECTION: Responsive only ========== */
/* Large tablets / small desktops */
@media (max-width: 1200px){
  .accordion-section{
    top: -5vh; /* soften overlap as viewport shrinks */
  }
  .accordion-section::before{
    height: 200px; /* reduce header band height */
  }
}
/* Tablets and down */
@media (max-width: 900px){
  .accordion-section{
    top: -24px; /* fixed offset for tighter screens */
  }
  .accordion-section::before{
    height: 160px; /* slimmer band */
  }
}
/* Small phones */
@media (max-width: 600px){
  .accordion-section{
    top: -15vh;
  }
  .accordion-section::before{
    height: 128px;
  }
}
/* Very small devices */
@media (max-width: 400px){
  .accordion-section{
    top: -15vh;
  }
  .accordion-section::before{
    height: 110px;
  }
}

/* ========== MEMBERSHIP: Responsive ========== */

/* Tablet & down */
@media (max-width: 900px){
  .membership-section{
    top: -15vh;
    padding-top: 8vh;
    padding-bottom: 0;
  }

  .membership-title{
    font: 700 48px/1 "Manrope Regular";
    margin-left: 0;
    padding: 0 16px 12px;
    text-align: left;
  }

  .intxt{
    font-size: 16px;
    margin: 0 16px 16px;
    text-align: left;
  }
  .tb,.td{
      text-align:center;
      padding-left:20px;
  }
  .td{
      padding-top:8px;
  }

  /* Horizontal scroller – first card fully visible */
  .tiers{
    display: flex;
    justify-content: flex-start;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    padding: 8px 12px 16px;     /* left pad keeps Starter flush */
    margin: 0;

    /* fade ONLY the right edge so Starter isn’t hidden */
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent);
    scroll-padding-left: 12px;  /* snap aligns to our left padding */
  }
  .tiers::-webkit-scrollbar{ display: none; }

  /* Cards keep desktop size; snap cleanly */
  .membership-card{
    flex: 0 0 233px;            /* fixed width */
    height: 416px;              /* fixed height */
    scroll-snap-align: start;
  }

  /* If present, ensure Starter surfaces first (safe no-op if absent) */
  .membership-card.starter,
  .membership-card[data-tier="starter"]{ order: -1; }
}

/* Small phones */
@media (max-width: 600px){
  .membership-title{ font-size: 36px; }

  .tiers{
    gap: 14px;
    padding: 8px 10px 16px;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent);
    scroll-padding-left: 10px;
  }

  .membership-card{
    flex-basis: 233px;
    height: 416px;
  }
}


/* ===================== FLASH NEWS — MOBILE ===================== */
@media (max-width: 880px){

  /* Frame: full-bleed, tall, softer radius */
  .news-slider{
    height: min(92vh, 740px);
    border-radius: 60px 60px 0 0;
  }

  /* Keep the background image readable on small screens */
  .news-slide::before{
    /* softer left-to-right fade so the title stays crisp */
    background: linear-gradient(90deg,
      rgba(0,0,0,.70) 0%,
      rgba(0,0,0,.50) 35%,
      rgba(0,0,0,.22) 60%,
      rgba(0,0,0,0) 90%);
  }
  /* Add a bottom fade for the long paragraph block */
  .news-slide::after{
    content:"";
    position:absolute; left:0; right:0; bottom:0; height:46%;
    background: linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.32) 45%,
      rgba(0,0,0,.65) 100%);
    pointer-events:none;
  }

  /* Layout becomes single column; generous inner padding */
  .news-content{
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
    padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  }

  /* Remove desktop side paddings */
  .news-content .left{ padding: 3vh 0 0 2vh; }
  .news-content .right{ padding-right: 0; }

  /* Headline + strap tighter on mobile */
  .news-content .left h2{
    font: 800 clamp(28px, 9vw, 40px)/1.05 "Manrope Bold";
    margin: 4px 0 10px;
  }
  .news-content .left .strap{
    font: 400 clamp(14px, 3.6vw, 16px)/1.35 "Manrope Regular";
    margin: 6px 0 14px;
  }

  /* CTA button a bit smaller */
  .btn-teal{
    font: 400 14px/1 "Lucida Regular";
  }

  /* Long copy sits on a translucent card for contrast */
  .news-content .right{
    border-radius: 16px;
    padding: 12px 14px;
    max-height: 42vh;            /* scroll if copy is long */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Dots sit over the image, centered, with a touch-friendly size */
  .news-pagination{
    bottom: max(12px, calc(10px + env(safe-area-inset-bottom, 0px)));
    padding: 6px 8px;
    gap: 8px;
    background: transparent;     /* no pill bg on mobile */
  }
  .news-pagination .dot{
    width: 6px; height: 6px; border-radius: 999px;
    background: rgba(255,255,255,.6);
  }
  .news-pagination .dot.is-active{
    width: 6px; height: 20px; background: rgba(255,255,255,.5);
  }
  .news-pagination .dot.is-active::after{
    inset: 1px;
    animation: fill var(--hold) linear forwards;
  }
}


/* ===================== PARTNERS — RESPONSIVE ===================== */

/* Large tablet tweaks */
@media (max-width: 1100px){
  .partners__container{
    max-width: 920px;
    padding-top: 12px;
    padding-bottom: 48px;
  }
  .partners__primary{
    gap: 52px;
  }
}

/* Tablet & down */
@media (max-width: 900px){
  .partners{
    padding: 28px 14px;
  }
  .partners__container{
    max-width: 680px;
  }

  /* Heading spacing/size */
  .partners__title{
    margin-bottom: 16px;
    font-size: clamp(20px, 6vw, 28px);
    padding-left:20px;
  }

  /* Primary row stacks and centers */
  .partners__primary{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns */
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 12px 0 20px;

  }
  .partners__primary .partner{
   height: clamp(80px, 18vw, 120px);    /* responsive logo rail height */
    width: 100%;
    display: grid;
    place-items: self-start;
    padding-left: 20px;
  }
  .partners__primary .partner img{
   height: 100%;
    max-width: 90%;
    width: auto;
    object-fit: contain;                 /* never crop */
    display: block;
  }

  /* Divider closer to logos on mobile */
  .partners__divider{
    margin: 18px 0 12px;
  }

  /* ======= SCROLLABLE STRIP for supporting partners ======= */
  .partners__grid{
    display: flex;                /* switch from grid to flex row */
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 6px 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;          /* snap feel */
    mask-image: linear-gradient(to right,    /* soft edge fades */
                  transparent, #000 16px,
                  #000 calc(100% - 16px), transparent);
  }
  .partners__grid::-webkit-scrollbar{ display: none; } /* hide scrollbar */
  .partners__grid{ scrollbar-width: none; }            /* Firefox */

  .partners__grid .partner{
    flex: 0 0 auto;                  /* don’t shrink */
    width: clamp(96px, 34vw, 160px); /* responsive tile width */
    height: clamp(40px, 14vw, 72px); /* consistent height */
    display: grid;
    place-items: center;
    scroll-snap-align: center;       /* snap each logo to center */
  }
  .partners__grid .partner img{
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
  }
}

/* Small phones */
@media (max-width: 520px){
  .partners__container{ max-width: 100%; }
  .partners__primary .partner img{ height: clamp(74px, 24vw, 110px); }
  .partners__grid{
    gap: 16px;
    padding-inline: 8px;
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }
  .partners__grid .partner{
    width: clamp(92px, 42vw, 148px);
    height: 106px
  }
   .partners__primary{
    gap: 14px;
  }
  .partners__primary .partner img{
    max-width: 100%;
  }
}





/* Events — stack cleanly */
@media (max-width: 960px){
  .event-media { flex-basis:100%; }
  .event-side  { flex-basis:100%; }
  .media-frame { height: 46vh; }
}

/* Connect block — mobile column */
@media (max-width: 760px){
  .connect-wrap{ flex-direction:column; align-items:stretch; gap:30px; border-radius:80px 80px 0 0; }
  .connect-left{ justify-content:center;margin-right: 5vh;}
  .connect-logo{width:clamp(100px,8vw,120px);}
  .social-icons-float{margin-left: 27px;}
  .connect-divider{ display:grid; }
  .connect-right{ gap:18px; }
  .socials{ max-width:100%; }
}

/* Hero/header responsive */
@media (max-width: 900px) {
  .hero-section .hero-content {
    width: 80%;
    height: auto;
    margin: 40px auto 0;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
  }
  .site-header {
    padding: 10px 20px;
  }
}
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 10px;
  }
  .site-header .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .hero-section .hero-content {
    width: 95%;
    font-size: 1rem;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .hero-section h1 { font-size: 2rem; }
  .hero-section p  { font-size: 1rem; }
}
/* ====================== RESPONSIVE + SCROLLABLE FORM + CLOSE LEFT ====================== */

@media (max-width: 900px) {
  /* 1. Hide left panel */
  .mm-left,
  .mm-left__img,
  .mm-left-content,
  .mm-left::after {
    display: none !important;
  }

  /* 2. Make dialog single-column */
  .mm-dialog {
    grid-template-columns: 1fr !important;
    width: min(720px, 94vw) !important;
    max-width: 720px !important;
    height: auto !important;
    min-height: 80vh !important;
    max-height: 92vh !important;
    margin: 0 auto !important;
    border-radius: 60px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 3. Right panel = full height, scrollable */
  .mm-right {
    flex: 1 !important;
    padding: 48px 20px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    background: #f0f0f0 !important;
    border-radius: 60px !important;
  }

  /* 4. Close button: top-left, fixed inside dialog */
  .mm-close {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    transform: none !important;
    z-index: 1000003 !important;
  }

  /* Optional: Add padding-top to form content so it doesn't hide under close button */
  .mm-step,
  .mm-tier-card,
  .mm-fields {
    margin-top: 20px !important;
  }
}

/* ====================== MOBILE TWEAKS (≤560px) ====================== */
@media (max-width: 560px) {
  .mm-dialog {
    width: 94vw !important;
    border-radius: 48px !important;
    max-height: 90vh !important;
  }

  /*.mm-right {*/
  /*  padding: 40px 20px !important;*/
  /*}*/

  .mm-close {
    top: 16px !important;
    left: 16px !important;
    width: 36px !important;
    height: 36px !important;
  }

  .mm-close:after {
    font-size: 14px !important;
  }

  .mm-step {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    gap: 10px !important;
  }

  .mm-step-icon .pill {
    width: 28px !important;
  }
.mm-pills .pill {
  
    margin-bottom: 10px;
}
#hd{
    padding-left:16px;
}
.mm-price strong {
    font: 800 18px / 1 "Lucida Regular" !important;
}
  .mm-tier-card {
    padding: 36px 16px 16px 56px !important;
    width: 100% !important;
  }

  .mm-primary {
    min-width: 100% !important;
    float: none !important;
    display: block !important;
    margin: 24px auto 0 !important;
  }

  .mm-3col,
  .mm-row.two {
    grid-template-columns: 1fr !important;
  }

  .mg { margin-top: -14vh !important; }
  .mgf { margin-top: -10vh !important; }
}

/* ====================== ENSURE SCROLL WORKS SMOOTHLY ====================== */
.mm-right::-webkit-scrollbar {
  width: 6px;
}
.mm-right::-webkit-scrollbar-track {
  background: transparent;
}
.mm-right::-webkit-scrollbar-thumb {
  background: rgba(7, 176, 178, 0.3);
  border-radius: 3px;
}
.mm-right::-webkit-scrollbar-thumb:hover {
  background: rgba(7, 176, 178, 0.5);
}
