/* ==========================================================================
   AllThingsAutistic — Main Stylesheet
   File: public/css/app.css
   
   TABLE OF CONTENTS:
   1.  Variables & Base
   2.  Layout Helpers
   3.  Topbar
   4.  Navbar & Dropdown
   5.  Hero
   6.  Category Cards
   7.  Buttons (shared)
   8.  About Section
   9.  Parents' Thoughts
  10.  Hub Rows
  11.  Blog Section
  12.  Sensory Quiz
  13.  Instagram
  14.  Footer
  15.  Master Typography (fonts & sizes — edit here only)
   ========================================================================== */


/* ── 1. VARIABLES & BASE ───────────────────────────────────────────────── */
:root {
    --purple:     #6A65B1;
    --purple-d:   #5A57A0;
    --orange:     #F5A623;
    --teal:       #7ECEC4;
    --teal-lt:    #CBE8E5;
    --pink:       #F4B8C8;
    --pink-lt:    #F5D5D8;
    --purple-lt:  #E2DCF0;
    --orange-lt:  #FAE4C0;
    --grey-bg:    #EDEBE5;
    --dark:       #1E1E1E;
    --mid:        #555;
    --muted:      #999;
    --white:      #fff;
    --radius:     5px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: #fff;
    margin: 0; padding: 0;
    overflow-x: hidden;
}

img { display: block; }

html, body { overflow-x: hidden; max-width: 100%; }


/* ── 2. LAYOUT HELPERS ─────────────────────────────────────────────────── */
.ata-page-wrap { width: 100%; overflow-x: hidden; }

.ata-container {
    width: 100%;
    margin: 0 auto;
}


/* ── 3. TOPBAR ─────────────────────────────────────────────────────────── */
.ata-topbar {
    background: var(--purple);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    width: 100%;
}

.ata-topbar-inner { margin: 0 auto; }


/* ── 4. NAVBAR & DROPDOWN ──────────────────────────────────────────────── */
.ata-navbar {
    background: #fff;
    padding: 2vw 6vw 1vw 2vw;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
    width: 100%;
    height: 9vw;
}

.ata-navbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5vw;
    margin: 0 auto;
}

.ata-navbar .nav-logo { width: 22vw; }

.ata-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0; padding: 0;
}

.ata-navbar .nav-links a {
    color: var(--dark);
    text-decoration: none;
    padding: 0.5vw 1vw;
    border-radius: var(--radius);
    transition: color 0.18s;
    letter-spacing: 0.02em;
}

.ata-navbar .nav-links a:hover { color: var(--purple); }

/* Dropdown */
.nav-links .nav-dropdown { position: relative; }

.nav-links .nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7rem;
    opacity: 0.6;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    min-width: 200px;
    padding: 8px 0;
    z-index: 999;
    list-style: none;
    margin: 0;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px; left: 0; right: 0;
    height: 8px;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 9px 20px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
    letter-spacing: 0;
}

.nav-dropdown-menu li a:hover { background: #f5f3ff; color: var(--purple); }

/* Take Quiz CTA button */
.ata-navbar .btn-quiz {
    background: var(--purple);
    color: #fff !important;
    padding: 9px 22px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
}

.ata-navbar .btn-quiz:hover { background: var(--purple-d); }

/* Mobile toggle */
.ata-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

@media (max-width: 768px) {
    .ata-nav-toggle { display: block; }
    .ata-navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px; left: 0; right: 0;
        background: #fff;
        padding: 12px 0 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 2px;
    }
    /* Open panel viewport bhar white rahe */
    .ata-navbar .nav-links.open {
        display: flex;
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 40px;
    }
}


/* ── 5. HERO ───────────────────────────────────────────────────────────── */
.ata-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 80px;
    background: #6B5FB5;
}

.ata-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ata-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 40%,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(255,255,255,0.0) 100%
    );
}

.ata-hero-body {
    position: relative;
    z-index: 2;
    min-height: 44vw;
    display: flex;
    justify-content: center;
    padding: 0 32px;
}

.ata-hero-text {
    max-width: 50vw;
    padding: 18vw 0 0 0;
    text-align: center;
    background: none;
}

.ata-hero-text h1 {
    color: var(--white);
    line-height: 1.3;
    margin: 0 0 6px 0;
    background: none;
    padding: 0;
}

