:root {
  --primary: #1a4d2e;       /* Dark green (logo) */
  --secondary: #4a7c59;     /* Medium green */
  --accent: #d4af37;        /* Gold (logo) */
  --light-accent: #f5e6b3;  /* Light gold */
  --dark: #0d2818;          /* Very dark green */
  --light-bg: #f8f9fa;      /* Light background */
}

/* Base Elements & Typography */
body {
  background-color: var(--light-bg);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  scroll-behavior: smooth;
  line-height: 1.6;
  color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Utility Classes */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-dark { background-color: var(--dark); }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--dark); }

.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:text-accent:hover { color: var(--accent); }

.border-accent { border-color: var(--accent); }

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  letter-spacing: -0.015em;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Layout Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
nav {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-bottom: 2px solid var(--accent);
}

.nav-link {
  color: #4b5563;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  display: block;
}

/* Footer */
footer {
  background-color: var(--dark);
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/campus-image4.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  transition: background-image 1s ease-in-out;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
}

.hero-gradient h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 1.1;
}

.hero-gradient p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  max-width: 42rem;
}

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

/* Cards */
.card {
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  border-top: 3px solid var(--accent);
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stats-card {
  transition: all 0.3s ease;
  background-color: rgba(26, 77, 46, 0.05);
  border: 1px solid rgba(26, 77, 46, 0.1);
}

.stats-card:hover {
  transform: scale(1.05);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  font-size: 1.75rem;
}

/* Academic Cards */
.academic-card {
  transition: all 0.3s ease;
}

.academic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.program-tab.active {
  border-bottom: 3px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
}

/* Course Cards */
.course-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  backface-visibility: hidden;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.25);
}

.course-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Impact & Value Cards */
.impact-card {
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 77, 46, 0.15);
}

