/* style.css - Complete Responsive CSS for NLC-AIT 2026 */
:root {
  --primary: #2563eb;
  --primary-dark: #1e4a8b;
  --primary-light: #60a5fa;
  --primary-gradient: linear-gradient(135deg, #2563eb, #1e4a8b);
  --accent: #7c3aed;
  --dark: #1e293b;
  --gray: #475569;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
  --shadow-lg: 0 20px 30px -10px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: url('img1.jpg') center/cover fixed;
  min-height: 100vh;
  color: var(--dark);
  line-height: 1.6;
}

/* Overlay for background image */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  z-index: -1;
}

/* Container - responsive */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  width: 0;
  transition: width 0.1s ease;
}

/* ===== NAVBAR - FULLY RESPONSIVE WITH VISIBLE REGISTER ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
  width: 100%;
}

.navbar.scrolled {
  padding: 0.3rem 0;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 4px 8px rgba(37,99,235,0.2);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .logo-icon { width: 45px; height: 45px; }
}

@media (min-width: 768px) {
  .logo-icon { width: 55px; height: 55px; border-radius: 12px; }
}

@media (min-width: 1024px) {
  .logo-icon { width: 60px; height: 60px; }
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

@media (min-width: 480px) {
  .logo-main { font-size: 1.3rem; }
}

@media (min-width: 768px) {
  .logo-main { font-size: 1.6rem; }
}

@media (min-width: 1024px) {
  .logo-main { font-size: 1.8rem; }
}

.logo-main .accent {
  color: var(--primary);
}

.logo-year {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .logo-year { font-size: 0.7rem; letter-spacing: 2px; }
}

@media (min-width: 1024px) {
  .logo-year { font-size: 0.8rem; letter-spacing: 3px; }
}

/* Register Button - Always Visible */
.btn-register-glow {
  display: flex !important;
  align-items: center;
  gap: 0.3rem;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.7rem;
  box-shadow: 0 4px 10px rgba(37,99,235,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-register-glow i {
  font-size: 0.6rem;
}

@media (min-width: 480px) {
  .btn-register-glow {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  .btn-register-glow i { font-size: 0.7rem; }
}

@media (min-width: 768px) {
  .btn-register-glow {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  .btn-register-glow i { font-size: 0.8rem; }
}

@media (min-width: 1024px) {
  .btn-register-glow {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
}

.btn-register-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37,99,235,0.4);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px 5px;
  z-index: 1001;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.toggle-line {
  width: 22px;
  height: 2.5px;
  background: var(--dark);
  border-radius: var(--radius-full);
  transition: transform 0.3s, opacity 0.2s;
}

@media (min-width: 768px) {
  .toggle-line { width: 25px; }
}

.menu-toggle.active .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Menu - Mobile First */
.nav-menu {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: calc(100vh - 60px);
  background: white;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  list-style: none;
  box-shadow: 2px 0 25px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  z-index: 999;
  border-radius: 0 20px 20px 0;
  overflow-y: auto;
}

.nav-menu.active {
  left: 0;
}

/* Mobile menu items */
.nav-item {
  width: 100%;
}

.nav-link {
  display: block;
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(37,99,235,0.08);
  color: var(--primary);
}

/* Menu overlay (mobile only) */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== DESKTOP NAVIGATION - ONE LINE MENU ===== */
@media (min-width: 1024px) {
  .navbar {
    padding: 0.8rem 0;
  }
  
  .nav-container {
    gap: 1rem;
  }
  
  .nav-menu {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    gap: 1rem;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    overflow-y: visible;
    margin: 0 0.5rem;
  }
  
  .nav-item {
    width: auto;
  }
  
  .nav-link {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    border-radius: 0;
    position: relative;
    color: var(--dark);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.2s ease;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: transparent;
    color: var(--primary);
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 1.5rem;
    margin: 0 1rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
}

@media (min-width: 1360px) {
  .nav-menu {
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 1rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 2rem 0 3rem;
}

@media (min-width: 768px) {
  .hero { padding: 3rem 0 5rem; }
}

@media (min-width: 1024px) {
  .hero { padding: 4rem 0 6rem; }
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
}

/* Badges */
.accreditation-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.badge-item {
  background: white;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .badge-item {
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
  }
}

/* Hero titles */
.hero-title {
  font-family: var(--font-heading);
  margin-bottom: 1.2rem;
}

.title-block {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .title-block { font-size: 2rem; }
}

@media (min-width: 768px) {
  .title-block { font-size: 2.4rem; }
}

@media (min-width: 1024px) {
  .title-block { font-size: 2.8rem; }
}

.title-block.accent {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray);
}

@media (min-width: 768px) {
  .title-block.accent { font-size: 1.4rem; }
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero meta */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
}

@media (min-width: 640px) {
  .meta-item { font-size: 0.85rem; gap: 0.5rem; }
}

.meta-item i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}

@media (min-width: 640px) {
  .btn {
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
  }
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Countdown stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  width: fit-content;
  border: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .hero-stats {
    gap: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 35px;
}

@media (min-width: 640px) {
  .stat-item { min-width: 45px; }
}

.stat-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .stat-number { font-size: 1.4rem; }
}

@media (min-width: 1024px) {
  .stat-number { font-size: 1.8rem; }
}

.stat-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  font-weight: 600;
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }
}

.stat-divider {
  width: 1px;
  height: 20px;
  background: #e2e8f0;
}

@media (min-width: 640px) {
  .stat-divider { height: 25px; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

@media (min-width: 768px) {
  .hero-visual { min-height: 280px; }
}

.hero-orb {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero-orb { width: 180px; height: 180px; }
}

@media (min-width: 768px) {
  .hero-orb { width: 220px; height: 220px; }
}

@media (min-width: 1024px) {
  .hero-orb { width: 280px; height: 280px; }
}

.orb-inner {
  width: 100px;
  height: 100px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

@media (min-width: 480px) {
  .orb-inner {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .orb-inner {
    width: 140px;
    height: 140px;
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .orb-inner {
    width: 160px;
    height: 160px;
    font-size: 4rem;
  }
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: white;
  padding: 0.3rem 0.8rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.6rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

@media (min-width: 480px) {
  .floating-card {
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    gap: 0.4rem;
  }
}

@media (min-width: 768px) {
  .floating-card {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    gap: 0.5rem;
  }
}

.floating-card i {
  color: var(--primary);
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .floating-card i { font-size: 1rem; }
}

.card-1 { top: 5%; left: -5%; }
.card-2 { top: 40%; left: -10%; }
.card-3 { top: 20%; right: -5%; }
.card-4 { bottom: 15%; right: 0; }

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 2rem 0;
  background: white;
  margin: 1rem 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .section {
    padding: 3rem 0;
    margin: 1.5rem 0;
    border-radius: 28px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(37,99,235,0.08);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 0.7rem;
    padding: 0.3rem 1.2rem;
    letter-spacing: 2px;
  }
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 2.4rem; }
}

.title-separator {
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  margin: 0.6rem auto 0;
  border-radius: 3px;
}

@media (min-width: 768px) {
  .title-separator {
    width: 60px;
    height: 4px;
  }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
  }
}

.about-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .about-card { padding: 1.8rem; }
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.stats-mini-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.mini-stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.mini-stat-label {
  font-size: 0.75rem;
  color: var(--gray);
}

.vision-mission-grid {
  display: grid;
  gap: 1.5rem;
}

.vision-card,
.mission-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.card-header-glow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.card-header-glow i {
  font-size: 1.5rem;
  color: var(--primary);
}

.mission-list {
  list-style: none;
  padding-left: 0;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.mission-list i {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* ===== INSTITUTION SHOWCASE ===== */
.institution-showcase {
  background: var(--primary-gradient);
  padding: 2rem 0;
  color: white;
  border-radius: 24px;
  margin: 1rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .institution-showcase {
    padding: 2.5rem 0;
    border-radius: 32px;
  }
}

.showcase-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.showcase-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .showcase-content h3 { font-size: 1.6rem; }
}

.accreditation-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.accredit-badge {
  background: rgba(255,255,255,0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .accredit-badge {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
  }
}

.showcase-text {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* ===== COMMITTEE SECTION ===== */
.leadership-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .leadership-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.leadership-card {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  position: relative;
}

@media (min-width: 768px) {
  .leadership-card { padding: 1.8rem 1.2rem; }
}

.leadership-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 700;
}

/* Principal Image */
.principal-image-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(37,99,235,0.25);
  border: 3px solid white;
}

@media (min-width: 768px) {
  .principal-image-container {
    width: 150px;
    height: 150px;
    border-width: 4px;
  }
}

@media (min-width: 1024px) {
  .principal-image-container {
    width: 200px;
    height: 200px;
    border-width: 5px;
  }
}

.principal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.principal-image-glow {
  display: none;
}

.principal-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .principal-name { font-size: 1.3rem; }
}

.designation {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.role-highlight {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.principal-contact {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.principal-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(37,99,235,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}

@media (min-width: 768px) {
  .principal-contact-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}

.principal-contact-icon:hover {
  background: var(--primary);
  color: white;
}

.leadership-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

@media (min-width: 768px) {
  .leadership-avatar {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

/* Committee grid */
.committee-grid {
  display: grid;
  gap: 1rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .committee-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.committee-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.committee-card.highlight {
  border: 2px solid var(--primary);
}

.committee-header {
  background: var(--primary-gradient);
  color: white;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.committee-header i { font-size: 1rem; }
.committee-header h4 { font-size: 0.9rem; }

.committee-body {
  padding: 1rem;
}

.member {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.member:last-child { border-bottom: none; }

.member-name {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.member-role {
  font-size: 0.7rem;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.member-contact {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  background: rgba(37,99,235,0.08);
  border-radius: 50px;
}

.divine-blessings {
  text-align: center;
  padding: 1.5rem 1rem;
  margin: 1.5rem 1rem 0;
  background: #f8fafc;
  border-radius: 20px;
}

.divine-blessings i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ===== TOPICS SECTION ===== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .topics-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.topic-item {
  background: white;
  padding: 1rem 0.5rem;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

.topic-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.topic-item i {
  font-size: 1.4rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .topic-item {
    padding: 1.5rem 0.5rem;
    font-size: 0.85rem;
  }
  .topic-item i { font-size: 1.8rem; }
}

.paper-format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  margin: 0 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
}

@media (min-width: 640px) {
  .paper-format-card {
    flex-direction: row;
    text-align: left;
    padding: 1.5rem 2rem;
  }
}

.format-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.format-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.format-badge {
  background: rgba(37,99,235,0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== TIMELINE SECTION ===== */
.timeline-desktop {
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .timeline-desktop {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: rgba(37,99,235,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .timeline-marker {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

.timeline-date {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== PRICING SECTION ===== */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pricing-card {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .pricing-card { padding: 1.8rem 1.2rem; }
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 700;
}

.pricing-icon {
  width: 60px;
  height: 60px;
  background: rgba(37,99,235,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pricing-icon i {
  font-size: 1.8rem;
  color: var(--primary);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin: 0.8rem 0 0.2rem;
}

.currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
}

.amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

@media (min-width: 768px) {
  .amount { font-size: 2.5rem; }
}

.price-period {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.pricing-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.pricing-features i {
  color: var(--primary);
  font-size: 0.8rem;
}

.spot-registration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  background: #eef2ff;
  padding: 1.5rem;
  margin: 2rem 1rem 0;
  border-radius: 24px;
}

@media (min-width: 640px) {
  .spot-registration-card {
    flex-direction: row;
    text-align: left;
    padding: 1.5rem 2rem;
  }
}

.spot-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.spot-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.contact-card {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}

.contact-link {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  margin: 0.5rem 0 0.2rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--gray);
}

.student-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.student-contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.85rem;
}

.student-contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  background: rgba(37,99,235,0.08);
  border-radius: 50px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
  border-radius: 32px 32px 0 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer {
    padding: 2.5rem 0;
    margin-top: 2.5rem;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
  .footer-logo-img {
    width: 45px;
    height: 45px;
  }
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .footer-logo span { font-size: 1.4rem; }
}

.footer-text {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.footer-org {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.7rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 999;
}

@media (min-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  body { color: #f1f5f9; }
  .bg-overlay { background: rgba(15, 23, 42, 0.95); }
  .navbar { background: rgba(15, 23, 42, 0.95); }
  .nav-menu { background: var(--dark); }
  .nav-link { 
    color: #f1f5f9; 
  }
  .toggle-line { background: white; }
  .section, .about-card, .vision-card, .mission-card,
  .committee-card, .pricing-card, .contact-card,
  .topic-item, .timeline-item, .paper-format-card,
  .divine-blessings, .spot-registration-card {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }
  .logo-main { color: white; }
  .badge-item, .hero-stats, .floating-card {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
  }
  .stat-divider { background: #334155; }
  .member-contact { background: rgba(37,99,235,0.2); color: var(--primary-light); }
  .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary-light);
  }
  .btn-outline:hover {
    background: var(--primary-light);
    color: #1e293b;
  }
}   
/* Logo Styles - Optimized for 1142px × 2732px original size */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
  width: 60px; /* Fixed width */
  height: 60px; /* Fixed height - maintains aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 4px 8px rgba(37,99,235,0.2);
  flex-shrink: 0;
}

/* Responsive sizing */
@media (min-width: 768px) {
  .logo-icon { 
    width: 70px; 
    height: 70px; 
  }
}

@media (min-width: 1024px) {
  .logo-icon { 
    width: 80px; 
    height: 80px; 
  }
}

@media (min-width: 1440px) {
  .logo-icon { 
    width: 90px; 
    height: 90px; 
  }
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area without distortion */
  object-position: center;
  display: block;
}

/* Footer logo */
.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
  .footer-logo-img {
    width: 60px;
    height: 60px;
  }
}