/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Permanent Dark Theme Colors */
  --bg: #0b0f14;
  --text: #e6eef8;
  --card-bg: #0f1720;
  --muted: #9aa6b2;
  --accent: #58a6ff;
  --dark-bg: #0f1720;
  
  /* Color Palette */
  --olive: #9ACD32;
  --crimson: #FF6B6B;
  --sea-green: #2E8B57;
  --emerald: #50C878;
  --dark-olive: #6B8E23;
  --light-olive: #B8B854;
  --dark-crimson: #FF4757;
  --light-crimson: #FF6B6B;
  --dark-sea-green: #1E6B4E;
  --light-sea-green: #7FC7A0;
  --dark-emerald: #28A745;
  --light-emerald: #90EE90;
  --light-bg: #1a2432;
  --text-light: #FFFFFF;
  --gray: #94a3b8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--sea-green), var(--emerald));
  --gradient-secondary: linear-gradient(135deg, var(--olive), var(--dark-olive));
  --gradient-accent: linear-gradient(135deg, var(--crimson), var(--dark-crimson));
}

/* Import Better Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-color: var(--bg);
  overflow-x: hidden;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('images/campus.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  z-index: 1;
}

/* ===== BEAUTIFUL NAVBAR DESIGN ===== */
.topbar {
  background: var(--card-bg);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid var(--emerald);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  max-width: 100vw;
  overflow: visible;
}

.brand a {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--sea-green), var(--emerald), var(--crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.brand a:hover {
  transform: scale(1.05);
}

.topbar nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.topbar nav a {
  text-decoration: none;
  font-weight: 600;
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 3vw, 1.8rem);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: transparent;
  border: 2px solid transparent;
  color: var(--text) !important;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.topbar nav a:hover {
  background: var(--sea-green);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
  border-color: var(--sea-green);
}

/* ===== DROPDOWN FIX ===== */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 1002;
}

.dropdown-toggle {
  position: relative;
  padding-right: clamp(2rem, 4vw, 2.5rem) !important;
}

.dropdown-toggle::after {
  content: '▼';
  position: absolute;
  right: clamp(0.8rem, 2vw, 1rem);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: inherit;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--card-bg);
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  z-index: 1003;
  top: 100%;
  left: 0;
  margin-top: 8px;
  overflow: visible;
  border: 2px solid var(--emerald);
}

.dropdown-content a {
  color: var(--text) !important;
  padding: 1rem 1.5rem !important;
  text-decoration: none !important;
  display: block !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
  position: relative;
  z-index: 1004;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: var(--sea-green);
  color: white !important;
  transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: smoothDropdown 0.3s ease;
}

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

/* Colorful Subject Dropdown Items */
.dropdown-content a[href="oops.html"] { border-left: 4px solid #FF6B35 !important; }
.dropdown-content a[href="coa.html"] { border-left: 4px solid #4ECDC4 !important; }
.dropdown-content a[href="datastructures.html"] { border-left: 4px solid #FFD166 !important; }
.dropdown-content a[href="sdc.html"] { border-left: 4px solid #FF6B8B !important; }
.dropdown-content a[href="maths.html"] { border-left: 4px solid #A78BFA !important; }
.dropdown-content a[href="digitalelectronics.html"] { border-left: 4px solid #2DD4BF !important; }

/* Actions - Show login button */
.actions {
  display: flex !important;
  gap: 1rem;
  align-items: center;
  z-index: 1001;
}

.login-button {
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 3vw, 1.8rem);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  background: var(--gradient-primary);
  color: white !important;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
  text-decoration: none;
  color: white !important;
}

#theme-toggle {
  display: none !important;
}

/* Hide logout buttons initially */
#logout-btn, #user-info {
  display: none !important;
}

/* ===== HOME PAGE STYLES ===== */
.home-container {
  flex: 1;
  padding: 0;
  max-width: 100%;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* Hero Section - FIXED TEXT STAYS IN PLACE */
.hero-section {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 2rem;
  background: transparent !important;
  position: relative;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 25px;
  display: inline-block;
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--emerald);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--emerald);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: min(90%, 800px); /* FIX: Prevents stretching on large screens */
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}

.hero-section .lead {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--emerald);
  margin-bottom: 0;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  max-width: min(90%, 700px); /* FIX: Prevents stretching on large screens */
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}

/* Enhanced Hero Section - Black Glass Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: 2rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.stat {
  text-align: center;
  background: var(--card-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 15px;
  border: 2px solid var(--emerald);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: min(140px, 30vw);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
}

.stat:hover {
  background: var(--light-bg);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(46, 139, 87, 0.4);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--emerald);
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
  display: block;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--text);
  margin-top: 0.5rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Quick Navigation */
.quick-nav {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  background: var(--card-bg);
  border-radius: 15px;
  text-decoration: none;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
  background: var(--sea-green);
}

.nav-card:hover .nav-icon,
.nav-card:hover .nav-title,
.nav-card:hover .nav-desc {
  color: white;
}

.nav-icon {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--emerald);
}

.nav-title {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.nav-desc {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--muted);
}

/* Content Sections */
.content-section {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--emerald);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 20px 20px 0 0;
}

.content-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--emerald);
  text-align: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 1rem;
  word-wrap: break-word;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100px, 30vw);
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.content-section h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--emerald);
  margin: 2rem 0 1rem 0;
  text-align: center;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  word-wrap: break-word;
}

.content-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.content-text p {
  margin-bottom: 1.5rem;
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.2rem);
  border-radius: 10px;
  border-left: 4px solid var(--emerald);
  word-wrap: break-word;
}

/* Enhanced Content Styles */
.intro, .conclusion, .final-message {
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.2), rgba(80, 200, 120, 0.2)) !important;
  padding: clamp(1rem, 2vw, 1.5rem) !important;
  border-radius: 12px !important;
  border-left: 5px solid var(--emerald) !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  word-wrap: break-word;
}

.highlight-box {
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 12px;
  border: 2px solid var(--olive);
  margin: 1.5rem 0;
}

.highlight-box h3 {
  color: var(--olive);
  margin-bottom: 1rem;
  text-align: left;
}

.achievement {
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 12px;
  border-left: 5px solid var(--crimson);
  margin: 1.5rem 0;
}

.achievement h3 {
  color: var(--crimson);
  text-align: left;
  margin-bottom: 1rem;
}

/* Styled Lists */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.styled-list li {
  padding: clamp(1rem, 2vw, 1.2rem) clamp(1rem, 2vw, 1.5rem);
  margin: 0.8rem 0;
  background: var(--light-bg);
  border-left: 4px solid var(--emerald);
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(46, 139, 87, 0.3);
  color: var(--text);
  word-wrap: break-word;
}