.value-card {
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

/* Team Members */
.team-member:hover img {
  transform: scale(1.05);
}

.team-member img {
  transition: transform 0.3s ease;
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Testimonial Cards */
.testimonial-card {
  transition: all 0.3s ease;
  border-top: 3px solid var(--primary);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

/* Gallery */
.gallery-item {
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeIn 0.5s ease-out;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: relative;
  aspect-ratio: 1/1;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-category {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.gallery-category:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 46, 0.3);
}

.gallery-category.active {
    background: var(--primary);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.category-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

/* Modern Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-lightbox:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* View More Button */
.view-more-btn {
    background: linear-gradient(135deg, var(--primary), #2a6e3d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 77, 46, 0.4);
}

.view-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }

/* Loading Animation */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(26, 77, 46, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Carousel */
.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
  animation: fadeIn 0.5s;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--light-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 77, 46, 0.2);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
}

/* Modern glass effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth shadow transitions */
.shadow-hover {
  transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  perspective: 1000px;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
  transform: rotateY(5deg);
}

/* Calendar Styles */
.calendar-table {
  border-collapse: separate;
  border-spacing: 0;
}

.calendar-table th {
  background-color: var(--primary);
  color: white;
}

.calendar-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.calendar-table tr:hover {
  background-color: #f0f7f0;
}

.holiday {
  background-color: #fff8f0;
  color: #d97706;
  font-weight: 500;
}

.important {
  background-color: #f0f7ff;
  color: #1d4ed8;
  font-weight: 500;
}

/* News Styles */
.news-item {
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-category {
  display: inline-block;
  padding: 4px 8px;
  background-color: var(--accent);
  color: white;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.modal-date {
  color: #666;
  font-size: 0.9rem;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #000;
}

.file-viewer {
  height: 500px;
  margin-bottom: 20px;
}

.file-actions {
  margin-top: 20px;
  text-align: center;
}


/* Floating Gallery */
.floating-gallery-container {
  perspective: 1000px;
}

/* Floating Gallery Animation */
.floating-gallery-item {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    z-index: 1;
}

.floating-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floating-gallery-item:hover {
    z-index: 10;
    transform: scale(1.2) rotate(2deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-gallery-item:hover img {
    transform: scale(1.1);
}

/* Category Filter Animation */
.category-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Dropdown Menu */
.group > div {
  transition: all 0.3s ease;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
}

.group:hover > div {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sub-group > div {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  left: 100%;
  top: 0;
  margin-left: 0.25rem;
}

.sub-group:hover > div {
  opacity: 1;
  visibility: visible;
}

.group > div,
.sub-group > div {
  z-index: 50;
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
  color: var(--primary);
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: rgba(26, 77, 46, 0.1);
  transform: scale(1.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: bold;
}


/* Overrides for specific components */
#nav-placeholder {
  position: relative;
  z-index: 50;
}

.top-contact-bar {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-gradient h1 {
    font-size: 2.25rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .lightbox-nav button {
    padding: 6px 10px;
    font-size: 18px;
    width: 36px;
    height: 36px;
  }
  
  .lightbox-caption {
    font-size: 0.9rem;
    padding: 8px;
  }
  
  .swiper-button-next, .swiper-button-prev {
    display: none;
  }
  
  iframe {
    height: 400px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Focus styles for accessibility */
button:focus, a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* President & Principal Message Specific Styles */
.president-photo, .principal-photo {
    border: 5px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.president-photo:hover, .principal-photo:hover {
    transform: scale(1.03);
}

.signature {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Message Cards */
.message-card {
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.15);
}

.quote-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

.vision-card {
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

.initiative-card {
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary);
}

.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

.stats-card {
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

/* Timeline */


/* Course Tabs and Navigation */
.year-tab {
    transition: all 0.3s ease;
}

.year-tab.active {
    background-color: var(--primary);
    color: white;
}

.tab-active { 
    border-bottom: 3px solid var(--primary); 
    color: var(--primary); 
    font-weight: 600;
}

.course-tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.course-tabs::-webkit-scrollbar { 
    display: none; 
}

/* PDF Containers */
.pdf-container {
    transition: opacity 0.3s ease;
}

.pdf-container.hidden {
    display: none;
    opacity: 0;
}

.pdf-container.active {
    display: block;
    opacity: 1;
}

/* Program Highlights */
.program-highlight {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.program-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

/* Facility Cards */
.facility-card { 
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Recruiter Logos */
.recruiter-logo {
    height: 60px;
    filter: grayscale(100%) brightness(0) invert(1);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.recruiter-logo:hover {
    filter: none;
    opacity: 1;
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    border-radius: 4px;
}

/* Animations */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s;
}

.back-to-top.visible {
    opacity: 1;
}

/* Prose Text */
.prose {
    color: #374151;
    line-height: 1.6;
    font-size: 1.125rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

/* Hero Gradient Variations */
.hero-gradient-blue {
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
}

/* Course Card Variations */
.course-card-blue {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.course-card-blue:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* Action Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    gap: 6px;
    display: inline-flex;
    transition: all 0.2s;
    font-size: 0.875rem;
}

/* ===== NEWS & MANDATORY DISCLOSURE STYLES ===== */

/* News Table Styles */
.news-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.news-table thead th {
    background-color: var(--primary);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.news-table tbody tr {
    transition: all 0.2s ease;
}

.news-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.news-table tbody tr:nth-child(odd) {
    background-color: white;
}

.news-table tbody tr:hover {
    background-color: #f0f7f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 77, 46, 0.1);
}

.news-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.news-table tr:last-child td {
    border-bottom: none;
}

.news-date {
    white-space: nowrap;
    font-weight: 500;
    color: var(--primary);
}

.news-title {
    font-weight: 600;
    color: #1e293b;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #f0f7f0;
    color: var(--primary);
}

/* Action Buttons */

.action-btn.view {
    background-color: var(--primary);
    color: white;
}

.action-btn.download {
    background-color: #f0f7f0;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Pagination */
.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
}

.pagination .page-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .page-link:hover:not(.active) {
    background-color: #f0f7f0;
    border-color: var(--primary);
}

/* Table Container */
.table-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: white;
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 25px;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.modal-date {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 5px;
}

.modal-body {
    line-height: 1.6;
}

.file-viewer {
    width: 100%;
    height: 500px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 15px;
}

.file-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* File Viewer Specific Styles */
.hidden {
    display: none;
}

#imagePreview {
    max-height: 500px;
    object-fit: contain;
}

#textContent {
    max-height: 500px;
    overflow-y: auto;
    font-family: inherit;
}

/* Document Cards for Mandatory Disclosure */
.document-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.15);
}

.quick-link-card {
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

/* Tab Styles */
.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

/* Admin Panel Styles */

.news-card {
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Login Page Styles */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Responsive Adjustments for News */
@media (max-width: 768px) {
    .news-table {
        font-size: 0.875rem;
    }
    
    .news-table thead th,
    .news-table td {
        padding: 12px 8px;
    }
    
    .action-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .document-card {
        padding: 1.5rem;
    }
}

/* Utility Classes for Colors */
.bg-blue-50 { background-color: #eff6ff; }
.text-blue-800 { color: var(--primary); }
.text-blue-600 { color: var(--secondary); }
.bg-blue-800 { background-color: var(--primary); }
.bg-blue-600 { background-color: var(--secondary); }
.bg-yellow-100 { background-color: #fef3c7; }
.text-yellow-800 { color: #92400e; }
.bg-green-100 { background-color: #d1fae5; }
.text-green-800 { color: #065f46; }
.bg-purple-100 { background-color: #e9d5ff; }
.text-purple-800 { color: #5b21b6; }
.bg-red-100 { background-color: #fee2e2; }
.text-red-700 { color: #b91c1c; }
.text-blue-800 { color: #1e40af; }
.text-blue-600 { color: #2563eb; }
.bg-blue-800 { background-color: #1e40af; }
.bg-blue-600 { background-color: #2563eb; }

/* Additional Utility Classes */
.transition { transition: all 0.3s ease; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.rounded-xl { border-radius: 0.75rem; }

/* ===== GALLERY PAGE SPECIFIC STYLES ===== */

/* Masonry Grid Layout */
.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (min-width: 1280px) {
    .masonry-grid {
        column-count: 4;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.masonry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Modern Gallery Item Content */
.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.masonry-item:hover .gallery-item-content {
    transform: translateY(0);
}

.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Watermark effect */
.watermark {
    position: relative;
}

.watermark::after {
    content: 'LN Group';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
    font-family: 'Space Grotesk', sans-serif;
}

/* Floating action button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #2a6e3d 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ===== INFRASTRUCTURE PAGE SPECIFIC STYLES ===== */

/* Facility Cards */
.facility-card .h-60 {
    position: relative;
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.facility-card:hover img {
    transform: scale(1.05);
}

.facility-card .transition {
    transition: none !important;
}

.facility-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 28px;
}

/* Enhanced modal for infrastructure */
.facility-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.facility-modal.active {
    display: flex;
    opacity: 1;
}

.facility-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 1400px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.facility-modal.active .modal-content {
    transform: translateY(0);
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.modal-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-image:hover img {
    transform: scale(1.03);
}

.facility-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.facility-modal .close-modal:hover,
.facility-modal .close-modal:focus {
    color: var(--primary);
    outline: none;
}

/* ===== GRIEVANCE REDRESSAL PAGE SPECIFIC STYLES ===== */

/* Process steps */
.process-step {
    position: relative;
    padding-left: 3rem;
}

.process-step:before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary);
}

.process-step:last-child:before {
    height: 50%;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Icon circle */
.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #f0f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 28px;
}

/* ===== GOVERNING BODY PAGE SPECIFIC STYLES ===== */

.role-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== ADMIN PANEL SPECIFIC STYLES ===== */

/* Status badges */
.status-pending { 
    background-color: #fef3c7; 
    color: #92400e; 
}

.status-in_progress { 
    background-color: #dbeafe; 
    color: #1e40af; 
}

.status-resolved { 
    background-color: #d1fae5; 
    color: #065f46; 
}

/* Sidebar styles */
.sidebar { 
    transition: all 0.3s; 
}

.sidebar-link { 
    transition: all 0.2s; 
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    color: inherit;
}

.sidebar-link:hover { 
    background-color: rgba(59, 130, 246, 0.1); 
}

.sidebar-link.active { 
    background-color: rgba(59, 130, 246, 0.2); 
    border-left: 4px solid #3b82f6;
}

.stat-card:hover { 
    transform: translateY(-3px); 
}

/* ===== HSBTE APPROVAL PAGE SPECIFIC STYLES ===== */

.year-tab {
    transition: all 0.3s ease;
}

.year-tab.active {
    background-color: var(--primary);
    color: white;
}

.pdf-container {
    transition: opacity 0.3s ease;
}

.pdf-container.hidden {
    display: none;
    opacity: 0;
}

.pdf-container.active {
    display: block;
    opacity: 1;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
    
    .modal-images {
        grid-template-columns: 1fr;
    }
    
    .facility-card {
        margin-bottom: 1rem;
    }
    
    .process-step {
        padding-left: 2.5rem;
    }
    
    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus styles for interactive elements */
.facility-card:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .gallery-item-content,
    .watermark::after {
        color: white;
        text-shadow: 0 1px 2px black;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .facility-card,
    .member-card,
    .stat-card,
    .testimonial-card,
    .fab {
        transition: none;
        animation: none;
    }
    
    .gallery-item:hover,
    .facility-card:hover,
    .member-card:hover,
    .stat-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

/* ===== ADDITIONAL STYLES FOR PHP FILES ===== */

/* Downloads Page Styles */
.downloads-container {
    max-width: 5xl;
    margin: 0 auto;
}

.download-category {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .download-item {
        flex-direction: row;
        align-items: center;
    }
}

/* D.Pharma Page Styles */
.course-feature, .facility-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.course-feature:hover, .facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

.program-details {
    border-left: 4px solid #1e40af;
    background: #f0f7ff;
}

/* Examination Page Styles */
.exam-card {
    transition: all 0.3s ease;
    border-left: 4px solid #1a4d2e;
}

.exam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.exam-table {
    border-collapse: separate;
    border-spacing: 0;
}

.exam-table th {
    background-color: #1a4d2e;
    color: white;
}

.exam-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.exam-table tr:hover {
    background-color: #f0f7f0;
}

/* Faculty Page Styles */
.faculty-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.15);
}

.faculty-card img {
    transition: transform 0.3s ease;
}

.faculty-card:hover img {
    transform: scale(1.05);
}

.department-header {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.department-header:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: #1a4d2e;
    border-radius: 2px;
}

.social-links a {
    transition: all 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Feedback Page Styles */
.rating-star {
    cursor: pointer;
    transition: all 0.2s;
}

.rating-star:hover {
    transform: scale(1.2);
}

/* Fee Structure Page Styles */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.fee-table th, .fee-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.fee-table th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

.fee-table tr:hover {
    background-color: #f8fafc;
}

.highlight-row {
    background-color: #eff6ff;
    font-weight: 600;
}

.scholarship-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.accordion-button {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.25rem;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background-color: #f1f5f9;
}


/* Admin Panel Specific Styles */

.status-approved { 
    background-color: #d1fae5; 
    color: #065f46; 
}

.status-rejected { 
    background-color: #fee2e2; 
    color: #991b1b; 
}

.admin-rating-star { 
    color: #f59e0b; 
}


/* Responsive iframe adjustments */
iframe {
    min-height: 600px;
}

@media (max-width: 768px) {
    iframe {
        height: 400px;
    }
    
    .download-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: #f0f7ff;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

/* Tab Content Management */


/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animation for accordion */
.rotate-180 {
    transform: rotate(180deg);
}

/* Form message styles */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
}

.form-message.success {
    background-color: #d1fae5;
    border: 1px solid #065f46;
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    border: 1px solid #b91c1c;
    color: #b91c1c;
}

/* Pagination active state */
.pagination .active {
    background-color: #1e40af;
    color: white;
}

.program-details {
    border-left: 4px solid #1e40af;
    background: #f0f7ff;
}

/* ===== CONTACT PAGE SPECIFIC STYLES ===== */
.contact-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-top: 4px solid #1a4d2e;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.2);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.contact-card p {
    font-size: 1.05rem;
    line-height: 1.5;
}

.map-container {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 12px;
}

.map-container iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* ===== COURSES PAGE SPECIFIC STYLES ===== */
.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(30, 64, 175, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== VIDEO MODAL STYLES ===== */
#videoModal {
    transition: opacity 0.3s ease;
    z-index: 9999;
}

#videoModal video {
    max-height: 80vh;
    border-radius: 8px;
    background: #000;
}

#closeModal {
    transition: all 0.2s ease;
}

#closeModal:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 2.25rem;
    }
    
    .contact-card {
        margin-bottom: 1rem;
    }
    
    .map-container {
        margin-bottom: 1rem;
    }
    
    .sticky-sidebar {
        position: static;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .course-badge {
        border: 1px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .course-feature,
    .facility-card,
    .contact-card {
        transition: none;
    }
    
    .course-feature:hover,
    .facility-card:hover,
    .contact-card:hover {
        transform: none;
    }
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
.about-hero-gradient {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/campus-aerial-view.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ===== ACADEMIC CALENDAR PAGE SPECIFIC STYLES ===== */
.calendar-hero-gradient {
    background: linear-gradient(135deg, #1a4d2e 0%, #2a6e3d 100%);
}

.calendar-hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* ===== ACADEMICS PAGE SPECIFIC STYLES ===== */
.academics-gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.academics-feature-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* ===== ADMISSION PAGE SPECIFIC STYLES ===== */
.admission-hero-gradient {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/campus-building.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.admission-step-number {
    background: linear-gradient(135deg, #1a4d2e, #4f9661);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 16px;
}

.admission-form-input:focus {
    border-color: #1a4d2e;
    box-shadow: 0 0 0 2px rgba(26, 77, 46, 0.2);
}

/* ===== ADMIN DASHBOARD SPECIFIC STYLES ===== */
.admin-stat-card:hover { 
    transform: translateY(-3px); 
}

.admin-sidebar { 
    transition: all 0.3s; 
}

.admin-sidebar-link { 
    transition: all 0.2s; 
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    color: inherit;
}

.admin-sidebar-link:hover { 
    background-color: rgba(59, 130, 246, 0.1); 
}

.admin-sidebar-link.active { 
    background-color: rgba(59, 130, 246, 0.2); 
    border-left: 4px solid #3b82f6;
}

/* Status badges for admin */


.status-under_review { 
    background-color: #fef3c7; 
    color: #92400e; 
}

.status-accepted { 
    background-color: #d1fae5; 
    color: #065f46; 
}


/* ===== PROGRAM TAB STYLES ===== */
.program-tab.active {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.program-content {
    display: block;
}

.program-content.hidden {
    display: none;
}

/* ===== ACCORDION STYLES ===== */

.accordion-content {
    padding: 1.25rem;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0 0 0.5rem 0.5rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion.active .accordion-content {
    max-height: 500px;
}

.accordion-btn .fa-chevron-down {
    transition: transform 0.3s ease;
}

.accordion.active .accordion-btn .fa-chevron-down {
    transform: rotate(180deg);
}

/* ===== FORM STYLES ===== */
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 77, 46, 0.2);
}

.form-message.success {
    background-color: #d1fae5;
    border: 1px solid #065f46;
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    border: 1px solid #b91c1c;
    color: #b91c1c;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

/* ===== UTILITY CLASSES ===== */
.step-card, .feature-card, .program-card, .impact-card, .value-card {
    transition: all 0.3s ease;
}

.step-card:hover, .feature-card:hover, .program-card:hover, 
.impact-card:hover, .value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.15);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .admission-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        margin-right: 12px;
    }
    
    .program-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===== SPECIFIC COMPONENT STYLES ===== */
.team-member:hover img {
    transform: scale(1.05);
}

.team-member img {
    transition: transform 0.3s ease;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-card {
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

/* ===== ADMIN SPECIFIC STYLES ===== */
.admin-rating-star { 
    color: #f59e0b; 
}

/* ===== CALENDAR TABLE STYLES ===== */
.calendar-table {
    border-collapse: separate;
    border-spacing: 0;
}

.calendar-table th {
    background-color: var(--primary);
    color: white;
}

.calendar-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.calendar-table tr:hover {
    background-color: #f0f7f0;
}

.holiday {
    background-color: #fff8f0;
    color: #d97706;
    font-weight: 500;
}

.important {
    background-color: #f0f7ff;
    color: #1d4ed8;
    font-weight: 500;
}

/* ===== ADDITIONAL STYLES FOR PHP FILES ===== */

/* Alumni Page Specific Styles */
.alumni-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .alumni-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.alumni-benefit-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alumni-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.2);
}

.alumni-story-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alumni-story-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.alumni-story-card img {
    transition: transform 0.5s ease;
}

.alumni-story-card:hover img {
    transform: scale(1.05);
}

/* Anti-Ragging Page Specific Styles */
.anti-ragging-committee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .anti-ragging-committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .anti-ragging-committee-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.committee-member-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: white;
}

.committee-member-card img {
    transition: transform 0.3s ease;
}

.committee-member-card:hover img {
    transform: scale(1.05);
}

/* FAQ Accordion Styles */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.faq-button {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: #f0f7f0;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1a4d2e;
}

.faq-button:hover {
    background-color: #e2f0e2;
}

.faq-content {
    padding: 1rem;
    background: white;
    color: #374151;
}

.faq-content.hidden {
    display: none;
}

/* Form Styles */
.anonymous-form input,
.anonymous-form textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.anonymous-form input:focus,
.anonymous-form textarea:focus {
    outline: 2px solid #1a4d2e;
    outline-offset: 2px;
    border-color: #1a4d2e;
}

/* Hero Section Overrides */
.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

/* Breadcrumb Overrides */
.breadcrumb-nav {
    background-color: #f0f7f0;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.2);
}

/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #f0f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #1a4d2e;
    font-size: 28px;
}

/* Event Date Styles */
.event-date-badge {
    background: linear-gradient(135deg, #1a4d2e, #2a6e3d);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Testimonial Stars */
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
}

/* Registration Form Styles */
.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    outline: 2px solid #1a4d2e;
    outline-offset: 2px;
    border-color: #1a4d2e;
}

/* Animation Classes */
.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

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

/* Responsive Iframe */
.responsive-iframe {
    min-height: 600px;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .responsive-iframe {
        height: 400px;
    }
}

/* Utility Classes for Specific Pages */
.breadcrumb-container {
    background-color: #f0f7f0;
}

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

/* Emergency Contact Styles */
.emergency-contact {
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
}

.emergency-contact i {
    color: #dc2626;
}

/* Form Button Styles */
.anonymous-submit-btn {
    width: 100%;
    background-color: #1a4d2e;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.anonymous-submit-btn:hover {
    background-color: #2a6e3d;
    transform: translateY(-2px);
}

.anonymous-submit-btn:focus {
    outline: 2px solid #1a4d2e;
    outline-offset: 2px;
}

/* Enhanced Video Gallery Styles with Load More */
.video-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#videoPlayerModal {
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

#videoPlayer {
    border-radius: 12px;
    background: #000;
}

/* Video navigation buttons */
#prevVideoBtn, #nextVideoBtn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#videoPlayerModal:hover #prevVideoBtn,
#videoPlayerModal:hover #nextVideoBtn {
    opacity: 1;
}

/* Loading animation for videos */
.video-card .fa-play {
    transition: transform 0.2s ease;
}

.video-card:hover .fa-play {
    transform: scale(1.2);
}

/* Video duration badge */
.video-card .absolute.bottom-2 {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* Video Load More Button */
#view-more-videos-btn {
    background: linear-gradient(135deg, #1a4d2e, #2a6e3d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.3);
}

#view-more-videos-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 77, 46, 0.4);
    background: linear-gradient(135deg, #2a6e3d, #3a8e4d);
}

#view-more-videos-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Video loading spinner */
#video-loading-spinner .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(26, 77, 46, 0.2);
    border-left: 4px solid #1a4d2e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Animation for new video cards */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Responsive video player */
@media (max-width: 768px) {
    #videoPlayerModal .relative {
        margin: 0 1rem;
    }
    
    #closeVideoModal {
        top: -50px;
        right: 0;
    }
    
    #prevVideoBtn, #nextVideoBtn {
        opacity: 1;
    }
    
    #view-more-videos-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Video loading states */
.video-loading, .video-error, .play-overlay {
    z-index: 10;
}

/* Smooth transitions for gallery switching */
#video-gallery, section.py-20.bg-white {
    transition: opacity 0.5s ease;
}

/* View More container animation */
#video-view-more-container {
    transition: opacity 0.3s ease;
}