/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Base Colors */
  --white: #ffffff;
  --black: #000000;

  /* Primary & Accent Colors */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #3b82f6;
  --accent: #c9286d;
  --accent-color: #10b981;

  /* Secondary Colors */
  --secondary-color: #f59e0b;
  --secondary-dark: #d97706;

  /* Status Colors */
  --success-color: #059669;
  --warning-color: #f59e0b;
  --error-color: #dc2626;

  /* Grayscale */
  --gray: #6c757d;
  --dark: #212529;
  --light: #f8f9fa;
  --light-gray: #f5f7fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;

  /* Extended Grayscale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Border Colors */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Shadow */
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Special Colors */
  --navy: #001f3f;
  --gold: #ffd700;
  --light-gold: #ffec8b;
}

/* 🌙 Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondaryc: #1e293b;
  --bg-tertiary: #334155;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-light: #334155;
  --border-medium: #475569;

  --gray-100: #1e293b;
  --gray-200: #334155;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-normal),
    color var(--transition-normal);
}

/* Hero Section - Full Page */
.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 90px;
  margin-bottom: 10px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel .carousel-item {
  height: 100vh;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 800px;
  margin: 100px 10px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--navy);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.navbar * {
  color: white !important;
}

.dropdown-content a {
  color: var(--gold) !important;
  background-color: rgb(3, 3, 3);
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #040404;
  color: var(--navy);
}

.logo-text,
.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -10px;
}

.nav-logo img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  padding-left: 120px;
  margin-right: 20px;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
  border: 1px solid var(--border-light);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: var(--bg-secondary);
  color: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switcher:hover {
  background-color: var(--bg-secondary);
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--gray-800);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 100;
  border: 1px solid var(--border-light);
}

.lang-switcher:hover .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.95rem;
}

.lang-option:hover {
  background-color: var(--gold);
  color: var(--primary);
}

.lang-option i {
  width: 20px;
  opacity: 0;
}

.lang-option[data-lang="en"] i {
  opacity: 1;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--gold);
  transition: var(--transition-fast);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gold);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.hamburger:hover {
  background-color: var(--gold);
}

.welcome-content {
  padding-right: 2rem;
  margin-bottom: 2rem;
}

.welcome-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.welcome-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.welcome-image {
  position: relative;
}

.welcome-image img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* Grid System */
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-1 {
    width: 8.333333%;
  }
  .col-md-2 {
    width: 16.666667%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.333333%;
  }
  .col-md-5 {
    width: 41.666667%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.333333%;
  }
  .col-md-8 {
    width: 66.666667%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-10 {
    width: 83.333333%;
  }
  .col-md-11 {
    width: 91.666667%;
  }
  .col-md-12 {
    width: 100%;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.align-items-center {
  align-items: center;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.section-padding {
  padding: 80px 0;
}
.bg-light {
  background-color: #f8f9fa;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Statistics */
.statistics {
  background-color: var(--navy);
  color: var(--white);
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--white);
  font-size: 1.2rem;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--gold);
}

body.dark-mode .section-header h2 {
  color: var(--dark-primary);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

body.dark-mode .section-header p {
  color: var(--dark-gray);
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

.achievement-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode .achievement-card {
  background: var(--dark-card);
}

.achievement-image img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Ensures the whole image is visible */
  display: block;
  /* Optional: fills empty space with a background */
}

.achievement-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary);
  font-size: 1.4rem;
}

body.dark-mode .achievement-card h3 {
  color: var(--dark-primary);
}

.achievement-card p {
  padding: 0 20px;
  color: var(--gray);
  margin-bottom: 5px;
}

body.dark-mode .achievement-card p {
  color: var(--dark-gray);
}

.student-name {
  padding: 10px 20px 20px;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
}

body.dark-mode .student-name {
  color: var(--dark-text);
}

/* Faculty Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.faculty-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

body.dark-mode .faculty-card {
  background: var(--dark-card);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faculty-card h3 {
  margin: 20px 0 5px;
  color: var(--primary);
  font-size: 1.4rem;
}

body.dark-mode .faculty-card h3 {
  color: var(--dark-primary);
}

.subject {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

body.dark-mode .subject {
  color: var(--dark-accent);
}

body.dark-mode .qualifications {
  color: var(--dark-gray);
}

.faculty-social {
  padding: 15px 0 25px;
}

.faculty-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--light);
  border-radius: 50%;
  margin: 0 5px;
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

body.dark-mode .faculty-social a {
  background: var(--dark-light);
  color: var(--dark-primary);
}

.faculty-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

body.dark-mode .faculty-social a:hover {
  background: var(--dark-primary);
  color: var(--dark-text);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
}

body.dark-mode .btn {
  background: var(--dark-primary);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

body.dark-mode .btn:hover {
  background: var(--navy);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faculty-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .welcome-content {
    padding-right: 0;
  }

  .welcome-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .faculty-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-category {
  display: inline-block;
  padding: 5px 10px;
  background: var(--accent);
  color: var(--white);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.news-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.news-content p {
  color: var(--gray);
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.news-meta span {
  color: var(--gray);
}

.news-meta a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.news-meta a i {
  margin-left: 5px;
  transition: var(--transition);
}

.news-meta a:hover i {
  transform: translateX(3px);
}

/* Chart Container */
.container1 {
  max-width: 1300px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.chart-container1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
  flex-wrap: wrap;
}

.chart-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.chart-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.stats-grid1 {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.stat-item2 {
  width: 175px;
  padding: 14px;
  border-right: 1px solid #e5e7eb;
  flex-shrink: 0;
  text-align: center;
}

.stat-item2:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #9724c4;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.chart-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .chart-container1 {
    grid-template-columns: 1fr;
  }

  .chart-visual {
    width: 100%;
    justify-content: center;
  }

  .stats-grid1 {
    flex-direction: column;
    border: none;
    gap: 10px;
  }

  .stat-item2 {
    width: 100%;
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .stat-item2:last-child {
    margin-bottom: 0;
    border-right: none;
  }
}

/* Footer */
.footer {
  background-color: var(--gray-800);
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
}

/* About Page */
.about-content {
  padding: 30px 0;
}

.about-history h2,
.mission-vision h2,
.core-values h2,
.leadership h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.about-history h2::after,
.mission-vision h2::after,
.core-values h2::after,
.leadership h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: var(--accent);
  bottom: 0;
  left: 0;
}

