/* ============================================================
   CRESTWOOD COLLEGE — MAIN STYLESHEET
   Theme  : Creative / Colorful Campus
   Colors : Purple #6c3fc5 | Coral #ff6b47 | Teal #00b8a9 | Yellow #ffd60a
   Fonts  : Poppins (headings) + Nunito (body)
   Version: 1.0
   ============================================================ */

/* ---- Custom Properties ------------------------------------ */
:root {
  --purple:        #6c3fc5;
  --purple-light:  #8b5cf6;
  --purple-dark:   #4a23a0;
  --coral:         #ff6b47;
  --coral-light:   #ff8d70;
  --teal:          #00b8a9;
  --teal-light:    #2dd4bf;
  --yellow:        #ffd60a;
  --pink:          #f72585;
  --white:         #ffffff;
  --light:         #f9f7ff;
  --light-gray:    #f0ecff;
  --mid-gray:      #a89dc7;
  --dark:          #1a0a3c;
  --text:          #5a4e7a;
  --text-dark:     #2d1b69;
  --heading:       #1a0a3c;
  --border:        #e2d9f3;
  --shadow-sm:     0 2px 14px rgba(108,63,197,.08);
  --shadow:        0 6px 28px rgba(108,63,197,.14);
  --shadow-lg:     0 14px 48px rgba(108,63,197,.22);
  --radius:        10px;
  --radius-lg:     20px;
  --radius-xl:     30px;
  --transition:    all .35s ease;
  --nav-h:         80px;
}

/* ---- Dark Mode -------------------------------------------- */
[data-theme="dark"] {
  --purple:       #a78bfa;
  --coral:        #fb7c5d;
  --teal:         #2dd4bf;
  --white:        #0f0722;
  --light:        #160d30;
  --light-gray:   #1e1240;
  --mid-gray:     #5a4e7a;
  --dark:         #f0e8ff;
  --text:         #9b8dc0;
  --text-dark:    #d4c8f5;
  --heading:      #d4c8f5;
  --border:       #2d1b69;
  --shadow-sm:    0 2px 14px rgba(0,0,0,.3);
  --shadow:       0 6px 28px rgba(0,0,0,.4);
  --shadow-lg:    0 14px 48px rgba(0,0,0,.5);
}

/* ---- Base Reset ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px; line-height: 1.75;
  color: var(--text); background: var(--white);
  transition: background .3s ease, color .3s ease;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; color: var(--heading); line-height: 1.25;
}
a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--coral); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Section Padding -------------------------------------- */
.section-padding    { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.bg-light-cc        { background: var(--light) !important; }

/* ---- Section Title ---------------------------------------- */
.section-title { text-align: center; margin-bottom: 58px; }
.section-title .badge-label {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, rgba(108,63,197,.12), rgba(255,107,71,.1));
  border: 1px solid rgba(108,63,197,.2);
  color: var(--purple); padding: 6px 18px; border-radius: 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}
.section-title h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800; margin-bottom: 16px;
}
.section-title h2 .highlight {
  position: relative; display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p { max-width: 600px; margin: 0 auto; font-size: 16px; color: var(--text); }

/* ---- Buttons ---------------------------------------------- */
.btn-cc-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; border: none; border-radius: var(--radius-xl);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  padding: 13px 32px; font-size: 14.5px;
  transition: var(--transition); display: inline-block;
  box-shadow: 0 4px 18px rgba(108,63,197,.35);
}
.btn-cc-primary:hover {
  transform: translateY(-3px); color: #fff;
  box-shadow: 0 8px 28px rgba(108,63,197,.5);
}
.btn-cc-coral {
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: #fff; border: none; border-radius: var(--radius-xl);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  padding: 13px 32px; font-size: 14.5px;
  transition: var(--transition); display: inline-block;
  box-shadow: 0 4px 18px rgba(255,107,71,.35);
}
.btn-cc-coral:hover {
  transform: translateY(-3px); color: #fff;
  box-shadow: 0 8px 28px rgba(255,107,71,.5);
}
.btn-cc-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: var(--radius-xl);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  padding: 12px 30px; font-size: 14.5px;
  transition: var(--transition); display: inline-block;
}
.btn-cc-outline:hover {
  background: #fff; color: var(--purple); border-color: #fff;
  transform: translateY(-2px);
}
.btn-cc-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff; border: none; border-radius: var(--radius-xl);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  padding: 13px 32px; font-size: 14.5px;
  transition: var(--transition); display: inline-block;
  box-shadow: 0 4px 18px rgba(0,184,169,.35);
}
.btn-cc-teal:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 8px 28px rgba(0,184,169,.5); }

