/* ═══════════════════════════════════════════
   COLLEGE ADMISSION 360 — SHARED STYLES
   Color Palette: Gold + Cream + Deep Blue
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --gold:       #C8960C;
  --gold-light: #E8B84B;
  --gold-dark:  #A07808;
  --gold-pale:  #FFF8E7;
  --gold-mid:   #F5E4A0;
  --cream:      #FAFAF7;
  --navy:       #2C4A7C;
  --navy-light: #3D5E96;
  --navy-pale:  #EEF3FB;
  --text:       #2D2D2D;
  --text-mid:   #555555;
  --text-light: #888888;
  --white:      #FFFFFF;
  --border:     #E5D88A;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 20px rgba(200,150,12,0.10);
  --shadow-lg:  0 8px 36px rgba(200,150,12,0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--cream); font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── LOGO SVG ── */
.logo-svg { height: 150px; width: 150px; }
.logo-wordmark { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-name { display: flex; flex-direction: column; }
.logo-name span:first-child { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--gold-dark); line-height: 1; }
.logo-name span:last-child { font-size: 10px; font-weight: 600; color: var(--text-mid); letter-spacing: 1px; text-transform: uppercase; }

/* ── TOP BAR ── */
.topbar { background: var(--navy); color: var(--white); font-size: 12px; padding: 7px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--gold-light); font-weight: 600; margin-left: 14px; }
.topbar-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* ── NAVBAR ── */
nav { background: var(--white); border-bottom: 2px solid var(--gold-mid); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 16px rgba(200,150,12,0.10); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 30px, 24px; height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button { padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--text); background: none; border: none; cursor: pointer; border-radius: 8px; display: flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; transition: all .15s; white-space: nowrap; }
.nav-item > a:hover, .nav-item > button:hover { background: var(--gold-pale); color: var(--gold-dark); }
.nav-item > button svg { width: 11px; height: 11px; transition: transform .2s; }
.nav-item:hover > button svg { transform: rotate(180deg); }

/* MEGA MENU */
.mega { display: none; position: absolute; top: calc(100% + 2px); left: 0; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; min-width: 720px; z-index: 400; }
.nav-item:hover .mega { display: flex; gap: 24px; flex-wrap: wrap; }
.mega-col h4 { font-size: 11px; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .9px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--gold-mid); }
.mega-col a { display: block; font-size: 12px; color: var(--text-mid); padding: 4px 0; font-weight: 500; transition: color .15s; }
.mega-col a:hover { color: var(--navy); }
.mega-col { min-width: 150px; }

/* NAV BUTTONS */
.btn-ai-nav { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); padding: 9px 16px; border-radius: 9px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; white-space: nowrap; }
.btn-ai-nav span { background: var(--gold-light); color: var(--navy); font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 800; }
.btn-signin { background: transparent; color: var(--navy); padding: 8px 16px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 2px solid var(--navy); cursor: pointer; font-family: 'Inter', sans-serif; transition: all .15s; }
.btn-signin:hover { background: var(--navy); color: var(--white); }

/* ── SECTION COMMON ── */
.section { padding: 60px 24px; }
.inner { max-width: 1280px; margin: 0 auto; }
.sec-tag { display: inline-block; background: var(--gold-pale); color: var(--gold-dark); font-size: 11px; font-weight: 700; padding: 4px 13px; border-radius: 100px; margin-bottom: 10px; letter-spacing: .6px; text-transform: uppercase; border: 1px solid var(--border); }
.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.8vw, 34px); font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.sec-sub { font-size: 14px; color: var(--text-mid); max-width: 520px; line-height: 1.75; }
.sec-head-center { text-align: center; margin-bottom: 40px; }
.sec-head-center .sec-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white); padding: 13px 28px; border-radius: 10px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; white-space: nowrap; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--gold-dark); padding: 12px 28px; border-radius: 10px; font-size: 14px; font-weight: 700; border: 2px solid var(--gold); cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; }
.btn-outline:hover { background: var(--gold-pale); }
.btn-navy { background: var(--navy); color: var(--white); padding: 12px 24px; border-radius: 10px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; }
.btn-navy:hover { background: var(--navy-light); }

/* ── FOOTER ── */
footer { background: var(--navy); color: var(--white); }
.footer-top { max-width: 1280px; margin: 0 auto; padding: 52px 24px 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 260px; margin: 14px 0 20px; }
.footer-socials { display: flex; gap: 10px; }
.fsoc { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--gold-light); cursor: pointer; transition: background .15s; }
.fsoc:hover { background: rgba(200,150,12,.3); }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--gold-light); text-transform: uppercase; letter-spacing: .9px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,.55); padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 12px; color: rgba(255,255,255,.4); padding: 20px; }

