/* ==========================================================================
   SAC — Enhanced UI/UX Stylesheet v2
   Modern animations, glass morphism, micro-interactions, premium feel
   ========================================================================== */

/* Google Fonts — Inter + Outfit */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. CSS Reset + Root Variables
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #318FDB;
  --blue-light: #60b3f7;
  --blue-dark: #2a7cc7;
  --green: #28a745;
  --green-light: #20c997;
  --navy: #0d2137;
  --navy-mid: #1a3a5c;
  --text: #1a1e23;
  --text-muted: #5e6670;
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --bg-glass: rgba(255,255,255,0.7);
  --border: rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(49,143,219,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }
table { border-collapse: collapse; }

/* ==========================================================================
   2. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); font-family: var(--font-display); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
small { font-size: 0.875rem; }
.text-center { text-align: center; }
.text-white { color: #fff; }

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.section { padding: 5rem 0; }
.section--gray { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.5rem; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -10px; width: 60px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 2px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 1rem auto 0; }

/* ==========================================================================
   4. Buttons — Premium
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn--primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}
.btn--primary:hover { box-shadow: 0 8px 25px rgba(40,167,69,0.4); background: linear-gradient(135deg, #219a38, var(--green)); }

.btn--secondary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(49,143,219,0.3);
}
.btn--secondary:hover { box-shadow: 0 8px 25px rgba(49,143,219,0.4); background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }

.btn--outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn--outline:hover { background: var(--blue); color: #fff; box-shadow: 0 8px 25px rgba(49,143,219,0.3); }

.btn--white { background: #fff; color: var(--blue); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn--white:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ==========================================================================
   5. Hero Section — Enhanced
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #1a3a5c 70%, #1e4a6e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(49,143,219,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(40,167,69,0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(96,179,247,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}

/* Animated mesh gradient */
.hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    radial-gradient(circle at 25% 25%, rgba(49,143,219,0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(40,167,69,0.2) 0%, transparent 50%);
  animation: meshMove 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshMove {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.1); }
  100% { transform: translate(20px, -10px) scale(1.05); }
}

/* Floating shapes */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: heroFloat 20s ease-in-out infinite;
}
.hero__shape--1 { width: 500px; height: 500px; background: var(--blue); top: -150px; right: -150px; animation-delay: 0s; }
.hero__shape--2 { width: 300px; height: 300px; background: var(--green); bottom: 10%; left: -80px; animation-delay: -7s; }
.hero__shape--3 { width: 200px; height: 200px; background: var(--blue-light); top: 40%; right: 15%; animation-delay: -14s; }

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -35px) scale(1.06); }
  50% { transform: translate(-20px, 25px) scale(0.94); }
  75% { transform: translate(30px, 18px) scale(1.04); }
}

/* Particles */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(-100px) translateX(30px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero h1 span {
  background: linear-gradient(135deg, #60b3f7, #6dd5ed, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__stat { text-align: center; }

.hero__stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ==========================================================================
   6. Cards — Premium Glass
   ========================================================================== */

.services__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 576px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49,143,219,0.03), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

.card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(49,143,219,0.1), rgba(49,143,219,0.05));
  color: var(--blue);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.card:hover .card__icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(49,143,219,0.3);
}

.card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; position: relative; z-index: 1; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; position: relative; z-index: 1; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.card__link::after {
  content: '→';
  transition: transform 0.25s ease;
}

.card__link:hover::after { transform: translateX(4px); }

.card--green .card__icon { background: linear-gradient(135deg, rgba(40,167,69,0.1), rgba(40,167,69,0.05)); color: var(--green); }
.card--green:hover .card__icon { background: linear-gradient(135deg, var(--green), var(--green-light)); box-shadow: 0 8px 20px rgba(40,167,69,0.3); }
.card--blue .card__icon { background: linear-gradient(135deg, rgba(49,143,219,0.1), rgba(49,143,219,0.05)); color: var(--blue); }

/* Feature row */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.feature-row:nth-child(even) .feature-row__content { order: 2; }
.feature-row:nth-child(even) .feature-row__image { order: 1; }

@media (min-width: 768px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row:nth-child(even) .feature-row__content { order: 1; }
  .feature-row:nth-child(even) .feature-row__image { order: 2; }
}

.feature-row__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f0f4f8;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.feature-row__image:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.feature-row__image img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__content h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: 1rem; }
.feature-row__content p { color: var(--text-muted); margin-bottom: 1.5rem; }

.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.feature-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, rgba(40,167,69,0.15), rgba(40,167,69,0.05));
  color: var(--green);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   7. Stats
   ========================================================================== */

.stats {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 80%, rgba(49,143,219,0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(40,167,69,0.08) 0%, transparent 30%);
  pointer-events: none;
}

