body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 20%, #e2e8f0 40%, #fed7aa 60%, #cbd5e1 80%, #64748b 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 202, 186, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(254, 215, 170, 0.1) 0%, transparent 40%);
  z-index: -1;
}
header {
  background: rgba(246, 241, 241, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: rgba(4, 64, 111, 0.9);
  padding: 1.5rem 3rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem;
  border-radius: 15px;
}

header .logo-left {
  height: 85px;
  flex-shrink: 0;
  order: 1;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

header .logo-left:hover, header .logo-right:hover {
  opacity: 1;
}

header h1 {
  margin: 0;
  flex: 1;
  min-width: 0;
  order: 2;
  max-width: 600px;
}

header .logo-right {
  height: 85px;
  flex-shrink: 0;
  order: 3;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

/* Mobile responsiveness for header */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }
  
  header .logo-left, header .logo-right {
    height: 65px;
    margin-bottom: 10px;
  }
  
  header h1 {
    font-size: 1.5rem;
    order: 2;
  }
  
  header .logo-left {
    order: 1;
  }
  
  header .logo-right {
    order: 3;
  }
}
nav {
  background: rgba(105, 133, 161, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  margin: 0 1rem 1rem 1rem;
  border-radius: 15px;
  line-height: 2;
  position: relative;
  z-index: 15000;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

/* Dropdown menu styles */
.dropdown {
  display: inline-block;
  position: relative;
  z-index: 20000;
}

.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 5px;
  background: transparent;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(105, 133, 161, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  min-width: 200px;
  z-index: 25000;
  margin-top: 0px;
  padding-top: 5px;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  margin: 0;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.dropdown-content a:first-child {
  padding-top: 17px;
}

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

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFD700;
}

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

.dropdown > a::after {
  content: ' ▼';
  font-size: 0.8rem;
  margin-left: 5px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile responsive dropdown */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    transform: none;
    margin-top: 0;
    width: 100%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .dropdown-content a {
    text-align: center;
    padding: 8px 15px;
  }
}
article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 8px;
}
article h2 {
  color: #2c3e50;
}
article time {
  font-size: 0.9rem;
  color: #888;
}
main {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 1rem;
  border-radius: 15px;
  position: relative;
  z-index: 1;
}
main img {
  max-width: 100%;
  margin: 10px 0;
}
footer {
  background: rgba(158, 178, 136, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: white;
  text-align: center;
  padding: 1rem;
  margin: 1rem;
  border-radius: 15px;
}

/* Gallery image styles */
.gallery-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.gallery-image:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-table {
  border-collapse: separate;
  border-spacing: 15px;
}

.gallery-table td {
  padding: 0;
}

/* Mobile responsiveness for gallery */
@media (max-width: 768px) {
  .gallery-image {
    width: 250px;
    height: 170px;
  }
  
  .gallery-table {
    border-spacing: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-image {
    width: 200px;
    height: 140px;
  }
  
  .gallery-table {
    border-spacing: 8px;
  }
}

/* Modal/Lightbox styles */
.modal {
  display: none;
  position: fixed;
  z-index: 50000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 50001;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close:hover,
.close:focus {
  color: #ff6b6b;
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}



@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 85%;
  }
  
  .close {
    top: 10px;
    right: 15px;
    font-size: 28px;
    width: 40px;
    height: 40px;
  }
}

/* Homepage Styles */
/* Hero Section */
.hero-section {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
}

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

.motto-container {
  animation: fadeInUp 1s ease-out;
}

.motto-title {
  font-size: 2.5rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.motto-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.motto-word {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(4, 64, 111, 0.9);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: pulseGlow 2s ease-in-out infinite alternate;
  letter-spacing: 2px;
}

.motto-divider {
  font-size: 2rem;
  color: rgba(158, 178, 136, 0.8);
  font-weight: 300;
}

.motto-description {
  font-size: 1.2rem;
  color: rgba(4, 64, 111, 0.7);
  font-style: italic;
  margin-top: 1rem;
  letter-spacing: 1px;
}

@keyframes pulseGlow {
  0% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
  100% { text-shadow: 0 4px 20px rgba(4, 64, 111, 0.3); }
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Campus Gallery Section */
.campus-gallery {
  margin: 2rem 0;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 2rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.slide {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Welcome Section */
.welcome-section {
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 12px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
}

.welcome-content {
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-text {
  text-align: center;
  margin-bottom: 2rem;
}

.welcome-text h2 {
  font-size: 2.5rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 1rem;
  font-weight: 600;
}

.welcome-text p {
  font-size: 1.2rem;
  color: rgba(4, 64, 111, 0.8);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

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

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

.value-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
  display: inline-block;
}

.value-card h3 {
  font-size: 1.5rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-card p {
  color: rgba(4, 64, 111, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

/* Animation Utility Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s ease-out forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-bottom {
  animation: slideInFromBottom 1s ease-out forwards;
  opacity: 0;
}

.animate-rotate-in {
  animation: rotateIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out forwards;
  opacity: 0;
}

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

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200px 100%;
  animation: shimmer 2s infinite;
}

/* Staggered Animation Delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-800 { animation-delay: 0.8s; }

/* Enhanced Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.hover-scale {
  transition: transform 0.3s ease;
}

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

/* Page Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #64748b 0%, #475569 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  color: #fbbf24;
}

.loader-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: #fbbf24;
}

.loader-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
  color: #fbbf24;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid #ffffff;
  border-right: 5px solid #22c55e;
  border-bottom: 5px solid #fb923c;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin: 0 auto 25px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Section Styling */
.section-enhanced {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

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

.section-enhanced:hover::before {
  left: 100%;
}

/* About Page Specific Styles */
.campus-activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.activity-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.activity-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.activity-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
  transform: scale(1.2) rotate(10deg);
}

.activity-card h3 {
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.activity-card p {
  color: rgba(4, 64, 111, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

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

.why-card h3 {
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.why-card p {
  color: rgba(4, 64, 111, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

.motto-section {
  text-align: center;
  padding: 2rem 0;
}

.motto-highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  padding: 3rem 2rem;
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.motto-text-large {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.motto-word-large {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(4, 64, 111, 0.9);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
  transition: all 0.3s ease;
  display: inline-block;
}

.motto-word-large:hover {
  transform: scale(1.1);
  text-shadow: 0 6px 15px rgba(4, 64, 111, 0.4);
}

/* Gallery Page Specific Styles */
.gallery-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-section {
  margin: 3rem 0;
}

.gallery-section h2 {
  font-size: 2rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 1rem;
  font-weight: 600;
}

.gallery-section p {
  font-size: 1.1rem;
  color: rgba(4, 64, 111, 0.8);
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 1.5rem;
  margin: 2rem 0;
  justify-content: center;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.gallery-overlay span {
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Legacy welcome-text for backward compatibility */
#welcome-text {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(4, 64, 111, 0.9);
}

table {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

table th, table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: bold;
  color: rgba(4, 64, 111, 0.9);
}

table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Subtle glass effect for lists */
ul, ol {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
}

/* Minimal glass effect for paragraphs in main content */
main p {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1rem 0;
  line-height: 1.6;
}

/* Reduced glass effect for headings */
h2, h3 {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  color: rgba(4, 64, 111, 0.9);
}

/* Social media links styling */
.social-media {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-link.youtube::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
}

.social-link.twitter::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>');
}

.social-link.instagram::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>');
}

.social-link.facebook::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
}

/* PDF Preview and Modal Styles */
.pdf-container {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.pdf-preview {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.pdf-preview:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pdf-title {
  font-weight: bold;
  margin-bottom: 1rem;
  color: rgba(4, 64, 111, 0.9);
  font-size: 1.1rem;
}

.pdf-placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.pdf-placeholder span {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pdf-placeholder p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(4, 64, 111, 0.7);
}

/* PDF Modal Styles */
.pdf-modal {
  display: none;
  position: fixed;
  z-index: 30000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pdf-content {
  position: relative;
  margin: 2% auto;
  width: 90%;
  height: 90%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.pdf-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 30001;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pdf-close:hover {
  color: #ff6b6b;
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* Mobile responsive adjustments for glass effects */
@media (max-width: 768px) {
  body {
    padding: 0;
  }
  
  header, nav, main, footer {
    margin: 0.5rem;
  }
  
  #welcome-text, main p, h2, h3 {
    padding: 1rem;
  }

  /* Homepage Responsive Styles */
  .hero-section {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }

  .motto-title {
    font-size: 2rem;
  }

  .motto-word {
    font-size: 2.2rem;
  }

  .motto-divider {
    font-size: 1.5rem;
  }

  .motto-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .slideshow-container {
    margin: 0 1rem;
  }

  .slide {
    height: 250px;
  }

  .welcome-section {
    padding: 2rem 1rem;
    margin: 2rem 0;
  }

  .welcome-text h2 {
    font-size: 2rem;
  }

  .welcome-text p {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card {
    padding: 1.5rem;
  }

  .value-icon {
    font-size: 2.5rem;
  }

  .value-card h3 {
    font-size: 1.3rem;
  }

  /* About Page Mobile Styles */
  .campus-activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .activity-card {
    padding: 1rem;
  }

  .activity-icon {
    font-size: 2rem;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-card {
    padding: 1rem;
  }

  .motto-text-large {
    flex-direction: column;
    gap: 0.5rem;
  }

  .motto-word-large {
    font-size: 2rem;
  }

  /* Gallery Mobile Styles */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    height: 180px;
    object-fit: cover;
    object-position: center;
  }
  
  ul, ol {
    padding: 1rem;
  }
  
  .social-media {
    gap: 0.5rem;
  }
  
  .social-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .social-link::before {
    width: 14px;
    height: 14px;
  }
  
  .pdf-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .pdf-placeholder {
    height: 150px;
  }
  
  .pdf-placeholder span {
    font-size: 2rem;
  }
  
  .pdf-content {
    margin: 5% auto;
    width: 95%;
    height: 85%;
  }
  
  .pdf-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
    width: 40px;
    height: 40px;
  }
}

/* Fee Download Section Styles */
.fee-download {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.2));
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.fee-download h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgba(4, 64, 111, 0.9);
  font-size: 1.3rem;
}

.fee-download p {
  margin-bottom: 1.5rem;
  color: rgba(4, 64, 111, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.fee-link {
  display: inline-block;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.fee-link::before {
  content: '📄';
  margin-right: 8px;
  font-size: 1.2rem;
}

.fee-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  background: linear-gradient(135deg, #45a049, #5cb85c);
  border-color: rgba(255, 255, 255, 0.3);
}

.fee-link:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

/* Mobile responsive adjustments for fee section */
@media (max-width: 768px) {
  .fee-download {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .fee-download h3 {
    font-size: 1.1rem;
  }
  
  .fee-download p {
    font-size: 0.9rem;
  }
  
  .fee-link {
    padding: 10px 25px;
    font-size: 1rem;
  }
  
  .fee-link::before {
    font-size: 1.1rem;
  }
}

/* Principal's Message Page Styles */
.principal-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.principal-image {
  flex-shrink: 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  order: 2;
}

.principal-photo {
  width: 100%;
  max-width: 120px;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.principal-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.principal-photo.gallery-image {
  cursor: pointer;
  position: relative;
}

.principal-photo.gallery-image::after {
  content: '🔍';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principal-photo.gallery-image:hover::after {
  opacity: 1;
}

.principal-caption {
  color: rgba(4, 64, 111, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
}

.principal-message {
  flex: 1;
  min-width: 0;
}

.principal-message h2 {
  margin-top: 0;
}

/* Clubs & Societies Page Styles */
.collage-container {
  margin: 40px 0;
  text-align: center;
}

.collage-title {
  font-size: 2.2rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.clubs-collage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 25px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  min-height: 200px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.clubs-collage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="30" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.collage-item {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.3);
  z-index: 1;
  animation: slideInZigzag 0.8s ease-out forwards;
  opacity: 0;
  cursor: pointer;
}

.collage-item:nth-child(1) {
  transform: translateY(-20px) rotate(-2deg);
  animation-delay: 0.1s;
}

.collage-item:nth-child(2) {
  transform: translateY(15px) rotate(3deg);
  animation-delay: 0.2s;
}

.collage-item:nth-child(3) {
  transform: translateY(-10px) rotate(-1deg);
  animation-delay: 0.3s;
}

.collage-item:nth-child(4) {
  transform: translateY(20px) rotate(2deg);
  animation-delay: 0.4s;
}

.collage-item:nth-child(5) {
  transform: translateY(-5px) rotate(-3deg);
  animation-delay: 0.5s;
}

@keyframes slideInZigzag {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(var(--item-offset, 0)) rotate(var(--item-rotation, 0deg)) scale(1);
  }
}

.collage-item:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.collage-item::after {
  content: '🔍';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

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

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

.collage-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.collage-item:hover .collage-overlay {
  transform: translateY(0);
}

.club-section {
  margin: 3rem 0;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.club-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.club-image {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  margin: 15px auto;
}

.club-image:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.club-images {
  position: relative;
}

.club-image {
  position: relative;
}

.club-image::after {
  content: '🔍';
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.club-image:hover::after {
  opacity: 1;
}

.sports-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
  max-width: 1000px;
  margin: 2rem auto;
}

.club-info {
  margin: 1.5rem 0;
  text-align: center;
}

.club-info p {
  margin: 1rem 0;
  line-height: 1.6;
}

.club-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: rgba(4, 64, 111, 0.9);
  font-size: 1.4rem;
  font-weight: 600;
}

/* Mandatory Disclosure Page Styles */
.mandatory-disclosure-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.md-title {
  text-align: center;
  font-size: 2.5rem;
  color: rgba(4, 64, 111, 0.9);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.md-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(4, 64, 111, 0.7);
  margin-bottom: 3rem;
  font-style: italic;
}

.md-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.md-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.md-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.md-image-container {
  position: relative;
  overflow: hidden;
}

.md-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.md-item:hover .md-image {
  transform: scale(1.05);
}

.md-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.md-item:hover .md-overlay {
  transform: translateY(0);
}

.md-overlay-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: white;
}

.md-overlay-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.md-note {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.md-note p {
  margin: 0;
  color: rgba(4, 64, 111, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .principal-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .principal-image {
    margin-bottom: 2rem;
  }
  
  .principal-photo {
    width: 45px;
    height: 160px;
    object-position: center 20%;
  }
  
  .collage-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .clubs-collage {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 15px;
    min-height: auto;
  }

  .collage-item {
    width: 250px;
    height: 160px;
  }

  .collage-item:nth-child(1),
  .collage-item:nth-child(2),
  .collage-item:nth-child(3),
  .collage-item:nth-child(4),
  .collage-item:nth-child(5) {
    transform: none;
  }

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

  .collage-overlay {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .club-section {
    margin: 2rem 0;
    padding: 1.5rem;
  }

  .club-images {
    justify-content: center;
  }

  .club-image {
    width: 150px;
    height: 110px;
  }

  .sports-images {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
  }
  
  .md-title {
    font-size: 2rem;
  }
  
  .md-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .md-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .md-image {
    height: 300px;
  }
  
  .md-overlay {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .principal-photo {
    width: 35px;
    height: 140px;
    object-position: center 10%;
  }

  /* Homepage Mobile Styles */
  .hero-section {
    padding: 1.5rem 0.5rem;
    margin: 0.5rem 0;
  }

@media (max-width: 600px) {
  .principal-photo {
    width: 40px;
    height: 140px;
    object-position: center 15%;
  }
}

  .motto-title {
    font-size: 1.5rem;
  }

  .motto-word {
    font-size: 1.8rem;
  }

  .motto-text {
    flex-direction: column;
    gap: 0.5rem;
  }

  .motto-divider {
    font-size: 1.2rem;
    display: none;
  }

  .motto-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .slide {
    height: 200px;
  }

  .welcome-section {
    padding: 1.5rem 0.5rem;
    margin: 1rem 0;
  }

  .welcome-text h2 {
    font-size: 1.8rem;
  }

  .welcome-text p {
    font-size: 0.9rem;
  }

  .values-grid {
    gap: 1rem;
  }

  .value-card {
    padding: 1rem;
  }

  .value-icon {
    font-size: 2rem;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 0.9rem;
  }

  /* About Page Small Mobile Styles */
  .campus-activities-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .activity-card {
    padding: 0.8rem;
  }

  .activity-icon {
    font-size: 1.8rem;
  }

  .activity-card h3 {
    font-size: 1rem;
  }

  .activity-card p {
    font-size: 0.8rem;
  }

  .why-card {
    padding: 0.8rem;
  }

  .why-icon {
    font-size: 1.8rem;
  }

  .motto-word-large {
    font-size: 1.5rem;
  }

  .motto-highlight {
    padding: 2rem 1rem;
  }

  /* Gallery Small Mobile Styles */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gallery-item img {
    height: 160px;
  }

  .gallery-section h2 {
    font-size: 1.5rem;
  }

  .gallery-section p {
    font-size: 0.9rem;
  }

  .collage-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .collage-item {
    width: 200px;
    height: 140px;
  }

  .collage-overlay {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .club-image {
    width: 120px;
    height: 90px;
  }

  .sports-images {
    grid-template-columns: 1fr;
    max-width: 250px;
  }

  .md-title {
    font-size: 1.7rem;
  }

  .md-image {
    height: 250px;
  }

  .md-overlay {
    padding: 1rem;
  }

  .md-overlay-content h3 {
    font-size: 1.1rem;
  }

  .md-overlay-content p {
    font-size: 0.9rem;
  }
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-card h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-card p {
  color: #34495e;
  line-height: 1.6;
  margin: 5px 0;
}

.map-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced Page Layouts */
.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #34495e;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.content-section {
  margin: 25px 0;
  padding: 0 20px;
}

.content-section h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.text-column {
  padding: 20px;
}

.image-column {
  text-align: center;
}

.image-column img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-box {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  padding: 20px 25px;
  border-radius: 12px;
  border-left: 4px solid #a8caba;
  margin: 15px 0;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  position: relative;
  overflow: hidden;
}

.highlight-box h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.highlight-box p {
  color: #34495e;
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(135deg, #a8caba 0%, #5d4e75 100%);
  color: white;
  padding: 40px 25px;
  text-align: center;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.2);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-card {
    padding: 20px;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .content-section h2 {
    font-size: 2rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}

/* Color Consistency Enhancements */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #a8caba 0%, #5d4e75 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --warm-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --success-gradient: linear-gradient(135deg, #a8e6cf 0%, #7fcdcd 100%);
  --hero-overlay: rgba(102, 126, 234, 0.9);
  --card-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
  --hover-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced page hero with consistent colors */
.page-hero {
  background: var(--secondary-gradient);
  color: white;
  position: relative;
  overflow: hidden;
  text-shadow: var(--text-shadow);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 50px 20px;
  margin-bottom: 20px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay);
  opacity: 0.1;
  z-index: -1;
}

/* Enhanced highlight boxes */
.highlight-box {
  background: var(--warm-gradient);
  border-left: 4px solid #a8caba;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 20px 25px;
  margin: 15px 0;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

/* Enhanced feature cards */
.feature-card {
  background: white;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  border: 1px solid rgba(168, 202, 186, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.02;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(168, 202, 186, 0.2);
  transform: translateY(-8px);
  border-color: #a8caba;
}

/* Enhanced CTA sections */
.cta-section {
  background: var(--secondary-gradient);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 40px 25px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.2);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 4s infinite;
}

.cta-button {
  background: var(--accent-gradient);
  color: white;
  border: none;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

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

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

.cta-button:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

/* Enhanced gallery elements */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 12px 40px rgba(168, 202, 186, 0.2);
  transform: translateY(-5px);
}

.gallery-overlay {
  background: var(--secondary-gradient);
  color: white;
  text-shadow: var(--text-shadow);
}

/* Enhanced collage elements */
.collage-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  transition: all 0.3s ease;
}

.collage-item:hover {
  box-shadow: 0 12px 40px rgba(168, 202, 186, 0.2);
  transform: translateY(-5px);
}

.collage-overlay {
  background: var(--secondary-gradient);
  color: white;
  text-shadow: var(--text-shadow);
}

/* Enhanced contact elements */
.contact-card {
  background: white;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
  border: 1px solid rgba(168, 202, 186, 0.1);
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 12px;
}

.contact-card:hover {
  box-shadow: 0 12px 40px rgba(168, 202, 186, 0.2);
  transform: translateY(-5px);
  border-color: #a8caba;
}

/* Enhanced map container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(168, 202, 186, 0.1);
}

/* Enhanced footer */
footer {
  background: var(--secondary-gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
  animation: shimmer 5s infinite;
  pointer-events: none;
}

/* Enhanced section backgrounds */
.content-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 25px 20px;
  margin: 20px 0;
}

/* Enhanced animations */
@keyframes enhancedShimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: enhancedShimmer 3s infinite;
}

/* Color-coded sections */
.section-primary {
  background: var(--primary-gradient);
  color: white;
}

.section-secondary {
  background: var(--secondary-gradient);
  color: white;
}

.section-accent {
  background: var(--accent-gradient);
  color: white;
}

.section-warm {
  background: var(--warm-gradient);
  color: #333;
}

.section-success {
  background: var(--success-gradient);
  color: #333;
}