/* ---- Preloader -------------------------------------------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-ring {
  width: 62px; height: 62px; margin: 0 auto 16px;
  position: relative;
}
.preloader-ring::before,
.preloader-ring::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; border: 4px solid transparent;
  animation: spin .9s linear infinite;
}
.preloader-ring::before { border-top-color: var(--coral); }
.preloader-ring::after  { border-bottom-color: var(--teal); animation-direction: reverse; }
.preloader-inner p {
  color: var(--yellow); font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Back to Top ------------------------------------------ */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 998;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px) scale(1.1); color: #fff; }

/* ---- Dark Mode Toggle ------------------------------------- */
#dark-mode-toggle {
  position: fixed; bottom: 90px; right: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: var(--shadow);
  cursor: pointer; transition: var(--transition); z-index: 998;
}
#dark-mode-toggle:hover { transform: translateY(-3px) rotate(20deg); }

/* ---- Navbar ----------------------------------------------- */
#mainNav {
  background: transparent; padding: 18px 0; transition: var(--transition); z-index: 997;
}
#mainNav.scrolled {
  background: rgba(26,10,60,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 10px 0; box-shadow: var(--shadow);
}
.navbar-brand .cc-logo { display: flex; align-items: center; gap: 11px; }
.cc-logo-mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 900; color: var(--dark);
}
.cc-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.cc-brand-name { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 800; color: #fff; }
.cc-brand-sub  { font-size: 10px; color: var(--yellow); letter-spacing: 2px; text-transform: uppercase; }
.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.85) !important; padding: 8px 13px !important;
  letter-spacing: .3px; transition: var(--transition); position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--yellow) !important; }
.nav-cta-cc {
  background: linear-gradient(135deg, var(--coral), var(--coral-light)) !important;
  color: #fff !important; font-family: 'Poppins', sans-serif; font-weight: 700;
  border: none !important; border-radius: 30px !important;
  padding: 9px 22px !important; font-size: 13px !important;
  box-shadow: 0 4px 14px rgba(255,107,71,.4); transition: var(--transition);
}
.nav-cta-cc:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,71,.5); }

