500;600;700;800;900&display=swap');

:root {
  --blue: #163e67;
  --blue-dark: #0d2c4b;
  --turquoise: #16a4a6;
  --yellow: #f1b827;
  --cream: #fffaf0;
  --text: #263d50;
  --muted: #657d8d;
  --line: #dce7ec;
}

html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; background: #edf4f6; color: var(--text); font-family: Vazirmatn, Tahoma, sans-serif; }
a { transition: color .2s ease, background .2s ease, transform .2s ease; }

.top-strip {
  min-height: 35px; padding: 6px 7%; display: flex; justify-content: space-between; align-items: center;
  background: var(--blue-dark); color: #dbe8ef; font-size: 10px;
}
.top-strip p { margin: 0; }
.top-strip div { display: flex; gap: 18px; align-items: center; }
.top-strip a { color: #ffd66f; text-decoration: none; }

.site-header {
  height: 100px !important; padding: 10px 7% !important; display: flex !important; align-items: center !important;
  gap: 34px !important; position: sticky !important; top: 0 !important; z-index: 20 !important;
  background: rgba(242,248,249,.98) !important; color: var(--blue) !important;
  border: 0 !important; border-bottom: 1px solid var(--line) !important; box-shadow: 0 8px 28px rgba(20,55,79,.08) !important;
}
.site-header .brand { margin: 0 !important; color: var(--blue) !important; min-width: 250px; }
.site-header .brand img { width: 68px; height: 68px; }
.site-header .brand strong { font-size: 17px; font-weight: 900; }
.site-header .brand small { color: #6f8998 !important; font-size: 10px; margin-top: 2px; }
.desktop-nav { display: flex; flex: 0 0 auto; margin-right: auto; justify-content: flex-start; gap: 4px; align-items: center; }
.desktop-nav a { color: var(--text); text-decoration: none; font-size: 12px; font-weight: 700; padding: 11px 12px; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { color: var(--turquoise); border-bottom-color: var(--yellow); }
.site-header .outline-button {
  position: static !important; padding: 11px 17px !important; white-space: nowrap; border: 0 !important;
  border-radius: 3px !important; background: var(--yellow) !important; color: var(--blue-dark) !important;
  font-weight: 800; text-decoration: none;
}
.site-header .menu-drawer { display: none; }

.hero-slider { min-height: 610px !important; background: #eaf1f4 !important; }
.hero-slider .hero-slide { padding: 90px 8% 95px !important; }
.hero-slider .slide-one {
  background-image: linear-gradient(90deg, rgba(245,249,251,.99) 0%, rgba(245,249,251,.96) 41%, rgba(245,249,251,.35) 60%, rgba(245,249,251,.02) 80%), url("assets/hero-computers-clear-v2.jpg") !important;
}
.hero-slider .slide-two {
  background-image: linear-gradient(90deg, rgba(241,248,249,.99) 0%, rgba(241,248,249,.96) 41%, rgba(241,248,249,.32) 61%, rgba(241,248,249,.02) 80%), url("assets/computer-lab-clean-v2.jpg") !important;
}
.hero-slider .hero-copy { width: min(42%, 535px) !important; margin-right: auto !important; margin-left: 0 !important; }
.hero-slider .hero-copy .eyebrow { display: inline-block; padding: 7px 12px; margin-bottom: 16px; background: #e1f3f2; color: #087d80; font-size: 11px; }
.hero-slider .hero-copy h1 { margin: 0; color: var(--blue-dark); font-size: clamp(38px, 4.5vw, 63px); line-height: 1.35; font-weight: 900; }
.hero-slider .hero-copy h1 em { color: var(--turquoise); }
.hero-slider .lead { max-width: 500px; color: #506b7b; font-size: 14px; line-height: 2.1; }
.hero-actions { margin-top: 25px; }
.primary-button { padding: 13px 22px; border-radius: 2px; background: var(--yellow); color: var(--blue-dark); }
.text-button { color: var(--blue) !important; font-weight: 700; }
.hero-slider .hero-stats { margin-top: 35px; gap: 20px; }
.hero-slider .hero-stats div { min-width: 170px; padding: 12px 14px; background: rgba(255,255,255,.88); border-right: 3px solid var(--turquoise); box-shadow: 0 8px 20px rgba(18,55,80,.08); }
.slider-controls { bottom: 35px !important; left: 8% !important; }
.slider-dot.is-active { background: var(--turquoise) !important; }

.quick-access {
  width: min(1120px, 88%); margin: -46px auto 0; position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr); background: #f7fbfb;
  box-shadow: 0 18px 45px rgba(18,57,82,.14); border-top: 4px solid var(--yellow);
}
.quick-access a { min-height: 115px; padding: 22px 20px; display: flex; gap: 13px; align-items: center; color: var(--text); text-decoration: none; border-left: 1px solid var(--line); }
.quick-access a:last-child { border-left: 0; }
.quick-access a:nth-child(even) { background: #eef7f7; }
.quick-access a:hover { background: #fff3d8; transform: translateY(-4px); }
.quick-access span { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 50%; background: #e5f4f4; color: var(--turquoise); font-weight: 900; }
.quick-access div { display: grid; gap: 3px; }
.quick-access b { color: var(--blue); font-size: 13px; }
.quick-access small { color: var(--muted); font-size: 9px; line-height: 1.7; }

.intro { padding: 115px 14% 95px !important; background: linear-gradient(135deg, #fff9ec 0%, #f2faf9 100%) !important; }
.intro .eyebrow, .program .eyebrow, .news .eyebrow, .contact-section .eyebrow { color: var(--turquoise) !important; }
.intro h2, .program h2, .news h2, .contact-section h2 { color: var(--blue) !important; }
.school-highlights span { border: 1px solid #cee3e5 !important; background: #f6fbfb !important; color: #07878a !important; box-shadow: none !important; }

.program { padding: 95px 10% !important; gap: 70px !important; background: #f2f7f9 !important; }
.program-art { height: 500px !important; border: 9px solid #fff; border-radius: 2px; box-shadow: 0 18px 45px rgba(20,58,83,.14); }
.program-art img { object-position: center 46%; filter: saturate(.92) contrast(1.02); }
.program-copy h2 em { color: var(--turquoise); font-style: normal; }
.program li:before { color: var(--yellow); }

.news { padding: 95px 9% !important; background: #eaf3f6 !important; }
.news-grid { gap: 18px !important; }
.news-card { background: #f9fcfc !important; border: 1px solid #ccdde3 !important; border-radius: 0 !important; border-top: 4px solid var(--turquoise) !important; }
.news-card.featured { background: var(--blue) !important; border-top-color: var(--yellow) !important; }

.enrollment { margin: 70px 9% !important; padding: 55px 62px !important; background: var(--yellow) !important; color: var(--blue-dark) !important; }
.enrollment .eyebrow { color: #7a5905 !important; }
.enrollment .light-button { background: var(--blue-dark); }

.contact-section { margin: 80px 9% !important; padding: 58px !important; border-radius: 0 !important; background: #dfecef !important; box-shadow: none !important; grid-template-columns: 1fr !important; border-right: 5px solid var(--turquoise); }
.contact-details { grid-template-columns: 1.6fr 1fr !important; }
.contact-form { background: #f8fbfb !important; border: 1px solid #c8dbe2; }
.contact-form button { background: var(--blue) !important; }
.map-button { background: var(--turquoise) !important; color: #fff !important; }
.rubika-button { display: inline-block; margin: 15px 0 0 8px; padding: 10px 16px; background: #168fce; color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; }
.rubika-button:hover { background: #0d76ae; transform: translateY(-2px); }
.footer-rubika { display: inline-block; margin-top: 6px; color: #ffd66f; font-size: 11px; font-weight: 700; text-decoration: none; }
footer { background: var(--blue-dark) !important; }

@media (max-width: 980px) {
  .top-strip { display: none; }
  .site-header { height: 86px !important; padding: 8px 5% !important; }
  .desktop-nav { display: none; }
  .site-header .brand { margin: 0 0 0 auto !important; min-width: 0; }
  .site-header .brand img { width: 58px; height: 58px; }
  .site-header .menu-drawer { display: block; position: static !important; order: 3; }
  .site-header .menu-drawer summary { background: #eef5f6 !important; color: var(--blue) !important; border-color: #d3e2e6 !important; }
  .site-header .menu-drawer nav { left: 0 !important; top: 57px !important; background: #fff !important; border-color: var(--line) !important; }
  .site-header .menu-drawer nav a { color: var(--text) !important; }
  .site-header .outline-button { order: 2; }
  .quick-access { grid-template-columns: repeat(2, 1fr); }
  .quick-access a:nth-child(2) { border-left: 0; }
  .quick-access a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .site-header .brand span { display: none; }
  .site-header .outline-button { margin-right: auto; padding: 9px 12px !important; font-size: 10px; }
  .hero-slider { min-height: 640px !important; }
  .hero-slider .hero-slide { padding: 48px 7% 75px !important; align-items: flex-start !important; }
  .hero-slider .slide-one, .hero-slider .slide-two { background-position: center bottom !important; background-size: cover !important; }
  .hero-slider .hero-copy { width: 100% !important; }
  .hero-slider .hero-copy h1 { font-size: 36px; }
  .hero-slider .lead { font-size: 12px; max-width: 90%; }
  .hero-slider .hero-stats { display: none; }
  .hero-actions { display: grid; justify-items: start; gap: 14px; }
  .text-button { margin-right: 0; }
  .quick-access { width: 90%; margin-top: -38px; grid-template-columns: 1fr; }
  .quick-access a { min-height: 88px; border-left: 0; border-bottom: 1px solid var(--line); }
  .intro { padding: 85px 8% 65px !important; }
  .intro h2, .program h2, .news h2 { font-size: 27px !important; }
  .program { padding: 65px 7% !important; gap: 32px !important; }
  .program-art { height: 340px !important; }
  .section-heading { align-items: start !important; gap: 12px; }
  .contact-section { margin: 55px 6% !important; padding: 30px 24px !important; }
  .contact-details { grid-template-columns: 1fr !important; }
  .enrollment { margin: 50px 6% !important; padding: 35px 28px !important; }
}

@media (max-width: 700px) {
  .hero-slider { min-height: 690px !important; }
  .hero-slider .hero-slide { padding: 30px 5% 78px !important; align-items: flex-start !important; }
  .hero-slider .slide-one {
    background-image: linear-gradient(180deg, rgba(239,247,249,1) 0%, rgba(239,247,249,.97) 43%, rgba(239,247,249,.20) 55%, rgba(239,247,249,0) 64%), url("assets/hero-computers-clear-v2.jpg") !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
  }
  .hero-slider .slide-two {
    background-image: linear-gradient(180deg, rgba(239,247,249,1) 0%, rgba(239,247,249,.97) 43%, rgba(239,247,249,.22) 56%, rgba(239,247,249,0) 65%), url("assets/computer-lab-clean-v2.jpg") !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
  }
  .hero-slider .hero-copy { width: 100% !important; padding: 18px 16px 15px; background: rgba(246,251,252,.96); border-right: 4px solid var(--turquoise); box-shadow: 0 12px 30px rgba(15,48,70,.08); }
  .hero-slider .hero-copy .eyebrow { margin-bottom: 10px; padding: 5px 9px; }
  .hero-slider .hero-copy h1 { font-size: 32px; line-height: 1.4; }
  .hero-slider .lead { max-width: 100%; margin: 10px 0 14px; font-size: 11px; line-height: 1.95; }
  .hero-actions { margin-top: 12px; gap: 9px; }
  .primary-button { padding: 10px 15px; font-size: 11px; }
  .text-button { font-size: 10px; }
  .slider-controls { bottom: 22px !important; }
}

/* Keep slide copy readable over every photograph and in mobile layouts. */
.hero-slider .hero-copy { background: #f6fbfc !important; padding: 22px; border-radius: 8px; color: #15384f !important; }
.hero-slider .hero-copy h1, .hero-slider .hero-copy h2, .hero-slider .hero-copy .hero-stats b { color: #15384f !important; text-shadow: none !important; }
.hero-slider .hero-copy h1 em, .hero-slider .hero-copy .eyebrow { color: #08777b !important; }
.hero-slider .hero-copy .lead, .hero-slider .hero-copy p, .hero-slider .hero-copy .hero-stats span { color: #354f60 !important; }
.hero-slider .hero-copy .text-button { color: #15384f !important; }
.hero-slider .hero-copy .primary-button { color: #15384f !important; background: #f4bc28 !important; }

/* Readable footer on the light site background. */
footer { background: #eaf3f6 !important; color: #173e56 !important; }
footer p, footer small, footer span, footer strong { color: #294c61 !important; opacity: 1 !important; }
footer b { color: #086d71 !important; opacity: 1 !important; }
footer a, footer .map-button, footer .footer-rubika { color: #075982 !important; opacity: 1 !important; }
footer small { border-top-color: #a4bdca !important; }
.site-header .outline-button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px !important; background: #133e68 !important; color: #fff !important; border: 2px solid #133e68 !important; border-radius: 10px !important; font-weight: 700; text-decoration: none; }
.site-header .outline-button:hover { background: #075982 !important; }
@media(max-width:760px){.site-header .outline-button{padding:9px 12px !important;font-size:12px !important;}}
