/* ================================================================
   ELECTROCODE  ·  COLLEGES.CSS  ·  DARK PREMIUM DESIGN SYSTEM v3.0
   Design Reference: Dashboard Dark Professional UI
   Covers: colleges.html
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ================================================================
   DESIGN TOKENS
================================================================ */

:root {
  /* ── Backgrounds ── */
  --bg-base:         #0A1E33;
  --bg-secondary:    #0A1E33;
  --bg-card:         linear-gradient(145deg, #172537 0%, #0A1E33 100%);
  --bg-surface:      #172537;
  --bg-surface-2:    #172537;

  /* ── Brand Colors ── */
  --primary-blue:    #1A4C8B;
  --electric-blue:   #3FA9F5;
  --neon-green:      #A6E22E;
  --purple:          #2ED9C3;
  --blue-vivid:      #00E5FF;

  /* ── Text ── */
  --text-white:      #FFFFFF;
  --text-secondary:  #7A869A;
  --text-muted:      #7A869A;

  /* ── Borders ── */
  --border:          #243447;
  --border-hover:    #3FA9F5;
  --border-active:   #00E5FF;

  /* ── Gradients ── */
  --grad-primary:    linear-gradient(135deg, #00E5FF 0%, #2ED9C3 100%);
  --grad-hero:       linear-gradient(135deg, #0A1E33 0%, #1A4C8B 55%, #3FA9F5 100%);
  --grad-accent:     linear-gradient(135deg, #00E5FF 0%, #A6E22E 100%);
  --grad-card:       linear-gradient(145deg, #172537 0%, #0A1E33 100%);
  --grad-neon:       linear-gradient(135deg, #A6E22E 0%, #2ED9C3 100%);

  /* ── Shadows ── */
  --shadow-card:     0 20px 50px rgba(10, 30, 51, 0.5);
  --shadow-hover:    0 20px 60px rgba(63, 169, 245, 0.25);
  --shadow-blue:     0 0 32px rgba(0, 229, 255, 0.4);
  --shadow-glow:     0 0 40px rgba(0, 229, 255, 0.25);

  /* ── Dimensions ── */
  --radius:          18px;
  --radius-sm:       10px;
  --radius-xs:       8px;
  --radius-pill:     999px;

  /* ── Motion ── */
  --transition:      all 0.3s ease;
  --transition-fast: all 0.18s ease;
}

/* ================================================================
   RESET + BASE
================================================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body{
  font-family:'Poppins',sans-serif;
  min-height:100vh;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(63,169,245,.18),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      #0A1E33 0%,
      #1A4C8B 55%,
      #3FA9F5 100%
    );

  color:var(--text-white);
  overflow-x:hidden;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(255,255,255,.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.04) 1px,
      transparent 1px
    );
  background-size:48px 48px;
  pointer-events:none;
  z-index:0;
}

/* ================================================================
   SCROLLBAR — Dashboard Style
================================================================ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }

/* ================================================================
   ANIMATIONS
================================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
  50%       { box-shadow: 0 0 40px rgba(0, 229, 255, 0.6); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ================================================================

   ██████╗ ██████╗ ██╗     ██╗     ███████╗ ██████╗ ███████╗
   COLLEGES PAGE

================================================================ */

/* HERO */
.college-hero {
  position: relative;
  min-height:auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding:80px 20px 40px;
  background: transparent;
  overflow: hidden;
}

.college-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 0.75s ease;
}

.college-hero-content h1 {
  color:white;
  font-size:3.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.college-hero-content h1 span{
  background: linear-gradient(90deg, #00E5FF, #2ED9C3, #A6E22E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.college-hero-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
}

/* BENEFITS SECTION */
.benefits-section {
  padding:40px 48px 80px;
  background: transparent;
}

.benefits-section h2 {
  text-align: center;
  color: var(--text-white);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
}

/* BENEFITS GRID */
.benefits-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* BENEFIT CARD */
.benefit-card {
  background: linear-gradient(145deg, #172537 0%, #0A1E33 100%);
  border: 1px solid #243447;
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 220px;
  transition: var(--transition);
  box-shadow: 0 20px 50px rgba(10, 30, 51, 0.5);
  position: relative;
  overflow: hidden;
}

/* Top accent strip */
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5FF, #A6E22E, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.benefit-card:hover{
  transform:
    translateY(-8px)
    scale(1.02);

  border-color:#3FA9F5;

  box-shadow:
    0 20px 60px rgba(63, 169, 245, 0.25);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card h3 {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.benefit-card ul { list-style: none; }

.benefit-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 2.1;
}

.benefit-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color:#A6E22E;
  font-weight: 700;
  font-size: 0.85rem;
}

/* CTA — PARTNER SECTION */
.partner-section {
  background: transparent;
  border-top: 1px solid #243447;
  text-align: center;
  padding: 110px 20px;
  position: relative;
  overflow: hidden;
}

.partner-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(63, 169, 245, 0.18) 0%, transparent 70%);
}

.partner-section h2 {
  position: relative;
  color: var(--text-white);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.partner-section p {
  position: relative;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.partner-btn {
  position: relative;
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
  background: #00E5FF;
  color: #0A1E33;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  padding: 18px 52px;
  border-radius: 10px;
  box-shadow: none;
  transition: 0.25s;
  letter-spacing: 0.2px;
}

.partner-btn:hover {
  background: #2ED9C3;
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* RESPONSIVE — COLLEGES */
@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .college-hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .benefits-section h2,
  .partner-section h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-section { padding: 48px 16px; }
  .partner-section { padding: 60px 16px; }
}

@media (max-width: 480px) {
  .college-hero-content h1 { font-size: 1.6rem; }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