/* ---- Hero Section ----------------------------------------- */
.cc-hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.cc-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #1a0a3c 0%, #2d0f60 40%, #4a1090 70%, #6c1f9e 100%);
}
.cc-hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.cc-shape {
  position: absolute; border-radius: 50%; opacity: .2; animation: float 6s ease-in-out infinite;
}
.cc-shape-1 { width: 400px; height: 400px; background: var(--coral);    top: -100px; right: 5%;  animation-delay: 0s; }
.cc-shape-2 { width: 280px; height: 280px; background: var(--teal);     bottom: 10%; left: 5%;  animation-delay: 2s; }
.cc-shape-3 { width: 190px; height: 190px; background: var(--yellow);   top: 40%;    right: 20%; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}
.cc-hero-content { position: relative; z-index: 2; padding: 130px 0 80px; }
.cc-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,214,10,.15); border: 1px solid rgba(255,214,10,.3);
  color: var(--yellow); padding: 7px 18px; border-radius: 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-family: 'Poppins', sans-serif; margin-bottom: 22px;
}
.cc-hero-content h1 {
  font-size: clamp(36px, 6.5vw, 72px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.cc-hero-content h1 .grad-text {
  background: linear-gradient(90deg, var(--yellow), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cc-hero-desc { font-size: 17.5px; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 36px; line-height: 1.8; }
.cc-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.cc-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-tag {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  padding: 6px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15); font-family: 'Poppins', sans-serif;
}
.cc-hero-img-wrap { position: relative; z-index: 2; padding-top: 80px; }
.cc-hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 32px 26px; backdrop-filter: blur(10px);
  color: #fff;
}
.cc-hero-card-stat { text-align: center; padding: 16px; }
.cc-hero-card-stat .stat-n {
  font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 900;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cc-hero-card-stat .stat-l { font-size: 11.5px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; }

/* ---- About Section ---------------------------------------- */
.cc-about { background: var(--white); }
.cc-about-img { position: relative; }
.cc-about-img-main img {
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  width: 100%; height: 460px; object-fit: cover; display: block;
}
.cc-about-float {
  position: absolute; background: linear-gradient(135deg, var(--coral), var(--yellow));
  border-radius: var(--radius-lg); padding: 20px 24px;
  bottom: -18px; right: -18px; color: var(--dark); text-align: center;
  box-shadow: var(--shadow); min-width: 140px;
}
.cc-about-float .f-num { font-family: 'Poppins', sans-serif; font-size: 38px; font-weight: 900; line-height: 1; }
.cc-about-float .f-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cc-about-text { padding-left: 50px; }
.cc-pre-title {
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral); margin-bottom: 10px;
}
.cc-about-text h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; margin-bottom: 18px; }
.cc-about-text p  { font-size: 15.5px; color: var(--text); margin-bottom: 14px; line-height: 1.8; }
.cc-feat-list { margin: 20px 0; }
.cc-feat-item { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 13px; }
.cc-feat-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff;
}
.cc-feat-item b  { display: block; font-size: 14.5px; color: var(--heading); font-family: 'Poppins', sans-serif; font-weight: 700; }
.cc-feat-item p  { margin: 0; font-size: 13px; color: var(--text); }

/* ---- Programs Section ------------------------------------- */
.cc-programs { background: var(--light); }
.cc-prog-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px 26px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
  position: relative; overflow: hidden;
}
.cc-prog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  transition: height .35s ease;
}
.cc-prog-card:hover::before { height: 100%; opacity: .05; }
.cc-prog-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.cp-icon {
  width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
}
.cc-prog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cc-prog-card p  { font-size: 13.5px; color: var(--text); margin-bottom: 18px; line-height: 1.7; }
.cc-prog-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cc-prog-meta span {
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* ---- Campus Life (colorful cards) ------------------------- */
.cc-camplife { background: var(--white); }
.cl-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
}
.cl-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cl-img { position: relative; overflow: hidden; }
.cl-img img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .4s ease; }
.cl-card:hover .cl-img img { transform: scale(1.07); }
.cl-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 13px; border-radius: 20px;
  font-size: 11.5px; font-weight: 700; font-family: 'Poppins', sans-serif; color: #fff;
}
.cl-body { padding: 22px; }
.cl-body h4 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.cl-body p  { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.65; }

/* ---- Stats Section ---------------------------------------- */
.cc-stats {
  background: linear-gradient(135deg, #1a0a3c, #2d0f60, #4a1090);
  padding: 75px 0; position: relative; overflow: hidden;
}
.cc-stats::before {
  content: ''; position: absolute; width: 500px; height: 500px;
  border-radius: 50%; background: rgba(255,107,71,.07);
  top: -200px; right: -100px;
}
.cc-stat-box { text-align: center; padding: 20px; }
.cc-stat-icon {
  font-size: 36px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cc-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4vw, 50px); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 6px;
}
.cc-stat-num sup { font-size: .5em; color: var(--yellow); }
.cc-stat-lbl { font-size: 13px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; }