.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.stats__item { text-align: center; padding: 1.5rem 0; }

.stats__number {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stats__number span { font-size: 0.6em; font-weight: 600; color: rgba(255,255,255,0.5); }
.stats__label { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; }

.stats__divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* ==========================================================================
   8. Partners
   ========================================================================== */

.partners__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: center; justify-items: center; }
@media (min-width: 576px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .partners__grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.35s ease;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.partner-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.partner-card img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.35s ease;
}

.partner-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ==========================================================================
   9. CTA
   ========================================================================== */

.cta {
  padding: 6rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 50%, var(--blue-dark) 100%);
  background-size: 200% 200%;
  animation: ctaGradient 8s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta__content { position: relative; z-index: 1; max-width: 650px; margin: 0 auto; }
.cta h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(1.5rem, 4vw, 2.5rem); }
.cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ==========================================================================
   10. Footer — Enhanced
   ========================================================================== */

.footer { background: #0a1628; color: rgba(255,255,255,0.7); padding: 5rem 0 0; }

.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 576px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer__brand { max-width: 320px; }
.footer__brand-logo { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 1rem; font-family: var(--font-display); }
.footer__brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.footer__social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(49,143,219,0.3); }

.footer__heading { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; font-family: var(--font-display); }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a { font-size: 0.9rem; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 0.3rem; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }

.footer__contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.footer__contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer__bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { font-size: 0.85rem; transition: color 0.2s; }
.footer__bottom-links a:hover { color: #fff; }

/* ==========================================================================
   11. Forms / Contact
   ========================================================================== */

.form-section { padding: 5rem 0; }
.form-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .form-section__grid { grid-template-columns: 1fr 1fr; } }

.form-info { display: flex; flex-direction: column; gap: 1.5rem; }
.form-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.form-info__item:hover { background: #fff; box-shadow: var(--shadow-md); }

.form-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(49,143,219,0.1), rgba(49,143,219,0.05));
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.form-info__text h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.form-info__text p, .form-info__text a { font-size: 0.9rem; color: var(--text-muted); }
.form-info__text a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #444; margin-bottom: 0.5rem; }
.form-group label .required { color: #dc3545; margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  color: #333;
}

.form-control::placeholder { color: #aaa; }
.form-control:hover { background: #f0f1f3; }
.form-control:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,143,219,0.1); }
textarea.form-control { min-height: 140px; resize: vertical; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 576px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-checkbox { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.5rem; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.form-checkbox label { font-size: 0.88rem; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
.form-checkbox label a { color: var(--blue); font-weight: 500; }
.form-checkbox label a:hover { text-decoration: underline; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; }

.form-success {
  background: rgba(40,167,69,0.08);
  border: 1px solid rgba(40,167,69,0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.5s ease;
}

.form-success__icon { font-size: 1.5rem; flex-shrink: 0; }
.form-success__text h4 { color: var(--green); margin-bottom: 0.25rem; }
.form-success__text p { font-size: 0.9rem; color: var(--text-muted); }

.form-error {
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.form-error__icon { font-size: 1.5rem; flex-shrink: 0; }
.form-error__text h4 { color: #dc3545; margin-bottom: 0.25rem; }
.form-error__text p { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.35s ease;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: 1rem; color: #ffc107; font-size: 0.9rem; }

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--blue);
}

.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-card__name { font-weight: 600; font-size: 0.95rem; color: #333; }
.testimonial-card__role { font-size: 0.8rem; color: #999; }

/* ==========================================================================
   13. Section Header + College Cards
   ========================================================================== */

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); color: var(--navy); position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--blue); margin: 0.75rem auto 0; border-radius: 2px; }

.college-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.college-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
}

.college-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }

.college-card-logo { display: flex; align-items: center; justify-content: center; height: 120px; margin-bottom: 1.25rem; }
.college-card-logo img { max-height: 100%; max-width: 80%; object-fit: contain; }
.college-card-name { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ==========================================================================
   14. Page Header (inner pages)
   ========================================================================== */

.page-header {
  padding: 8rem 1rem 3.5rem;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(49,143,219,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(40,167,69,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, #fff, transparent);
}

.page-header h1 { color: #fff; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: rgba(255,255,255,0.9); }

/* ==========================================================================
   15. Scroll Reveal + Animations
   ========================================================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ==========================================================================
   16. Scroll Progress Bar
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ==========================================================================
   17. Loading Screen
   ========================================================================== */

.page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   18. Utilities
   ========================================================================== */

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }

/* Selection */
::selection { background: rgba(49,143,219,0.2); color: #333; }

/* Print */
@media print {
  .site-nav, .footer, .hero::after { display: none; }
  body { font-size: 12pt; color: #000; }
  a { text-decoration: underline; }
}