.ata-hero-text h1 .thin {
    font-style: normal;
    display: block;
    margin-top: 6px;
    color: var(--white);
    line-height: 1.2;
}

.ata-hero-squiggle { display: none; }

@media (max-width: 767px) {
    .ata-hero-body { min-height: 300px; padding: 0 20px; }
}


/* ── 6. CATEGORY CARDS ─────────────────────────────────────────────────── */
.ata-cats-wrap {
    margin-top: -10vw;
    position: relative;
    z-index: 10;
    padding-bottom: 52px;
}

.ata-cats-wrap .ata-container { max-width: 90%; padding: 0; }

.ata-cats-wrap .row { --bs-gutter-x: 2.5%; --bs-gutter-y: 0; }

.ata-cat-card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 1.5vw 2.7vw;
}

.ata-cat-icon-circle {
    width: 8vw; height: 8vw;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.ata-cat-icon { width: 4vw; height: 4vw; object-fit: contain; }

.ata-cat-name    { color: var(--dark); margin-bottom: 8px; }
.ata-cat-desc    { color: #333; margin-bottom: 20px; flex: 1; }
.ata-cat-readmore { color: var(--dark); text-decoration: none; display: block; transition: opacity 0.18s; }
.ata-cat-readmore:hover { opacity: 0.65; color: var(--dark); }


/* ── 7. BUTTONS (shared) ───────────────────────────────────────────────── */
.btn-orange {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 9px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.18s;
}
.btn-orange:hover { opacity: 0.82; color: #fff; }

.btn-orange-big {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 1vw 3vw;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.18s;
}
.btn-orange-big:hover { opacity: 0.82; color: #fff; }

.btn-purple-big {
    display: inline-block;
    background: var(--purple);
    color: #fff;
    padding: 10px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.18s;
}


/* ── 8. ABOUT SECTION ──────────────────────────────────────────────────── */
.ata-about {
    background: #fff;
    padding: 5vw 0px 6vw;
    text-align: center;
}

.ata-about h2              { color: var(--dark); margin-bottom: 16px; }
.ata-about .ata-about-intro { color: var(--dark); margin-bottom: 14px; margin-left: auto; margin-right: auto; }
.ata-about p               { color: var(--dark); margin-bottom: 12px; margin-left: auto; margin-right: auto; }
.ata-about .ata-about-created { color: var(--dark); margin-bottom: 0; }
.ata-about .ata-about-cta  { margin-top: 24px; }

/* Mobile: side padding so scrollbar doesn't overlap the text */
@media (max-width: 767px) {
    .ata-about { padding: 44px 10px 52px; }
}


/* ── 9. PARENTS' THOUGHTS ──────────────────────────────────────────────── */
.ata-testimonials {
    position: relative;
    width: 100%;
    background-image: url('/storage/images/AllThingsAutistic_Banner5.png');
    background-size: cover;
    background-position: center center;
    padding: 5vw 0px;
    overflow: hidden;
}

.ata-testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(0,0,0,0.32); */
    z-index: 0;
}

.ata-testimonials .ata-t-inner { position: relative; z-index: 1; }
.ata-testimonials h2 { text-align: center; color: #fff; margin-bottom: 0; }

.ata-tcard-outer { padding-top: 45px; height: 100%; }

.ata-tcard {
    background: rgba(255,255,255,0.75);
    border-radius: 15px;
    padding: 2.3vw;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ata-tcard-avatar {
    width: 9vw; height: 9vw;
    border-radius: 50%;
    background: #fff;
    margin-top: -5.5vw;
    margin-bottom: 14px;
    flex-shrink: 0;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.ata-tcard-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ata-tcard-name  { color: var(--dark); margin-bottom: 0; }
.ata-tcard-role  { color: #444; margin-bottom: 10px; }
.ata-tcard-text  { color: #000; margin: 0; padding-bottom: 8px; }

.ata-t-cards-row { max-width: 75%; margin: 0 auto; }

.ata-t-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 2; background: none; border: none;
    color: #fff; font-weight: 700;
    cursor: pointer; padding: 0 10px; line-height: 1;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6); transition: opacity 0.2s;
}
.ata-t-arrow:hover { opacity: 0.65; }
.ata-t-arrow-left  { left: 16px; }
.ata-t-arrow-right { right: 16px; }

.ata-t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; position: relative; z-index: 1; }
.ata-t-dot  { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.40); border: 1.5px solid rgba(255,255,255,0.7); cursor: pointer; padding: 0; transition: background 0.2s; }
.ata-t-dot.active { background: rgba(255,255,255,0.85); }

.ata-deco-abs { display: none; }


/* ── 10. HUB ROWS ──────────────────────────────────────────────────────── */
.ata-hubs-section { background: #fff; }

.ata-hub-row {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
}

.ata-hub-photo {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.ata-hub-text {
    padding: 12vw 0px 0px 6vw;
    display: flex;
    flex-direction: column;
}

.ata-hub-text * { color: #fff !important; }
.ata-hub-tag      { color: #fff !important; }
.ata-hub-name     { color: #fff !important; }
.ata-hub-desc     { color: #fff !important; }
.ata-hub-readmore { color: #fff !important; text-decoration: none; transition: opacity 0.18s; }
.ata-hub-readmore:hover { opacity: 0.65; }

.sec-bk .ata-hub-tag,
.sec-bk .ata-hub-name,
.sec-bk .ata-hub-desc { color: #000 !important; }

@media (max-width: 767px) {
    .ata-hub-row { grid-template-columns: 1fr; }
    .ata-hub-photo { min-height: 220px; }
    .ata-hub-text { padding: 28px 24px; }
    .ata-hub-text-inner { max-width: 100%; }
    /* Rows where text comes first in HTML: push text below the image
       so every row reads image → text on mobile */
    .ata-hub-text.text-left { order: 2; }
}


/* ── 11. BLOG SECTION ──────────────────────────────────────────────────── */
.ata-blog {
    position: relative;
    width: 100%;
    background-image: url('/storage/images/AllThingsAutistic_blog_section.png');
    background-size: cover;
    background-position: center;
    padding: 4.5vw 0px 5.5vw;
    overflow: hidden;
}

.ata-blog::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05);
    z-index: 0;
}

.ata-blog .ata-blog-inner { position: relative; z-index: 1; }
.ata-blog h2 { text-align: center; color: #fff; margin-bottom: 6px; }
.ata-blog-sub { text-align: center; color: rgba(255,255,255,0.9); margin-bottom: 36px; }

.ata-blog-row { display: flex; gap: 3.5vw; padding: 0px 5vw; justify-content: center; }
.ata-blog-col { flex: 0 0 28vw; }

.ata-bcard {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ata-bcard-photo { width: 100%; height: 16vw; object-fit: cover; object-position: center; display: block; flex-shrink: 0; background: #ddd; }
.ata-bcard-body  { padding: 3vw 3vw 2vw; display: flex; flex-direction: column; flex: 1; }
.ata-bcard-title { color: var(--dark); margin-bottom: 8px; text-align: center; }
.ata-bcard-desc  { color: #333; margin-bottom: 16px; text-align: center; flex: 1; }
.ata-bcard-btn-wrap { text-align: center; }

.ata-blog .btn-orange { letter-spacing: 0.1vw; padding: 0.6vw 2.3vw; border-radius: 5px; }

@media (max-width: 767px) {
    .ata-blog-row { flex-direction: column; padding: 0 16px; }
    .ata-blog-col { max-width: 100%; flex: 0 0 100%; }
}


/* ── 12. SENSORY QUIZ ──────────────────────────────────────────────────── */
.ata-quiz { background: #fff; width: 100%; display: grid; grid-template-columns: 50% 50%; }

.ata-quiz-photo {
    width: 100%; height: 100%;
    min-height: 400px;
    object-fit: cover; display: block;
    background: #e8e8e8;
}

.ata-quiz-photo-placeholder {
    width: 100%; min-height: 41vw;
    background: #e0e0e0;
    display: flex; align-items: center; justify-content: center;
    color: #aaa;
}

.ata-quiz-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 52px 56px;
    background: #fff;
}

.ata-quiz-content h2              { color: var(--dark); margin-bottom: 14px; }
.ata-quiz-content .ata-quiz-line1 { color: var(--dark); margin-bottom: 10px; }
.ata-quiz-content p               { color: var(--dark); margin-bottom: 8px; }
.ata-quiz-content .ata-quiz-btn   { margin-top: 2vw; }

@media (max-width: 767px) {
    .ata-quiz { grid-template-columns: 1fr; }
    .ata-quiz-photo, .ata-quiz-photo-placeholder { min-height: 240px; }
    .ata-quiz-content { padding: 36px 24px; }
}


/* ── 13. INSTAGRAM ─────────────────────────────────────────────────────── */
.ata-instagram { background: #fff; padding: 40px 0 0; width: 100%; }

.ata-insta-top { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.ata-insta-avatar { width: 9vw; height: 9vw; border-radius: 50%; background: #bbb; flex-shrink: 0; margin-right: 1.5vw; }
.ata-insta-handle { color: var(--dark); margin-bottom: 3px; }
.ata-insta-niche  { color: var(--dark); }
.ata-insta-stats  { display: flex; align-items: center; gap: 24px; margin-left: 40px; }
.ata-insta-num    { color: var(--dark); line-height: 1; text-align: center; }
.ata-insta-lbl    { color: var(--dark); text-align: center; margin-top: 2px; }
.ata-insta-sep    { width: 1px; height: 36px; background: #ccc; }
.ata-insta-handle-container { margin-right: 8vw; }

.ata-insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; padding: 0px 7vw 7vw; }
.ata-insta-tile { aspect-ratio: 1; background: #aaa; display: block; }
.ata-insta-tile:nth-child(even) { background: #999; }

.ata-insta-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ata-insta-tile {
    position: relative;
}

.ata-insta-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

/* ── 14. FOOTER ────────────────────────────────────────────────────────── */
.ata-footer { background: var(--purple); width: 100%; padding: 3vw 6vw; }
.ata-footer-logo { width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.ata-footer-tagline { color: rgba(255,255,255,0.9); line-height: 1.5; margin-bottom: 16px; }
.ata-footer-socials { display: flex; gap: 10px; margin-top: 4px; }

.ata-footer-social-icon {
    border-radius: var(--radius);
    /* border: 1.5px solid rgba(255,255,255,0.6); */
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; transition: border-color 0.2s;
}
.ata-footer-social-icon:hover { border-color: #fff; color: #fff; }

.ata-footer-link {
    display: block;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    margin-bottom: 0px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}
.ata-footer-link:hover { color: #fff; }

.ata-footer-divider { border-color: rgba(255,255,255,0.18); margin: 36px 0 0; }
.ata-footer-copy-row { padding-top: 5vw; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ata-footer-copy { color: #fff; margin: 0; }
.ata-footer-copy-icon { width: 1.5vw; object-fit: contain; filter: brightness(0) invert(1); }
.footer-right-nav { margin-top: 11vw; }


/* ==========================================================================
   ██████████████████████████████████████████████████████████████████████████
   ██                                                                      ██
   ██              15. MASTER TYPOGRAPHY — SINGLE SOURCE OF TRUTH         ██
   ██                                                                      ██
   ██   Change fonts and sizes HERE only.                                  ██
   ██   All sections inherit from this block.                              ██
   ██                                                                      ██
   ██   FONTS IN USE:                                                      ██
   ██   • Headings → 'Poppins', sans-serif  (SemiBold 600 / Bold 700)     ██
   ██   • Body     → 'DM Sans',  sans-serif  (Regular 400 / Medium 500)   ██
   ██   • Buttons  → 'Poppins', sans-serif  (SemiBold 600)                ██
   ██                                                                      ██
   ██   clamp(MIN, PREFERRED_VW, MAX)                                      ██
   ██   — MIN  = smallest size on mobile                                   ██
   ██   — VW   = scales with viewport width                                ██
   ██   — MAX  = largest size on wide screens                              ██
   ██                                                                      ██
   ██████████████████████████████████████████████████████████████████████████
   ========================================================================== */

/* ── TOPBAR ── */
.ata-topbar                       { font-family: 'DM Sans', sans-serif;  font-size: clamp(0.65rem, 1.4vw, 8rem);   font-weight: 700;  padding: 1.2vw 0%; }

/* ── NAVBAR ── */
.ata-navbar .nav-links a,
.nav-dropdown-menu li a           { font-family: 'Poppins', sans-serif; }
.ata-navbar .nav-links a          { font-size: clamp(0.78rem, 1.5vw, 6rem);    font-weight: 600; }
.nav-dropdown-menu li a           { font-size: clamp(0.75rem, 0.88vw, 0.88rem); font-weight: 500; }
.ata-navbar .btn-quiz             { font-family: 'Poppins', sans-serif; font-size: clamp(0.78rem, 0.95vw, 0.95rem); font-weight: 600; }

/* ── HERO ── */
.ata-hero-text h1                 { font-family: 'Poppins', sans-serif; font-size: clamp(1.6rem, 2.2vw, 10rem);   font-weight: 600; }
.ata-hero-text h1 .thin           { font-family: 'Poppins', sans-serif; font-size: clamp(0.85rem, 1.8vw, 6rem);   font-weight: 400; }

/* ── CATEGORY CARDS ── */
.ata-cat-name                     { font-family: 'Poppins', sans-serif; font-size: clamp(0.95rem, 1.6vw, 6rem);   font-weight: 600; line-height: 1.5; margin-top: 1.5vw; }
.ata-cat-desc                     { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.8rem,  1.1vw, 3rem);   font-weight: 400; line-height: 1.3; margin-bottom: 2.5vw; }
.ata-cat-readmore                 { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.85rem, 1.3vw, 8rem);   font-weight: 700; margin-bottom: 2vw; }

/* ── ABOUT ── */
.ata-about h2                     { font-family: 'Poppins', sans-serif; font-size: clamp(1.4rem,  2.7vw, 9rem);    font-weight: 600; line-height: 1.3; }
.ata-about .ata-about-intro       { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.9rem,  1.7vw, 5rem);   font-weight: 500; line-height: 1.3; }
.ata-about p                      { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.9rem,  1.7vw, 5rem);   font-weight: 500; line-height: 1.3; margin-bottom: 2vw !important; }
.ata-about .ata-about-created     { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.9rem,  1.7vw, 5rem);   font-weight: 500; line-height: 1.3; }
.ata-about .btn-orange            { font-family: 'Poppins', sans-serif; font-size: clamp(0.8rem,  1.5vw, 4rem);   font-weight: 600; }

/* ── PARENTS' THOUGHTS ── */
.ata-testimonials h2              { font-family: 'Poppins', sans-serif; font-size: clamp(1.3rem,  2.7vw, 10rem);  font-weight: 600; line-height: 1.3; margin-bottom: 4vw; }
.ata-tcard-name                   { font-family: 'Poppins', sans-serif; font-size: clamp(0.9rem,  1.6vw, 5rem);   font-weight: 600; line-height: 1.3; margin-top: 1.5vw; }
.ata-tcard-role                   { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.82rem, 1.8vw, 5rem);  font-weight: 400; line-height: 1.7; color: #000; }
.ata-tcard-text                   { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.8rem,  1vw,  5rem);   font-weight: 400; line-height: 1.3; }
.p-thought-sec                    { width: 75vw; margin: 0 auto; gap: 2%; }
.ata-testimonials .row.g-4 .col-md-4 { width: 31%; }
.ata-t-arrow                      { font-size: clamp(1.3rem, 1.5vw, 5rem); }

/* ── HUB ROWS ── */
.ata-hub-tag                      { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.72rem, 1.8vw, 6rem);  font-weight: 500; text-transform: capitalize; line-height: 1.3; margin-bottom: 1.2vw; }
.ata-hub-name                     { font-family: 'Poppins', sans-serif; font-size: clamp(1.3rem,  2.5vw, 6rem);   font-weight: 600; line-height: 1.3; margin-bottom: 1.2vw; }
.ata-hub-desc                     { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.9rem,  2vw,  6rem);   font-weight: 400; line-height: 1.3; min-height: 11vw !important; }
.ata-hub-readmore                 { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.85rem, 1vw,  1rem);   font-weight: 700; }

/* ── BLOG CARDS ── */
.ata-blog h2                      { font-family: 'Poppins', sans-serif; font-size: clamp(1.3rem,  2.7vw, 8rem);   font-weight: 600; line-height: 1.8; }
.ata-blog-sub                     { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.85rem, 1.6vw, 5rem);  font-weight: 400; line-height: 1.3; margin-bottom: 4vw; }
.ata-bcard-title                  { font-family: 'Poppins', sans-serif; font-size: clamp(0.9rem,  1.6vw, 5rem);   font-weight: 700; line-height: 1.3; }
.ata-bcard-desc                   { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.8rem,  1.05vw,4rem);  font-weight: 400; line-height: 1.3; margin: 0.6vw 0px 1.5vw; }
.ata-bcard-btn-wrap .btn-orange,
.ata-bcard-btn-wrap .btn-orange-big { font-family: 'Poppins', sans-serif; font-size: clamp(0.8rem, 1.5vw, 4rem) !important; font-weight: 600; }
.ata-blog .btn-orange             { letter-spacing: 0.1vw; font-weight: 500 !important; font-size: clamp(0.8rem, 1.3vw, 4rem) !important; border-radius: 5px; }

/* ── SENSORY QUIZ ── */
.ata-quiz-content h2              { font-family: 'Poppins', sans-serif; font-size: clamp(1.4rem,  2.7vw, 10rem);  font-weight: 600; line-height: 1.3; }
.ata-quiz-content .ata-quiz-line1 { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.9rem,  1.6vw, 6rem);  font-weight: 500; line-height: 2.5; }
.ata-quiz-content p               { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.9rem,  1.6vw, 6rem);  font-weight: 500; line-height: 1.1; }
.ata-quiz-content .btn-orange     { font-family: 'Poppins', sans-serif; font-size: clamp(0.8rem,  1.6vw, 4rem);  font-weight: 600; padding: 1vw 3vw; }

/* ── INSTAGRAM ── */
.ata-insta-handle                 { font-family: 'Poppins', sans-serif; font-size: clamp(1rem,    2.7vw, 10rem);  font-weight: 600; }
.ata-insta-niche                  { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.78rem, 1.7vw, 4rem);  font-weight: 500; }
.ata-insta-num                    { font-family: 'Poppins', sans-serif; font-size: clamp(1.1rem,  2vw,  5rem);   font-weight: 600; }
.ata-insta-lbl                    { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.65rem, 1.1vw, 3rem);  font-weight: 600; }

/* ── FOOTER ── */
.ata-footer-tagline               { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.78rem, 1.4vw, 6rem);  font-weight: 400; line-height: 1.5; }
.ata-footer-link                  { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.78rem, 1.5vw, 5rem);  font-weight: 500; letter-spacing: 0.04em; }
.ata-footer-copy                  { font-family: 'DM Sans',  sans-serif; font-size: clamp(0.72rem, 1.4vw, 5rem);  font-weight: 400; }
.ata-footer-logo                  { width: 32vw; }
.ata-footer-social-icon           { width: 2.7vw; height: 2.7vw; font-size: clamp(0.78rem, 1.8vw, 5rem); }

/* ── GLOBAL BUTTONS ── */
.btn-orange,
.btn-orange-big,
.btn-purple-big                   { font-family: 'Poppins', sans-serif; font-size: clamp(0.8rem, 1.5vw, 3rem); font-weight: 600; letter-spacing: 0.2vw; padding: 1vw 6vw; }

/* ── END MASTER TYPOGRAPHY ── */

.nav-dropdown-menu a{
    font-size:clamp(0.78rem, 1.2vw, 6rem) !important;
}
.quiz-btn-nav{
    margin-left: clamp(0.78rem, 2vw, 6rem);
}

/* ==========================================================================
   MOBILE FIXES — v2
   All issues from review addressed below
   ========================================================================== */

@media (max-width: 768px) {

    /* ════════════════════════════════════════════════
       NAVBAR — full fix
       ════════════════════════════════════════════════ */
    .ata-navbar {
        height: auto !important;
        padding: 10px 16px !important;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .ata-navbar .nav-inner {
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .ata-navbar .nav-logo { width: 130px !important; }

    .ata-nav-toggle { display: block !important; }

    /* Full-width dropdown — left aligned, no centering */
    .ata-navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0;
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        gap: 0;
        z-index: 999;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Open panel viewport bhar white rahe */
    .ata-navbar .nav-links.open {
        display: flex !important;
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 40px;
    }

    /* Parent menu items */
    .ata-navbar .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .ata-navbar .nav-links > li > a {
        display: block !important;
        padding: 13px 20px !important;
        font-size: 0.92rem !important;
        text-align: left !important;
        width: 100%;
        color: var(--dark) !important;
    }

    /* Dropdown arrow — remove since submenus show inline */
    .nav-links .nav-dropdown > a::after { display: none; }

    /* Submenu — inline block, always visible on mobile */
    .nav-dropdown-menu {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: #f8f7ff !important;
        padding: 0 !important;
        min-width: unset !important;
        width: 100% !important;
    }

    .nav-dropdown-menu li { width: 100%; }

    .nav-dropdown-menu li a {
        display: block !important;
        padding: 11px 20px 11px 34px !important;
        font-size: 0.84rem !important;
        color: #555 !important;
        border-bottom: 1px solid #eeebff !important;
        text-align: left !important;
    }

    .nav-dropdown-menu li:last-child a { border-bottom: none !important; }

    /* Quiz button */
    .quiz-btn-nav { width: 100%; border-bottom: 1px solid #f0f0f0; }
    .quiz-btn-nav a.btn-quiz,
    .ata-navbar .btn-quiz {
        display: block !important;
        margin: 0 !important;
        padding: 13px 20px !important;
        background: var(--purple) !important;
        color: #fff !important;
        border-radius: 0 !important;
        font-size: 0.92rem !important;
        text-align: left !important;
        width: 100% !important;
    }

    /* ════════════════════════════════════════════════
       INSTAGRAM — 3 columns, 9 posts show
       ════════════════════════════════════════════════ */
    .ata-insta-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 0 0 24px !important;
    }

    /* Show all 9 tiles (hide:nth-child > 8 was removing them) */
    .ata-insta-tile { display: block !important; }

    .ata-insta-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 0 16px !important;
        margin-bottom: 16px !important;
    }

    .ata-insta-avatar {
        width: 52px !important;
        height: 52px !important;
        margin-right: 0 !important;
    }

    .ata-insta-stats { margin-left: 0 !important; gap: 16px !important; }
    .ata-insta-handle-container { margin-right: 0 !important; }

    /* ════════════════════════════════════════════════
       FOOTER — complete fix
       ════════════════════════════════════════════════ */
    .ata-footer {
        padding: 28px 20px 20px !important;
    }

    /* col-md-4 (logo col) stacks, col-6 nav cols stay side by side */
    .ata-footer .row {
        flex-wrap: wrap !important;
    }

    .ata-footer .col-md-4,
    .ata-footer .col-6,
    .ata-footer .footer-right-nav {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ata-footer [class*="offset-"] { margin-left: 0 !important; }

    /* Logo — fix height */
    .ata-footer-logo {
        width: 160px !important;
        height: auto !important;
        max-height: none !important;
        margin-bottom: 12px !important;
    }

    .ata-footer-tagline {
        font-size: 0.82rem !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
    }
    .ata-footer-tagline br { display: none; }

    /* Social icons — centered */
    .ata-footer-socials {
        justify-content: center !important;
        gap: 14px !important;
        margin-bottom: 20px !important;
    }

    .ata-footer-social-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
    }

    /* Nav links — 2 column grid */
    .footer-right-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px 16px !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .ata-footer-link {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
        text-align: left !important;
    }

    /* Copyright row — same line with icon */
    .ata-footer-copy-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding-top: 14px !important;
        flex-wrap: nowrap !important;
        margin-top: 8px !important;
    }

    .ata-footer-copy {
        font-size: 0.65rem !important;
        text-align: center !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    .ata-footer-copy-icon {
        width: 18px !important;
        height: auto !important;
        flex-shrink: 0 !important;
    }

    .ata-footer-divider { margin: 16px 0 0 !important; }
}


/* ════════════════════════════════════════════════════════
   QUIZ-STYLES.CSS fixes — mobile feel
   (these target quiz page classes from quiz-styles.css)
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Form — 1 input per line */
    .form-grid { grid-template-columns: 1fr !important; gap: 0 !important; }

    .form-card {
        padding: 24px 18px !important;
        border-radius: 14px !important;
    }

    .form-group { margin-bottom: 18px !important; }

    .form-group label {
        font-size: 15px !important;
        margin-bottom: 7px !important;
        display: block !important;
    }

    .form-group input,
    .form-group select {
        padding: 14px 16px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
        border: 2px solid #e5e7eb !important;
        line-height: 1.5 !important;
    }

    /* Step 1 & 2 — breathing room */
    .question-card {
        padding: 22px 18px !important;
        margin-bottom: 20px !important;
        border-radius: 14px !important;
    }

    .question-number { font-size: 13px !important; margin-bottom: 10px !important; }

    .question-text {
        font-size: 17px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }

    .question-subtext { font-size: 14px !important; margin-bottom: 18px !important; }

    /* Options — mobile feel with good tap targets */
    .options-grid { gap: 12px !important; margin-top: 16px !important; }

    .option-content {
        padding: 15px 18px !important;
        border-radius: 10px !important;
        border-width: 2px !important;
    }

    .option-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    /* Radio hidden but circle indicator via padding */
    .option-card input[type="radio"] { display: none !important; }

    /* Buttons */
    .button-group {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 32px !important;
    }

    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    /* Results section */
    .result-area {
        padding: 20px 18px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
    }

    .result-area h3 { font-size: 20px !important; margin-bottom: 10px !important; }

    .pattern-badge {
        font-size: 14px !important;
        padding: 7px 18px !important;
        margin-bottom: 12px !important;
    }

    .result-description {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .product-card {
        padding: 16px 14px !important;
        border-radius: 10px !important;
    }

    .product-card h4 { font-size: 14px !important; }
    .product-card p  { font-size: 13px !important; }

    /* Newsletter */
    .newsletter-card {
        padding: 22px 18px !important;
        border-radius: 14px !important;
    }

    .newsletter-card h3 { font-size: 20px !important; margin-bottom: 10px !important; }
    .newsletter-card p  { font-size: 15px !important; line-height: 1.65 !important; margin-bottom: 16px !important; }

    .checkbox-label {
        font-size: 15px !important;
        gap: 12px !important;
        align-items: flex-start !important;
        line-height: 1.5 !important;
    }

    .checkbox-label input[type="checkbox"] {
        width: 22px !important;
        height: 22px !important;
        flex-shrink: 0 !important;
        margin-top: 1px !important;
    }

    /* Progress bar */
    .progress-bar { margin-bottom: 20px !important; }
    .progress-text { font-size: 13px !important; }

    /* Quiz header */
    .quiz-header { margin-bottom: 28px !important; }
    .quiz-header h1,
    .quiz-header h2 { font-size: 24px !important; line-height: 1.35 !important; }
    .subtitle, .intro-text { font-size: 15px !important; line-height: 1.65 !important; }
    .intro-text { padding: 18px !important; border-radius: 12px !important; }
}
/* --- Testimonials: single column on mobile --- */
@media (max-width: 767px) {
    .p-thought-sec .col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .ata-tcard-name { font-size: 1.25rem; }
    .ata-tcard-role { font-size: 1rem; }
    .ata-tcard-text { font-size: 1rem; line-height: 1.5; }
}
 
/* --- Footer: brand full width, nav cols side-by-side on mobile --- */
@media (max-width: 767px) {
    .ata-footer .row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 20px 0 !important;
    }
    .ata-footer .col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .ata-footer .footer-right-nav {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    .ata-footer .offset-md-3 { margin-left: 0 !important; }

    .ata-bcard-photo {
        height: 52vw !important;
    }

    .ata-footer .row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .ata-footer .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .ata-footer .footer-right-nav {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding-left: 16px !important;
    }
    .ata-footer .offset-md-3 {
        margin-left: 0 !important;
    }
}
 
/* ================================================================
   MOBILE OVERRIDES — CATEGORY CARDS (placed last to win specificity)
   Desktop-like spacious look: big icon, gaps, taller cards
   ================================================================ */
@media (max-width: 767px) {
    .ata-cats-wrap .ata-container { max-width: 70%; }
    .ata-cats-wrap .row { --bs-gutter-y: 21px; }
    .ata-cats-wrap .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ata-cat-card { padding: 32px 24px 37px; }
    .ata-cat-icon-circle { width: 86px; height: 86px; margin-bottom: 27px; }
    .ata-cat-icon { width: 42px; height: 42px; }
    .ata-cat-name { font-size: 1.2rem; margin-bottom: 16px; }
    .ata-cat-desc { font-size: 0.85rem; line-height: 1.55; margin-bottom: 27px; }
    .ata-cat-readmore { font-size: 0.92rem; }
    .ata-cats-wrap {
        margin-top: -25vw !important;
    }
}
/* Hamburger <-> close icon swap */
.ata-nav-toggle .icon-close { display: none; }
.ata-navbar.menu-open .ata-nav-toggle .icon-burger { display: none; }
.ata-navbar.menu-open .ata-nav-toggle .icon-close { display: block; }