.styled-list li:hover {
  background: rgba(46, 139, 87, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.styled-list li strong {
  color: var(--emerald);
  font-weight: 600;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin: 2rem 0;
}

.program-card {
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 12px;
  border: 2px solid var(--emerald);
}

.program-card h3 {
  color: var(--emerald);
  text-align: left;
  margin-bottom: 1rem;
}

/* Course List Specific */
.course-list li {
  border-left-color: var(--olive);
}

.course-list li:hover {
  background: rgba(154, 205, 50, 0.2);
}

/* Benefits List Specific */
.benefits-list li {
  border-left-color: var(--crimson);
}

.benefits-list li:hover {
  background: rgba(255, 107, 107, 0.2);
}

/* Course Highlights */
.course-highlights {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 2rem 0;
  flex-wrap: wrap;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-bg);
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: 25px;
  border: 2px solid var(--olive);
  flex: 1;
  min-width: min-content;
}

.highlight-icon {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.highlight-text {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Recruiters Section */
.recruiters {
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem);
  margin: 2rem 0;
  background: linear-gradient(135deg, 
    rgba(154, 205, 50, 0.1) 0%, 
    rgba(255, 107, 107, 0.05) 100%);
  border-radius: 15px;
  border: 2px solid var(--olive);
}

.recruiters strong {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--olive);
  line-height: 1.6;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  word-wrap: break-word;
}

/* Placement Process */
.placement-process {
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 12px;
  border-left: 5px solid var(--emerald);
  margin: 1.5rem 0;
}

.placement-process h3 {
  color: var(--emerald);
  text-align: left;
  margin-bottom: 1rem;
}

/* Placement Stats */
.placement-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 2rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--light-bg);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid var(--emerald);
}

.stat-item:hover {
  background: rgba(46, 139, 87, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.stat-icon {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-right: 1rem;
}

.stat-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

/* Why Choose Grid */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 2rem 0;
}

.choice-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 12px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
}

.choice-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.choice-icon {
  font-size: clamp(1.5rem, 3vw, 2rem);
  flex-shrink: 0;
}

.choice-content h4 {
  color: var(--emerald);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.choice-content p {
  margin: 0;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--text);
}

/* Call to Action */
.cta-section {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%);
  margin-top: 3rem;
  border-top: 3px solid var(--emerald);
}

.cta-content h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 2rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
  background: white;
  color: var(--sea-green);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.cta-button.primary {
  background: white;
  color: var(--sea-green);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.tertiary {
  background: var(--olive);
  color: white;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--sea-green);
}

.cta-button.tertiary:hover {
  background: var(--dark-olive);
}

/* ===== BEAUTIFUL FOOTER ===== */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo h3 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  background: linear-gradient(135deg, var(--sea-green), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

.footer-logo p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  opacity: 0.9;
  font-family: 'Inter', sans-serif;
}

.footer-info {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

.footer-info p {
  margin: 0.5rem 0;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-family: 'Inter', sans-serif;
  opacity: 0.9;
  word-wrap: break-word;
}

/* ===== MOBILE DROPDOWN FIXES ===== */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    position: relative;
  }
  
  .topbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    order: 2;
    width: 100%;
  }
  
  .brand {
    order: 1;
  }
  
  .actions {
    order: 3;
    margin-top: 1rem;
  }
  
  .topbar nav a {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
  
  /* MOBILE DROPDOWN FIX */
  .dropdown {
    position: static; /* Change for mobile */
  }
  
  .dropdown-content {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    display: none;
    box-shadow: none;
    border: 2px solid var(--emerald);
    border-radius: 12px;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
    padding: 1.2rem 1.5rem;
    max-width: 95%;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    max-width: 95%;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat {
    min-width: 120px;
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .content-section {
    padding: 2rem 1rem;
    margin: 0 1rem 1rem 1rem;
  }
  
  .content-section h2 {
    font-size: 2rem;
  }
  
  .content-section h3 {
    font-size: 1.5rem;
  }
  
  .nav-cards {
    grid-template-columns: 1fr;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .choice-grid {
    grid-template-columns: 1fr;
  }
  
  .placement-stats {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 250px;
  }
  
  .course-highlights {
    flex-direction: column;
    align-items: center;
  }
  
  .highlight {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand a {
    font-size: 1.8rem;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
    padding: 1rem 1.2rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat {
    width: 100%;
    max-width: 200px;
  }
  
  .content-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .highlight {
    width: 100%;
    justify-content: center;
  }
  
  .topbar nav a {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .login-button {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  /* MOBILE DROPDOWN FIX */
  .dropdown-content {
    position: static;
    width: 100%;
  }
}

/* Ultra-wide screen support */
@media (min-width: 1921px) {
  .content-section,
  .quick-nav,
  .footer-content {
    max-width: 1400px;
  }
  
  .hero-section h1,
  .hero-section .lead {
    max-width: 60%; /* Prevents stretching on ultra-wide screens */
  }
}

/* Curved monitor and ultra-wide fixes */
@media (min-width: 2000px) {
  body {
    display: flex;
    justify-content: center;
  }
  
  .app {
    max-width: 2000px;
    width: 100%;
  }
  
  .hero-section h1,
  .hero-section .lead {
    max-width: 50%; /* Further prevents stretching on curved monitors */
  }
}

/* ===== Q&A COLLAPSIBLE STYLES ===== */
.qa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.qa-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--emerald);
  background: var(--card-bg);
}

.qa-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--card-bg);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.qa-question:hover {
  background: var(--light-bg);
}

.qa-question.active {
  background: var(--light-bg);
  border-bottom: 2px solid var(--emerald);
}

.question-text {
  flex: 1;
  margin-right: 1rem;
  text-align: left;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--emerald);
  min-width: 20px;
  text-align: center;
}

.qa-question.active .toggle-icon {
  transform: rotate(45deg);
  color: var(--crimson);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: var(--light-bg);
}

.qa-answer.active {
  max-height: 2000px; /* Large enough to accommodate content */
  padding: 0;
}

.answer-content {
  padding: 2rem;
  background: var(--light-bg);
}

.answer-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.answer-content b {
  color: var(--emerald);
}

.answer-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.answer-content li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.answer-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid var(--emerald);
}

/* Responsive Design for Q&A */
@media (max-width: 768px) {
  .qa-container {
    padding: 0 0.5rem;
  }
  
  .qa-question {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }
  
  .question-text {
    margin-right: 0.8rem;
  }
  
  .answer-content {
    padding: 1.5rem 1rem;
  }
  
  .toggle-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .qa-question {
    padding: 1rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .answer-content {
    padding: 1rem 0.8rem;
  }
  
  .question-text {
    margin-right: 0.5rem;
  }
}





























/* About Us Page Specific Styles */
body {
  background: linear-gradient(rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.9)), 
              url('../images/bgimage.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
}

.app {
  background: transparent !important;
}

.about-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent !important;
  position: relative;
  max-width: 100vw;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.1;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.1), transparent);
  transition: left 0.6s ease;
}