.about-history p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
}

.timeline-item::after {
  content: "";
  display: table;
  clear: both;
}

.timeline-year {
  position: absolute;
  width: 100px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  border-radius: 5px;
  top: 0;
  left: 50%;
  margin-left: -50px;
  z-index: 1;
}

.timeline-content {
  position: relative;
  background: var(--gray-100);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  width: 40%;
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

.timeline-content h3 {
  color: var(--gold);
  margin-top: 0;
  margin-bottom: 10px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px 0;
}

.mission,
.vision {
  background: var(--gray-100);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Anthem & Flag */
.anthem-flag-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  padding: 40px;
  position: relative;
}

.anthem-section,
.flag-section {
  flex: 1;
  min-width: 100px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.anthem-section:before,
.flag-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #3498db, #2ecc71);
}

.anthem-section {
  animation: slideInLeft 0.8s ease-out;
}

.flag-section {
  animation: slideInRight 0.8s ease-out;
}

.anthem-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.anthem-lyrics {
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #3498db;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  max-height: 400px;
  overflow-y: auto;
  position: relative;
  padding-right: 15px;
  scroll-behavior: smooth;
  color: var(--text-secondary);
}

.anthem-lyrics::-webkit-scrollbar {
  width: 8px;
}

.anthem-lyrics::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

.anthem-lyrics::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3498db, #2ecc71);
  border-radius: 10px;
}

.anthem-lyrics::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #2980b9, #27ae60);
}

.anthem-lyrics p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.anthem-lyrics p:first-child {
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 20px;
  animation: colorShift 4s infinite alternate;
}

.audio-player {
  text-align: center;
  margin-top: 10px;
}

.play-btn {
  background: linear-gradient(to right, var(--error-color), var(--accent));
  color: var(--bg-tertiary);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.play-btn: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: 0.5s;
}

.play-btn:hover:before {
  left: 100%;
}

.play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.play-btn:active {
  transform: translateY(1px);
}

.play-btn i {
  font-size: 1.3rem;
}

