*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --primary:#176b87;
  --primary-dark:#0f4f65;
  --secondary:#f2b84b;
  --accent:#e56b6f;
  --light:#f7fafc;
  --white:#ffffff;
  --surface-alt:#eef6f8;
  --dark:#18323d;
  --text:#647982;
  --border:#dce7eb;
  --shadow:0 15px 40px rgba(24,50,61,.1);
  --shadow-hover:0 20px 50px rgba(24,50,61,.16);
  --radius:18px;
  --transition:.3s ease;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.7;
  overflow-x:hidden;
  transition:background .3s ease,color .3s ease;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
textarea,
select{
  font:inherit;
}

button{
  border:0;
  cursor:pointer;
}

.container{
  width:min(1180px,92%);
  margin:auto;
}

.section{
  padding:100px 0;
}

.section-header{
  max-width:760px;
  margin:0 auto 60px;
  text-align:center;
}

.section-label{
  display:inline-block;
  margin-bottom:12px;
  color:var(--primary);
  font-size:.85rem;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.section-header h2{
  margin-bottom:18px;
  color:var(--dark);
  font-size:clamp(2rem,4vw,3.1rem);
  line-height:1.15;
}

.section-header p{
  color:var(--text);
  font-size:1.05rem;
}

.header{
  position:fixed;
  inset:0 0 auto;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,.95);
  border-bottom:1px solid rgba(220,231,235,.8);
  backdrop-filter:blur(15px);
  transition:var(--transition);
}

.navbar{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  color:var(--dark);
}

.logo-icon{
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:var(--primary);
  color:#fff;
}

.logo-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.logo strong{
  display:block;
  color:var(--primary);
  font-size:1.15rem;
  line-height:1.2;
}

.logo small{
  display:block;
  color:var(--text);
  font-size:.68rem;
  line-height:1.2;
}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
}

.nav-links a{
  position:relative;
  color:var(--dark);
  font-size:.9rem;
  font-weight:600;
  transition:var(--transition);
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  border-radius:10px;
  background:var(--primary);
  transition:var(--transition);
}

.nav-links a:hover{
  color:var(--primary);
}

.nav-links a:hover::after{
  width:100%;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.language-selector{
  position:relative;
}

.language-btn{
  min-height:40px;
  padding:0 12px;
  display:flex;
  align-items:center;
  gap:5px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--white);
  color:var(--dark);
  font-size:.82rem;
  font-weight:700;
  transition:var(--transition);
}

.language-btn:hover{
  border-color:var(--primary);
  color:var(--primary);
}

.language-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:160px;
  padding:7px;
  display:none;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--white);
  box-shadow:var(--shadow);
  z-index:1100;
}

.language-menu.show{
  display:block;
  animation:dropdown .2s ease;
}

.language-menu button{
  width:100%;
  padding:10px 12px;
  display:block;
  border-radius:8px;
  background:transparent;
  color:var(--dark);
  text-align:left;
  transition:var(--transition);
}

.language-menu button:hover{
  background:var(--surface-alt);
  color:var(--primary);
}

.theme-toggle,
.menu-toggle{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--white);
  color:var(--dark);
  font-size:1rem;
  transition:var(--transition);
}

.theme-toggle:hover,
.menu-toggle:hover{
  border-color:var(--primary);
  color:var(--primary);
}

.menu-toggle{
  display:none;
}

.preschool-hero{
  position:relative;
  min-height:100vh;
  padding-top:82px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:linear-gradient(
    135deg,
    #e8f4f7 0%,
    #f7fafc 48%,
    #fff4d9 100%
  );
}

.preschool-hero::before,
.preschool-hero::after{
  content:"";
  position:absolute;
  border-radius:50%;
  transition:var(--transition);
}

.preschool-hero::before{
  width:550px;
  height:550px;
  right:-180px;
  top:-120px;
  border:1px solid rgba(23,107,135,.12);
  background:rgba(255,255,255,.35);
}