.about-hero h1:hover::before {
  left: 100%;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 800px);
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* Credits Button Styles */
.credits-button-container {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.credits-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #FFD166, #FFB347, #FF6B6B);
  color: white;
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.credits-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.credits-button:hover::before {
  left: 100%;
}

.credits-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
  border-color: white;
}

.credits-icon {
  font-size: 1.3em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.credits-text {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.credits-arrow {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.credits-button:hover .credits-arrow {
  transform: translateX(5px);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about-container {
  max-width: 1400px;
  margin: 0 auto 4rem auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}

.about-section {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

.about-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.section-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  backdrop-filter: blur(5px);
}

.about-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--emerald);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-content {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.section-content p {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Mission Section */
.mission-section {
  border-color: var(--sea-green);
}

.mission-section::before {
  background: linear-gradient(135deg, var(--sea-green), var(--emerald));
}

/* Vision Section */
.vision-section {
  border-color: var(--olive);
}

.vision-section::before {
  background: linear-gradient(135deg, var(--olive), var(--dark-olive));
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2rem;
}

.vision-card {
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(5px);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.vision-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.vision-card p {
  text-align: center;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* Features Section */
.features-section {
  border-color: var(--crimson);
}

.features-section::before {
  background: linear-gradient(135deg, var(--crimson), var(--dark-crimson));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.feature-icon {
  font-size: clamp(2rem, 3vw, 2.5rem);
  flex-shrink: 0;
  padding: 0.5rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.feature-content {
  flex: 1;
}

.feature-content h4 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.feature-content p {
  text-align: left;
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.6;
}

/* Notice Section */
.notice-section {
  border-color: #FFD166;
}

.notice-section::before {
  background: linear-gradient(135deg, #FFD166, #FFB347);
}

.notice-alert {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.1), rgba(255, 179, 71, 0.05));
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 20px;
  border: 3px solid #FFD166;
  text-align: center;
  backdrop-filter: blur(5px);
}

.alert-content p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text);
}

.alert-content strong {
  color: #FFD166;
  font-weight: 700;
}

.coming-soon {
  font-style: italic;
  color: var(--emerald) !important;
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(46, 139, 87, 0.3);
}

/* Platform Section */
.platform-section {
  border-color: #4ECDC4;
}

.platform-section::before {
  background: linear-gradient(135deg, #4ECDC4, #2DD4BF);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
}

.platform-card {
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.3);
}

.platform-card h4 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.platform-card p {
  text-align: center;
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.6;
}

/* Tech Section */
.tech-section {
  border-color: #A78BFA;
}

.tech-section::before {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
}

.tech-stats {
  margin-top: 2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 1.5rem;
}

.tech-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.2rem, 2vw, 1.5rem);
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.tech-stat:hover {
  background: rgba(46, 139, 87, 0.2);
  transform: translateX(5px);
}

.stat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text);
  font-weight: 500;
}

/* Call to Action Section */
.about-cta {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%);
  border-radius: 30px;
  margin-top: 3rem;
  border: 3px solid var(--emerald);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.about-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-cta p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: white;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  background: white;
  color: var(--sea-green);
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: white;
  color: var(--sea-green);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.cta-button.tertiary {
  background: var(--olive);
  color: white;
  border: 3px solid var(--olive);
}

.cta-button.credits {
  background: linear-gradient(135deg, #FFD166, #FFB347);
  color: white;
  border: 3px solid #FFD166;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--sea-green);
}

.cta-button.tertiary:hover {
  background: var(--dark-olive);
  border-color: var(--dark-olive);
}

.cta-button.credits:hover {
  background: linear-gradient(135deg, #FFB347, #FF6B6B);
  border-color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding: 2rem 1rem;
  }
  
  .about-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .credits-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .about-section {
    padding: 2rem 1.5rem;
  }
  
  .vision-grid,
  .features-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-row {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .feature-content p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .credits-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    gap: 0.8rem;
  }
  
  .about-section h2 {
    font-size: 1.8rem;
  }
  
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .about-cta p {
    font-size: 1.1rem;
  }
}

/* Ultra-wide screen support */
@media (min-width: 1921px) {
  .about-container {
    max-width: 1600px;
  }
  
  .about-hero h1,
  .hero-subtitle {
    max-width: 70%;
  }
}





















/* ===== TIMETABLE PAGE STYLES ===== */
.timetable-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.timetable-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent;
}

.timetable-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.academic-info {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card-bg);
  padding: clamp(1rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  backdrop-filter: blur(10px);
}

.info-icon {
  font-size: 1.5rem;
}

.info-text {
  font-weight: 600;
  color: var(--text);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* Timetable Grid */
.timetable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

.timetable-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.timetable-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 25px 25px 0 0;
}

.timetable-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.calendar-card::before {
  background: linear-gradient(135deg, #FFD166, #FFB347);
}

.routine-card::before {
  background: linear-gradient(135deg, #4ECDC4, #2DD4BF);
}

.midterm-card::before {
  background: linear-gradient(135deg, #FF6B6B, #FF4757);
}

.card-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.card-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
}

.timetable-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.card-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  font-weight: 500;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.image-container {
  text-align: center;
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.timetable-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.timetable-image:hover {
  transform: scale(1.02);
}

.card-features, .schedule-highlights, .exam-info {
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.card-features h3, .schedule-highlights h3, .exam-info h3 {
  color: var(--emerald);
  margin-bottom: 1.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  text-align: center;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.feature:last-child {
  border-bottom: none;
}

.feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-text {
  font-weight: 500;
  color: var(--text);
}

.highlight-list {
  list-style: none;
  padding: 0;
}

.highlight-list li {
  padding: 0.8rem 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.highlight-list li:last-child {
  border-bottom: none;
}

.guidelines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guideline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--emerald);
}

.guideline-icon {
  font-size: 1.3rem;
}

.guideline-text {
  font-weight: 500;
  color: var(--text);
}

/* Quick Info Section */
.quick-info {
  margin-bottom: 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.info-card {
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.info-card .info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.info-card h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.info-card p {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--light-bg);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--sea-green), var(--emerald));
  border-radius: 10px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.countdown-text {
  font-weight: 600;
  color: var(--emerald);
  font-size: 1.1rem;
}

.date-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.date-list li {
  padding: 0.5rem 0;
  color: var(--text);
  font-weight: 500;
}

.subjects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.subject-tag {
  background: var(--light-bg);
  color: var(--emerald);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--emerald);
}

/* Download Section */
.download-section {
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 30px;
  margin-top: 3rem;
  border: 3px solid var(--emerald);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.download-content {
  position: relative;
  z-index: 2;
}

.download-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.download-section p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: white;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
}

.download-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  background: white;
  color: var(--sea-green);
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.download-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: var(--light-bg);
  color: var(--emerald);
}

.btn-icon {
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timetable-hero {
    padding: 2rem 1rem;
  }
  
  .timetable-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .academic-info {
    flex-direction: column;
    align-items: center;
  }
  
  .timetable-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .timetable-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .timetable-card {
    padding: 1.5rem 1rem;
  }
  
  .download-section h2 {
    font-size: 2rem;
  }
  
  .download-section p {
    font-size: 1.1rem;
  }
}



































/* ===== CREDITS PAGE STYLES ===== */
.credits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Hero Section */
.credits-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent;
}

.credits-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.hero-description {
  max-width: 800px;
  margin: 0 auto;
}

.hero-description p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  backdrop-filter: blur(10px);
}

/* Team Photo Section */
.team-photo-section {
  margin-bottom: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.section-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  backdrop-filter: blur(5px);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--emerald);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

.photo-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 800px;
}

.image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--emerald);
  background: var(--card-bg);
  transition: all 0.4s ease;
}

