/* ═══════════════════════════════════════════════════════════════════
   light-theme.css — lighter colour balance for the public site
   Navy stays as the brand frame (utility bar, main menu, footer) and as
   small accents; content areas become light so photos and posters stand out.
   Loaded LAST (end of <head> in homepageheadpart.php).
   To undo: remove the <link> to this file.
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Headlines ticker: light cream strip instead of a third navy bar ── */
.marquee-section{
  background:#ffffff!important;
  border-top:3px solid #f5a623!important;
  border-bottom:1px solid #e3e8f3!important;
  box-shadow:0 2px 10px rgba(16,24,64,.06)!important;
}
.marquee-section .marquee-text,
.marquee-section .marquee-text *,
.marquee-section marquee{
  color:#1a2e6c!important;
  font-weight:600!important;
}
.marquee-heading{background:#f5a623!important;color:#0b1940!important}

/* ── 2. Hero (top banner) — enquiry side: warm ivory card ── */
/* white card with faint navy line-art: circles (top-right), waves (bottom-left), dot grid (right) */
.hero-form-col{
  background-color:#ffffff!important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260' fill='none' stroke='%231a2e6c' stroke-opacity='.10' stroke-width='1.4'%3E%3Ccircle cx='130' cy='130' r='38'/%3E%3Ccircle cx='130' cy='130' r='66'/%3E%3Ccircle cx='130' cy='130' r='94'/%3E%3Ccircle cx='130' cy='130' r='122'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 160' fill='none' stroke='%231a2e6c' stroke-opacity='.13' stroke-width='1.6'%3E%3Cpath d='M0 110 C70 70 140 150 210 110 S350 70 420 110'/%3E%3Cpath d='M0 126 C70 86 140 166 210 126 S350 86 420 126'/%3E%3Cpath d='M0 142 C70 102 140 182 210 142 S350 102 420 142'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cdefs%3E%3Cpattern id='d' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='3' cy='3' r='2' fill='%231a2e6c' fill-opacity='.14'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='120' height='120' fill='url(%23d)'/%3E%3C/svg%3E"),
    linear-gradient(180deg,#ffffff 0%,#f7f9fd 100%)!important;
  background-repeat:no-repeat!important;
  background-position:right -70px top -70px,left -30px bottom -60px,right 190px top 14px,0 0!important;
  background-size:280px 280px,560px 175px,0 0,100% 100%!important;   /* dot grid off: it overlapped the heading */
  border-left:5px solid #f5a623!important;
}
/* soft animated colour glow behind the enquiry form (drifts slowly; off for reduced-motion users) */
.hero-form-col::before{
  content:''!important;position:absolute!important;inset:-25%!important;z-index:0!important;pointer-events:none!important;
  background-image:
    radial-gradient(circle at 22% 28%,rgba(26,46,108,.20) 0%,rgba(26,46,108,0) 42%),
    radial-gradient(circle at 78% 72%,rgba(245,166,35,.32) 0%,rgba(245,166,35,0) 44%),
    radial-gradient(circle at 62% 18%,rgba(64,140,255,.20) 0%,rgba(64,140,255,0) 40%),
    radial-gradient(circle at 30% 85%,rgba(200,16,46,.10) 0%,rgba(200,16,46,0) 36%)!important;
  animation:hfGlow 10s ease-in-out infinite alternate;
}
@keyframes hfGlow{
  0%  {transform:translate(0,0) rotate(0deg) scale(1)}
  50% {transform:translate(5%,-4%) rotate(10deg) scale(1.06)}
  100%{transform:translate(-4%,5%) rotate(-8deg) scale(1)}
}
@media (prefers-reduced-motion:reduce){.hero-form-col::before{animation:none}}
.hero-form-col::after{border-top-color:#ffffff!important;filter:drop-shadow(2px 0 0 rgba(245,166,35,.7))!important}
.hero-car-title{color:#0b1940!important}
.hero-car-sub{color:#5b6782!important}
.hero-admit-badge{background:#1a2e6c!important;color:#fff!important}
.hero-admit-badge::before{background:#f5a623!important;opacity:1!important}
.hero-enquiry-form input,
.hero-enquiry-form select{
  background:#fff!important;
  border:1.5px solid #d6dcea!important;
  box-shadow:0 2px 8px rgba(26,46,108,.06)!important;
  color:#1a1f3c!important;
}
.hero-enquiry-form input::placeholder{color:#8a93a8!important}
.hero-form-success p{color:#0b1940!important}

/* ── 3. Hero placement panel: soft light stage so posters' colours pop ── */
.hero-quote-panel{background:transparent!important}
.hero-car-section .hero-quote-panel .hero-quote-img{
  background:radial-gradient(ellipse at 50% 35%,#ffffff 0%,#eef2fb 55%,#e2e8f6 100%)!important;
}
.hq-slide{box-shadow:0 14px 34px rgba(16,24,64,.22)!important}
.hq-slide:not(.active){opacity:.55!important}
.hq-btn{background:#1a2e6c!important;color:#fff!important}
.hq-btn:hover{background:#f5a623!important;color:#0b1940!important}
.hq-count{color:#1a2e6c!important;background:#fff!important;border-color:#d6dcea!important}

/* outer banner arrows + slide dots: navy so they show on light backgrounds */
.hero-car-arrow{
  background:#1a2e6c!important;color:#fff!important;border-color:#1a2e6c!important;
  box-shadow:0 4px 14px rgba(16,24,64,.25)!important;
}
.hero-car-arrow:hover{background:#f5a623!important;color:#0b1940!important;border-color:#f5a623!important}
.hero-car-dot{background:rgba(26,46,108,.25)!important}
.hero-car-dot.active{background:#f5a623!important}

/* ── 4. Campus facilities: light section, natural photos (no colour tints) ── */
.img-gallery{background:linear-gradient(180deg,#f6f8fc 0%,#eef2f9 100%)!important}
.img-gallery-heading h3{color:#0b1940!important}
.img-gallery-heading .subtitle{color:#5b6782!important}
.img-col{box-shadow:0 8px 24px rgba(16,24,64,.12)!important}
.img-col:hover{box-shadow:0 18px 40px rgba(16,24,64,.22)!important}
.img-one-one{background-image:url(../img/campus-facilities/library.jpg)!important}
.img-two{background-image:url(../img/campus-facilities/sports-ground.jpg)!important}
.img-three{background-image:url(../img/campus-facilities/vans.jpg)!important}
.img-four{background-image:url(../img/campus-facilities/college-canteen.jpg)!important}
.img-five{background-image:url(../img/campus-facilities/gym.jpg)!important}
.img-six{background-image:url(../img/campus-facilities/hostel.png)!important}
.img-inner-text{background:linear-gradient(to top,rgba(11,25,64,.85) 0%,rgba(11,25,64,.35) 45%,transparent 100%)!important}

/* ── 5. Header: college name no longer runs into the NAAC/NBA logos at 1400–1599px ── */
/* ── 5b. Header + main menu at 1400–1599px (common laptop widths):
          the site only scaled these below 1400px, so the name overlapped the logos
          and "Careers" + Search were pushed off-screen ── */
@media (min-width:1400px) and (max-width:1599px){
  img.logo.img-fluid{width:92px!important;height:92px!important;max-width:92px!important}
  .site-college-name{font-size:26px!important;letter-spacing:.4px!important}
  .site-college-sub{font-size:11px!important}
  .site-college-aff,.site-college-loc{font-size:9px!important}
  .accred-item img{width:46px!important;height:46px!important}
  .accred-strip{gap:10px}
  .accred-vdivider{display:none}
}

/* ── 6. Main menu: fluid sizing for every desktop width (992px+) ──
   The menu box was fixed at 75% of the screen with fixed font sizes, so between the
   site's breakpoints it overflowed and pushed Search/Careers (or more) off-screen.
   Now it uses the full width (max 1500px) and the font/spacing scale with the screen. */
@media (min-width:992px){
  #large-main-nav .container-fluid{
    max-width:min(1500px,100%)!important;
    padding-left:12px!important;padding-right:12px!important;
  }
  #large-main-nav .navbar-nav{flex-wrap:nowrap!important}
  #large-main-nav .nav-link{
    font-size:clamp(11px,calc(.55vw + 4.5px),14px)!important;
    padding:15px clamp(4px,calc(.62vw - 1.5px),13px)!important;
    letter-spacing:0!important;
  }
  .swrn-nav-search-item{padding:0 0 0 6px!important}
  .swrn-nav-search-input{width:clamp(70px,7vw,130px)!important}
  .swrn-nav-search-input:focus{width:clamp(110px,10vw,170px)!important}
}
/* 992–1199px: not enough room for 13 links + search box → search shows as an icon that expands on focus */
@media (min-width:992px) and (max-width:1199.98px){
  .swrn-nav-search-input{width:0!important;padding-left:0!important;padding-right:0!important}
  .swrn-nav-search:focus-within .swrn-nav-search-input{width:120px!important;padding:0 8px!important}
}

/* ── 7. Top utility bar (Student Certificate Verification, NBA Report …): light mist instead of navy ──
   Leaves the main menu as the single navy band in the header. */
.center-links{background:#eef2f9!important;border-bottom:1px solid #dbe2ef!important;box-shadow:none!important}
.centered-nav li a{background:#fff!important;color:#1a2e6c!important;border:1px solid #d6dcea!important;font-weight:600!important}
.centered-nav li a:hover{background:#1a2e6c!important;color:#fff!important;border-color:#1a2e6c!important;box-shadow:0 4px 12px rgba(26,46,108,.25)!important}
#cnavMoreItem>a.cnav-more-btn{background:#1a2e6c!important;color:#fff!important;border-color:#1a2e6c!important}
#cnavMoreItem>a.cnav-more-btn:hover{background:#f5a623!important;color:#0b1940!important;border-color:#f5a623!important}
