@font-face {
  font-family: 'Ethnocentric Rg';
  src: url('font/EthnocentricRg-Regular.woff2') format('woff2'),
      url('font/EthnocentricRg-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



/* ===========================================
   VARIABLES & ROOT STYLES
   =========================================== */
   :root {
    /* Colors */
    --primary-color: #3F51B5;       /* Royal Indigo */
    --secondary-color: #1B2A41;     /* Gray */
    --background-color: #FAFAFA;    /* Cream White */
    --text-color: #607D8B;          /* Slate Gray */
    --gradient-accent: linear-gradient(185deg, #4aa0d1, #1aa9cc); /* Balanced, light-to-medium blue */
    --gray-light: #D3D3D3;          /* Silver Gray */
    --white: #FFFFFF;
    --gray: #CCCCCC;
    --gray-dark: #666666;
    --black: #000000;
    --overlay-dark: rgba(27, 38, 59, 0.85);
    --overlay-light: rgba(255, 255, 255, 0.85);
    --shadow: rgba(0, 0, 0, 0.1);
    --folder-color: linear-gradient(135deg, #5ca8f5, #367094);
  
    /* Fonts */
    --primary-font: 'Poppins', sans-serif;
    --secondary-font: 'Poppins', sans-serif;
  
    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
  
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
  
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 30px;
    --border-radius-full: 50%;
  
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
  
    /* Z-index levels */
    --z-index-backdrop: 10;
    --z-index-modal: 20;
    --z-index-dropdown: 30;
    --z-index-header: 100;
  
    /* Shadows */
    --soft-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 10px;
  }
  
  /* ===========================================
     RESET & BASE STYLES
     =========================================== */
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--primary-color);
  }
  
  body {
    font-family: var(--secondary-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    font-weight: var(--fw-bold);
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    background:  #1B2A41; /* Gradient for headings */
    -webkit-background-clip: text;
    background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  h1 {
    font-size: 4.8rem;
  }
  
  h2 {
    font-size: 3.6rem;
  }
  
  h3 {
    font-size: 2.4rem;
  }
  
  h4 {
    font-size: 2rem;
  }
  
  p {
    margin-bottom: var(--spacing-sm);
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: var(--fw-medium);
    position: relative;
  }
  
  a::after {
    content: none; /* Remove underline hover effect */
  }
  
  a:hover::after {
    content: none; /* Ensure no underline on hover */
  }
  
  ul, ol {
    list-style-position: inside;
    margin-bottom: var(--spacing-sm);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  button:not(.hamburger-button), .btn {
    cursor: pointer;
    font-family: var(--primary-font);
    font-weight: var(--fw-medium);
    font-size: 1.6rem;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius-md);
    background:linear-gradient(135deg, #0f4b75, #4aa0d1, #1aa9cc);
    /* Gradient for buttons */
    color: var(--background-color);
    border: none;
    outline: none;
    box-shadow: var(--soft-shadow);
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-align: center;
  }
  
  button:hover, .btn:hover {
    background: linear-gradient(135deg, #4aa0d1, #1aa9cc); /* Reverse gradient on hover */
    transform: translateY(-2px);
  }
  
  button:active, .btn:active {
    transform: translateY(0);
  }
  
  .btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
  }
  
  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
  }
  
  .btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
  }
  
  /* Contact Buttons */
.contact-buttons {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: var(--z-index-header);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.appointment-button {
  width: 180px;
  height: 50px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: var(--fw-medium);
  box-shadow: var(--soft-shadow);
  transition: transform var(--transition-normal), background var(--transition-normal);
  text-decoration: none;
  margin-bottom: 15px;
}

.appointment-button:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #4aa0d1, #1aa9cc); /* Reverse gradient on hover */
}

.appointment-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .appointment-button {
    width: 150px;
    font-size: 1.2rem;
  }
}

.contact-buttons.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-button {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
  color: var(--white);
  font-size: 2rem;
  box-shadow: var(--soft-shadow);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.contact-button:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #1edfed, #257cb8);
}

.contact-button:active {
  transform: translateY(0);
}

/* Styles for h7 element */
  h7 {
    font-size: 4.2rem;
    font-weight: var(--fw-bold);
    line-height: 1.3;
    background: var(--gradient-accent); /* Gradient background */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
  }
  
  /* ===========================================
     UTILITY CLASSES
     =========================================== */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .section-title {
    text-align: center;
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 4px;
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    transform: translateX(-50%);
  }
  
  .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.8rem;
  }
  
  .text-center {
    text-align: center;
  }
  
  .hidden {
    display: none;
  }
  
  /* ===========================================
     HEADER & NAVIGATION
     =========================================== */
  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-accent); /* Default gradient background */
    color: var(--white); /* White text */
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-index-header);
    transition: background-color var(--transition-normal), color var(--transition-normal);
  }
  
  #header.transparent {
    background: transparent !important; /* Ensure full transparency */
    color: var(--white); /* White text for transparent navbar */
    border: none; /* Remove border for transparency */
    box-shadow: none; /* Remove shadow for transparency */
    backdrop-filter: none; /* Remove blur effect */
  }
  
  #header.scrolled {
    background: var(--gradient-accent); /* Gradient for scrolled navbar */
    color: var(--white); /* Keep text white */
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
  }
  
  .logo h1 {
    font-size: 2.4rem;
    font-weight: var(--fw-bold);
    color: var(--white);
    margin-bottom: 0;
  }
  
  .logo span {
    color: var(--secondary-color);
  }

  .logo img.logo-text {
    height: 35px; /* Reduced height */
    max-width: 100%; /* Ensure it doesn't overflow */
  }

  @media (max-width: 768px) {
    .logo img.logo-text {
      height: 25px; /* Further reduce size for mobile */
    }
  }

  .hamburger-button {
    z-index: 100; /* Ensure it stays above the logo */
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    margin-bottom: 0;
  }
  
  .nav-links li {
    margin-left: 3rem;
  }
  
  .nav-links a {
    color: var(--white); /* White text for links */
    font-weight: var(--fw-medium);
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-normal);
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--secondary-color); /* Highlight color */
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  .notices-menu {
    position: relative;
  }
  
  .new-dot {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ff7b7b, #b23131); /* Blue Violet to Medium Purple */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }

  .new-dot.dot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
      background: linear-gradient(135deg, #ff7b7b, #b23131); /* Blue Violet to Medium Purple */
    animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }
  
  /* ===========================================
     HERO SECTION
     =========================================== */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-md);
  }
  
  .hero-content h1 {
    color: var(--white);
    font-size: 6rem;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-content h1 span {
    color: var(--secondary-color);
  }
  
  .hero-content p {
    font-size: 2.4rem;
    margin-bottom: var(--spacing-lg);
  }

  .scroll-reminder {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    display: none; /* Hidden by default */
  }

  .scroll-reminder .mouse {
    width: 32px; /* Increased width */
    height: 52px; /* Increased height */
    border: 3px solid var(--white); /* Adjusted border thickness */
    border-radius: 16px; /* Adjusted border radius */
  }

  .scroll-reminder .mouse-wheel {
    width: 6px; /* Increased width */
    height: 12px; /* Increased height */
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
  }

  .scroll-reminder p {
    margin-top: 12px;
    font-size: 2rem; /* Increased font size */
    font-weight: var(--fw-bold); /* Made text bold */
  }

  @keyframes scroll-wheel {
    0% {
      opacity: 1;
      transform: translate(-50%, 0);
    }
    50% {
      opacity: 0.5;
      transform: translate(-50%, 10px);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

  @media (min-width: 769px) { /* Show only on desktops */
    .scroll-reminder {
      display: block;
    }
  }

  @media (max-width: 768px) {
    .scroll-reminder {
      display: none !important; /* Force hiding on mobile devices */
    }
    .hero {
      height: 100vh; /* Increased height for mobile view */
      margin-bottom: 0; /* Remove negative margin */
      position: relative; /* Ensure proper positioning */
    }
    .hero-video {
      height: 100%; /* Full height of parent */
      max-height: none; /* Remove max-height restriction */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      object-fit: cover;
    }
  }
  
  /* ===========================================
     PAGE BANNER
     =========================================== */
  .page-banner {
    height: 300px;
    background-image: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.8)), url('https://placehold.co/1920x600/1B263B/ffffff?text=Notices');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Header height */
  }
  
  .banner-content h1 {
    color: var(--white);
    font-size: 4.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .banner-content p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  /* Updated gradient background for page banners */
  .page-banner .banner-content h7 {
    background: var(--gradient-accent); /* Gradient for h7 in banners */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* Page-specific banner backgrounds */
  #about-banner {
    background-image: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.8)), url('https://placehold.co/1920x600/1B263B/ffffff?text=About+Us');
  }
  
  /* For About page specific styles */
  .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
  }
  
  .about-img {
    flex: 1;
    min-width: 300px;
  }
  
  .about-img img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .about-text {
    flex: 2;
    min-width: 300px;
  }
  
  .profile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-lg);
  }
  
  .profile-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .profile-img img.founder-portrait {
    border-radius: var(--border-radius-full);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 300px;
  }
  
  .profile-info {
    flex: 2;
    min-width: 300px;
  }
  
  .profile-info h3 {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .profile-details {
    margin-top: var(--spacing-md);
  }
  
  /* ===========================================
     FOUNDER SECTION
     =========================================== */
  .founder {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
    margin-bottom: var(--spacing-xl);
    overflow: hidden; /* Prevent content overflow */
  }
  
  .founder-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
  }
  
  .founder-img {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    position: relative;
    margin: 0 auto;
  }
  
  .founder-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%; /* Changed from border-radius-lg to 50% for perfect circle */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2; /* Ensure image stays above background circles */
  }
  
  /* Enhanced decorative background circles */
  .founder-img::before,
  .founder-img::after,
  .founder-img .circle-decoration {
    content: '';
    position: absolute;
    border-radius: 50%;
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    opacity: 0.15;
    z-index: 1;
  }
  
  .founder-img::before {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -60px;
    animation: floatCircle1 6s ease-in-out infinite;
  }
  
  .founder-img::after {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -40px;
    animation: floatCircle2 8s ease-in-out infinite;
  }
  
  /* Add two more circles */
  .founder-content::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    opacity: 0.1;
    top: 40%;
    left: 40%;
    z-index: 1;
    animation: floatCircle3 7s ease-in-out infinite;
  }
  
  .founder-content::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    opacity: 0.12;
    bottom: 20%;
    right: 45%;
    z-index: 1;
    animation: floatCircle4 5s ease-in-out infinite;
  }
  
  /* Enhanced floating animations */
  @keyframes floatCircle1 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(30px, -30px) scale(1.1);
    }
  }
  
  @keyframes floatCircle2 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(-25px, 25px) scale(1.15);
    }
  }
  
  @keyframes floatCircle3 {
    0%, 100% {
      transform: translate(0, 0) rotate(0deg);
    }
    50% {
      transform: translate(20px, -20px) rotate(180deg);
    }
  }
  
  @keyframes floatCircle4 {
    0%, 100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
      transform: translate(-15px, -25px) scale(1.2) rotate(-180deg);
    }
  }
  
  @media (max-width: 992px) {
    .founder-img {
      width: 280px; /* Smaller fixed width on mobile */
      height: 280px; /* Keep it square */
    }
    
    .founder-img img {
      width: 100%;
      height: 100%;
    }
    
    .founder-img::before {
      width: 150px;
      height: 150px;
    }
    
    .founder-img::after {
      width: 100px;
      height: 100px;
    }
  }
  
  .founder-info {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
    padding: 0;
  }
  
  .founder-info h3 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .designation {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: var(--fw-medium);
  }

  @media (min-width: 992px) {
    .founder-content {
      gap: var(--spacing-xl);
      align-items: center;
    }
    .founder {
      margin-bottom: calc(var(--spacing-xl) * 2);
    }
    .founder-img {
      flex: 0 1 400px;
    }
    .founder-info {
      flex: 0 1 600px;
    }
  }
  
  @media (max-width: 992px) {
    .founder-content {
      flex-direction: column;
      text-align: center;
      gap: var(--spacing-lg);
      align-items: center;
    }

    .founder-img {
      margin: 0 auto var(--spacing-lg);
      max-width: 320px;
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .founder-img img {
      max-width: 100%;
      height: auto;
    }

    .founder-info {
      padding: 0;
      margin: 0 auto;
      width: 100%;
      max-width: 600px;
    }

    .founder {
      padding: var(--spacing-lg) 0;
      margin-bottom: var(--spacing-lg);
    }
  }

  @media (max-width: 768px) {
    .founder-content {
      padding: 0 var(--spacing-sm);
      gap: var(--spacing-md);
    }

    .founder-info p {
      display: block;
      overflow: visible;
      font-size: 1.5rem;
      line-height: 1.6;
    }
    
    .founder {
      padding: var(--spacing-md) 0;
      margin-top: 40px;
      position: relative;
      z-index: 1;
    }
    
    .founder-img {
      max-width: 280px;
      margin-bottom: var(--spacing-md);
    }
  }

  @media (min-width: 769px) and (max-width: 992px) {
    .founder-info p {
      /* Remove line clamping to prevent content from being cut off */
      display: block;
      overflow: visible;
    }
    
    /* Improve spacing for tablets */
    .founder-img img {
      max-width: 80%;
    }
    
    /* Ensure stats section displays properly on tablets */
    .stats-section {
      justify-content: space-evenly;
      margin: var(--spacing-md) auto;
      max-width: 90%;
    }
  }
  
  /* ===========================================
     FEATURES SECTION
     =========================================== */
  .features {
    padding: var(--spacing-xl) 0;
    background-color: var(--gray-light);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent); /* Gradient for feature icons */
    color: var(--white);
    border-radius: var(--border-radius-full);
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .feature-icon i {
    font-size: 3rem;
  }
  
  .feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  /* ===========================================
     COURSES SECTION
     =========================================== */
  .courses {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
  }
  
  .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }
  
  .course-card {
    background-color: var(--gray-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent); /* Use gradient for course card hover effect */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    z-index: -1;
  }
  
  .course-card:hover {
    color: var(--white);
  }
  
  .course-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .course-card:hover h3 {
    color: var(--white);
  }
  
  .course-card h3 {
    font-size: 2.2rem;
    transition: color var(--transition-normal);
  }
  
  .course-card p {
    font-size: 1.6rem;
  }
  
  /* ===========================================
     TESTIMONIALS SECTION
     =========================================== */
  .testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-accent); /* Gradient for testimonials section */
  }
  
  .testimonials .section-title {
    color: var(--white);
  }
  
  .testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
  }
  
  .testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .testimonial-content {
    position: relative;
    padding: var(--spacing-sm) 0;
    color: #ffffffd3;
  }
  
  .testimonial-content::before {
    content: '\201C';
    font-family: serif;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 6rem;
    color: var (--secondary-color);
    opacity: 0.2;
  }
  
  .testimonial-author {
    margin-top: var (--spacing-md);
    text-align: right;
    color: #ffffffd3;
  }
  
  .testimonial-author p {
    margin-bottom: 0;
  }
  
  /* ===========================================
     CONTACT BUTTONS
     =========================================== */
  .contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 120px; /* Position above scroll-to-top */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: var(--z-index-header);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .contact-button {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform var(--transition-normal);
    box-shadow: var(--soft-shadow);
  }

  .contact-button:hover {
    transform: scale(1.1);
  }

  .whatsapp-button {
    background-color: #25D366; /* WhatsApp green */
  }

  .call-button {
    background-color: #0088cc; /* Call blue */
  }

  @media (max-width: 768px) {
    .contact-buttons {
      right: 15px;
      bottom: 90px;
    }
  }

  /* ===========================================
     FOOTER SECTION
     =========================================== */
  #footer {
    background: var(--gradient-accent); /* Use gradient for footer */
    color: var(--white);
    padding-top: var(--spacing-xl);
  }
  
  #footer h3 {
    color: #708090; /* Apply Slate Gray to footer headings */
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
  }
  
  .footer-logo h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .footer-logo span {
    color: var(--secondary-color);
  }
  
  .footer-logo p {
    font-size: 1.6rem;
  }
  
  .footer-links h3,
  .footer-contact h3,
  .footer-social h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
  }
  
  .footer-links h3::after,
  .footer-contact h3::after,
  .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color); /* Teal */
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links ul li {
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-links ul li a {
    color: var(--white);
    transition: color var(--transition-normal);
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color); /* Teal */
  }
  
  .footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
  }
  
  .footer-contact p {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
  }
  
  .footer-contact i {
    color: var(--secondary-color);
    margin-right: var(--spacing-sm);
    font-size: 1.8rem;
    margin-top: 0.3rem;
  }
  
  .social-icons {
    display: flex;
    gap: var(--spacing-sm);
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    color: var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .social-icons a:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2); /* Fluid animation */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    text-align: center;
  }
  
  .footer-bottom p {
    margin-bottom: 0;
    font-size: 1.4rem;
  }
  
  /* ===========================================
     CONTACT PAGE SECTIONS
     =========================================== */
  #contact-banner {
    background-image: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.8)), url('https://placehold.co/1920x600/1B263B/ffffff?text=Contact+Us');
  }
  
  .contact-info {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
  }
  
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
  }
  
  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent); /* Use gradient for icons */
    color: var(--white);
    border-radius: var(--border-radius-full);
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
  }
  
  .info-card h3 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-md);
  }
  
  .info-card p {
    margin-bottom: var(--spacing-sm);
  }
  
  /* Map Title */
  .map-title {
    font-size: 1.8rem;
    font-weight: var(--fw-medium);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    color: var(--primary-color);
  }
  
  /* Contact Form */
  .contact-form {
    padding: var(--spacing-xl) 0;
    background-color: var(--gray-light);
  }
  
  .form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .form-group {
    margin-bottom: var(--spacing-md);
  }
  
  .form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--fw-medium);
  }
  
  input,
  textarea,
  select {
    width: 100%;
    padding: 1.2rem;
    font-family: var(--secondary-font);
    font-size: 1.6rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius-md);
    margin-bottom: 0;
    outline: none;
    transition: border-color var(--transition-normal);
  }
  
  input:focus,
  textarea:focus,
  select:focus {
    border-color: var(--secondary-color);
  }
  
  .form-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  
  .maps-container {
    flex: 1;
    min-width: 300px;
  }
  
  form#contactForm {
    flex: 2;
    min-width: 300px;
  }
  
  /* ===========================================
     ANIMATION CLASSES
     =========================================== */
  /* Fade in animation for page load */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  }
  
  .animate-on-load-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  }
  
  /* Animation for scrolling elements */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(50px); /* Default slide-in from bottom */
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.8s ease forwards; /* Default animation */
  }
  
  /* Optional: Add variations for specific directions */
  .animate-on-scroll-left.in-view {
    animation: slideInLeft 0.8s ease forwards;
  }
  
  .animate-on-scroll-right.in-view {
    animation: slideInRight 0.8s ease forwards;
  }
  
  .animate-on-scroll-down.in-view {
    animation: slideInDown 0.8s ease forwards;
  }
  
  /* Slide-in animations */
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* Optional: Add a variation for right-to-left movement */
  .animate-on-scroll-right {
    transform: translateX(50px); /* Start from the right */
  }
  
  .animate-on-scroll-right.in-view {
    transform: translateX(0); /* Move to original position */
  }
  
  /* ===========================================
     MEDIA QUERIES FOR RESPONSIVE DESIGN
     =========================================== */
  /* Tablets */
  @media (max-width: 992px) {
    html {
      font-size: 56.25%; /* 9px = 1rem */
    }
  
    .hero-content h1 {
      font-size: 5rem;
    }
  
    .hero-content p {
      font-size: 2rem;
    }
  }
  
  /* Mobile Phones */
  @media (max-width: 768px) {
    html {
      font-size: 50%; /* 8px = 1rem */
    }
    
    /* Hide video and show mobileview.png as background for hero section on mobile */

    
    .hero-video {
      display: none;
    }
  
    .hero-content h1 {
      font-size: 4rem;
    }
  
    .hero-content p {
      font-size: 1.8rem;
    }
  
    .founder-content,
    .about-content {
      flex-direction: column;
    }
  
    .founder-img,
    .about-img {
      margin-bottom: var(--spacing-md);
    }
  
    .section-title {
      font-size: 3rem;
    }
  
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      flex-direction: column;
      background-color: var(--primary-color);
      padding: 8rem 2rem 2rem;
      transition: right var(--transition-normal);
      z-index: 90;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .nav-links li {
      margin: 1.5rem 0;
    }
  
    .gallery-img img {
      border-radius: var(--border-radius-lg); /* More rounded corners for mobile */
    }

    #header.transparent {
      background: var(--gradient-accent) !important; /* Set gradient background */
      color: var(--white); /* Ensure text remains white */
      border: 1px solid var(--glass-border); /* Add border back */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add shadow */
      backdrop-filter: blur(var(--glass-blur)); /* Add blur effect */
    }
  }
  
  /* Small Mobile Phones */
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 3.5rem;
    }
  
    .features-grid {
      grid-template-columns: 1fr;
    }
  
    .feature-card {
      max-width: 350px;
      margin: 0 auto;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
      left: 50%;
      transform: translateX(-50%);
    }
  
    .footer-links ul li a {
      padding-left: 0;
    }
  
    .footer-links ul li a::before {
      content: none;
    }
  
    .footer-contact p {
      justify-content: center;
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  
  /* ===========================================
     COURSES PAGE SECTIONS
     =========================================== */
  #courses-banner {
    background-image: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.8)), url('https://placehold.co/1920x600/1B263B/ffffff?text=Our+Courses');
  }
  
  .special-programs {
    padding: var(--spacing-xl) 0;
    background-color: var(--gray-light);
  }
  
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .program-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .program-card:hover {
    transform: translateY(-10px);
  }
  
  .program-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent); /* Gradient for program icons */
    color: var(--white);
    border-radius: var(--border-radius-full);
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .program-icon i {
    font-size: 3rem;
  }
  
  .program-card h3 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .program-card p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
  }
  
  .program-card .btn {
    align-self: center;
  }
  
  /* ===========================================
     GALLERY PAGE SECTIONS
     =========================================== */
  #gallery-banner {
    background-image: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.8)), url('https://placehold.co/1920x600/1B263B/ffffff?text=Gallery');
  }

  #notices-banner{
    background-image: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.8)), url('https://placehold.co/1920x600/1B263B/ffffff?text=Notices');

  }
  
  .gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
  }
  
  .gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .filter-btn {
    background-color: transparent;
    color: var(--gray-dark);
    border: none;
    padding: 1rem 2rem;
    margin: 0 0.5rem 1rem;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
  }
  
  .gallery-filter .filter-btn {
    color: var(--white); /* Set text color to white */
  }
  
  .gallery-filter .filter-btn:hover,
  .gallery-filter .filter-btn.active {
    color: var(--white); /* Remove hover and active color for division menu */
  }
  
  .filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    color: var(--secondary-color);
  }
  
  .filter-btn:hover::after,
  .filter-btn.active::after {
    width: 70%;
  }
  
  .gallery-filter .filter-btn.active {
    transform: translateY(-5px); /* Raise the active button */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for raised effect */
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
  }
  
  .gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
  }
  
  .gallery-img {
    position: relative;
    overflow: hidden;
  }
  
  .gallery-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
    border-radius: var(--border-radius-md); /* Default rounded corners */
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent); /* Gradient for gallery overlay */
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    padding: var(--spacing-md);
    text-align: center;
  }
  
  .gallery-item:hover .gallery-img img {
    transform: scale(1.1);
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  .gallery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-sm);
    transform: translateY(-20px);
    opacity: 0;
    transition: all var(--transition-normal);
  }
  
  .gallery-icon i {
    font-size: 2rem;
  }
  
  .gallery-item:hover .gallery-icon {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
  }
  
  .gallery-overlay h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
  }
  
  .gallery-overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
    margin-bottom: 0;
  }
  
  .gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
  }
  
  .gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
  }


  
  /* Faculty Section */
  .faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .faculty-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: visible; /* Allow circles to be visible outside card */
  }
  
  .faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  /* Decorative circles for faculty cards */
  .faculty-card::before,
  .faculty-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    opacity: 0.1;
    z-index: -1;
  }

  .faculty-card::before {
    width: 80px;
    height: 80px;
    top: -20px;
    left: -20px;
    animation: facultyCircle1 8s ease-in-out infinite;
  }

  .faculty-card::after {
    width: 60px;
    height: 60px;
    bottom: -15px;
    right: -15px;
    animation: facultyCircle2 6s ease-in-out infinite;
  }

  /* Add a third circle using pseudo-element on the faculty-info */
  .faculty-info::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    opacity: 0.08;
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    animation: facultyCircle3 7s ease-in-out infinite;
  }

  /* Animations for faculty card circles */
  @keyframes facultyCircle1 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(15px, -15px) scale(1.1);
    }
  }

  @keyframes facultyCircle2 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(-10px, 10px) scale(1.15);
    }
  }

  @keyframes facultyCircle3 {
    0%, 100% {
      transform: translate(0, 0) rotate(0deg);
    }
    50% {
      transform: translate(10px, -10px) rotate(180deg);
    }
  }

  /* Update faculty card hover effect */
  .faculty-card:hover::before {
    animation-play-state: paused;
  }

  .faculty-card:hover::after {
    animation-play-state: paused;
  }

  .faculty-info:hover::before {
    animation-play-state: paused;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .faculty-card::before {
      width: 60px;
      height: 60px;
      top: -15px;
      left: -15px;
    }
    
    .faculty-card::after {
      width: 40px;
      height: 40px;
      bottom: -10px;
      right: -10px;
    }
    
    .faculty-info::before {
      width: 30px;
      height: 30px;
    }
  }
  
  .faculty-img {
    flex: 0 0 100px;
    margin-right: var(--spacing-md);
  }
  
  .faculty-img img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
  }
  
  .faculty-info {
    flex: 1;
  }
  
  .faculty-info h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .faculty-info .subject {
    font-size: 1.4rem;
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    margin-top: var(--spacing-xs);
    font-weight: var(--fw-medium);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  /* Backgrounds for each subject */
  .faculty-info .subject.physics
  {
   background: linear-gradient(135deg, #6fdc8c,#3a8451); /* Dodger Blue to Light Sky Blue */
  }
  
  .faculty-info .subject.maths {
    background: linear-gradient(135deg, #5ca8f5, #367094); /* Dodger Blue to Light Sky Blue */
  }

  .faculty-info .subject.chemistry {
   background: linear-gradient(135deg, #f9b384, #c97b4a); /* Gold to Orange */; /* Tomato to Coral */
  }
  
  .faculty-info .subject.hindi {
     background: linear-gradient(135deg, #c79efc , #7d57b2 );
  }
  
  .faculty-info .subject.english {
    background: linear-gradient(135deg, #7ed6df, #3a8f9f); /* Blue Violet to Medium Purple */
  }
  
  .faculty-info .subject.biology {
        background: linear-gradient(135deg, #f7a8b8, #b2566b); /* Lime Green to Lawn Green */
  }
  
  .faculty-info .subject.commerce {
    background: linear-gradient(135deg, #ffe66d, #c7a009); /* Blue Violet to Medium Purple */
  }

  .faculty-info .subject.social {
    background: linear-gradient(135deg, #d9b382, #8c6239 ); /* Blue Violet to Medium Purple */
  }

  .faculty-info .subject.social-science {
    background: linear-gradient(135deg, #a8f0cf, #4ca584 ); /* Orange Red to Tomato */
  }
  
  /* Add spacing between faculty section and footer */
  .faculty {
    margin-top: var(--spacing-xl); /* Add spacing above faculty section */
    margin-bottom: var(--spacing-xl); /* Maintain spacing below faculty section */
  }

  /* ===========================================
     NOTICES SECTION
     =========================================== */
  .notices {
    margin-bottom: var(--spacing-xl); /* Add spacing below notices section */
  }

  .notices .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
  }

  .notices .gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
  }

  .notices .gallery-img {
    position: relative;
    overflow: hidden;
  }

  .notices .gallery-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-normal);
  }

  .notices .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    padding: var(--spacing-md);
    text-align: center;
  }

  .notices .gallery-item:hover .gallery-img img {
    transform: none; /* Disable zoom effect */
  }

  .notices .gallery-item:hover .gallery-overlay {
    opacity: 0; /* Hide overlay */
  }

  .notices .gallery-icon {
    display: none; /* Hide zoom icon */
  }

  .notices .gallery-item:hover .gallery-icon {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
  }

  .notices .gallery-overlay h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
  }

  .notices .gallery-overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
    margin-bottom: 0;
  }

  .notices .gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
  }

  .notices .gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
  }

  /* ===========================================
     STATISTICS SECTION
     =========================================== */
  .stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-md) 0;
    color: #008080; /* Updated text color to Teal */
    flex-wrap: wrap; /* Allow stats to wrap on smaller screens */
    gap: var(--spacing-md); /* Add gap between stats when they wrap */
  }

  .stat {
    text-align: center;
    flex: 1 0 auto; /* Allow stats to grow but maintain minimum size */
    min-width: 80px; /* Minimum width for each stat */
    margin-bottom: var(--spacing-sm); /* Add space between rows when wrapped */
  }

  .stat-number {
    font-size: 3.6rem;
    font-weight: var(--fw-bold);
    margin-bottom: var(--spacing-xs);
    background:linear-gradient(135deg, #a3b9c9, #4aa0d1, #1aa9cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .stat p {
    font-size: 1.6rem;
    font-weight: var(--fw-medium);
    color: #008080; /* Updated text color to Teal */
  }
  
  /* Media query for stats section on smaller screens */
  @media (max-width: 480px) {
    .stats-section {
      padding: var(--spacing-sm);
    }
    
    .stat-number {
      font-size: 3rem; /* Slightly smaller font size on mobile */
    }
  }
  
  /* Media query for stats section on smaller screens */
  @media (max-width: 480px) {
    .stats-section {
      padding: var(--spacing-sm);
    }
    
    .stat-number {
      font-size: 3rem; /* Slightly smaller font size on mobile */
    }
  }

  /* ===========================================
     UP ARROW BUTTON
     =========================================== */
  #up-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f4b75, #4aa0d1, #1aa9cc);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--soft-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform 0.3s ease;
    z-index: 1000;
  }

  #up-arrow.visible {
    opacity: 1;
    visibility: visible;
  }

  #up-arrow:hover {
    transform: scale(1.2); /* Slightly enlarge the button on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */
  }

  #up-arrow i {
    font-size: 2rem;
  }

  /* ===========================================
     FOLDER STYLES
     =========================================== */
  .folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

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

  .folder-icon {
    font-size: 4rem;
    color:var(--folder-color);
    margin-bottom: var(--spacing-xs);
  }
  .gradient-icon {
    background: var(--folder-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* For non-webkit fallback */
  }
  

  .folder-label {
    font-size: 1.6rem;
    font-weight: var(--fw-medium);
    text-align: center;
  }

  /* Expanded Folder Styles */
  .folder-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Set grid to 3 columns */
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  .folder.expanded .folder-content {
    max-height: 500px; /* Adjust based on content size */
  }

  /* Image Styles */
  .folder-content img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensure all images have the same ratio */
    object-fit: cover; /* Maintain aspect ratio and fill the container */
    border-radius: var(--border-radius-md);
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
  }

  .folder-content img:hover {
    transform: scale(1.1);
   }