.image-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(46, 139, 87, 0.4);
}

.team-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.image-frame:hover .team-photo {
  transform: scale(1.05);
}

.frame-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11, 15, 20, 0.9));
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.image-frame:hover .frame-overlay {
  transform: translateY(0);
}

.overlay-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-content p {
  color: var(--emerald);
  font-weight: 500;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Team Members Section */
.team-members-section {
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.team-card {
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.3);
}

.member-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--light-bg);
  color: var(--emerald);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--emerald);
  z-index: 2;
}

.member-icon {
  font-size: clamp(2.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
  display: block;
}

.member-info {
  flex: 1;
  margin-bottom: 1.5rem;
}

.member-info h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--emerald);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.member-role {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.member-details {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.skills-container {
  border-top: 1px solid rgba(46, 139, 87, 0.3);
  padding-top: 1rem;
}

.skills-container h4 {
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skill-tag {
  background: var(--light-bg);
  color: var(--emerald);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--emerald);
}

/* Special Card Styles */
.lead-card {
  border-color: #FFD166;
  background: linear-gradient(135deg, var(--card-bg), rgba(255, 209, 102, 0.1));
}

.lead-card .member-badge {
  background: #FFD166;
  color: var(--dark-bg);
  border-color: #FFD166;
}

.senior-card {
  border-color: #4ECDC4;
  background: linear-gradient(135deg, var(--card-bg), rgba(78, 205, 196, 0.1));
}

.senior-card .member-badge {
  background: #4ECDC4;
  color: white;
  border-color: #4ECDC4;
}

.junior-card {
  border-color: var(--emerald);
  background: linear-gradient(135deg, var(--card-bg), rgba(46, 139, 87, 0.1));
}

.junior-card .member-badge {
  background: var(--emerald);
  color: white;
  border-color: var(--emerald);
}

.helper-card {
  border-color: #A78BFA;
  background: linear-gradient(135deg, var(--card-bg), rgba(167, 139, 250, 0.1));
}

.helper-card .member-badge {
  background: #A78BFA;
  color: white;
  border-color: #A78BFA;
}

/* Development Story Section */
.story-section {
  margin-bottom: 4rem;
}

.story-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.story-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.1), transparent);
  transition: left 0.6s ease;
}

.story-card:hover::before {
  left: 100%;
}

.story-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.story-icon {
  font-size: clamp(2rem, 3vw, 2.5rem);
  flex-shrink: 0;
  padding: 0.5rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.story-text {
  flex: 1;
}

.story-text h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.story-text p {
  text-align: left;
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 30px;
  margin-top: 3rem;
  border: 3px solid var(--emerald);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: white;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  background: white;
  color: var(--sea-green);
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: white;
  color: var(--sea-green);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.cta-button.tertiary {
  background: var(--olive);
  color: white;
  border: 3px solid var(--olive);
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--sea-green);
}

.cta-button.tertiary:hover {
  background: var(--dark-olive);
  border-color: var(--dark-olive);
}

/* Responsive Design */
@media (max-width: 768px) {
  .credits-hero {
    padding: 2rem 1rem;
  }
  
  .credits-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .story-content {
    grid-template-columns: 1fr;
  }
  
  .story-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .story-text p {
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .frame-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(11, 15, 20, 0.95));
  }
}

@media (max-width: 480px) {
  .credits-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
}

/* Ultra-wide screen support */
@media (min-width: 1921px) {
  .credits-container {
    max-width: 1600px;
  }
  
  .credits-hero h1,
  .hero-subtitle {
    max-width: 70%;
  }
}



















/* ===== ANNOUNCEMENTS PAGE STYLES ===== */
.announcements-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Hero Section */
.announcements-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent;
}

.announcements-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* Announcements Grid */
.announcements-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

/* Announcement Cards */
.announcement-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.announcement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.announcement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 25px 25px 0 0;
}

