@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
  --green:#174d38;
  --green-dark:#103b2b;
  --green-mid:#2c7052;
  --green-soft:#dfe9dc;
  --cream:#f7f3e7;
  --paper:#fffdf7;
  --ink:#203b2e;
  --muted:#6b786e;
  --line:#e5e7d9;
  --radius:26px;
  --shadow:0 18px 55px rgba(23,77,56,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Vazirmatn","DM Sans",sans-serif;line-height:1.9}
body[dir="ltr"]{font-family:"DM Sans","Vazirmatn",sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,253,247,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(23,77,56,.08)}
.nav-wrap{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{width:175px;height:auto;display:block;mix-blend-mode:multiply}
.main-nav,.nav-actions{display:flex;align-items:center;gap:24px}
.main-nav a,.footer-links a{font-size:14px;color:var(--muted);transition:color .2s}
.main-nav a:hover,.footer-links a:hover{color:var(--green)}
.nav-actions{gap:12px}
.language-toggle{border:1px solid var(--line);border-radius:50px;background:transparent;color:var(--green);padding:7px 13px;font-weight:800}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 23px;border:1px solid var(--green);border-radius:50px;background:var(--green);color:white;font-weight:700;font-size:14px;transition:transform .2s,background .2s;box-shadow:0 8px 20px rgba(23,77,56,.12)}
.button:hover{transform:translateY(-2px);background:var(--green-dark)}
.button-small{padding:9px 16px;font-size:13px}
.button-outline{background:transparent;color:var(--green);box-shadow:none}
.button-outline:hover{color:white}
.button-light{background:var(--cream);color:var(--green);border-color:var(--cream)}
.button-light:hover{background:white;color:var(--green)}
.menu-toggle{display:none;background:transparent;border:0;color:var(--green);font-size:25px}
.hero{position:relative;overflow:hidden;background:var(--cream);padding:76px 0 88px;isolation:isolate}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:48px}
.hero-copy{position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--green-mid);font-size:12px;font-weight:800;letter-spacing:.02em}
.eyebrow:before{content:"";display:inline-block;width:22px;height:2px;background:#82a58a;border-radius:2px}
h1,h2,h3,p{margin-top:0}
.hero h1{font-size:clamp(34px,4.3vw,57px);line-height:1.5;letter-spacing:-1.4px;color:var(--green-dark);margin:17px 0 19px;font-weight:800}
.hero-description{max-width:570px;font-size:16px;line-height:2.2;color:#5c6b60}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.hero-note{display:flex;align-items:center;gap:10px;margin-top:26px;color:var(--muted);font-size:12px}
.note-dot{width:8px;height:8px;border-radius:50%;background:#78a17c;box-shadow:0 0 0 5px rgba(120,161,124,.15)}
.hero-glow{position:absolute;z-index:-1;border-radius:50%;filter:blur(1px);pointer-events:none}
.glow-one{width:350px;height:350px;background:#e6e8d0;top:-160px;left:-100px}
.glow-two{width:250px;height:250px;background:#e0eadc;bottom:-150px;right:38%}
.hero-art{min-height:440px;position:relative;display:grid;place-items:center}
.mascot-card{width:min(100%,360px);height:380px;position:relative;display:flex;align-items:center;justify-content:center;border:1px solid rgba(23,77,56,.1);border-radius:48% 48% 38% 38%;background:linear-gradient(145deg,#e7eddf,#d7e5d6);box-shadow:var(--shadow);overflow:hidden}
.mascot-orbit{position:absolute;border:1px solid rgba(23,77,56,.13);border-radius:50%;width:290px;height:290px}
.orbit-two{width:235px;height:235px}
.mascot{position:relative;z-index:2;width:205px;height:245px;animation:float 4s ease-in-out infinite}
.dino-head{position:absolute;z-index:3;width:185px;height:160px;left:10px;top:28px;background:#4d9168;border:5px solid var(--green);border-radius:48% 48% 43% 43%;box-shadow:inset -10px -8px 0 rgba(16,59,43,.08)}
.dino-horns{position:absolute;z-index:4;left:25px;top:8px;display:flex;gap:25px}
.dino-horns i{display:block;width:25px;height:38px;background:#4d9168;border:4px solid var(--green);border-radius:80% 80% 30% 30%;transform:rotate(-18deg)}
.dino-horns i:nth-child(2){height:29px;transform:rotate(12deg)}
.dino-horns i:nth-child(3){transform:rotate(24deg)}
.dino-eyes{position:absolute;top:49px;left:38px;right:38px;display:flex;justify-content:space-between}
.dino-eyes i{width:17px;height:23px;background:#fffdf7;border-radius:50%;position:relative}
.dino-eyes i:after{content:"";position:absolute;width:7px;height:10px;left:5px;top:7px;border-radius:50%;background:var(--green-dark)}
.dino-cheeks{position:absolute;top:86px;left:22px;right:22px;display:flex;justify-content:space-between}
.dino-cheeks i{width:20px;height:11px;background:#a7c9a1;border-radius:50%}
.dino-mouth{position:absolute;left:70px;top:91px;width:35px;height:17px;border-bottom:4px solid var(--green-dark);border-radius:0 0 50% 50%}
.dino-body{position:absolute;left:47px;top:155px;width:115px;height:76px;background:#4d9168;border:5px solid var(--green);border-radius:48% 48% 35% 35%}
.dino-feet{position:absolute;left:39px;right:39px;top:214px;display:flex;justify-content:space-between}
.dino-feet i{width:48px;height:26px;background:#4d9168;border:5px solid var(--green);border-radius:50%}
.speech-bubble{position:absolute;z-index:5;top:49px;right:0;background:var(--paper);color:var(--green);padding:10px 15px;border-radius:18px 18px 4px 18px;font-size:12px;font-weight:800;box-shadow:var(--shadow);transform:rotate(4deg)}
.speech-bubble span{color:#b3a35e}
.mascot-caption{position:absolute;z-index:5;bottom:18px;display:flex;flex-direction:column;align-items:center;line-height:1.7}
.mascot-caption strong{font-size:20px;color:var(--green-dark)}
.mascot-caption span{font-size:11px;color:var(--muted)}
.art-card{position:absolute;z-index:6;background:var(--paper);border:1px solid rgba(23,77,56,.08);border-radius:18px;padding:15px 17px;box-shadow:var(--shadow)}
.art-card-back{top:28px;left:-5px;width:190px;transform:rotate(-4deg)}
.art-label{font-size:11px;font-weight:800;color:var(--green)}
.progress-line{height:7px;border-radius:20px;background:#e7e9dc;margin:10px 0}
.progress-line span{display:block;width:70%;height:100%;border-radius:20px;background:#7ca47f}
.art-card p{font-size:10px;color:var(--muted);margin:0}
.art-card-front{bottom:20px;right:-12px;width:205px;display:grid;gap:4px;transform:rotate(3deg)}
.art-card-front strong{font-size:11px}
.art-card-front>span:last-child{font-size:10px;color:var(--muted)}
.mini-icon{color:#b2a25d;font-size:20px}
.trust-strip{background:var(--green);color:#f7f3e7;padding:22px 0}
.trust-items{display:flex;justify-content:space-around;gap:20px;flex-wrap:wrap}
.trust-items>div{display:flex;align-items:center;gap:12px;font-size:13px}
.trust-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(247,243,231,.3);border-radius:50%;font-size:10px;color:#dce6d3}
.section{padding:94px 0}
.section-tinted{background:#f0eddf}
.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:75px;align-items:start}
.section-heading h2,.section-title h2,.cooly-copy h2,.contact-panel h2{font-size:clamp(27px,3vw,39px);line-height:1.65;color:var(--green-dark);margin:14px 0;font-weight:800;letter-spacing:-.7px}
.about-copy p{font-size:14px;color:var(--muted);line-height:2.3}
.text-link{display:inline-flex;gap:10px;align-items:center;color:var(--green);font-size:13px;font-weight:800;margin-top:6px}
.text-link b{font-size:20px}
.section-title{text-align:center;max-width:700px;margin:0 auto 40px}
.section-title>p{color:var(--muted);font-size:13px}
.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:900px;margin:auto}
.course-card{padding:30px;border:1px solid var(--line);border-radius:var(--radius);background:#fbf8ef;box-shadow:0 8px 30px rgba(23,77,56,.035);display:flex;flex-direction:column;align-items:flex-start}
.course-card-featured{background:#e9eee1;border-color:#dce5d7}
.course-symbol{width:53px;height:53px;border-radius:17px;background:var(--green);color:var(--cream);display:grid;place-items:center;font-size:24px;font-weight:800;margin-bottom:18px}
.course-tag{font-size:11px;color:var(--green-mid);font-weight:800}
.course-card h3{font-size:24px;color:var(--green-dark);margin:5px 0 10px}
.course-card p,.course-card li{font-size:13px;color:var(--muted);line-height:2}
.course-card ul{padding-inline-start:20px;margin:0 0 24px}
.course-card li::marker{color:var(--green-mid)}
.course-button{margin-top:auto}
.small-note{font-size:11px;color:var(--muted);text-align:center;margin-top:24px}
.cooly-panel{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center;background:#f3f1e4;border-radius:34px;padding:55px 65px;overflow:hidden}
.cooly-copy p{font-size:14px;line-height:2.2;color:var(--muted);max-width:590px}
.cooly-copy .small-note{text-align:start}
.cooly-visual{min-height:320px;display:grid;place-items:center;position:relative}
.cooly-character{position:relative;width:190px;height:240px;animation:float 4s ease-in-out infinite}
.cc-head{position:absolute;z-index:2;top:35px;left:8px;width:175px;height:150px;background:#4d9168;border:5px solid var(--green);border-radius:48% 48% 44% 44%}
.cc-spikes{position:absolute;z-index:3;top:10px;left:28px;display:flex;gap:20px}
.cc-spikes i{width:25px;height:37px;background:#4d9168;border:4px solid var(--green);border-radius:80% 80% 20% 20%;transform:rotate(-15deg)}
.cc-spikes i:nth-child(2){transform:rotate(7deg);height:28px}
.cc-spikes i:nth-child(3){transform:rotate(22deg)}
.cc-eyes{position:absolute;top:48px;left:34px;right:34px;display:flex;justify-content:space-between}
.cc-eyes i{width:17px;height:22px;background:var(--paper);border-radius:50%;position:relative}
.cc-eyes i:after{content:"";position:absolute;left:5px;top:7px;width:7px;height:10px;background:var(--green);border-radius:50%}
.cc-mouth{position:absolute;top:90px;left:67px;width:34px;height:17px;border-bottom:4px solid var(--green);border-radius:0 0 50% 50%}
.cc-body{position:absolute;top:158px;left:43px;width:105px;height:65px;border:5px solid var(--green);border-radius:45%;background:#4d9168}
.cc-feet{position:absolute;top:210px;left:33px;right:33px;display:flex;justify-content:space-between}
.cc-feet i{width:46px;height:24px;border:5px solid var(--green);border-radius:50%;background:#4d9168}
.cooly-bubble{position:absolute;z-index:5;background:var(--paper);color:var(--green);border-radius:16px;padding:10px 14px;font-size:12px;font-weight:800;box-shadow:var(--shadow)}
.bubble-top{top:14px;right:0;transform:rotate(4deg)}
.bubble-bottom{bottom:14px;left:0;transform:rotate(-4deg)}
.steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.step-card{background:#fbf8ef;border:1px solid var(--line);border-radius:22px;padding:27px}
.step-card>span{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:var(--green-soft);color:var(--green);font-weight:800}
.step-card h3{font-size:17px;margin:18px 0 8px}
.step-card p{font-size:13px;line-height:2;color:var(--muted);margin-bottom:0}
.faq-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:65px;align-items:start}
.faq-heading{text-align:start;margin:0}
.faq-list details{border-bottom:1px solid var(--line);padding:19px 0}
.faq-list summary{font-size:14px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:15px}
.faq-list summary:after{content:"+";font-size:20px;color:var(--green)}
.faq-list details[open] summary:after{content:"−"}
.faq-list details p{font-size:13px;color:var(--muted);line-height:2.1;margin:12px 0 0}
.contact-section{padding-top:25px}
.contact-panel{border-radius:30px;background:var(--green);color:var(--cream);padding:42px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.contact-panel .eyebrow{color:#c4d9bd}
.contact-panel .eyebrow:before{background:#c4d9bd}
.contact-panel h2{color:var(--cream);font-size:clamp(24px,3vw,34px);margin:10px 0}
.contact-panel p{color:#d1dfd2;font-size:13px;margin-bottom:0}
.site-footer{padding:36px 0;background:var(--paper)}
.footer-wrap{display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}
.footer-brand img{width:145px;display:block;mix-blend-mode:multiply}
.footer-brand p{font-size:11px;color:var(--muted);margin:7px 0 0}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-links a{font-size:12px}
.copyright{font-size:11px;color:var(--muted)}
[dir="ltr"] .hero h1{letter-spacing:-1px}
[dir="ltr"] .dino-horns,[dir="ltr"] .cc-spikes{left:25px}
[hidden]{display:none!important}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media(max-width:900px){
 .nav-wrap{gap:12px}.main-nav{gap:12px}.main-nav a{font-size:12px}.brand img{width:135px}
 .hero-grid{gap:20px}.hero-art{transform:scale(.9)}.about-grid{gap:35px}
 .cooly-panel{padding:40px;gap:20px}
}
@media(max-width:700px){
 .container{width:min(100% - 30px,520px)}
 .nav-wrap{min-height:72px;flex-wrap:wrap}
 .brand img{width:135px}
 .menu-toggle{display:block;margin-inline-start:auto}
 .main-nav{display:none;order:5;width:100%;padding:0 0 16px;flex-direction:column;align-items:stretch;gap:0}
 .main-nav.open{display:flex}
 .main-nav a{padding:10px 0;border-top:1px solid var(--line);font-size:13px}
 .nav-actions{gap:7px}.button-small{padding:8px 11px;font-size:11px}
 .hero{padding:48px 0 54px}.hero-grid{grid-template-columns:1fr;gap:12px}
 .hero h1{font-size:34px;line-height:1.6}
 .hero-description{font-size:14px}
 .hero-art{min-height:390px;transform:scale(.9);margin-top:-5px}
 .mascot-card{height:345px;width:310px}
 .art-card-back{left:0}.art-card-front{right:0}
 .trust-items{justify-content:flex-start;flex-direction:column;gap:15px;padding:0 20px}
 .section{padding:65px 0}
 .about-grid,.faq-layout{grid-template-columns:1fr;gap:22px}
 .section-heading h2,.section-title h2,.cooly-copy h2{font-size:29px}
 .course-grid,.steps-grid{grid-template-columns:1fr}
 .course-card{padding:25px}
 .cooly-panel{grid-template-columns:1fr;padding:30px 23px;border-radius:25px}
 .cooly-visual{min-height:290px;order:-1}
 .contact-panel{padding:30px 24px;align-items:flex-start;flex-direction:column;border-radius:24px}
 .footer-wrap{align-items:flex-start;flex-direction:column}
 .footer-links{gap:13px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* ===== Colangue: refined, all-ages visual direction ===== */

/* Professional dark-green header */
.site-header {
    background: rgba(23, 77, 56, 0.97);
    border-bottom: 1px solid rgba(255, 253, 247, 0.14);
}

.brand img {
    mix-blend-mode: multiply;
}

.main-nav a,
.nav-actions a {
    color: #fffdf7;
}

.main-nav a:hover {
    color: #d6e5d5;
}

/* More mature hero: typography and whitespace over cartoon imagery */
.hero {
    padding-top: 88px;
    padding-bottom: 96px;
    background: var(--paper);
}

.hero-grid {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    gap: 0;
}

.hero-copy {
    max-width: 760px;
}

.hero h1 {
    font-weight: 750;
    letter-spacing: -0.8px;
    line-height: 1.45;
}

.hero-description {
    max-width: 650px;
    line-height: 2;
}

/* Keep the large cartoon out of the main hero.
   Cooly can still have its own identity in its section. */
.hero-art {
    display: none;
}

.hero-glow {
    opacity: 0.25;
}

/* Less playful, more refined surfaces */
.mascot-card,
.about-card,
.course-card,
.cooly-card,
.faq-list details {
    box-shadow: 0 8px 28px rgba(16, 59, 43, 0.055);
}

button,
.button,
a.button {
    transition: background-color 0.2s ease, border-color 0.2s ease,
                color 0.2s ease, transform 0.2s ease;
}

/* Improve reading comfort across ages */
body {
    text-rendering: optimizeLegibility;
}

p {
    text-wrap: pretty;
}

/* Footer logo remains adapted to its light background */
.footer-brand img {
    mix-blend-mode: multiply;
}

/* Mobile refinements */
@media (max-width: 760px) {
    .hero {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
        font-size: clamp(30px, 7vw, 40px);
        line-height: 1.55;
    }

    .hero-description {
        font-size: 15px;
    }
}

/* Restore the original cream header */
.site-header {
    background: rgba(255, 253, 247, 0.97);
    border-bottom: 1px solid rgba(23, 77, 56, 0.10);
}

.main-nav a,
.nav-actions a {
    color: var(--green-dark);
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--green-mid);
}

/* Contact actions */
.contact-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-actions .button {
    text-align: center;
}

.contact-actions .contact-phone {
    color: var(--cream);
    border-color: rgba(255, 253, 247, 0.65);
}

.contact-actions .contact-email {
    color: var(--cream);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 600px) {
    .contact-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .contact-actions > * {
        text-align: center;
    }
}


/* Colangue brand color corrections */
:root {
    --cream: #f5f0e2;
    --paper: #fbf8ef;
    --line: #e5decc;
}

body {
    background: var(--cream);
}

.site-header {
    background: rgba(245, 240, 226, 0.97);
}

.main-nav a,
.nav-actions a:not(.button) {
    color: var(--green-dark);
}

.button:not(.button-light) {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
}

.button:not(.button-light):hover {
    background: var(--green-dark);
    color: #ffffff;
}

.button-light {
    background: var(--cream);
    color: var(--green-dark);
    border-color: var(--cream);
}

.button-light:hover {
    background: #fbf8ef;
    color: var(--green-dark);
}

.button-outline {
    background: transparent;
    color: var(--green-dark);
    border-color: var(--green);
}

.contact-panel .button-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
}

.contact-panel .button-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.course-card,
.step-card,
.art-card,
.speech-bubble {
    background-color: var(--paper);
}

.section-tinted {
    background: #f0eddf;
}

.site-footer {
    background: var(--cream);
}
