/* ===== St. Xavier's Convent School - brand overrides ===== */
:root{
  --sxcs-purple:#5b2a86;
  --sxcs-purple-d:#43206a;
  --sxcs-blue:#2e2fce;
  --sxcs-green:#3bb54a;
  --sxcs-yellow:#ffd23f;
}

/* top contact bar */
.sxcs-topbar{background:var(--sxcs-purple);color:#fff;font-size:14px;padding:8px 0;}
.sxcs-topbar a{color:#fff;text-decoration:none;}
.sxcs-topbar a:hover{color:var(--sxcs-yellow);}
.sxcs-topbar .inner{display:flex;flex-wrap:wrap;gap:6px 22px;align-items:center;justify-content:space-between;}
.sxcs-topbar .left{display:flex;flex-wrap:wrap;gap:6px 22px;align-items:center;}
.sxcs-topbar .social{display:flex;gap:14px;align-items:center;}
.sxcs-topbar .social a{font-size:15px;}
@media(max-width:767px){.sxcs-topbar .inner{justify-content:center;text-align:center;}}

/* primary color re-map (buttons / accents) */
.rts-btn.btn-primary{background:var(--sxcs-purple) !important;border-color:var(--sxcs-purple) !important;}
.rts-btn.btn-primary:hover{background:var(--sxcs-green) !important;border-color:var(--sxcs-green) !important;color:#fff !important;}
.pre-title{color:var(--sxcs-purple) !important;font-weight:600;}
.section-title span,.title-banner span{color:var(--sxcs-purple) !important;}
a.nav-link:hover,.main-nav-one nav ul li a.nav-link:hover{color:var(--sxcs-purple) !important;}

/* logo sizing */
.logo-area img,.footer-single-wized .head img{max-height:70px;width:auto;}

/* educational category cards */
.sxcs-cat-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 30px rgba(91,42,134,.10);height:100%;transition:.3s;}
.sxcs-cat-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(91,42,134,.18);}
.sxcs-cat-card .img{height:210px;overflow:hidden;}
.sxcs-cat-card .img img{width:100%;height:100%;object-fit:cover;transition:.4s;}
.sxcs-cat-card:hover .img img{transform:scale(1.06);}
.sxcs-cat-card .body{padding:22px 24px 28px;}
.sxcs-cat-card .body h4{margin:0 0 8px;font-size:22px;}
.sxcs-cat-card .body p{margin:0;color:#5c5c72;}

/* toppers */
.sxcs-topper{background:#fff;border-radius:16px;text-align:center;padding:22px 16px 24px;box-shadow:0 10px 26px rgba(91,42,134,.10);border:1px solid #f0eaf6;height:100%;}
.sxcs-topper .ph{width:120px;height:120px;margin:0 auto 16px;border-radius:50%;overflow:hidden;border:4px solid var(--sxcs-purple);}
.sxcs-topper .ph img{width:100%;height:100%;object-fit:cover;}
.sxcs-topper h5{margin:0 0 6px;font-size:17px;text-transform:uppercase;letter-spacing:.3px;}
.sxcs-topper .pct{display:inline-block;background:var(--sxcs-green);color:#fff;font-weight:600;font-size:14px;padding:4px 14px;border-radius:30px;}
.sxcs-topper .cls{display:block;margin-top:8px;color:#7a7a90;font-size:13px;}

/* gallery */
.sxcs-gallery-item{position:relative;border-radius:16px;overflow:hidden;display:block;height:230px;}
.sxcs-gallery-item img{width:100%;height:100%;object-fit:cover;transition:.4s;}
.sxcs-gallery-item:hover img{transform:scale(1.08);}
.sxcs-gallery-item .cap{position:absolute;left:0;right:0;bottom:0;padding:26px 16px 14px;color:#fff;font-weight:600;
  background:linear-gradient(to top,rgba(67,32,106,.9),rgba(67,32,106,0));}

/* director / message row */
.sxcs-message-card{background:#fff;border-radius:22px;padding:34px;box-shadow:0 14px 40px rgba(91,42,134,.12);}
.sxcs-message-card .who{display:flex;align-items:center;gap:18px;margin-bottom:20px;}
.sxcs-message-card .who img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid var(--sxcs-green);}
.sxcs-message-card .who h4{margin:0;font-size:22px;}
.sxcs-message-card .who span{color:var(--sxcs-purple);font-weight:600;font-size:14px;}
.sxcs-message-card .social a{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;
  background:#f2ecf8;color:var(--sxcs-purple);margin-right:6px;transition:.3s;}
.sxcs-message-card .social a:hover{background:var(--sxcs-purple);color:#fff;}

/* mvp cards */
.sxcs-mvp{background:#fff;border-radius:18px;padding:32px 28px;height:100%;box-shadow:0 10px 30px rgba(91,42,134,.09);border-top:5px solid var(--sxcs-purple);}
.sxcs-mvp:nth-child(2n){border-top-color:var(--sxcs-green);}
.sxcs-mvp h4{font-size:22px;margin:0 0 12px;}
.sxcs-mvp p{margin:0;color:#5c5c72;}

/* testimonials tweak */
.sxcs-testi{background:#fff;border-radius:18px;padding:30px;box-shadow:0 10px 30px rgba(91,42,134,.08);height:100%;}
.sxcs-testi .top{display:flex;align-items:center;gap:16px;margin-bottom:14px;}
.sxcs-testi .top img{width:64px;height:64px;border-radius:50%;object-fit:cover;}
.sxcs-testi .top h5{margin:0;font-size:18px;}
.sxcs-testi .stars{color:var(--sxcs-yellow);margin-bottom:10px;}
.sxcs-testi p{margin:0;color:#5c5c72;font-size:15px;}

/* section heading helper */
.sxcs-sec{padding:90px 0;}
.sxcs-sec.bg{background:#faf7fd;}
.sxcs-map iframe{width:100%;height:100%;min-height:300px;border:0;border-radius:16px;}

/* floating whatsapp */
.sxcs-wa{position:fixed;right:22px;bottom:24px;z-index:999;width:56px;height:56px;border-radius:50%;background:#25d366;
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;box-shadow:0 8px 22px rgba(0,0,0,.25);}
.sxcs-wa:hover{color:#fff;transform:scale(1.08);}

/* admission strip */
.sxcs-adm-strip{background:linear-gradient(90deg,var(--sxcs-purple),var(--sxcs-blue));color:#fff;padding:26px 0;}
.sxcs-adm-strip h3{color:#fff;margin:0;font-size:26px;}
.sxcs-adm-strip .btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;}
@media(max-width:991px){.sxcs-adm-strip .btns{justify-content:flex-start;margin-top:14px;}}

/* ===== fixes: button rows, nav responsiveness, topper class text ===== */
.sxcs-btn-row{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;}
/* any centered rts-btn row shouldn't stack */
.text-center > .rts-btn{display:inline-flex !important;vertical-align:middle;margin:6px;}

/* topper class label clearly visible */
.sxcs-topper .cls{color:#43206a !important;font-weight:600;opacity:1;}

/* ---- NAVBAR spacing & responsiveness ---- */
.main-nav-one ul{display:flex;align-items:center;flex-wrap:nowrap;}
.main-nav-one ul li a.nav-link,
.main-nav-one ul li.has-dropdown a.nav-link{white-space:nowrap;font-size:16px;padding:27px 20px !important;}
.main-nav-one ul li.has-dropdown{margin-right:0 !important;}
.main-nav-one ul li{margin-right:0;}
.header-one-wrapper .left-side-header .logo-area img{max-height:56px;}
/* medium desktop: tighten a little so 8 items still fit */
@media only screen and (min-width:1200px) and (max-width:1499px){
  .main-nav-one ul li a.nav-link,.main-nav-one ul li.has-dropdown a.nav-link{font-size:15px;padding:26px 13px !important;}
}
/* keep desktop menu visible a bit wider, else hamburger */
@media only screen and (min-width:992px) and (max-width:1199px){
  .main-nav-one{display:none;}
  .menu-btn{display:flex !important;}
}
/* topbar wrap nicely on small screens */
@media(max-width:575px){
  .sxcs-topbar{font-size:12px;}
  .sxcs-topbar .left span,.sxcs-topbar .left a{display:block;}
}

/* ===== inner page components ===== */
/* FAQ accordion */
.sxcs-faq details{background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(91,42,134,.08);margin-bottom:16px;overflow:hidden;border:1px solid #f0eaf6;}
.sxcs-faq summary{list-style:none;cursor:pointer;padding:20px 26px;font-weight:600;font-size:18px;color:#1f1f25;display:flex;align-items:center;justify-content:space-between;}
.sxcs-faq summary::-webkit-details-marker{display:none;}
.sxcs-faq summary::after{content:"\f078";font-family:"Font Awesome 6 Pro","Font Awesome 5 Pro";font-weight:300;color:var(--sxcs-purple);transition:.3s;font-size:15px;}
.sxcs-faq details[open] summary::after{transform:rotate(180deg);}
.sxcs-faq details[open] summary{color:var(--sxcs-purple);}
.sxcs-faq .ans{padding:0 26px 22px;color:#5c5c72;line-height:1.7;}

/* achievement / event card with date badge */
.sxcs-ach-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 30px rgba(91,42,134,.10);height:100%;}
.sxcs-ach-card .img{position:relative;height:280px;overflow:hidden;}
.sxcs-ach-card .img img{width:100%;height:100%;object-fit:cover;}
.sxcs-ach-card .date{position:absolute;top:16px;left:16px;background:var(--sxcs-purple);color:#fff;font-weight:600;font-size:14px;padding:8px 14px;border-radius:8px;}
.sxcs-ach-card .date i{margin-right:6px;}
.sxcs-ach-card .body{padding:22px 26px 26px;}
.sxcs-ach-card .body h4{margin:0;font-size:20px;}

/* curriculum points */
.sxcs-curriculum li{position:relative;padding-left:34px;margin-bottom:16px;color:#4a4a5e;line-height:1.7;list-style:none;}
.sxcs-curriculum li::before{content:"\f058";font-family:"Font Awesome 6 Pro","Font Awesome 5 Pro";font-weight:900;position:absolute;left:0;top:2px;color:var(--sxcs-green);font-size:18px;}
.sxcs-curriculum{padding-left:0;}

/* generic content image */
.sxcs-content-img{border-radius:20px;width:100%;box-shadow:0 14px 40px rgba(91,42,134,.14);}

/* ===== FORM inputs (registration / enquiry / contact) — clear visible boxes ===== */
.login-form label{display:block;font-weight:600;margin-bottom:7px;color:#43206a;font-size:14px;}
.login-form input,
.login-form textarea,
.login-form select,
.sxcs-message-card input,
.sxcs-message-card textarea{
  width:100%;
  border:1.5px solid #c4b2dd;
  border-radius:10px;
  padding:13px 16px;
  background:#faf8fd;
  font-size:15px;
  color:#333;
  transition:.25s;
  margin-bottom:0;
  font-family:inherit;
}
.login-form input::placeholder,.login-form textarea::placeholder{color:#9a93a8;}
.login-form input:focus,
.login-form textarea:focus,
.login-form select:focus{
  border-color:var(--sxcs-purple);
  outline:none;
  box-shadow:0 0 0 3px rgba(91,42,134,.12);
}
.login-form textarea{resize:vertical;min-height:110px;}
.login-form .rts-btn{margin-top:6px;border:none;cursor:pointer;}
/* comfortable spacing between fields */
.login-form .mb--20{margin-bottom:20px;}

/* ===== FOOTER map fix (was collapsing) ===== */
.footer-single-wized .sxcs-map iframe{width:100%;height:210px;min-height:210px;border:0;border-radius:14px;display:block;}
@media(max-width:991px){
  .footer-one-main-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:34px;}
  .footer-single-wized .sxcs-map iframe{height:200px;}
}
@media(max-width:575px){
  .footer-one-main-wrapper{grid-template-columns:1fr;}
}

/* ===== general responsive polish ===== */
@media(max-width:991px){
  .sxcs-sec{padding:60px 0;}
  .banner-content-one .title-banner{font-size:40px;}
  .section-title{font-size:32px;}
  .sxcs-adm-strip .btns{justify-content:center;}
}
@media(max-width:767px){
  .banner-content-one .title-banner{font-size:32px;}
  .section-title{font-size:27px;}
  .sxcs-cat-card .img{height:190px;}
  .sxcs-message-card{padding:24px;}
  .sxcs-adm-strip h3{font-size:20px;text-align:center;}
}

/* ================= UI REFINEMENT PASS ================= */

/* --- navbar sits lower with breathing room --- */
.sxcs-topbar{padding:11px 0;letter-spacing:.2px;}
.header-one.header--sticky:not(.sticky){top:54px;}
.banner-area-one{padding-top:36px;}
.header-one-wrapper{border-width:2px 2px 4px 2px;box-shadow:0 18px 45px rgba(91,42,134,.10);}

/* --- pre-title as a refined pill badge --- */
.pre-title{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(91,42,134,.08);
  color:var(--sxcs-purple) !important;
  font-weight:600;font-size:14px;letter-spacing:.6px;text-transform:uppercase;
  padding:7px 16px;border-radius:30px;margin-bottom:18px;
}
.pre-title img{display:none;}
.section-title-area.text-center .pre-title{margin-left:auto;margin-right:auto;}

/* --- section titles --- */
.section-title{font-weight:700 !important;line-height:1.18;letter-spacing:-.5px;color:#231636 !important;}
.section-title-area .desc,.about-content .desc{color:#6a6480;}

/* --- section rhythm --- */
.sxcs-sec{padding:96px 0;}
.sxcs-sec.bg{background:#f7f3fc;}

/* --- unified premium cards --- */
.sxcs-cat-card,.sxcs-topper,.sxcs-testi,.sxcs-ach-card,.sxcs-mvp,.sxcs-message-card{
  border:1px solid #efe8f7;box-shadow:0 10px 34px rgba(91,42,134,.08);
}
.sxcs-cat-card,.sxcs-ach-card{border-radius:20px;}
.sxcs-cat-card:hover,.sxcs-ach-card:hover,.sxcs-topper:hover,.sxcs-testi:hover{
  transform:translateY(-8px);box-shadow:0 22px 48px rgba(91,42,134,.18);transition:.35s;
}
.sxcs-topper,.sxcs-testi{transition:.35s;}

/* --- buttons refined --- */
.rts-btn.btn-primary{
  border-radius:40px !important;padding:16px 30px !important;
  box-shadow:0 10px 24px rgba(91,42,134,.22);letter-spacing:.3px;
}
.rts-btn.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(59,181,74,.28);}
.rts-btn.btn-border{border-radius:40px !important;padding:14px 28px !important;font-weight:600;}
.rts-btn.btn-border:hover{background:var(--sxcs-purple) !important;color:#fff !important;}

/* --- breadcrumb refined --- */
.rts-breadcrumb-area.bg_image{position:relative;padding:120px 0 !important;overflow:hidden;}
.rts-breadcrumb-area.bg_image::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.14),transparent 55%);}
.rts-breadcrumb-area .breadcrumb-main-wrapper{position:relative;z-index:2;text-align:center;}
.rts-breadcrumb-area .pagination-wrapper{justify-content:center;margin-bottom:14px;}
.rts-breadcrumb-area .pagination-wrapper a{color:#efe6ff;}
.rts-breadcrumb-area .pagination-wrapper a.active{color:var(--sxcs-yellow);}
.rts-breadcrumb-area .title{font-size:46px;color:#fff;font-weight:700;letter-spacing:-.5px;}

/* --- gallery caption --- */
.sxcs-gallery-item{border-radius:18px;box-shadow:0 10px 30px rgba(91,42,134,.10);}
.sxcs-gallery-item .cap{font-size:16px;padding:32px 18px 16px;}

/* --- admission strip refined --- */
.sxcs-adm-strip{padding:30px 0;box-shadow:inset 0 -3px 0 rgba(0,0,0,.06);}
.sxcs-adm-strip h3 i{color:var(--sxcs-yellow);margin-right:8px;}

/* --- footer refined --- */
.rts-footer-area.section-bg{background:#2a1145;}
.rts-footer-area .footer-single-wized .head .title,
.rts-footer-area .footer-single-wized p,
.rts-footer-area .footer-single-wized li,
.rts-footer-area .footer-single-wized a,
.rts-footer-area .copyright-area-one p{color:#e9e1f5 !important;}
.rts-footer-area .footer-single-wized .head .title{position:relative;padding-bottom:12px;margin-bottom:8px;font-weight:600;}
.rts-footer-area .footer-single-wized .head .title::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;background:var(--sxcs-green);border-radius:3px;}
.rts-footer-area .footer-single-wized .menu li a:hover{color:var(--sxcs-yellow) !important;padding-left:5px;transition:.25s;}
.rts-footer-area .footer-single-wized.left-logo .body .dsic{color:#c8bdda !important;}
.rts-footer-area .footer-single-wized i{color:var(--sxcs-green);}
.copyright-area-one-border{border-top:1px solid rgba(255,255,255,.1);}

/* --- whatsapp pulse --- */
.sxcs-wa{animation:sxcsPulse 2s infinite;}
@keyframes sxcsPulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}70%{box-shadow:0 0 0 16px rgba(37,211,102,0);}100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}}

/* --- topper polish --- */
.sxcs-topper .ph{border-width:4px;box-shadow:0 8px 20px rgba(91,42,134,.18);}
.sxcs-topper .pct{box-shadow:0 6px 14px rgba(59,181,74,.3);}

/* --- responsive breadcrumb --- */
@media(max-width:767px){
  .rts-breadcrumb-area.bg_image{padding:80px 0 !important;}
  .rts-breadcrumb-area .title{font-size:32px;}
  .sxcs-sec{padding:60px 0;}
  .header-one.header--sticky:not(.sticky){top:auto;}
}

/* ================= MONTSERRAT FONT PASS ================= */
:root{
  --font-primary:"Montserrat",sans-serif;
  --font-secondary:"Montserrat",sans-serif;
  --font-primary-2:"Montserrat",sans-serif;
}
body,p,a,li,span,input,textarea,select,button{font-family:"Montserrat",sans-serif;}
h1,h2,h3,h4,h5,h6,.title,.section-title,.title-banner{font-family:"Montserrat",sans-serif;}
i.fa-regular,i.fa-solid,i.fa-light,i.fa-brands,i.fa-thin,
[class*="fa-"]:before{font-family:"Font Awesome 6 Pro","Font Awesome 6 Free","Font Awesome 6 Brands","Font Awesome 5 Pro" !important;}
i.fa-brands:before,.fa-brands:before{font-family:"Font Awesome 6 Brands" !important;}
body{letter-spacing:.1px;}
.section-title{letter-spacing:-.4px;}

/* ================= RESPONSIVE VIDEO ================= */
.sxcs-video{
  position:relative;width:100%;aspect-ratio:16/9;
  border-radius:20px;overflow:hidden;
  box-shadow:0 20px 50px rgba(91,42,134,.20);
  background:#0d0d14;
  border:1px solid #efe8f7;
}
.sxcs-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
/* fallback for very old browsers without aspect-ratio */
@supports not (aspect-ratio:16/9){
  .sxcs-video{height:0;padding-bottom:56.25%;}
}

/* ================= RESPONSIVE POLISH PASS ================= */
img{max-width:100%;height:auto;}
iframe{max-width:100%;}

/* map embeds always fluid */
.sxcs-map{border-radius:16px;overflow:hidden;}
.sxcs-map iframe{width:100%;display:block;}

/* comfortable tap targets on mobile buttons */
@media(max-width:575px){
  .rts-btn.btn-primary,.rts-btn.btn-border{padding:13px 22px !important;font-size:14px;}
  .sxcs-btn-row{gap:10px;}
  .sxcs-video{border-radius:14px;}
  .section-title{font-size:24px;}
  .rts-breadcrumb-area .title{font-size:28px;}
  .sxcs-sec{padding:48px 0;}
  .sxcs-topper .ph{width:104px;height:104px;}
  .sxcs-cat-card .body{padding:18px 18px 22px;}
  .sxcs-cat-card .body h4{font-size:19px;}
  .sxcs-message-card{padding:20px;}
  .sxcs-message-card .who{flex-direction:row;gap:14px;}
  .sxcs-message-card .who img{width:64px;height:64px;}
  .footer-single-wized .head img{max-height:56px;}
}

/* tablets */
@media(min-width:576px) and (max-width:991px){
  .sxcs-sec{padding:64px 0;}
  .sxcs-video{border-radius:16px;}
}

/* prevent horizontal scroll from decorative shapes */
html,body{overflow-x:hidden;}

/* smooth anchors */
html{scroll-behavior:smooth;}

/* nicer selection + focus */
::selection{background:var(--sxcs-purple);color:#fff;}
a:focus-visible,button:focus-visible{outline:2px solid var(--sxcs-purple);outline-offset:2px;}

/* subtle link transitions */
a{transition:color .25s;}

/* ================= HERO STUDENTS IMAGE + VIDEO ANCHOR ================= */
.banner-right-img{text-align:center;}
.banner-right-img img{
  max-height:640px;width:auto;max-width:100%;
  filter:drop-shadow(0 24px 40px rgba(67,32,106,.25));
}
@media(max-width:991px){.banner-right-img img{max-height:480px;}}
@media(max-width:575px){.banner-right-img img{max-height:380px;}}

/* anchored video section clears the sticky header */
#school-video{scroll-margin-top:110px;}

/* ================= HERO SPACING FIX ================= */
/* the theme's default padding (300px top / 360px bottom) created a huge gap
   between the navbar and the banner text, and pushed the students image off-screen */
.banner-content-one{padding:120px 0 170px !important;}
.banner-area-one{padding-top:20px;}

/* keep the students image pinned to the bottom of the banner, no cut-off */
.banner-right-img{position:absolute;bottom:0;right:40px;}
.banner-right-img img{
  max-height:560px;display:block;margin:0 auto;
}

@media only screen and (min-width:1200px) and (max-width:1499px){
  .banner-content-one{padding:100px 0 150px !important;}
  .banner-right-img img{max-height:520px;}
}
@media (max-width:1199px){
  .banner-right-img{right:10px;}
  .banner-right-img img{max-height:460px;}
}
@media (max-width:991px){
  .banner-area-one{padding-top:20px !important;}
  .banner-content-one{padding:40px 0 30px !important;}
  .banner-right-img{position:static;text-align:center;}
  .banner-right-img img{max-height:420px;}
}
@media (max-width:575px){
  .banner-content-one{padding:26px 0 16px !important;}
  .banner-right-img img{max-height:340px;}
}

/* ================= MOBILE RESPONSIVENESS PASS ================= */

/* ---------- header / navbar on tablets & phones ---------- */
@media (max-width:991px){
  /* topbar can wrap to 2 lines; don't hard-offset the header */
  .header-one.header--sticky:not(.sticky){top:auto;}
  .header-one-wrapper{padding:6px 18px;border-radius:60px;}
  .header-one-wrapper .left-side-header .logo-area img{max-height:46px;}
  .header-right-area-one .buttons-area .rts-btn{
    padding:10px 18px !important;font-size:13px;white-space:nowrap;
  }
  .menu-btn{cursor:pointer;}
}
@media (max-width:480px){
  .header-one-wrapper{padding:5px 14px;}
  .header-one-wrapper .left-side-header .logo-area img{max-height:40px;}
  /* keep logo + button + hamburger on one line on small phones */
  .header-right-area-one .buttons-area .rts-btn{padding:9px 13px !important;font-size:12px;}
}
@media (max-width:359px){
  /* ultra-small phones: hamburger menu still opens Admission via menu */
  .header-right-area-one .buttons-area{display:none;}
}

/* ---------- topbar: compact on phones ---------- */
@media (max-width:767px){
  .sxcs-topbar{padding:7px 0;}
  .sxcs-topbar .inner{gap:4px 14px;}
}
@media (max-width:575px){
  .sxcs-topbar .left span:first-child{display:none;} /* hide long address line */
  .sxcs-topbar .left span,.sxcs-topbar .left a{display:inline-block;}
  .sxcs-topbar .left{justify-content:center;gap:4px 14px;}
  .sxcs-topbar .social{justify-content:center;width:100%;gap:18px;}
}

/* ---------- hero on phones ---------- */
@media (max-width:991px){
  .banner-area-one{min-height:unset;}
  .banner-content-one .title-banner{font-size:34px;line-height:1.2;}
  .banner-content-one .title-banner br{display:none;}
  .banner-content-one .disc{font-size:15px;}
}
@media (max-width:575px){
  .banner-content-one .title-banner{font-size:27px;}
  .banner-content-one .banner-btn{gap:16px;}
  .banner-content-one .banner-btn .video-btn-area .intro{font-size:14px;}
  .banner-right-img img{max-height:300px;}
}

/* ---------- generic section / typography rhythm ---------- */
@media (max-width:767px){
  .section-title-area{margin-bottom:26px;}
  .section-title-area .desc{font-size:15px;}
  .pre-title{font-size:12px;padding:6px 13px;margin-bottom:12px;}
  h3{font-size:22px;}
  h4{font-size:19px;}
}

/* ---------- cards & grids ---------- */
@media (max-width:767px){
  .sxcs-cat-card .img{height:200px;}
  .sxcs-ach-card .img{height:220px;}
  .sxcs-gallery-item{height:200px;}
  .sxcs-mvp{padding:24px 20px;}
  .sxcs-testi{padding:22px;}
  .sxcs-faq summary{padding:16px 18px;font-size:16px;}
  .sxcs-faq .ans{padding:0 18px 18px;font-size:15px;}
  .sxcs-curriculum li{font-size:15px;}
}
/* two-up topper cards even on phones (they're compact) */
@media (min-width:400px) and (max-width:575px){
  [class*="col-"]:has(> .sxcs-topper){width:50%;}
  .sxcs-topper h5{font-size:14px;}
  .sxcs-topper .ph{width:88px;height:88px;}
  .sxcs-topper{padding:16px 10px 18px;}
}

/* ---------- admission strip ---------- */
@media (max-width:767px){
  .sxcs-adm-strip{text-align:center;}
  .sxcs-adm-strip .btns{justify-content:center;}
  .sxcs-adm-strip .rts-btn{width:100%;justify-content:center;}
}
@media (min-width:576px) and (max-width:767px){
  .sxcs-adm-strip .rts-btn{width:auto;}
}

/* ---------- forms on phones ---------- */
@media (max-width:575px){
  .login-form input,.login-form textarea,.login-form select{padding:12px 14px;font-size:16px;} /* 16px stops iOS zoom */
  .sxcs-message-card{border-radius:16px;}
}

/* ---------- footer on phones ---------- */
@media (max-width:575px){
  .rts-footer-area .ptb--65{padding-top:44px !important;padding-bottom:34px !important;}
  .footer-one-main-wrapper{gap:26px;}
  .footer-single-wized .head .title{margin-top:4px;}
  .copyright-area-one p{font-size:13px;text-align:center;}
}

/* ---------- floating whatsapp: smaller, clear of thumb zone ---------- */
@media (max-width:575px){
  .sxcs-wa{width:48px;height:48px;font-size:24px;right:14px;bottom:16px;}
}

/* ---------- video & maps ---------- */
@media (max-width:575px){
  .sxcs-video{border-radius:12px;}
  .sxcs-map iframe{min-height:240px;}
  #school-video{scroll-margin-top:80px;}
}

/* ---------- breadcrumb headers ---------- */
@media (max-width:575px){
  .rts-breadcrumb-area.bg_image{padding:56px 0 !important;}
  .rts-breadcrumb-area .title{font-size:25px;}
  .rts-breadcrumb-area .pagination-wrapper{font-size:13px;flex-wrap:wrap;justify-content:center;}
}

/* ---------- decorative floating shapes: hide on phones (clutter + overflow) ---------- */
@media (max-width:767px){
  .shape-image,.banner-bg-shape-2{display:none !important;}
}

/* ---------- side-bar mobile menu polish ---------- */
@media (max-width:400px){
  .side-bar{width:86vw;padding:26px 20px;}
}
.side-bar .mainmenu li a.main{font-family:"Montserrat",sans-serif;}

/* ================= MOBILE HERO POLISH (from live screenshot) ================= */

/* 1) theme was hiding the Admission Now button on phones — bring it back, compact */
@media (max-width:767px){
  .header-right-area-one .buttons-area{display:flex !important;}
}
@media (max-width:359px){
  .header-right-area-one .buttons-area{display:none !important;}
}

/* 2) "every child" was dark purple on purple — switch to school yellow for contrast */
.banner-area-one .title-banner span{color:var(--sxcs-yellow) !important;}

/* 3) breathing room between navbar and the students image on phones */
@media (max-width:991px){
  .banner-right-img{margin-top:18px;}
  .banner-content-one{padding-top:8px !important;}
}
@media (max-width:575px){
  .banner-right-img{margin-top:12px;}
  /* slightly bolder tagline text on gradient for readability */
  .banner-content-one .disc{color:#fff;opacity:.95;}
}
/* =====================================================================
   SXCS — FINAL UI FIX PASS  (keep this block LAST in the file)
   Palette unchanged — purple / green / yellow, just used cleanly.
   ===================================================================== */

/* 1. HERO — centre the students image in its column, balanced spacing */
.banner-area-one > .container > .row{align-items:center;}
.banner-content-one{padding:90px 0 110px !important;}

.banner-right-img{
  position:static !important;   /* was absolute → caused the off-set look */
  right:auto !important;
  bottom:auto !important;
  text-align:center;
  margin-top:0;
}
.banner-right-img img{
  max-height:540px; width:auto; max-width:100%;
  margin:0 auto; display:block;
}
@media (min-width:1200px) and (max-width:1499px){
  .banner-content-one{padding:70px 0 90px !important;}
  .banner-right-img img{max-height:500px;}
}
@media (max-width:991px){
  .banner-content-one{padding:34px 0 22px !important;}
  .banner-right-img{margin-top:14px;}
  .banner-right-img img{max-height:420px;}
}
@media (max-width:575px){
  .banner-right-img img{max-height:320px;}
}

/* 2. BUTTONS — white text on purple (was dark = low contrast) */
.rts-btn.btn-primary{
  color:#fff !important;
  background:var(--sxcs-purple) !important;
  border-color:var(--sxcs-purple) !important;
}
.rts-btn.btn-primary:hover{
  color:#fff !important;
  background:var(--sxcs-green) !important;
  border-color:var(--sxcs-green) !important;
}
/* admission-strip buttons read as clean solid pills */
.sxcs-adm-strip .rts-btn{border:none !important; font-weight:600;}

/* 3. SECTION RHYTHM — consistent heading spacing + centred intros */
.section-title-area{margin-bottom:42px;}
.section-title-area.text-center .desc{
  max-width:680px; margin-left:auto; margin-right:auto;
}
.sxcs-btn-row{margin-top:34px;}
@media (max-width:767px){
  .section-title-area{margin-bottom:28px;}
}

/* =====================================================================
   SXCS — HEADER SLIM + HERO CLEARANCE FIX   (keep this block LAST)
   Palette unchanged.
   ===================================================================== */

/* 1. SLIMMER HEADER --------------------------------------------------- */
.header-one-wrapper .left-side-header .logo-area{padding:12px 0 !important;}
.header-one-wrapper .left-side-header .logo-area img{max-height:46px !important;}
.main-nav-one ul li a.nav-link,
.main-nav-one ul li.has-dropdown a.nav-link{padding:18px 15px !important;}
.header-right-area-one .buttons-area .rts-btn{padding:12px 26px !important;font-size:14px;}

/* 2. GAP BELOW HEADER + PULL HERO BUTTONS BACK INTO VIEW -------------- */
.banner-area-one{padding-top:36px;}
.banner-content-one{padding:70px 0 90px !important;}   /* top gap clears the navbar */

/* 3. GUARANTEE THE APPLY BUTTON IS VISIBLE ---------------------------- */
.banner-content-one .banner-btn{
  display:flex !important; flex-wrap:wrap; align-items:center;
  gap:24px; margin-top:32px;
}
.banner-content-one .banner-btn .rts-btn{
  display:inline-flex !important;
  color:#fff !important;
  background:var(--sxcs-purple) !important;
  border-color:var(--sxcs-purple) !important;
}
.banner-content-one .banner-btn .rts-btn:hover{
  background:var(--sxcs-green) !important; border-color:var(--sxcs-green) !important;
}

/* keep the decorative star from crashing into the heading/header */
.banner-area-one .title-banner img{top:-14px !important; left:-24px !important;}

/* phones: tighter, everything on screen */
@media (max-width:991px){
  .banner-content-one{padding:40px 0 30px !important;}
}
@media (max-width:575px){
  .banner-content-one{padding:28px 0 20px !important;}
  .banner-content-one .banner-btn{gap:16px; margin-top:24px;}
}

/* =====================================================================
   SXCS — CLOUD ON TOP + APPLY BUTTON CLEAR   (keep LAST, header untouched)
   Palette unchanged.
   ===================================================================== */

/* cloud sits on top so it isn't cut by the image/content */
.banner-area-one > .container{z-index:1 !important;}
.banner-bg-shape-2{z-index:2 !important;}

/* give hero content bottom room so the Apply button lands ABOVE the cloud */
.banner-content-one{padding:70px 0 200px !important;}
@media (min-width:1200px) and (max-width:1499px){
  .banner-content-one{padding:70px 0 175px !important;}
}
@media (max-width:991px){
  .banner-content-one{padding:40px 0 60px !important;}
}
@media (max-width:575px){
  .banner-content-one{padding:28px 0 45px !important;}
}

/* SXCS — floating buttons: keep WhatsApp + scroll-arrow apart (keep LAST) */
.sxcs-wa{right:22px !important; bottom:24px !important;}
.progress-wrap{right:26px !important; bottom:92px !important;}
@media (max-width:575px){
  .sxcs-wa{right:14px !important; bottom:16px !important; width:48px; height:48px; font-size:24px;}
  .progress-wrap{right:18px !important; bottom:74px !important;}
}

/* =====================================================================
   SXCS — MVP SECTION: trim top gap + make cards attractive  (keep LAST)
   Palette unchanged (purple / green / yellow).
   ===================================================================== */

/* 1. KILL THE EXTRA TOP GAP on the Mission/Values/Philosophy section -- */
/* this is the bg section right after the video block */
.sxcs-sec.bg{padding-top:56px;}
@media (max-width:767px){ .sxcs-sec.bg{padding-top:40px;} }

/* 2. DRESS UP THE THREE CARDS ---------------------------------------- */
.sxcs-mvp{
  position:relative; overflow:hidden;
  height:100%; display:flex; flex-direction:column;
  padding:40px 32px 34px;
  border-radius:20px;
  background:#fff;
  border:1px solid #efe8f7;
  border-top:5px solid var(--sxcs-purple);
  box-shadow:0 12px 34px rgba(91,42,134,.10);
  transition:.35s;
}
.sxcs-mvp:nth-child(2n){border-top-color:var(--sxcs-green);}

/* soft accent glow in the corner (uses brand tint, very subtle) */
.sxcs-mvp::after{
  content:""; position:absolute; top:-40px; right:-40px;
  width:130px; height:130px; border-radius:50%;
  background:radial-gradient(circle,rgba(91,42,134,.10),transparent 70%);
}
.sxcs-mvp:nth-child(2n)::after{background:radial-gradient(circle,rgba(59,181,74,.12),transparent 70%);}

/* number-style icon chip above each title */
.sxcs-mvp h4{
  position:relative; z-index:1;
  font-size:22px; margin:0 0 14px; padding-top:52px; color:#231636;
}
.sxcs-mvp h4::before{
  content:"\f0eb";                 /* lightbulb — mission/idea */
  font-family:"Font Awesome 6 Pro","Font Awesome 5 Pro"; font-weight:900;
  position:absolute; top:0; left:0;
  width:44px; height:44px; line-height:44px; text-align:center;
  border-radius:12px; font-size:18px;
  background:rgba(91,42,134,.10); color:var(--sxcs-purple);
}
.sxcs-mvp:nth-child(2)  h4::before{content:"\f004"; background:rgba(59,181,74,.12); color:var(--sxcs-green);}   /* heart — values */
.sxcs-mvp:nth-child(3)  h4::before{content:"\f19d"; background:rgba(255,210,63,.20); color:#b8860b;}            /* cap — philosophy */

.sxcs-mvp p{margin:0; color:#5c5c72; line-height:1.75; flex-grow:1; position:relative; z-index:1;}

/* lift on hover */
.sxcs-mvp:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 48px rgba(91,42,134,.18);
}

@media (max-width:991px){
  .sxcs-mvp{margin-bottom:24px;}
  .sxcs-sec.bg .col-lg-4:last-child .sxcs-mvp{margin-bottom:0;}
}

/* =====================================================================
   SXCS — ADMISSION STRIP: align heading + buttons cleanly  (keep LAST)
   Palette unchanged.
   ===================================================================== */

.sxcs-adm-strip{padding:28px 0;}
.sxcs-adm-strip .row{align-items:center;}

/* heading: don't let the year split, vertical-centre it */
.sxcs-adm-strip h3{
  margin:0; line-height:1.35; font-size:24px;
  display:flex; align-items:center; gap:10px;
}
.sxcs-adm-strip h3 i{color:var(--sxcs-yellow);}
.sxcs-adm-strip h3 .nowrap,
.sxcs-adm-strip h3{white-space:normal;}

/* buttons: one tidy row, right-aligned on desktop */
.sxcs-adm-strip .btns{
  display:flex; flex-wrap:wrap; gap:12px;
  justify-content:flex-end; align-items:center;
}
.sxcs-adm-strip .btns .rts-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px !important; line-height:1; white-space:nowrap;
  border:none !important; border-radius:8px !important;
}

@media (max-width:991px){
  .sxcs-adm-strip{text-align:center;}
  .sxcs-adm-strip h3{justify-content:center;}
  .sxcs-adm-strip .btns{justify-content:center; margin-top:16px;}
}
@media (max-width:575px){
  .sxcs-adm-strip h3{font-size:20px;}
  .sxcs-adm-strip .btns .rts-btn{flex:1 1 auto;}
}

/* =====================================================================
   SXCS — FOOTER: white name + trim top gap + align columns  (keep LAST)
   Palette unchanged.
   ===================================================================== */

/* 1. LIGHT, VISIBLE SCHOOL NAME beside the footer logo --------------- */
.sxcs-foot-logo a{
  display:flex; align-items:center; gap:14px; text-decoration:none;
}
.sxcs-foot-logo img{max-height:62px; width:auto;}
.sxcs-foot-name{
  color:#fff !important; font-weight:700; font-size:20px; line-height:1.2;
  font-family:"Montserrat",sans-serif;
}

/* 2. TRIM THE BIG TOP GAP inside the footer -------------------------- */
.rts-footer-area{padding-top:56px !important;}
.rts-footer-area .ptb--65{padding-top:44px !important; padding-bottom:44px !important;}
@media (max-width:767px){
  .rts-footer-area{padding-top:38px !important;}
  .rts-footer-area .ptb--65{padding-top:30px !important; padding-bottom:30px !important;}
}

/* 3. ALIGN THE FOUR COLUMNS at the top ------------------------------- */
.rts-footer-area .footer-one-main-wrapper{align-items:flex-start;}
.rts-footer-area .footer-single-wized .head .title{
  color:#fff !important; margin-bottom:22px;
}
.rts-footer-area .footer-single-wized.left-logo .body .wrapper-list li{
  display:flex; align-items:flex-start; gap:12px; margin-bottom:16px;
}
.rts-footer-area .footer-single-wized.left-logo .body .wrapper-list li i{
  color:var(--sxcs-green); margin-top:4px; flex-shrink:0;
}

/* 4. FIND US map fills its column ------------------------------------ */
.rts-footer-area .footer-single-wized .sxcs-map iframe{
  width:100%; height:200px; min-height:200px; border:0; border-radius:14px; display:block;
}

/* =====================================================================
   SXCS — FOOTER LOGO: show crest only, drop baked-in name  (keep LAST)
   ===================================================================== */
.sxcs-foot-logo a{display:flex; align-items:center; gap:14px;}

/* the PNG is [crest + name]; clip to just the crest on the left.
   width:62px keeps only the badge; object-fit keeps it sharp. */
.sxcs-foot-logo img{
  height:62px; width:62px;
  object-fit:cover; object-position:left center;
  flex-shrink:0;
}
.sxcs-foot-name{
  color:#fff !important; font-weight:700; font-size:20px; line-height:1.2;
  font-family:"Montserrat",sans-serif;
}

/* =====================================================================
   SXCS — FOOTER LOGO: crest only + white name   (keep LAST)
   ===================================================================== */
.sxcs-foot-logo a{display:flex; align-items:center; gap:14px; text-decoration:none;}

/* your PNG is [crest + dark name]; show ONLY the crest square.
   the crest sits in the left portion — clip to it. */
.sxcs-foot-logo img{
  height:60px;
  width:58px;                 /* keeps just the badge; hides the name */
  object-fit:cover;
  object-position:left center;
  flex-shrink:0;
}
.sxcs-foot-name{
  color:#fff !important; font-weight:700; font-size:19px; line-height:1.25;
  font-family:"Montserrat",sans-serif; white-space:nowrap;
}
@media (max-width:575px){
  .sxcs-foot-name{font-size:17px;}
  .sxcs-foot-logo img{height:54px; width:52px;}
}

/* =====================================================================
   SXCS — MOBILE RESPONSIVE REPAIR   (keep LAST)
   ===================================================================== */

/* stop any sideways scroll / edge bleed */
html,body{overflow-x:hidden !important; max-width:100%;}
.banner-area-one{overflow:hidden;}

/* HERO on phones: image fits inside, no cut-off ---------------------- */
@media (max-width:991px){
  .banner-right-img{
    position:static !important; right:auto !important; bottom:auto !important;
    width:100%; text-align:center; margin-top:16px;
  }
  .banner-right-img img{
    max-width:100% !important; height:auto !important; max-height:none !important;
    margin:0 auto; display:block;
  }
  .banner-area-one .container,
  .banner-area-one .row{max-width:100%; margin-left:auto; margin-right:auto;}
}

/* MOBILE MENU: full-height panel, no page bleed --------------------- */
.side-bar{
  width:86vw !important; max-width:360px;
  height:100vh !important; top:0 !important;
}
#anywhere-home.bgshow{ /* dark overlay behind menu covers whole screen */
  width:100% !important; height:100% !important;
}

/* =====================================================================
   SXCS — MOBILE MENU CLOSE BUTTON + PANEL   (keep LAST)
   ===================================================================== */

/* panel: proper width, sits above overlay */
.side-bar{
  width:86vw !important; max-width:340px;
  padding:24px 22px !important;
  z-index:2000 !important;
}

/* CLOSE (X) button — pull it INSIDE the panel, top-right */
.side-bar button.close-icon-menu,
.side-bar button{
  position:absolute !important;
  top:16px !important; right:16px !important;
  left:auto !important; margin:0 !important;
  width:auto !important;
}
.side-bar button.close-icon-menu i,
.side-bar button i{
  margin:0 !important;
  width:42px !important; height:42px !important; line-height:42px !important;
  font-size:22px !important;
  background:var(--sxcs-purple) !important; color:#fff !important;
  border-radius:8px !important;
  display:flex !important; align-items:center; justify-content:center;
}

/* push menu items down so they clear the close button */
.side-bar .mobile-menu-main{margin-top:44px;}


/* Footer logo: white rounded background on all pages */
.rts-footer-area .footer-single-wized.left-logo .head a {
    display: inline-block !important;
}
.rts-footer-area .footer-single-wized.left-logo .head img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    height: 90px !important;
    width: auto !important;
    max-width: 100% !important;
    background: #fff;
    padding: 8px 12px;
    border-radius: 12px;
}

/* =====================================================================
   SXCS — NOTICE BOARD
   ===================================================================== */

/* ---- loading spinner ---- */
.sxcs-nb-loading{
  display:flex;align-items:center;justify-content:center;
  gap:14px;padding:60px 0;color:#7a6a9a;font-size:16px;font-weight:500;
}
.sxcs-nb-spinner{
  width:32px;height:32px;border-radius:50%;flex-shrink:0;
  border:3px solid rgba(91,42,134,.15);
  border-top-color:var(--sxcs-purple);
  animation:sxcsNbSpin .75s linear infinite;
}
@keyframes sxcsNbSpin{to{transform:rotate(360deg);}}

/* ---- error / empty ---- */
.sxcs-nb-error,.sxcs-nb-empty{
  text-align:center;padding:50px 20px;color:#9a8ab0;font-size:16px;
}
.sxcs-nb-error i,.sxcs-nb-empty i{
  font-size:48px;display:block;margin-bottom:14px;color:#c4b2dd;
}

/* ---- section labels (Active / Past) ---- */
.sxcs-nb-section-label{
  display:flex;align-items:center;gap:10px;
  font-weight:700;font-size:15px;letter-spacing:.5px;text-transform:uppercase;
  padding:10px 18px;border-radius:10px;margin-bottom:16px;margin-top:32px;
}
.sxcs-nb-section-label:first-child{margin-top:0;}
.sxcs-nb-label-active{
  background:rgba(91,42,134,.08);color:var(--sxcs-purple);
  border-left:4px solid var(--sxcs-purple);
}
.sxcs-nb-label-expired{
  background:#f5f5f7;color:#888;
  border-left:4px solid #ccc;
}

/* ---- notice card base ---- */
.sxcs-nb-card{
  position:relative;
  border-radius:14px;
  padding:22px 24px 20px 24px;
  margin-bottom:14px;
  display:flex;
  align-items:flex-start;
  gap:18px;
  transition:.3s;
}

/* ---- ACTIVE card — highlighted, prominent ---- */
.sxcs-nb-card--active{
  background:#fff;
  border:1.5px solid rgba(91,42,134,.22);
  box-shadow:0 8px 28px rgba(91,42,134,.12);
  border-left:5px solid var(--sxcs-purple);
}
.sxcs-nb-card--active:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(91,42,134,.18);
}

/* ---- EXPIRED card — muted, simple ---- */
.sxcs-nb-card--expired{
  background:#fafafa;
  border:1px solid #e8e4ef;
  box-shadow:none;
  border-left:4px solid #ccc;
  opacity:.75;
}
.sxcs-nb-card--expired:hover{opacity:.9;}

/* ---- badge (Active / Expired pill) ---- */
.sxcs-nb-badge{
  flex-shrink:0;
  display:inline-flex;align-items:center;
  font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  padding:4px 12px;border-radius:30px;margin-top:3px;white-space:nowrap;
  background:var(--sxcs-purple);color:#fff;
}
.sxcs-nb-badge--expired{
  background:#ddd;color:#888;
}

/* ---- card body ---- */
.sxcs-nb-body{flex:1;}
.sxcs-nb-title{
  margin:0 0 8px;
  font-size:17px;line-height:1.4;color:#1a0a2e;font-weight:700;
  font-family:"Montserrat",sans-serif;
}
.sxcs-nb-card--expired .sxcs-nb-title{color:#666;font-weight:600;}
.sxcs-nb-text{
  margin:0 0 12px;
  font-size:16px;line-height:1.65;color:#2a1a3e;font-weight:500;
}
.sxcs-nb-card--expired .sxcs-nb-text{color:#777;font-weight:400;}

/* ---- meta row (dates) ---- */
.sxcs-nb-meta{
  display:flex;flex-wrap:wrap;gap:6px 24px;
  font-size:13px;color:#8f80a8;
}
.sxcs-nb-card--expired .sxcs-nb-meta{color:#aaa;}
.sxcs-nb-meta i{margin-right:5px;color:var(--sxcs-purple);}
.sxcs-nb-card--expired .sxcs-nb-meta i{color:#bbb;}
.sxcs-nb-meta strong{color:#43206a;font-weight:600;}
.sxcs-nb-card--expired .sxcs-nb-meta strong{color:#999;}

/* ---- responsive ---- */
@media(max-width:575px){
  .sxcs-nb-card{flex-direction:column;gap:10px;padding:18px 16px;}
  .sxcs-nb-badge{align-self:flex-start;}
  .sxcs-nb-text{font-size:15px;}
  .sxcs-nb-meta{font-size:12px;gap:4px 16px;}
  .sxcs-nb-section-label{font-size:13px;}
}


/* =====================================================================
   SXCS — ADMIN LOGIN BUTTON + MODAL
   ===================================================================== */

/* ---- Login Button (header) ---- */
.sxcs-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 2px solid var(--sxcs-purple);
    color: var(--sxcs-purple);
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s, transform .2s;
    white-space: nowrap;
    line-height: 1;
}
.sxcs-login-btn i { font-size: 15px; }
.sxcs-login-btn:hover {
    background: var(--sxcs-purple);
    color: #fff;
    box-shadow: 0 8px 22px rgba(91,42,134,.28);
    transform: translateY(-2px);
}

/* ---- Overlay backdrop ---- */
.sxcs-login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 30, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.sxcs-login-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---- Modal card ---- */
.sxcs-login-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 38px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 30px 80px rgba(91,42,134,.25);
    transform: translateY(28px) scale(.97);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.sxcs-login-overlay.active .sxcs-login-modal {
    transform: translateY(0) scale(1);
}

/* ---- Close button ---- */
.sxcs-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #f4f0f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--sxcs-purple);
    font-size: 16px;
    transition: background .2s, transform .2s;
}
.sxcs-modal-close:hover {
    background: var(--sxcs-purple);
    color: #fff;
    transform: rotate(90deg);
}

/* ---- Modal header ---- */
.sxcs-modal-header { text-align: center; margin-bottom: 28px; }
.sxcs-modal-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--sxcs-purple), #a063d4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(91,42,134,.30);
}
.sxcs-modal-icon i { color: #fff; font-size: 26px; }
.sxcs-modal-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 5px;
    font-family: "Montserrat", sans-serif;
}
.sxcs-modal-header p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* ---- Form fields ---- */
.sxcs-modal-form { display: flex; flex-direction: column; gap: 18px; }
.sxcs-field-group { display: flex; flex-direction: column; gap: 6px; }
.sxcs-field-group label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sxcs-field-group label i { color: var(--sxcs-purple); }
.sxcs-field-group input[type="text"],
.sxcs-field-group input[type="password"] {
    width: 100%;
    border: 1.8px solid #e0d8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fdfbff;
    color: #1a1a2e;
}
.sxcs-field-group input:focus {
    border-color: var(--sxcs-purple);
    box-shadow: 0 0 0 3px rgba(91,42,134,.12);
    background: #fff;
}

/* ---- Password toggle wrap ---- */
.sxcs-pass-wrap { position: relative; }
.sxcs-pass-wrap input { padding-right: 46px; }
.sxcs-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 15px;
    padding: 4px;
    transition: color .2s;
}
.sxcs-eye-btn:hover { color: var(--sxcs-purple); }

/* ---- Remember + Forgot row ---- */
.sxcs-modal-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-top: -4px;
}
.sxcs-check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: #555;
    font-weight: 500;
}
.sxcs-check-label input[type="checkbox"] { accent-color: var(--sxcs-purple); width: 15px; height: 15px; }
.sxcs-forgot {
    color: var(--sxcs-purple);
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    transition: opacity .2s;
}
.sxcs-forgot:hover { opacity: .75; text-decoration: underline; }

/* ---- Submit button ---- */
.sxcs-modal-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--sxcs-purple), #a063d4);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(91,42,134,.30);
    transition: transform .2s, box-shadow .2s, background .2s;
    margin-top: 4px;
}
.sxcs-modal-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(91,42,134,.38);
}
.sxcs-modal-submit:disabled { opacity: .75; cursor: not-allowed; }

/* ---- Message ---- */
.sxcs-login-msg {
    font-size: 13px;
    text-align: center;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}
.sxcs-login-msg:not(:empty) { display: block; }
.sxcs-login-msg.error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}
.sxcs-login-msg.success {
    background: #f0fff4;
    color: #27ae60;
    border: 1px solid #b2dfdb;
}

/* ---- Footer note ---- */
.sxcs-modal-note {
    margin: 20px 0 0;
    text-align: center;
    font-size: 11.5px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.sxcs-modal-note i { color: #c0a0e0; }

/* ---- Responsive ---- */
@media (max-width: 575px) {
    .sxcs-login-modal { padding: 32px 22px 26px; }
    .sxcs-login-btn span { display: none; }   /* icon only on small phones */
    .sxcs-login-btn { padding: 10px 14px; }
}
@media (max-width: 359px) {
    .sxcs-login-btn { display: none; }        /* ultra-small: only hamburger */
}