/* Card Type Styles */
.urgent-card::before {
  background: linear-gradient(135deg, #FF6B6B, #FF4757);
}

.important-card::before {
  background: linear-gradient(135deg, #FFD166, #FFB347);
}

.notice-card::before {
  background: linear-gradient(135deg, #4ECDC4, #2DD4BF);
}

.event-card::before {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.card-icon {
  font-size: clamp(2.5rem, 4vw, 3rem);
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
}

.card-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--emerald);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  flex: 1;
}

.card-badge {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.urgent {
  background: #FF6B6B;
  color: white;
}

.important {
  background: #FFD166;
  color: var(--dark-bg);
}

.notice {
  background: #4ECDC4;
  color: white;
}

.event {
  background: #A78BFA;
  color: white;
}

/* Card Content */
.card-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.announcement-text {
  flex: 1;
}

.announcement-text p {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.announcement-text b {
  color: var(--emerald);
  font-weight: 600;
}

/* Documents List */
.documents-list {
  margin: 2rem 0;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin: 0.8rem 0;
  background: var(--light-bg);
  border-radius: 15px;
  border: 1px solid rgba(46, 139, 87, 0.3);
  transition: all 0.3s ease;
}

.document-item:hover {
  background: rgba(46, 139, 87, 0.2);
  transform: translateX(5px);
}

.doc-number {
  background: var(--emerald);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.doc-text {
  font-weight: 600;
  color: var(--text);
}

/* Details Sections */
.details-section,
.deadline-section,
.event-details,
.contact-info {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.detail-item,
.deadline-item,
.event-item,
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.detail-item:last-child,
.deadline-item:last-child,
.event-item:last-child,
.contact-item:last-child {
  border-bottom: none;
}

.detail-icon,
.deadline-icon,
.event-icon,
.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.detail-text,
.deadline-text,
.event-text,
.contact-text {
  font-weight: 500;
  color: var(--text);
}

/* Special Sections */
.important-notes,
.warning-note,
.eligibility-info,
.deadline-highlight {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 5px solid;
}

.important-notes {
  background: rgba(255, 209, 102, 0.1);
  border-left-color: #FFD166;
}

.warning-note {
  background: rgba(255, 107, 107, 0.1);
  border-left-color: #FF6B6B;
}

.eligibility-info {
  background: rgba(78, 205, 196, 0.1);
  border-left-color: #4ECDC4;
}

.deadline-highlight {
  background: rgba(167, 139, 250, 0.1);
  border-left-color: #A78BFA;
}

.announcement-details {
  margin: 1.5rem 0;
}

/* Announcement Images */
.announcement-image {
  flex-shrink: 0;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--emerald);
  transition: transform 0.3s ease;
}

.responsive-image:hover {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
  .announcements-hero {
    padding: 2rem 1rem;
  }
  
  .announcements-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .card-content {
    grid-template-columns: 1fr;
  }
  
  .announcement-image {
    order: -1;
  }
  
  .card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .announcements-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .card-header h2 {
    font-size: 1.5rem;
  }
  
  .document-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Ultra-wide screen support */
@media (min-width: 1921px) {
  .announcements-container {
    max-width: 1600px;
  }
  
  .announcements-hero h1,
  .hero-subtitle {
    max-width: 70%;
  }
}












/* ===== EVENTS PAGE STYLES ===== */
.events-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Hero Section */
.events-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent;
}

.events-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* Events Grid */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

/* Event Cards */
.event-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 25px 25px 0 0;
}

/* Card Type Styles */
.workshop-card::before {
  background: linear-gradient(135deg, #4ECDC4, #2DD4BF);
}

.club-card::before {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
}

.cultural-card::before {
  background: linear-gradient(135deg, #FF6B6B, #FF4757);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.card-icon {
  font-size: clamp(2.5rem, 4vw, 3rem);
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
}

.card-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--emerald);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  flex: 1;
}

.card-badge {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.workshop {
  background: #4ECDC4;
  color: white;
}

.club {
  background: #A78BFA;
  color: white;
}

.cultural {
  background: #FF6B6B;
  color: white;
}

/* Card Content */
.card-content {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

/* Event Images */
.event-images {
  display: flex;
  justify-content: center;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  width: 100%;
}

.event-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--emerald);
  transition: transform 0.3s ease;
}

.event-image:hover {
  transform: scale(1.02);
}

.event-image.single {
  max-width: 500px;
}

/* Event Details */
.event-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-info {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-text {
  font-weight: 500;
  color: var(--text);
}

/* Event Description */
.event-description {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
}

.event-description p {
  margin-bottom: 1.5rem;
}

/* Workshop Features */
.workshop-features,
.learning-outcomes,
.event-highlights,
.cultural-experience {
  margin: 2rem 0;
}

.workshop-features h3,
.learning-outcomes h3,
.event-highlights h3,
.cultural-experience h3 {
  color: var(--emerald);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.features-grid,
.outcomes-list,
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-item,
.outcome-item,
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 10px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.feature-icon,
.outcome-icon,
.highlight-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text,
.outcome-text,
.highlight-text {
  font-weight: 500;
  color: var(--text);
}

/* Coordinators */
.coordinators {
  background: rgba(46, 139, 87, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 5px solid var(--emerald);
  margin: 2rem 0;
}

.coordinator-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.coordinator-item:last-child {
  border-bottom: none;
}

.coordinator-role {
  font-weight: 600;
  color: var(--emerald);
}

.coordinator-name {
  font-weight: 500;
  color: var(--text);
}

/* Club Information */
.club-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefits-section {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.benefits-section h3 {
  color: var(--emerald);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.benefit-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text {
  font-weight: 500;
  color: var(--text);
}

/* Registration Info */
.registration-info {
  background: rgba(167, 139, 250, 0.1);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #A78BFA;
}

.registration-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.registration-header h3 {
  color: var(--emerald);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.registration-badge {
  background: #A78BFA;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.registration-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.option-content h4 {
  color: var(--emerald);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.option-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.important-note {
  background: rgba(255, 209, 102, 0.1);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: center;
}

.contact-info {
  margin-top: 1.5rem;
}

.contact-info h4 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text {
  font-weight: 500;
  color: var(--text);
}

/* Topics Grid */
.topics-covered {
  margin: 1.5rem 0;
}

.topics-covered h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.topic-tag {
  background: var(--light-bg);
  color: var(--emerald);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--emerald);
}

/* Cultural Experience */
.experience-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-desc {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  border: 1px solid rgba(46, 139, 87, 0.3);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-content h4 {
  color: var(--emerald);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* Event Impact */
.event-impact {
  background: rgba(78, 205, 196, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 5px solid #4ECDC4;
  margin-top: 1.5rem;
}

.event-impact h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-hero {
    padding: 2rem 1rem;
  }
  
  .events-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .image-pair {
    grid-template-columns: 1fr;
  }
  
  .coordinator-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .registration-options {
    grid-template-columns: 1fr;
  }
  
  .card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .events-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .card-header h2 {
    font-size: 1.5rem;
  }
  
  .benefits-grid,
  .features-grid,
  .outcomes-list,
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* Ultra-wide screen support */
@media (min-width: 1921px) {
  .events-container {
    max-width: 1600px;
  }
  
  .events-hero h1,
  .hero-subtitle {
    max-width: 70%;
  }
}









/* ===== SUBJECT PAGE STYLES ===== */
.subject-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Hero Section */
.subject-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  background: var(--card-bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 15px;
  border: 2px solid var(--emerald);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: min(140px, 30vw);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  background: var(--light-bg);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(46, 139, 87, 0.4);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--emerald);
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
  display: block;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--text);
  margin-top: 0.5rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.section-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  backdrop-filter: blur(5px);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--emerald);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/* Subject Overview */
.subject-overview {
  margin-bottom: 4rem;
}

.overview-content {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.overview-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.overview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.overview-card h3 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: var(--emerald);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.overview-card p {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.feature-card {
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.3);
}

.feature-icon {
  font-size: clamp(2.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
  display: block;
}

.feature-card h4 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.feature-card p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.6;
}

/* Faculty Section */
.faculty-section {
  margin-bottom: 4rem;
}

.faculty-cards {
  display: flex;
  justify-content: center;
}

.faculty-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  max-width: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  backdrop-filter: blur(10px);
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.faculty-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--sea-green), var(--emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.faculty-info {
  flex: 1;
}

.faculty-info h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--emerald);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.faculty-designation {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text {
  font-weight: 500;
  color: var(--text);
}

/* Syllabus Section */
.syllabus-section {
  margin-bottom: 4rem;
}

.syllabus-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.syllabus-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.image-container {
  text-align: center;
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.syllabus-image, .lab-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.syllabus-image:hover, .lab-image:hover {
  transform: scale(1.02);
}

/* Notes Section */
.notes-section {
  margin-bottom: 4rem;
}

.notes-content {
  display: flex;
  justify-content: center;
}

.notes-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  max-width: 800px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.notes-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.notes-preview {
  margin-bottom: 2rem;
}

.pdf-placeholder {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px dashed var(--emerald);
}

.pdf-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.pdf-placeholder h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.pdf-placeholder p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.file-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.file-size, .file-pages {
  background: var(--card-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald);
  border: 1px solid var(--emerald);
}

.download-section {
  text-align: center;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  background: var(--emerald);
  color: white;
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.4);
  background: var(--sea-green);
}

.download-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* Lab Section */
.lab-section {
  margin-bottom: 4rem;
}

.lab-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lab-info {
  display: flex;
  justify-content: center;
}

.lab-details {
  background: var(--card-bg);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.detail-content h4 {
  color: var(--emerald);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.detail-content p {
  color: var(--text);
  font-weight: 500;
}

.lab-syllabus {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Questions Section */
.questions-section {
  margin-bottom: 4rem;
}

/* ===== Q&A STYLES - FIXED ===== */
.qa-container {
  max-width: 1000px;
  margin: 0 auto;
}

.qa-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--emerald);
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.qa-item:hover {
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.qa-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--card-bg);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
}

.qa-question:hover {
  background: var(--light-bg);
}

.qa-question.active {
  background: var(--light-bg);
}

.question-text {
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--emerald);
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.qa-question.active .toggle-icon {
  transform: rotate(45deg);
  color: var(--crimson);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: var(--light-bg);
}

.qa-answer.active {
  max-height: 5000px;
}

.answer-content {
  padding: 0 2rem;
  background: var(--light-bg);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.1s;
  height: 0;
  overflow: hidden;
}

.qa-answer.active .answer-content {
  padding: 2rem;
  opacity: 1;
  transform: translateY(0);
  height: auto;
  overflow: visible;
}

.answer-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.answer-content b {
  color: var(--emerald);
}

.answer-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.answer-content li {
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.5;
}

.answer-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid var(--emerald);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Code and Pre Styles */
code {
  background: var(--light-bg);
  color: var(--crimson);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

pre {
  background: var(--light-bg);
  color: var(--text);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--emerald);
  overflow-x: auto;
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .subject-hero {
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat {
    min-width: 120px;
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .faculty-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .faculty-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .qa-question {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }
  
  .question-text {
    margin-right: 0.8rem;
  }
  
  .answer-content {
    padding: 1.5rem 1rem;
  }
  
  .toggle-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .download-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .qa-question {
    padding: 1rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .answer-content {
    padding: 1rem 0.8rem;
  }
  
  .question-text {
    margin-right: 0.5rem;
  }
}
/* Enhanced Q&A Styles */
.qa-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--emerald);
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.qa-item:hover {
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.qa-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--card-bg);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
}

.qa-question:hover {
  background: var(--light-bg);
}

.qa-question.active {
  background: var(--light-bg);
  border-bottom: 2px solid var(--emerald);
}

.question-text {
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--emerald);
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.qa-question.active .toggle-icon {
  transform: rotate(0deg);
  color: var(--crimson);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: var(--light-bg);
}

.qa-answer.active {
  max-height: 5000px; /* Large enough for content */
}

.answer-content {
  padding: 0;
  background: var(--light-bg);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.1s;
}

.qa-answer.active .answer-content {
  padding: 2rem;
  opacity: 1;
  transform: translateY(0);
}

.answer-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.answer-content b {
  color: var(--emerald);
}

.answer-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.answer-content li {
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.5;
}

.answer-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid var(--emerald);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Loading and Success States */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

.success-icon {
  display: inline-block;
  margin-right: 8px;
  font-weight: bold;
  animation: bounce 0.5s ease;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 20%, 60%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  80% { transform: translateY(-2px); }
}

/* Enhanced Download Button */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  background: var(--emerald);
  color: white;
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.4);
  background: var(--sea-green);
}

.download-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Make sure PDF files exist */
.pdf-error {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px solid var(--crimson);
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.pdf-error h3 {
  color: var(--crimson);
  margin-bottom: 1rem;
}

.pdf-error p {
  color: var(--text);
  margin-bottom: 1.5rem;
}
/* ===== IMAGE SIZE FIXES ===== */
.syllabus-image, .lab-image, .responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

/* Make syllabus images smaller */
.syllabus-image {
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

/* Make lab images smaller */
.lab-image {
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

/* Q&A diagram images smaller */
.answer-content img {
  max-width: 400px;
  margin: 1rem auto;
  display: block;
  border: 1px solid var(--emerald);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.syllabus-image:hover, .lab-image:hover, .answer-content img:hover {
  transform: scale(1.02);
}

/* Image container adjustments */
.image-container {
  text-align: center;
  background: var(--light-bg);
  padding: 1rem;
  border-radius: 15px;
  border: 2px solid var(--emerald);
  margin: 1rem 0;
}

/* ===== PDF VIEWER FIXES ===== */
.notes-preview {
  margin-bottom: 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
  overflow: hidden;
  max-height: 500px; /* Fixed height for PDF container */
}

.pdf-preview {
  width: 100%;
  height: 450px; /* Fixed height for PDF */
  border: none;
  display: block;
}

/* PDF Placeholder styling */
.pdf-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px dashed var(--emerald);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pdf-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--emerald);
}

.pdf-placeholder h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.pdf-placeholder p {
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 400px;
  line-height: 1.6;
}

.file-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.file-size, .file-pages {
  background: var(--card-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald);
  border: 1px solid var(--emerald);
}

/* ===== SCROLLBAR STYLING FOR PDF ===== */
.notes-preview::-webkit-scrollbar {
  width: 8px;
}

.notes-preview::-webkit-scrollbar-track {
  background: var(--light-bg);
  border-radius: 4px;
}

.notes-preview::-webkit-scrollbar-thumb {
  background: var(--emerald);
  border-radius: 4px;
}

.notes-preview::-webkit-scrollbar-thumb:hover {
  background: var(--sea-green);
}

/* ===== RESPONSIVE IMAGE FIXES ===== */
@media (max-width: 768px) {
  .syllabus-image {
    max-width: 100%;
  }
  
  .lab-image {
    max-width: 100%;
  }
  
  .answer-content img {
    max-width: 100%;
  }
  
  .pdf-preview {
    height: 400px;
  }
  
  .notes-preview {
    max-height: 450px;
  }
}

@media (max-width: 480px) {
  .pdf-preview {
    height: 350px;
  }
  
  .notes-preview {
    max-height: 400px;
  }
  
  .image-container {
    padding: 0.8rem;
  }
  
  .pdf-placeholder {
    padding: 2rem 1rem;
    min-height: 250px;
  }
  
  .pdf-icon {
    font-size: 3rem;
  }
}

/* ===== PDF SCROLL BAR FIXES ===== */
.pdf-preview-container {
  width: 100%;
  height: 500px;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
  overflow: hidden;
  position: relative;
}

.pdf-preview {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Ensure PDF iframe is scrollable */
.pdf-preview-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* PDF Placeholder fallback */
.pdf-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px dashed var(--emerald);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pdf-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--emerald);
}

.pdf-placeholder h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.pdf-placeholder p {
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 400px;
  line-height: 1.6;
}

.file-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.file-size, .file-pages {
  background: var(--card-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald);
  border: 1px solid var(--emerald);
}

/* Responsive PDF container */
@media (max-width: 768px) {
  .pdf-preview-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .pdf-preview-container {
    height: 350px;
  }
  
  .pdf-placeholder {
    padding: 2rem 1rem;
  }
  
  .pdf-icon {
    font-size: 3rem;
  }
}








/* ===== TIMETABLE SPECIFIC FIXES - COMPLETE SOLUTION ===== */

/* Force ALL academic info items to have green borders */
.academic-info .info-item {
  border: 2px solid var(--emerald) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  background: var(--card-bg) !important;
  padding: clamp(1rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2rem) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Force hover state for academic info items */
.academic-info .info-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(46, 139, 87, 0.4) !important;
  background: var(--light-bg) !important;
  border: 2px solid var(--emerald) !important;
}

/* Force ALL direct divs in academic-info to have borders */
.academic-info > div:not(.hero-content) {
  border: 2px solid var(--emerald) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  background: var(--card-bg) !important;
  padding: clamp(1rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2rem) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}

.academic-info > div:not(.hero-content):hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(46, 139, 87, 0.4) !important;
  background: var(--light-bg) !important;
  border: 2px solid var(--emerald) !important;
}

/* Fix timetable cards to maintain borders */
.timetable-card {
  background: var(--card-bg) !important;
  border-radius: 25px !important;
  padding: clamp(2rem, 4vw, 3rem) !important;
  border: 2px solid var(--emerald) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.4s ease !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) !important;
}

.timetable-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4) !important;
  border: 2px solid var(--emerald) !important;
}

/* Ensure colored top borders stay on cards */
.timetable-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 6px !important;
  border-radius: 25px 25px 0 0 !important;
  z-index: 2 !important;
}

.calendar-card::before {
  background: linear-gradient(135deg, #FFD166, #FFB347) !important;
}

.routine-card::before {
  background: linear-gradient(135deg, #4ECDC4, #2DD4BF) !important;
}

.midterm-card::before {
  background: linear-gradient(135deg, #FF6B6B, #FF4757) !important;
}

/* Fix info cards */
.info-card {
  background: var(--card-bg) !important;
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  border-radius: 20px !important;
  border: 2px solid var(--emerald) !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
  position: relative !important;
  z-index: 1 !important;
}

.info-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3) !important;
  border: 2px solid var(--emerald) !important;
}

/* Fix download section */
.download-section {
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%) !important;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem) !important;
  border-radius: 30px !important;
  margin-top: 3rem !important;
  border: 3px solid var(--emerald) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Fix download buttons */
.download-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 2.5rem) !important;
  background: white !important;
  color: var(--sea-green) !important;
  text-decoration: none !important;
  font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  transition: all 0.4s ease !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  font-family: 'Inter', sans-serif !important;
  white-space: nowrap !important;
  border: 2px solid transparent !important;
}

.download-btn:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  background: var(--light-bg) !important;
  color: var(--emerald) !important;
  border: 2px solid var(--emerald) !important;
}

/* Fix all containers */
.image-container,
.card-features, 
.schedule-highlights, 
.exam-info {
  border: 2px solid var(--emerald) !important;
}

.image-container {
  text-align: center !important;
  background: var(--light-bg) !important;
  padding: 1.5rem !important;
  border-radius: 15px !important;
  position: relative !important;
  z-index: 1 !important;
}

.card-features, 
.schedule-highlights, 
.exam-info {
  background: var(--light-bg) !important;
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  border-radius: 15px !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Override any conflicting styles */
.timetable-container * {
  box-sizing: border-box !important;
}

/* Nuclear option - if still not working */
body .timetable-container .academic-info div,
body .timetable-container .timetable-card,
body .timetable-container .info-card {
  border: 2px solid var(--emerald) !important;
}




/* ===== HOME PAGE ENHANCED ANIMATIONS - SIMPLIFIED ===== */
.home-container {
  opacity: 1;
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Enhanced Hero Section */
.hero-section {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 2rem;
  background: transparent !important;
  position: relative;
  max-width: 100vw;
  overflow: hidden;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
  animation: fadeInScale 0.8s ease;
}

.hero-section .lead {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  margin-bottom: 0;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 800px);
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Enhanced Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
  text-align: center;
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: min(160px, 30vw);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  background: var(--light-bg);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.4);
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--emerald);
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Enhanced Quick Navigation */
.quick-nav {
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--card-bg);
  border-radius: 20px;
  text-decoration: none;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(46, 139, 87, 0.4);
  background: var(--sea-green);
  border-color: var(--sea-green);
}

.nav-card:hover .nav-icon {
  transform: scale(1.1);
}

.nav-card:hover .nav-title,
.nav-card:hover .nav-desc {
  color: white;
}

.nav-icon {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--emerald);
  transition: all 0.3s ease;
}

.nav-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.nav-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--muted);
  transition: all 0.3s ease;
}

/* Enhanced Content Sections */
.content-section {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  background: var(--card-bg);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--emerald);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease both;
}