.preschool-hero::after{
  width:400px;
  height:400px;
  left:-180px;
  bottom:-180px;
  border:1px solid rgba(229,107,111,.15);
  background:rgba(229,107,111,.06);
}

.hero-content{
  position:relative;
  z-index:2;
}

.hero-text{
  max-width:760px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 15px;
  margin-bottom:22px;
  border:1px solid rgba(23,107,135,.15);
  border-radius:30px;
  background:rgba(255,255,255,.7);
  color:var(--primary);
  backdrop-filter:blur(10px);
  font-size:.85rem;
  font-weight:700;
  box-shadow:0 8px 20px rgba(24,50,61,.08);
}

.preschool-hero h1{
  margin-bottom:25px;
  color:var(--dark);
  font-size:clamp(3rem,7vw,6rem);
  line-height:.98;
  letter-spacing:-3px;
}

.preschool-hero h1 span{
  display:block;
  color:var(--primary);
}

.preschool-hero h1 span:last-child{
  color:var(--accent);
}

.preschool-hero p{
  max-width:680px;
  margin-bottom:35px;
  color:var(--text);
  font-size:1.1rem;
}

.hero-buttons{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  min-height:50px;
  padding:13px 25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:2px solid transparent;
  border-radius:10px;
  font-weight:800;
  transition:var(--transition);
}

.btn-primary{
  background:var(--primary);
  color:#fff;
}

.btn-primary:hover{
  background:var(--primary-dark);
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(23,107,135,.3);
}

.btn-secondary{
  border:1px solid var(--primary);
  background:rgba(255,255,255,.7);
  color:var(--primary);
  backdrop-filter:blur(10px);
}

.btn-secondary:hover{
  background:var(--primary);
  color:#fff;
  transform:translateY(-3px);
}

.btn-light{
  background:#fff;
  color:var(--primary);
}

.btn-light:hover{
  background:#fff4d9;
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(0,0,0,.15);
}

.hero-scroll{
  position:absolute;
  left:50%;
  bottom:25px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  color:rgba(24,50,61,.65);
  font-size:.75rem;
  transform:translateX(-50%);
}

.hero-scroll span:last-child{
  font-size:1.3rem;
  animation:bounce 1.5s infinite;
}

.features{
  position:relative;
  padding-top:100px;
  z-index:1;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.feature-card{
  padding:30px 24px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--white);
  box-shadow:var(--shadow);
  transition:var(--transition);
}

.feature-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow-hover);
}

.feature-icon{
  width:55px;
  height:55px;
  margin-bottom:20px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#fff3d1;
  font-size:1.5rem;
}

.feature-card:nth-child(2) .feature-icon{
  background:#e4f2f6;
}

.feature-card:nth-child(3) .feature-icon{
  background:#ffe5e5;
}

.feature-card:nth-child(4) .feature-icon{
  background:#fff0d0;
}

.feature-card h3{
  margin-bottom:8px;
  color:var(--dark);
  font-size:1.05rem;
}

.feature-card p{
  color:var(--text);
  font-size:.88rem;
}

.about{
  background:var(--surface-alt);
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.about-image{
  min-height:500px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:30px;
  background:linear-gradient(135deg,#dceff3,#fff0cd);
}

.about-image::before,
.about-image::after{
  content:"";
  position:absolute;
  border:1px solid rgba(23,107,135,.12);
  border-radius:50%;
}

.about-image::before{
  width:380px;
  height:380px;
}

.about-image::after{
  width:250px;
  height:250px;
}

.about-image-box{
  position:relative;
  z-index:2;
  width:190px;
  height:190px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:30px;
  background:rgba(255,255,255,.75);
  color:var(--dark);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
}

.about-image-box span{
  margin-bottom:8px;
  font-size:3rem;
}

.about-image-box strong{
  font-size:1.4rem;
}

.about-image-box small{
  color:var(--text);
}

.about-content h3{
  margin-bottom:20px;
  color:var(--dark);
  font-size:2rem;
  line-height:1.2;
}

.about-content p{
  margin-bottom:18px;
  color:var(--text);
}

.about-list{
  margin:28px 0;
  display:grid;
  gap:12px;
}

.about-list-item{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--dark);
  font-weight:600;
}

.about-list-item span:first-child{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  border-radius:50%;
  background:rgba(23,107,135,.12);
  color:var(--primary);
  font-size:.8rem;
}

.learning{
  background:var(--white);
}

.learning-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.learning-card{
  position:relative;
  padding:30px 25px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--white);
  transition:var(--transition);
}