/* ---- Events Section --------------------------------------- */
.cc-events { background: var(--light); }
.ev-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
  display: flex; flex-direction: column;
}
.ev-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.ev-img { overflow: hidden; position: relative; }
.ev-img img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease; }
.ev-card:hover .ev-img img { transform: scale(1.06); }
.ev-date-badge {
  position: absolute; top: 14px; right: 14px;
  background: #fff; border-radius: 12px; padding: 6px 14px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.ev-date-badge .day  { display: block; font-size: 22px; font-weight: 900; color: var(--purple); line-height: 1; font-family: 'Poppins', sans-serif; }
.ev-date-badge .mon  { font-size: 11px; font-weight: 700; color: var(--coral); text-transform: uppercase; }
.ev-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ev-cat {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  font-family: 'Poppins', sans-serif; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ev-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.ev-card h3 a { color: var(--heading); }
.ev-card h3 a:hover { color: var(--purple); }
.ev-card p   { font-size: 13.5px; color: var(--text); margin-bottom: 16px; line-height: 1.65; flex: 1; }
.ev-meta { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.ev-meta span { font-size: 12.5px; color: var(--text); display: flex; align-items: center; gap: 5px; }
.ev-meta span i { color: var(--purple); }

/* ---- Testimonials ----------------------------------------- */
.cc-testis { background: var(--white); }
.ct-card {
  background: var(--light); border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; height: 100%; overflow: hidden;
  border: 2px solid transparent; transition: var(--transition);
}
.ct-card:hover { border-color: var(--purple); transform: translateY(-6px); box-shadow: var(--shadow); }
.ct-quote { font-size: 60px; color: var(--purple); opacity: .15; line-height: 1; margin-bottom: 8px; font-family: Georgia, serif; }
.ct-card p { font-size: 14.5px; color: var(--text); font-style: italic; line-height: 1.8; margin-bottom: 22px; }
.ct-stars { color: var(--yellow); font-size: 13px; margin-bottom: 16px; }
.ct-author { display: flex; align-items: center; gap: 12px; }
.ct-author img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
  border: 3px solid transparent;
  background-image: linear-gradient(white, white),
                    linear-gradient(135deg, var(--purple), var(--coral));
  background-origin: border-box; background-clip: padding-box, border-box;
}
.ct-author h6  { font-size: 14.5px; font-weight: 700; color: var(--heading); margin: 0; font-family: 'Poppins', sans-serif; }
.ct-author span { font-size: 12.5px; color: var(--coral); font-weight: 600; }

/* ---- CTA Section ------------------------------------------ */
.cc-cta {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--purple-light));
  padding: 90px 0; position: relative; overflow: hidden;
}
.cc-cta::before {
  content: ''; position: absolute;
  width: 450px; height: 450px; border-radius: 50%;
  background: rgba(255,107,71,.15); top: -200px; right: -100px;
}
.cc-cta::after {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(0,184,169,.1); bottom: -120px; left: -60px;
}
.cc-cta-inner { position: relative; z-index: 1; text-align: center; }
.cc-cta-inner h2 { font-size: clamp(26px, 4vw, 48px); font-weight: 900; color: #fff; margin-bottom: 16px; }
.cc-cta-inner p  { font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 34px; }
.cc-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ----------------------------------------------- */
.cc-footer {
  background: #0f0722; padding: 72px 0 0; color: rgba(255,255,255,.65);
}
.cc-footer-brand { margin-bottom: 20px; }
.cc-footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.cc-fsocial { display: flex; gap: 8px; }
.cc-fsocial a {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07); transition: var(--transition);
}
.cc-fsocial a:hover { transform: translateY(-3px); color: #fff; }
.cc-fsocial a.fb:hover  { background: #1877f2; }
.cc-fsocial a.tw:hover  { background: #1da1f2; }
.cc-fsocial a.li:hover  { background: #0077b5; }
.cc-fsocial a.ig:hover  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.cc-fsocial a.yt:hover  { background: #ff0000; }
.cc-footer h5 {
  font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 20px;
  padding-bottom: 10px; font-family: 'Poppins', sans-serif; position: relative;
}
.cc-footer h5::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
}
.cc-flinks li { margin-bottom: 10px; }
.cc-flinks li a {
  color: rgba(255,255,255,.6); font-size: 13.5px;
  display: flex; align-items: center; gap: 7px; transition: var(--transition);
}
.cc-flinks li a::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); flex-shrink: 0; opacity: 0; transition: var(--transition);
}
.cc-flinks li a:hover { color: var(--yellow); padding-left: 5px; }
.cc-flinks li a:hover::before { opacity: 1; }
.cc-fcontact { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.cc-fcontact .fc-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff;
}
.cc-fcontact p { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0; padding-top: 5px; }
.cc-footer-bottom {
  margin-top: 50px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cc-footer-bottom p { font-size: 13px; color: rgba(255,255,255,.38); margin: 0; }

/* ---- Page Header (inner pages) ---------------------------- */
.cc-page-header {
  padding: 140px 0 75px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a0a3c 0%, #2d0f60 50%, #4a1090 100%);
}
.cc-page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55px;
  background: var(--white); clip-path: ellipse(55% 100% at 50% 100%);
}
[data-theme="dark"] .cc-page-header::after { background: var(--white); }
.cc-page-header h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.cc-page-header .breadcrumb { background: none; padding: 0; margin: 0; }
.cc-page-header .breadcrumb-item a { color: var(--yellow); }
.cc-page-header .breadcrumb-item.active { color: rgba(255,255,255,.65); }
.cc-page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }
.page-header-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ph-shape { position: absolute; border-radius: 50%; opacity: .12; }
.ph-shape-1 { width: 260px; height: 260px; background: var(--coral);  top: -60px;  right: 10%; }
.ph-shape-2 { width: 160px; height: 160px; background: var(--teal);   bottom: 20%; left: 5%; }

/* ---- About Page ------------------------------------------- */
.cc-mv-card {
  border-radius: var(--radius-lg); padding: 36px 30px; height: 100%;
  transition: var(--transition); position: relative; overflow: hidden;
}
.cc-mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cc-mv-card .cmv-icon {
  width: 68px; height: 68px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; margin-bottom: 20px;
}
.cc-mv-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.cc-mv-card p  { font-size: 14.5px; line-height: 1.8; margin: 0; }

/* Timeline */
.cc-timeline { position: relative; padding-left: 40px; }
.cc-timeline::before {
  content: ''; position: absolute; left: 10px; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(to bottom, var(--purple), var(--coral), var(--teal));
}
.cct-item { position: relative; margin-bottom: 34px; }
.cct-dot {
  position: absolute; left: -36px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.cct-year { font-size: 11.5px; font-weight: 700; color: var(--coral); letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Poppins', sans-serif; margin-bottom: 4px; }
.cct-item h5 { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.cct-item p  { font-size: 13.5px; color: var(--text); margin: 0; }

/* ---- Faculty Page ----------------------------------------- */
.cc-dept-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.cc-dept-filter button {
  padding: 8px 22px; border-radius: 30px;
  border: 2px solid var(--border); background: var(--white);
  color: var(--text); font-size: 13px; font-weight: 700;
  font-family: 'Poppins', sans-serif; cursor: pointer; transition: var(--transition);
}
.cc-dept-filter button.active,
.cc-dept-filter button:hover {
  border-color: var(--purple) !important;
  background: linear-gradient(135deg, var(--purple), var(--purple-light)) !important;
  color: #fff !important;
}
.cc-fac-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%; text-align: center;
}
.cc-fac-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cc-fac-img { position: relative; overflow: hidden; }
.cc-fac-img img {
  width: 100%; height: 265px; object-fit: cover;
  transition: transform .4s ease; display: block;
}
.cc-fac-card:hover .cc-fac-img img { transform: scale(1.05); }
.cc-fac-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(108,63,197,.85), rgba(255,107,71,.8));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: var(--transition);
}
.cc-fac-card:hover .cc-fac-overlay { opacity: 1; }
.cc-fac-overlay a {
  width: 40px; height: 40px; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transform: translateY(12px); transition: var(--transition);
}
.cc-fac-card:hover .cc-fac-overlay a { transform: translateY(0); }
.cc-fac-overlay a:hover { background: #fff; color: var(--purple); }
.cc-fac-body { padding: 20px 16px; }
.cc-fac-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.cc-fac-body .fdesig { font-size: 12.5px; font-weight: 700; color: var(--coral); font-family: 'Poppins', sans-serif; }
.cc-fac-body .fdept  { font-size: 12px; color: var(--text); margin-top: 2px; }

/* ---- Gallery Page ----------------------------------------- */
.cc-gal-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.cc-gal-filter button {
  padding: 8px 22px; border-radius: 30px;
  border: 2px solid var(--border); background: var(--white);
  color: var(--text); font-size: 13px; font-weight: 700;
  font-family: 'Poppins', sans-serif; cursor: pointer; transition: var(--transition);
}
.cc-gal-filter button.active,
.cc-gal-filter button:hover {
  background: linear-gradient(135deg, var(--purple), var(--coral));
  border-color: transparent; color: #fff;
}
.cc-gal-item {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; margin-bottom: 24px;
}
.cc-gal-item img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .45s ease; }
.cc-gal-item:hover img { transform: scale(1.09); }
.cc-gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(108,63,197,.75), rgba(255,107,71,.7));
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.cc-gal-item:hover .cc-gal-overlay { opacity: 1; }
.cc-gal-overlay i { font-size: 32px; color: #fff; }

/* ---- Contact Page ----------------------------------------- */
.cc-con-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  display: flex; gap: 16px; align-items: flex-start;
  transition: var(--transition); height: 100%;
}
.cc-con-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cc-con-icon {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff;
}
.cc-con-card h5 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.cc-con-card p  { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.65; }
.cc-con-card a  { color: var(--text); transition: var(--transition); }
.cc-con-card a:hover { color: var(--purple); }
.cc-form-box {
  background: var(--white); border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow);
}
.cc-form-box .form-control,
.cc-form-box .form-select {
  border: 2px solid var(--border); border-radius: 12px;
  padding: 11px 16px; font-size: 14.5px; color: var(--text-dark);
  background: var(--light); transition: var(--transition);
}
.cc-form-box .form-control:focus,
.cc-form-box .form-select:focus {
  border-color: var(--purple); background: var(--white);
  box-shadow: 0 0 0 4px rgba(108,63,197,.1); color: var(--text-dark);
}
.cc-form-box .form-label {
  font-size: 13px; font-weight: 700; font-family: 'Poppins', sans-serif;
  color: var(--text-dark); margin-bottom: 5px;
}
.cc-map-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.cc-map-wrap iframe { width: 100%; height: 430px; display: block; border: none; }
.success-alert { display: none; }

/* ---- Admissions Page -------------------------------------- */
.cc-step-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px 24px; box-shadow: var(--shadow-sm);
  transition: var(--transition); text-align: center; height: 100%; position: relative;
}
.cc-step-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.cc-step-num {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 900; color: #fff;
}
.cc-step-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.cc-step-card p  { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.65; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 991.98px) {
  .cc-about-text { padding-left: 0; margin-top: 56px; }
  .cc-about-float { right: 10px; }
}
@media (max-width: 767.98px) {
  .section-padding { padding: 60px 0; }
  .cc-hero-btns    { flex-direction: column; align-items: flex-start; }
  .cc-hero-btns a  { width: 100%; max-width: 260px; text-align: center; }
  .cc-form-box { padding: 22px; }
  #back-to-top, #dark-mode-toggle { right: 14px; }
  #dark-mode-toggle { bottom: 82px; }
  #back-to-top      { bottom: 22px; }
}
@media (max-width: 575.98px) {
  .cc-hero-content h1 { font-size: 30px; }
}