.content-section:nth-child(1) { animation-delay: 0.8s; }
.content-section:nth-child(2) { animation-delay: 1s; }
.content-section:nth-child(3) { animation-delay: 1.2s; }
.content-section:nth-child(4) { animation-delay: 1.4s; }
.content-section:nth-child(5) { animation-delay: 1.6s; }

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

.content-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2.5rem;
  color: var(--emerald);
  text-align: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 1.5rem;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(120px, 30vw);
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Enhanced List Items */
.styled-list li {
  padding: clamp(1.2rem, 2vw, 1.5rem) clamp(1.2rem, 2vw, 1.8rem);
  margin: 1rem 0;
  background: var(--light-bg);
  border-left: 5px solid var(--emerald);
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(46, 139, 87, 0.3);
  color: var(--text);
  animation: slideInLeft 0.6s ease both;
}

.styled-list li:nth-child(1) { animation-delay: 0.3s; }
.styled-list li:nth-child(2) { animation-delay: 0.4s; }
.styled-list li:nth-child(3) { animation-delay: 0.5s; }
.styled-list li:nth-child(4) { animation-delay: 0.6s; }

.styled-list li:hover {
  background: rgba(46, 139, 87, 0.2);
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

/* Enhanced Cards */
.program-card, .highlight-box, .achievement {
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  margin: 2rem 0;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.program-card:hover, .highlight-box:hover, .achievement:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
}

/* Enhanced Course Highlights */
.course-highlights {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--light-bg);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 25px;
  border: 2px solid var(--olive);
  flex: 1;
  min-width: min-content;
  transition: all 0.3s ease;
}

.highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(154, 205, 50, 0.3);
  background: var(--olive);
  border-color: var(--olive);
}

.highlight:hover .highlight-icon,
.highlight:hover .highlight-text {
  color: white;
}

.highlight-icon {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  transition: all 0.3s ease;
}

.highlight-text {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Enhanced Placement Stats */
.placement-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--light-bg);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 2px solid var(--emerald);
}

.stat-item:hover {
  background: rgba(46, 139, 87, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
}

.stat-icon {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-right: 1.5rem;
}

.stat-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

/* Enhanced Choice Grid */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0;
  animation: fadeInUp 0.8s ease 1s both;
}

.choice-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 15px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
}

.choice-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
  background: rgba(46, 139, 87, 0.1);
}

.choice-icon {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  flex-shrink: 0;
}

.choice-content h4 {
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.choice-content p {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.6;
}

/* Enhanced CTA Section */
.cta-section {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%);
  margin-top: 4rem;
  border-top: 3px solid var(--emerald);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 1.2s both;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: white;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  background: white;
  color: var(--sea-green);
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.cta-button.primary {
  background: white;
  color: var(--sea-green);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.cta-button.tertiary {
  background: var(--olive);
  color: white;
  border: 3px solid var(--olive);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--sea-green);
}

.cta-button.tertiary:hover {
  background: var(--dark-olive);
  border-color: var(--dark-olive);
}

/* Remove loading styles */
.page-loader {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .stat {
    min-width: 200px;
    width: 100%;
    max-width: 250px;
  }
  
  .nav-cards {
    grid-template-columns: 1fr;
  }
  
  .course-highlights {
    flex-direction: column;
  }
  
  .highlight {
    width: 100%;
    justify-content: center;
  }
  
  .placement-stats {
    grid-template-columns: 1fr;
  }
  
  .choice-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .content-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
}



















































/* ===== NEW MOBILE DROPDOWN STYLES ===== */
.mobile-dropdown {
  position: relative;
  width: 100%;
}

.mobile-dropdown-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 2px solid var(--emerald);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-dropdown-btn:hover {
  background: var(--sea-green);
  color: white;
}

.mobile-dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border: 2px solid var(--emerald);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  z-index: 10000;
  margin-top: 5px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: block;
}