.learning-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-hover);
}

.learning-number{
  position:absolute;
  top:18px;
  right:20px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e4f2f6;
  color:var(--primary);
  font-size:.9rem;
  font-weight:800;
}

.learning-icon{
  width:60px;
  height:60px;
  margin-bottom:20px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#fff3d1;
  font-size:1.7rem;
}

.learning-card:nth-child(2) .learning-icon{
  background:#e4f2f6;
}

.learning-card:nth-child(3) .learning-icon{
  background:#ffe5e5;
}

.learning-card:nth-child(4) .learning-icon{
  background:#e7f1f4;
}

.learning-card:nth-child(5) .learning-icon{
  background:#f8e5e5;
}

.learning-card:nth-child(6) .learning-icon{
  background:#fff0d0;
}

.learning-card h3{
  margin-bottom:10px;
  color:var(--dark);
}

.learning-card p{
  color:var(--text);
}

.activities{
  background:var(--surface-alt);
}

.activity-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.activity-card{
  padding:30px 20px;
  text-align:center;
  border:1px solid var(--border);
  border-radius:20px;
  background:var(--white);
  transition:var(--transition);
}

.activity-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow);
}

.activity-icon{
  margin-bottom:18px;
  font-size:3rem;
}

.activity-card h3{
  margin-bottom:8px;
  color:var(--dark);
}

.activity-card p{
  color:var(--text);
}

.why-us{
  background:var(--white);
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.why-card{
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--white);
  transition:var(--transition);
}

.why-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow-hover);
}

.why-card>span{
  flex-shrink:0;
  font-size:2rem;
}

.why-card h3{
  margin-bottom:7px;
  color:var(--dark);
}

.why-card p{
  color:var(--text);
}

.cta{
  position:relative;
  overflow:hidden;
  padding:100px 0;
  background:linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );
  color:#fff;
}

.cta::before{
  content:"";
  position:absolute;
  width:450px;
  height:450px;
  right:-150px;
  top:-250px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
}

.cta-content{
  position:relative;
  z-index:2;
  max-width:750px;
  margin:auto;
  text-align:center;
}

.cta .section-label{
  color:var(--secondary);
}

.cta h2{
  margin-bottom:18px;
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.1;
}

.cta p{
  max-width:650px;
  margin:0 auto 30px;
  color:rgba(255,255,255,.82);
}

.cta .btn-primary{
  background:var(--secondary);
  color:#18323d;
}

.cta .btn-primary:hover{
  background:#ffc95d;
  box-shadow:0 12px 25px rgba(242,184,75,.3);
}

.admissions{
  background:var(--surface-alt);
}

.admissions-wrapper{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:60px;
  align-items:center;
}

.admissions-info h3{
  margin-bottom:18px;
  color:var(--dark);
  font-size:2.2rem;
}

.admissions-info>p{
  margin-bottom:35px;
  color:var(--text);
}

.admission-point{
  display:flex;
  gap:15px;
  margin-bottom:22px;
}

.admission-point>span{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  border-radius:50%;
  background:rgba(23,107,135,.12);
  color:var(--primary);
  font-weight:900;
}

.admission-point strong{
  display:block;
  margin-bottom:3px;
  color:var(--dark);
}

.admission-point p{
  color:var(--text);
  font-size:.85rem;
}

.preschool-gallery{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
}

