/* events.css - Events & Entertainment Page Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@400;500;600;700&display=swap');

/* CSS Variables for Consistent Styling - MATCHING EDUCATION.CSS */
:root {
  --teal-primary: #008080;
  --teal-dark: #004d4d;
  --teal-light: #00cccc;
  --orange-primary: #ff7f50;
  --orange-dark: #e65c35;
  --orange-light: #ff9a75;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-medium: #e2e8f0;
  --gray-dark: #2c3e50;
  --cream-bg: #fff8dc;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s ease;
  --border-radius: 15px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Noto Sans Kannada', sans-serif;
  line-height: 1.7;
  color: var(--gray-dark);
  background-color: var(--cream-bg);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.headerhero{
  background: linear-gradient(135deg, rgba(0, 80, 80, 0.6), rgba(230, 92, 53, 0.6)), url('events_assets/cultural.jpeg') center/cover no-repeat;
  color: var(--white);
  padding: 20px 0;
  text-align: center;
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Header Section - MATCHING EDUCATION.CSS */
.edusub-head {
  background: linear-gradient(135deg, rgba(0, 80, 80, 0.85), rgba(230, 92, 53, 0.85)), url('events_images/events-hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 10px 0;
  text-align: center;
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content {
  max-width: 800px;
  z-index: 2;
  padding: 20px;
}

.header-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1.2s ease;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.header-content p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}

/* Navigation - MATCHING EDUCATION.CSS */
.education-nav {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
  padding: 1rem 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.education-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-menu a.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles - MATCHING EDUCATION.CSS */
.section {
  padding: 30px 0;
  position: relative;
  background: var(--cream-bg);
  scroll-margin-top: 30px;
}

.section.alt {
  background: var(--cream-bg);
}

.section.cream {
  background: var(--cream-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  animation: bounce 2s infinite;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--teal-dark);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Content */
.section-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.section-content .content, 
.section-content .image-container { 
  flex: 1; 
  min-width: 300px; 
}

.section-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.6s ease;
}

.section-img:hover {
  transform: scale(1.03);
}

.section-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--teal-dark);
}

.section-content p {
  margin-bottom: 20px;
  color: var(--gray-dark);
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
}

.feature i {
  color: var(--teal-primary);
  font-size: 1.1rem;
}

/* Stats Grid - MATCHING EDUCATION.CSS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 40px 0;
  width: 100%;
  box-sizing: border-box;
}

.stat {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 25px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 38px;
  margin-bottom: 15px;
  color: var(--teal-primary);
  transition: var(--transition);
}

.stat:hover .stat-icon {
  color: var(--orange-primary);
  transform: scale(1.2);
}

.stat h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--teal-dark);
}

.stat p {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Cards Grid - MATCHING EDUCATION.CSS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 40px 0;
  width: 100%;
  box-sizing: border-box;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0, 128, 128, 0.1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 128, 128, 0.2);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Badge colors matching education theme */
.cultural-badge { background: var(--teal-primary); }
.religious-badge { background: #3498db; }
.sports-badge { background: #e74c3c; }
.multiplex-badge { background: var(--teal-primary); }
.single-badge { background: #9b59b6; }
.park-badge { background: #2ecc71; }
.gaming-badge { background: #f39c12; }
.mall-badge { background: #8e44ad; }
.stadium-badge { background: var(--teal-primary); }
.indoor-badge { background: #3498db; }
.gym-badge { background: #e74c3c; }

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover img {
  transform: scale(1.1);
}

.card-content {
  padding: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-content p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.college-details {
  background: rgba(0, 128, 128, 0.03);
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 3px solid var(--teal-primary);
}

.college-details p {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.college-details strong {
  color: var(--teal-dark);
}

/* Buttons - MATCHING EDUCATION.CSS */
.small-btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--teal-primary);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 128, 128, 0.2);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.small-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 128, 128, 0.3);
  color: white;
}

.explore-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 20px;
  width: 100%;
  clear: both;
  text-align: center;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  text-align: center;
  min-width: 180px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.explore-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;
}

.explore-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, var(--teal-dark), var(--orange-dark));
  color: white;
  text-decoration: none;
}

.explore-btn:hover::before {
  left: 100%;
}

/* Highlights Section */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--teal-dark);
}

.highlight-content p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Map Section */
.map-container {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--gray-dark);
}

.map-placeholder i {
  font-size: 4rem;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.map-placeholder h3 {
  margin-bottom: 15px;
  color: var(--teal-dark);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 80, 80, 0.9), rgba(230, 92, 53, 0.9)), url('events_images/cta-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Animations - MATCHING EDUCATION.CSS */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* ===================== RESPONSIVE DESIGN ===================== */

/* Large Desktops (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktops (992px to 1199px) */
@media (max-width: 1199px) {
  .container {
    padding: 0 15px;
    max-width: 960px;
  }
  
  .header-content h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.4rem;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .container {
    padding: 0 15px;
  }
  
  .header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .header-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1.1rem;
  }
  
  .section-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .section-content .content,
  .section-content .image-container {
    flex: none;
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .highlight-item {
    padding: 25px;
  }
  
  .nav-menu {
    gap: 0.5rem;
  }
  
  .nav-menu a {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 12px;
  }
  
  .edusub-head {
    padding: 60px 0;
    min-height: 40vh;
  }
  
  .header-content {
    padding: 15px;
  }
  
  .header-content h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .header-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .section-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
  }
  
  .stat {
    padding: 20px 15px;
  }
  
  .stat h3 {
    font-size: 1.8rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  
  .highlight-icon {
    margin: 0 auto;
  }
  
  .map-container {
    height: 300px;
  }
  
  .map-placeholder i {
    font-size: 3rem;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  /* Mobile Navigation */
  .education-nav {
    padding: 0.8rem 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-container {
    justify-content: flex-start;
    padding: 0 10px;
  }
  
  .nav-menu {
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: max-content;
    gap: 0.8rem;
  }
  
  .nav-menu li {
    flex-shrink: 0;
  }
  
  .nav-menu a {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  /* Custom scrollbar for mobile navigation */
  .education-nav::-webkit-scrollbar {
    height: 4px;
    display: block;
  }
  
  .education-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
  }
  
  .education-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
  }
}

/* Mobile Portrait (575px and below) */
@media (max-width: 575px) {
  .container {
    padding: 0 10px;
  }
  
  .edusub-head {
    padding: 50px 0;
    min-height: 35vh;
  }
  
  .header-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .header-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  .section-content h3 {
    font-size: 1.4rem;
  }
  
  .features {
    flex-direction: column;
    gap: 10px;
  }
  
  .feature {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .stat {
    padding: 15px 10px;
  }
  
  .stat h3 {
    font-size: 1.6rem;
  }
  
  .stat p {
    font-size: 0.8rem;
  }
  
  .card img {
    height: 180px;
  }
  
  .card-content h3 {
    font-size: 1.1rem;
  }
  
  .card-content p {
    font-size: 0.85rem;
  }
  
  .college-details {
    padding: 12px;
  }
  
  .college-details p {
    font-size: 0.8rem;
  }
  
  .explore-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-width: 160px;
  }
  
  .highlight-item {
    padding: 15px;
  }
  
  .highlight-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .highlight-content h3 {
    font-size: 1.1rem;
  }
  
  .highlight-content p {
    font-size: 0.85rem;
  }
  
  .map-container {
    height: 250px;
  }
  
  .map-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .map-placeholder h3 {
    font-size: 1.1rem;
  }
  
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
  }
  
  .cta-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .nav-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* Small Mobile Devices (375px and below) */
@media (max-width: 375px) {
  .header-content h1 {
    font-size: 1.6rem;
  }
  
  .header-content p {
    font-size: 0.85rem;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
  
  .cards-grid {
    gap: 15px;
  }
  
  .card-content {
    padding: 12px;
  }
  
  .explore-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    min-width: 140px;
  }
  
  .nav-menu a {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .section-img,
  .card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .education-nav,
  .explore-btn-wrapper,
  .cta-section {
    display: none;
  }
  
  .section {
    padding: 20px 0;
    break-inside: avoid;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .section-icon {
    animation: none;
  }
  
  .card:hover,
  .stat:hover,
  .highlight-item:hover {
    transform: none;
  }
}

/* Accessibility: High Contrast */
@media (prefers-contrast: high) {
  :root {
    --teal-primary: #000080;
    --teal-dark: #000040;
    --orange-primary: #ff4500;
    --orange-dark: #cc3700;
  }
  
  .card {
    border: 2px solid var(--teal-dark);
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.explore-btn:focus,
.small-btn:focus,
.cta-btn:focus {
  outline: 3px solid var(--orange-primary);
  outline-offset: 2px;
}

/* Scrollbar Styling - MATCHING EDUCATION.CSS */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { 
  background: linear-gradient(to bottom, var(--teal-primary), var(--orange-primary)); 
  border-radius: 6px; 
}
::-webkit-scrollbar-track { background: #ddd; }

/* Hide scrollbar on mobile when not scrolling */
.education-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .education-nav {
    overflow-x: visible;
  }
  
  .education-nav::-webkit-scrollbar {
    display: block;
  }
}
/* Additional badge colors for entertainment venues */
.college-badge { background: #8e44ad; } /* Purple for college facilities */
.pool-badge { background: #3498db; } /* Blue for swimming pools *//* Ensure consistent header sizing across all pages */
.edusub-head {
  min-height: 10vh !important;
  padding: 10px 0 !important;
}

.header-content h1 {
  font-size: 3rem !important;
  margin-bottom: 15px !important;
}

.header-content p {
  font-size: 1.2rem !important;
  margin-bottom: 0 !important;
}
/* Add this to your events.css file */
.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px; /* Set minimum height for consistency */
}

.card-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-text-content p {
  flex: 1;
}

.college-details {
  margin-top: auto;
  margin-bottom: 15px;
}

.card-action {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 128, 128, 0.1);
  text-align: center;
  flex-shrink: 0; /* Prevent shrinking */
}

.card-action .small-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin: 0 auto;
}

.card-action .small-btn i {
  font-size: 0.9rem;
}

/* Ensure all cards have consistent height */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}
/* ===================== COMPLETELY DIFFERENT OVERVIEW STYLES ===================== */

.overview-content {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 40px;
}

/* Interactive Timeline */
.timeline-section {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(0, 128, 128, 0.1);
}

.timeline-section h3 {
  font-size: 1.8rem;
  color: var(--teal-dark);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.timeline-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
  border-radius: 2px;
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
  border-radius: 2px;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-marker {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
  transition: var(--transition);
  position: relative;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid var(--teal-primary);
  opacity: 0;
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1) rotate(5deg);
}

.timeline-item:hover .timeline-marker::after {
  opacity: 1;
  animation: pulse 2s infinite;
}

.timeline-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--teal-dark);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 15px;
  line-height: 1.5;
}

.timeline-period {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 128, 128, 0.2);
}

/* Feature Showcase */
.feature-showcase {
  background: linear-gradient(135deg, var(--cream-bg), var(--white));
  padding: 50px 40px;
  border-radius: 25px;
  border: 2px solid rgba(0, 128, 128, 0.1);
}

.showcase-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.showcase-text h3 {
  font-size: 2.2rem;
  color: var(--teal-dark);
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.showcase-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 35px;
}

.stat-highlight {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.showcase-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: rotate(3deg);
  transition: var(--transition);
}

.visual-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.visual-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 25px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Category Pills */
.category-pills {
  text-align: center;
}

.category-pills h4 {
  font-size: 1.4rem;
  color: var(--teal-dark);
  margin-bottom: 30px;
  font-weight: 600;
}

.pills-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.category-pill:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--teal-primary);
}

.category-pill[data-category="cultural"] { background: linear-gradient(135deg, #ffeaa7, #fab1a0); }
.category-pill[data-category="cinema"] { background: linear-gradient(135deg, #74b9ff, #a29bfe); }
.category-pill[data-category="sports"] { background: linear-gradient(135deg, #55efc4, #00b894); }
.category-pill[data-category="food"] { background: linear-gradient(135deg, #fd79a8, #e84393); }

.category-pill i {
  font-size: 1.2rem;
  color: var(--white);
}

.category-pill span {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

/* Updates Ticker */
.updates-ticker {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-primary));
  color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ticker-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 18px 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.1rem;
}

.ticker-header i {
  color: var(--orange-light);
}

.ticker-content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px 20px;
  margin: 0 -20px;
}

.ticker-item:last-child {
  border-bottom: none;
}

.ticker-badge {
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ticker-badge.new {
  background: var(--orange-primary);
  color: var(--white);
}

.ticker-badge.update {
  background: #3498db;
  color: var(--white);
}

.ticker-badge.alert {
  background: #e74c3c;
  color: var(--white);
}

.ticker-item span:last-child {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===================== ANIMATIONS ===================== */

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.timeline-marker {
  animation: float 3s ease-in-out infinite;
}

.timeline-item:nth-child(2) .timeline-marker {
  animation-delay: 0.5s;
}

.timeline-item:nth-child(3) .timeline-marker {
  animation-delay: 1s;
}

/* ===================== RESPONSIVE DESIGN ===================== */

@media (max-width: 1024px) {
  .timeline {
    flex-direction: column;
    gap: 40px;
  }
  
  .timeline::before {
    display: none;
  }
  
  .showcase-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stat-highlight {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .overview-content {
    gap: 50px;
  }
  
  .timeline-section,
  .feature-showcase {
    padding: 30px 25px;
  }
  
  .pills-container {
    gap: 15px;
  }
  
  .category-pill {
    padding: 12px 20px;
  }
  
  .stat-highlight {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-item {
    flex: none;
  }
}

@media (max-width: 480px) {
  .timeline-section,
  .feature-showcase {
    padding: 25px 20px;
  }
  
  .showcase-text h3 {
    font-size: 1.8rem;
  }
  
  .category-pill {
    width: 100%;
    justify-content: center;
  }
  
  .ticker-header,
  .ticker-content {
    padding: 15px 20px;
  }
}