.flag-display {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.flag {
  width: 380px;
  height: 250px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  background: var(--bg-secondary);
}

.flag-img {
  width: 380px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.flag-meaning {
  flex: 1;
  min-width: 350px;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}

.flag-meaning p {
  margin-bottom: 5px;
  padding-bottom: 5px;
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}

.flag-meaning p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}

.flag-meaning p:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(52, 152, 219, 0.8);
  color: var(--text-primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: pulse 2s infinite;
  z-index: 10;
}

.scroll-indicator i {
  font-size: 1.2rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes colorShift {
  0% {
    color: #2c3e50;
  }
  50% {
    color: #3498db;
  }
  100% {
    color: #2ecc71;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

@media (max-width: 768px) {
  .anthem-flag-section {
    flex-direction: column;
    padding: 25px;
  }

  .flag-display {
    flex-direction: column;
    align-items: center;
  }

  .flag {
    width: 100%;
    max-width: 280px;
  }
}

/* Page Header */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.8),
    rgba(234, 88, 12, 0.6)
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  font-size: 1.1rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Facilities Cards */
.facility-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.facility-image {
  position: relative;
  overflow: hidden;
  background-color: #e9ecef;
}

.facility-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
  transform: scale(1.05);
}

.facility-content {
  background-color: var(--bg-content);
  padding: 1.5rem;
}

.facility-content h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.facility-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.section-header h2.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.section-header p.section-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* Event Cards */
.event-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.date-box {
  background: var(--primary-color);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 60px;
}

.date-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.date-year {
  font-size: 0.7rem;
  opacity: 0.8;
}

.event-image {
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-content h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.event-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.event-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--light-color);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Academic Programs */
.program-card {
  background: var(--gray-100);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.program-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--navy), #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.program-grade {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.program-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}

.program-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
  color: var(--text-light);
}

.program-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Curriculum */
.curriculum-content {
  padding-right: 2rem;
}

.curriculum-highlights {
  margin-top: 2rem;
}

.curriculum-highlights .highlight-item {
  margin-bottom: 1rem;
  align-items: flex-start;
}

.curriculum-highlights .highlight-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.subject-category {
  background: var(--border-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.subject-category:hover {
  transform: translateY(-5px);
}

.subject-category h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.subject-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.subject-item {
  background: var(--bg-primary);
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.subject-item:hover {
  background: var(--accent);
  color: white;
}

/* Faculty Cards */
.faculty-card {
  background: var(--border-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.faculty-image {
  position: relative;
  overflow: hidden;
}

.faculty-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
  transform: scale(1.05);
}

.faculty-info {
  padding: 1.5rem;
}

.faculty-info h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.faculty-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faculty-subject {
  color: var(--bg-secondary);
  margin-bottom: 0.5rem;
}

.faculty-experience {
  color: var(--text-light);
  font-size: 0.9rem;
}
/* Helpful Pages Section */
.helpful-pages {
  margin: 40px 0;
  position: relative;
}

.helpful-pages h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroller-container {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.scroller-container:before,
.scroller-container:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.quicknavi {
  display: flex;
  animation: scroll 30s linear infinite;
  padding: 20px 0;
}

.quicknavi:hover {
  animation-play-state: paused;
}

.quicknavi > div {
  flex-shrink: 0;
  margin: 0 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  transition: all 10s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 220px;
}

.quicknavi > div:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.quicknavi a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quicknavi img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
  transition: all 10s ease;
}

.quicknavi div:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 5px 10px rgba(255, 215, 0, 0.5));
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animation-info {
  background: rgba(0, 0, 0, 0.25);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .helpful-pages h2 {
    font-size: 2rem;
  }

  .quicknavi > div {
    width: 150px;
    height: 100px;
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .helpful-pages h2 {
    font-size: 1.8rem;
  }

  .quicknavi > div {
    width: 500px;
    height: 250px;
    margin: 0 8px;
    padding: 10px;
  }

  .scroller-container:before,
  .scroller-container:after {
    width: 150px;
  }
}
/* Social Media Section */

.social-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  color: var(--navy);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: var(--gold);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .social-icons {
    gap: 15px;
  }
}

/* ========== COMMON FORMS SECTION FIXES ========== */
.common-forms-section {
  padding: 60px 0;
  background-color: var(--bg-primary);
  min-height: calc(100vh - 70px); /* Ensure full viewport height minus navbar */
}

.common-forms-section .container {
  max-width: 800px;
}

.section-title {
  color: var(--navy);
  margin-bottom: 30px;
  text-align: center;
  font-size: 2.2rem;
}

.form-search-container {
  position: relative;
  width: 100%;
  margin: 0 auto 30px;
}

.form-search-container input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--border-medium);
  border-radius: 30px;
  font-size: 1rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.pdf-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.pdf-item {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 15px 20px;
  transition: var(--transition-fast);
  border-left: 4px solid var(--primary);
}

.pdf-item:hover {
  transform: translateX(5px);
  background-color: var(--bg-tertiary);
}

.pdf-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
}

.pdf-item i {
  color: var(--error-color);
  font-size: 1.2rem;
}

/* Checkbox-style indicators */
.pdf-item a::before {
  content: "□";
  color: var(--gray-400);
  font-size: 1.1rem;
}

.pdf-item a:hover::before {
  content: "✓";
  color: var(--success-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .common-forms-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .pdf-item a {
    font-size: 1rem;
  }
}

/* ===== 5-Column PDF Grid ===== */
.pdf-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.pdf-item {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 12px;
  border-left: 4px solid var(--primary);
  transition: var(--transition-fast);
}

/* Keep existing hover effects */
.pdf-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .pdf-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .pdf-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .pdf-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.filter-container {
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
}
.filter-container input,
.filter-container select {
  padding: 10px 15px;
  font-size: 1em;
  border: 1px solid #bbb;
  border-radius: 25px;
  outline: none;
  transition: 0.3s;
  background: #f8f9fb;
}
.filter-container input:focus,
.filter-container select:focus {
  border-color: #004080;
  box-shadow: 0 0 8px rgba(0, 64, 128, 0.3);
  background: #fff;
}
.filter-container select {
  cursor: pointer;
  background: linear-gradient(135deg, #004080, #007acc);
  color: #fff;
  border: none;
  font-weight: bold;
}
.filter-container select:hover {
  background: linear-gradient(135deg, #003366, #006bb3);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.news-date {
  font-size: 0.85em;
  color: #888;
  margin: 12px 20px 0;
}
.news-title {
  margin: 12px 20px;
  font-size: 1.5em;
  font-weight: bold;
  color: #004080;
}
.news-summary {
  font-size: 1em;
  margin: 0 20px 20px;
  line-height: 1.6em;
  color: #555;
}
.news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}
.read-more,
.download-btn {
  text-decoration: none;
  background: #004080;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9em;
}
.read-more:hover,
.download-btn:hover {
  background: #003366;
  transform: scale(1.05);
}
.no-news {
  text-align: center;
  font-size: 1.3em;
  color: #777;
  grid-column: 1/-1;
}
/* Anthem & Flag */
.anthem-flag-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  padding: 40px;
  position: relative;
  width: 50%;
}

.anthem-section,
.flag-section {
  flex: 1;
  min-width: 100px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  width: 50%;
}

.anthem-section:before,
.flag-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #3498db, #2ecc71);
}

.anthem-section {
  animation: slideInLeft 0.8s ease-out;
}

.flag-section {
  animation: slideInRight 0.8s ease-out;
}

.anthem-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.anthem-lyrics {
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #3498db;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  max-height: 400px;
  overflow-y: auto;
  position: relative;
  padding-right: 15px;
  scroll-behavior: smooth;
  color: var(--text-secondary);
}

.anthem-lyrics::-webkit-scrollbar {
  width: 8px;
}

.anthem-lyrics::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

.anthem-lyrics::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3498db, #2ecc71);
  border-radius: 10px;
}

.anthem-lyrics::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #2980b9, #27ae60);
}