.gallery-main{
  min-height:430px;
  overflow:hidden;
  border-radius:22px;
  background:var(--surface-alt);
}

.gallery-main img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

.gallery-main:hover img{
  transform:scale(1.04);
}

.gallery-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.gallery-item{
  min-height:208px;
  overflow:hidden;
  border-radius:18px;
  background:var(--surface-alt);
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

.gallery-item:hover img{
  transform:scale(1.06);
}

.contact{
  background:var(--white);
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.contact-card{
  padding:30px 20px;
  text-align:center;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--white);
  transition:var(--transition);
}

.contact-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow);
}

.contact-icon{
  width:58px;
  height:58px;
  margin:0 auto 15px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--surface-alt);
  color:var(--primary);
  font-size:1.5rem;
}

.contact-card h3{
  margin-bottom:7px;
  color:var(--dark);
  font-size:1rem;
}

.contact-card p{
  color:var(--text);
  font-size:.85rem;
}

.footer{
  padding:70px 0 25px;
  background:#102831;
  color:#fff;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:50px;
  padding-bottom:50px;
}

.footer .logo{
  color:#fff;
}

.footer .logo strong{
  color:#fff;
}

.footer .logo small{
  color:rgba(255,255,255,.6);
}

.footer-brand>p{
  max-width:330px;
  margin-top:20px;
  color:rgba(255,255,255,.65);
  font-size:.9rem;
}

.footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.footer-column h3{
  margin-bottom:8px;
  color:#fff;
  font-size:1rem;
}

.footer-column a{
  color:rgba(255,255,255,.62);
  font-size:.85rem;
  transition:var(--transition);
}

.footer-column a:hover{
  color:var(--secondary);
}

.social-links{
  display:flex;
  gap:8px;
}

.social-links a{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.15);
  border-radius:9px;
  color:#fff;
  font-weight:800;
  transition:var(--transition);
}

.social-links a:hover{
  border-color:var(--secondary);
  background:var(--secondary);
  color:#102831;
}

.footer-bottom{
  padding-top:25px;
  border-top:1px solid rgba(255,255,255,.1);
  text-align:center;
}

.footer-bottom p{
  color:rgba(255,255,255,.55);
  font-size:.8rem;
}

.back-to-top{
  position:fixed;
  right:25px;
  bottom:25px;
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--primary);
  color:#fff;
  font-size:1.2rem;
  opacity:0;
  visibility:hidden;
  transform:translateY(15px);
  transition:var(--transition);
  z-index:900;
}

.back-to-top.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.back-to-top:hover{
  background:var(--primary-dark);
  transform:translateY(-3px);
}

body.dark-mode{
  --white:#172830;
  --light:#101c22;
  --surface-alt:#1c313a;
  --dark:#f2f7f8;
  --text:#b6c7cd;
  --border:#2b434d;
  --shadow:0 15px 40px rgba(0,0,0,.25);
  --shadow-hover:0 20px 50px rgba(0,0,0,.35);
  background:#101c22;
}

body.dark-mode .header{
  background:rgba(16,28,34,.95);
  border-color:var(--border);
}

body.dark-mode .language-btn,
body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle{
  background:var(--white);
  color:var(--dark);
}

body.dark-mode .language-menu{
  background:var(--white);
}

body.dark-mode .language-menu button{
  color:var(--dark);
}

body.dark-mode .language-menu button:hover{
  background:var(--surface-alt);
}

body.dark-mode .preschool-hero{
  background:linear-gradient(
    135deg,
    #102b36 0%,
    #182830 50%,
    #30291b 100%
  );
}

body.dark-mode .preschool-hero::before{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.08);
}

body.dark-mode .preschool-hero::after{
  background:rgba(229,107,111,.06);
  border-color:rgba(255,255,255,.08);
}

body.dark-mode .hero-badge{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
}