.mobile-dropdown-link {
  display: block;
  padding: 15px 20px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 139, 87, 0.2);
  text-align: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
  background: var(--sea-green);
  color: white;
}

.mobile-dropdown-link:last-child {
  border-bottom: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .mobile-dropdown {
    width: 100%;
  }
  
  .mobile-dropdown-menu {
    position: static;
    margin-top: 10px;
  }
}

/* Hide old dropdown on mobile */
@media (max-width: 768px) {
  .dropdown {
    display: none !important;
  }
}

/* Show old dropdown on desktop */
@media (min-width: 769px) {
  .mobile-dropdown {
    display: none !important;
  }
}
/* Remove green border from mobile dropdown button */
.mobile-dropdown-btn {
  border: 2px solid transparent !important;
}

.mobile-dropdown-btn:hover {
  border: 2px solid transparent !important;
}
/* Center Subjects text in button */
.mobile-dropdown-btn {
  justify-content: center !important;
  gap: 10px !important;
}
































/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
.about-container {
  max-width: 1400px;
  margin: 0 auto 4rem auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.about-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent !important;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* Credits Button Styles */
.credits-button-container {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.credits-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #FFD166, #FFB347, #FF6B6B);
  color: white;
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.credits-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
  border-color: white;
}

.credits-icon {
  font-size: 1.3em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.credits-text {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.credits-arrow {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.credits-button:hover .credits-arrow {
  transform: translateX(5px);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* About Grid Layout */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}

.about-section {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.section-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  backdrop-filter: blur(5px);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--emerald);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Content */
.section-content {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.section-content p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-content strong {
  color: var(--crimson);
  font-weight: 600;
}

/* Vision Grid */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 2rem 0;
}

.vision-card {
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(5px);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.vision-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.vision-card p {
  text-align: center;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--light-bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 2px solid var(--emerald);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.feature-icon {
  font-size: clamp(2rem, 3vw, 2.5rem);
  flex-shrink: 0;
  padding: 0.5rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.feature-content {
  flex: 1;
}

.feature-content h4 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.feature-content p {
  text-align: left;
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.6;
}

/* Image Containers */
.image-container {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 15px;
  border: 2px solid var(--emerald);
}

.image-container h3 {
  color: var(--emerald);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--emerald);
  transition: transform 0.3s ease;
}

.responsive-image:hover {
  transform: scale(1.02);
}

/* Call to Action Section */
.about-cta {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--emerald) 100%);
  border-radius: 30px;
  margin-top: 3rem;
  border: 3px solid var(--emerald);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: white;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  background: white;
  color: var(--sea-green);
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.cta-button.primary {
  background: white;
  color: var(--sea-green);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.cta-button.credits {
  background: linear-gradient(135deg, #FFD166, #FFB347);
  color: white;
  border: 3px solid #FFD166;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--sea-green);
}

.cta-button.credits:hover {
  background: linear-gradient(135deg, #FFB347, #FF6B6B);
  border-color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding: 2rem 1rem;
  }
  
  .about-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .credits-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .about-section {
    padding: 2rem 1.5rem;
  }
  
  .vision-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .feature-content p {
    text-align: center;
  }
  
  .image-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .credits-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    gap: 0.8rem;
  }
  
  .about-section h2 {
    font-size: 1.8rem;
  }
  
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .about-cta p {
    font-size: 1.1rem;
  }
}