.anthem-lyrics p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.anthem-lyrics p:first-child {
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 20px;
  animation: colorShift 4s infinite alternate;
}

.audio-player {
  text-align: center;
  margin-top: 10px;
}

/* Anthem Play/Pause Button */
.anthem-btn {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

.anthem-btn:hover {
  background: linear-gradient(135deg, #0056b3, #0096c7);
  transform: scale(1.05);
}

.anthem-btn.playing {
  background: linear-gradient(135deg, #28a745, #85e085);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

/* Anthem & Flag */
.anthem-flag-section {
  display: flex; /* flexbox for row layout */
  flex-direction: row; /* 1 row */
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  padding: 40px;
  position: relative;
  width: 100%; /* full width container */
  box-sizing: border-box;
}

.anthem-section,
.flag-section {
  width: 50%; /* each half of the page */
  min-width: 0;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  box-sizing: border-box;
}

.anthem-section:before,
.flag-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #3498db, #2ecc71);
}

.anthem-section {
  animation: slideInLeft 0.8s ease-out;
}
.flag-section {
  animation: slideInRight 0.8s ease-out;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .anthem-flag-section {
    flex-direction: column;
  }
  .anthem-section,
  .flag-section {
    width: 100%;
  }
}
.play-btn: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: 0.5s;
}

.play-btn:hover:before {
  left: 100%;
}

.play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.play-btn:active {
  transform: translateY(1px);
}

.play-btn i {
  font-size: 1.3rem;
}

.news-card {
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.news-date {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.news-type {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.news-summary {
  color: #495057;
  margin-bottom: 15px;
}

.news-actions {
  display: flex;
  gap: 10px;
}

.read-more,
.download-btn {
  padding: 5px 10px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.read-more:hover,
.download-btn:hover {
  background: #2980b9;
}

.download-btn {
  background: #27ae60;
}

.download-btn:hover {
  background: #219653;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.filter-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#searchInput,
#filterSelect {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.no-news {
  text-align: center;
  padding: 30px;
  color: #6c757d;
  font-style: italic;
}