body.dark-mode .about-image{
  background:linear-gradient(145deg,#163642,#3a321e);
}

body.dark-mode .about-image-box{
  background:rgba(23,40,48,.75);
  color:var(--dark);
}

body.dark-mode .about-image-box small{
  color:var(--text);
}

body.dark-mode .btn-secondary{
  background:transparent;
  color:var(--dark);
}

body.dark-mode .btn-secondary:hover{
  background:var(--primary);
  color:#fff;
}

body.dark-mode .gallery-main,
body.dark-mode .gallery-item{
  background:var(--surface-alt);
}

body.dark-mode .learning-number{
  background:#214653;
  color:#b9dce6;
}

body.dark-mode .feature-card,
body.dark-mode .learning-card,
body.dark-mode .activity-card,
body.dark-mode .why-card,
body.dark-mode .contact-card{
  background:var(--white);
}

html[dir="rtl"] body{
  font-family:Arial,Tahoma,sans-serif;
}

html[dir="rtl"] .nav-links{
  direction:rtl;
}

html[dir="rtl"] .language-menu{
  right:auto;
  left:0;
}

html[dir="rtl"] .language-menu button{
  text-align:right;
}

html[dir="rtl"] .hero-text,
html[dir="rtl"] .about-content,
html[dir="rtl"] .admissions-info{
  text-align:right;
}

html[dir="rtl"] .about-list-item,
html[dir="rtl"] .admission-point{
  flex-direction:row;
}

html[dir="rtl"] .learning-number{
  right:auto;
  left:20px;
}

html[dir="rtl"] .back-to-top{
  right:auto;
  left:25px;
}

html[dir="rtl"] .nav-actions{
  direction:ltr;
}

.reveal{
  opacity:0;
  transform:translateY(25px);
  transition:opacity .7s ease,transform .7s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

@keyframes dropdown{
  from{
    opacity:0;
    transform:translateY(-10px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes bounce{
  0%,100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(11px);
  }
}

::placeholder{
  color:#91a1a8;
  opacity:1;
  font-size:.92rem;
}

::selection{
  background:var(--primary);
  color:#fff;
}

textarea{
  font-family:inherit;
}

option{
  background:var(--white);
  color:var(--dark);
}

@media(max-width:1100px){

  .nav-links{
    gap:15px;
  }

  .features-grid,
  .learning-grid,
  .activity-grid,
  .contact-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){

  .navbar{
    min-height:75px;
  }

  .nav-links{
    position:fixed;
    top:75px;
    left:0;
    width:100%;
    max-height:0;
    overflow:hidden;
    flex-direction:column;
    align-items:stretch;
    gap:15px;
    padding:0 5%;
    background:var(--white);
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow);
    transition:max-height .35s ease,padding .35s ease;
  }

  .nav-links.active{
    max-height:500px;
    padding:10px 5%;
  }

  .nav-links a{
    padding:13px 0;
    border-bottom:1px solid var(--border);
  }

  .nav-links a:last-child{
    border-bottom:0;
  }

  .nav-links a::after{
    display:none;
  }

  .menu-toggle{
    display:grid;
  }

  .about-grid,
  .admissions-wrapper{
    grid-template-columns:1fr;
    gap:45px;
  }

  .section{
    padding:70px 0;
  }

  .section-header{
    margin-bottom:40px;
  }

  .preschool-hero{
    min-height:800px;
  }

  .preschool-hero h1{
    font-size:clamp(2.7rem,13vw,4.2rem);
    letter-spacing:-2px;
  }

  .preschool-hero p{
    font-size:1rem;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-buttons .btn{
    width:100%;
  }

  .hero-scroll{
    display:none;
  }

  .features{
    margin-top:-30px;
  }

  .features-grid,
  .learning-grid,
  .activity-grid,
  .contact-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .why-grid{
    grid-template-columns:1fr;
  }

  .preschool-gallery{
    grid-template-columns:1fr;
  }

  .gallery-main{
    min-height:350px;
  }

  .gallery-item{
    min-height:180px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:35px;
  }

  .footer-column{
    align-items:flex-start;
  }

  .language-btn{
    padding:0 9px;
  }

  .logo small{
    display:none;
  }

  .logo strong{
    font-size:1rem;
  }

  .logo-icon{
    width:40px;
    height:40px;
  }

  .nav-actions{
    gap:6px;
  }

  .navbar{
    gap:10px;
  }

  .theme-toggle{
    display:none;
  }

  .language-btn{
    min-height:38px;
  }

  .menu-toggle{
    width:38px;
    height:38px;
  }

  .about-image{
    min-height:320px;
  }

  .about-image::before{
    width:280px;
    height:280px;
  }

  .about-image::after{
    width:190px;
    height:190px;
  }

  .about-image-box{
    width:150px;
    height:150px;
  }

  .about-image-box span{
    font-size:2.3rem;
  }

  .back-to-top{
    right:15px;
    bottom:15px;
  }

  html[dir="rtl"] .back-to-top{
    right:auto;
    left:15px;
  }
}

@media(max-width:600px){

  .section{
    padding:65px 0;
  }

  .navbar{
    min-height:70px;
  }

  .nav-links{
    top:70px;
  }

  .logo-icon{
    width:42px;
    height:42px;
  }

  .logo strong{
    font-size:1rem;
  }

  .logo small{
    font-size:.65rem;
  }

  .language-btn{
    padding:7px;
  }

  .preschool-hero{
    min-height:auto;
    padding:100px 0 70px;
    text-align:center;
  }

  .hero-text{
    margin:auto;
  }

  .preschool-hero h1{
    font-size:2.5rem;
  }

  .preschool-hero p{
    font-size:1rem;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-buttons .btn{
    width:100%;
  }

  .features-grid,
  .learning-grid,
  .activity-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .preschool-gallery{
    grid-template-columns:1fr;
  }

  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .gallery-main{
    min-height:300px;
  }

  .gallery-item{
    min-height:150px;
  }

  .footer-grid{
    gap:30px;
  }

  .footer-column{
    align-items:flex-start;
  }

  .hero-scroll{
    display:none;
  }
}

@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ---------- LIFE AT LA ROSÉE (sliding photos) ---------- */

.life{
  overflow:hidden;
  background:var(--surface-alt);
}

.life .section-header{
  margin-bottom:45px;
}

.life .section-header h2{
  margin-bottom:12px;
}

.life-window{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}

.life-track{
  display:flex;
  width:max-content;
  animation:lifeSlide 40s linear infinite;
}

.life-window:hover .life-track{
  animation-play-state:paused;
}

.life-card{
  width:370px;
  height:265px;
  margin-right:20px;
  flex-shrink:0;
  overflow:hidden;
  border-radius:18px;
  background:var(--white);
}

.life-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

html[dir="rtl"] .life-track{
  direction:ltr;
}

/* three identical sets, so one set = one third of the track */
@keyframes lifeSlide{
  from{transform:translateX(0)}
  to{transform:translateX(-33.333333%)}
}

@media(max-width:600px){

  .life-card{
    width:280px;
    height:205px;
    margin-right:14px;
  }

  .life-track{
    animation-duration:30s;
  }
}

@media(prefers-reduced-motion:reduce){

  .life-track{
    animation:none !important;
  }

  .life-window{
    overflow-x:auto;
  }
}
@media(max-width:768px){
    .navbar{
        flex-wrap:nowrap;
        gap:10px;
    }
    .nav-actions{
        display:flex;
        align-items:center;
        gap:8px;
        margin-left:auto;
        flex-shrink:0;
    }
    .theme-toggle,
    .menu-toggle{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        width:40px;
        height:40px;
        flex-shrink:0;
        visibility:visible !important;
        opacity:1 !important;
    }
    .language-btn{
        padding:8px 10px;
        font-size:14px;
    }
}

@media(max-width:420px){
    .logo small{
        display:none;
    }
}