/* ── FLOATING CTA ── */
.float-cta { position: fixed; bottom: 24px; right: 24px; z-index: 500; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white); padding: 13px 20px; border-radius: 14px; box-shadow: 0 6px 28px rgba(200,150,12,.5); cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; border: none; font-family: 'Inter', sans-serif; animation: glow 2.5s infinite; }
@keyframes glow { 0%,100%{box-shadow:0 6px 28px rgba(200,150,12,.4)} 50%{box-shadow:0 6px 40px rgba(200,150,12,.7)} }

/* TRUST BAR */
.trust-bar { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%); padding: 18px 24px;  }
.trust-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(232,184,75,.15); border: 1px solid rgba(232,184,75,.3); display: flex; align-items: center; justify-content: center; }
.trust-icon svg { width: 18px; height: 18px; color: var(--gold-light); }
.trust-num { font-size: 19px; font-weight: 800; color: var(--gold-light); line-height: 1; }
.trust-label { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 2px; }
.trust-div { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

@media (max-width: 900px) {
  .nav-links, .trust-div { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mega { min-width: 320px; }
}

/* ===== MOBILE NAVBAR FIXES ===== */
@media (max-width: 768px) {
  /* 1. Increase logo size in mobile */
  .navbar-brand img,
  .logo img,
 @media .nav-inner {
    width: 195px !important;
    height: 120px; !important;
    max-width: 100% !important;
  }
@media (max-width: 768px) {
  .trust-bar {
    display: none !important;
  }
}
  /* 2. Hide AI button in mobile view */
  .ai-button,
  .ai-btn,
  .ask-ai-btn,
  .navbar-ai,
  .hero-ai-btn {
    display: none !important;
  }
}  
/* ===== PREMIUM HERO SEARCH BAR ===== */
.premium-search-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 0 16px;
  position: relative;
  z-index: 5;
}

.premium-search-bar {
  width: 100%;
  max-width: 1180px;
  background: #ffffff;
  border: 3px solid #dbe6f5;
  border-radius: 22px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
}

.premium-search-item {
  flex: 1;
  padding: 18px 24px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #e6edf7;
  min-width: 0;
}

.search-icon-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.search-icon {
  font-size: 24px;
  color: #183B74;
  line-height: 1;
}

.search-label {
  font-size: 13px;
  font-weight: 700;
  color: #6f6f6f;
  letter-spacing: 0.3px;
}

.premium-search-item select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231a1a1a' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 18px;
}

.premium-search-btn-wrap {
  width: 210px;
  flex-shrink: 0;
  padding: 10px;
  background: #ffffff;
}

.premium-search-btn-wrap button {
  width: 100%;
  height: 100%;
  min-height: 80px;
  border: none;
  border-radius: 18px;
  background: #17356C;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.premium-search-btn-wrap button:hover {
  background: #0f2854;
  transform: translateY(-1px);
}

.search-btn-icon {
  font-size: 22px;
  line-height: 1;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
  .premium-search-bar {
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .premium-search-item {
    width: 50%;
    flex: 0 0 50%;
    border-bottom: 1px solid #e6edf7;
  }

  .premium-search-item:nth-child(2) {
    border-right: none;
  }

  .premium-search-item:nth-child(3) {
    border-right: none;
  }

  .premium-search-btn-wrap {
    width: 100%;
    padding: 14px;
  }

  .premium-search-btn-wrap button {
    min-height: 60px;
    border-radius: 14px;
  }
}

@media (max-width: 576px) {
  .premium-search-bar {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
  }

  .premium-search-item {
    width: 100%;
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid #e6edf7;
    padding: 16px 18px 12px;
  }

  .premium-search-btn-wrap {
    width: 100%;
    padding: 12px;
  }

  .premium-search-btn-wrap button {
    min-height: 56px;
    font-size: 17px;
  }

  .search-label {
    font-size: 12px;
  }

  .premium-search-item select {
    font-size: 17px;
  }
}

/* ===== UNIVERSITY MARQUEE CAROUSEL ===== */
#carOuter{
  position: relative;
  width: 100%;
  overflow: hidden;
}

#carTrack{
  display: flex;
  width: max-content;
  animation: universityMarquee 40s linear infinite;
  will-change: transform;
}

#carTrack:hover{
  animation-play-state: paused;
}

.car-slide{
  flex: 0 0 220px !important;
  width: 220px !important;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Continuous marquee movement */
@keyframes universityMarquee{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* Tablet */
@media (max-width: 768px){
  #carTrack{
    animation: universityMarquee 30s linear infinite;
  }

  .car-slide{
    flex: 0 0 180px !important;
    width: 180px !important;
    padding: 0 8px;
  }

  .car-slide > div{
    height: 140px !important;
  }
}

/* Mobile */
@media (max-width: 480px){
  #carTrack{
    animation: universityMarquee 24s linear infinite;
  }

  .car-slide{
    flex: 0 0 165px !important;
    width: 165px !important;
    padding: 0 7px;
  }

  .car-slide > div{
    height: 130px !important;
    border-radius: 12px !important;
  }
}

/* Hide arrows in marquee mode */
#carOuter button{
  display: none !important;
}

/* Hide dots too */
#carDots{
  display: none !important;
}