    :root {
      --primary: #0A2647;
      --secondary: #144272;
      --accent: #205295;
      --highlight: #2C74B3;
      --bg-light: #f8f9fa;
      --text-light: #ffffff;
      --text-dark: #343a40;
      --shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
      --transition: all 0.4s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
.lol
{
  color:blue;
  font-family: cursive;

}
    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
      overflow-x: hidden;
    }

    /* Loading Screen */
    #loading-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      transition: opacity 1s, visibility 1s;
      transition-delay: 2s;
    }

    .loader {
      width: 80px;
      height: 80px;
      border: 5px solid rgba(255, 255, 255, 0.2);
      border-top-color: var(--text-light);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    .loading-text {
      color: var(--text-light);
      margin-top: 20px;
      font-size: 1.2rem;
      font-weight: 600;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Header & Navbar */
    header {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      animation: slideInDown 1s ease-out;
    }

    @keyframes slideInDown {
      from {
        opacity: 0;
        transform: translateY(-100%);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
    }

    .logo img {
      height: 50px;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 2rem;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 600;
      transition: var(--transition);
    }

    .nav-links a:hover {
      color: var(--highlight);
    }

    /* Hamburger Menu */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger .line {
      width: 25px;
      height: 3px;
      background-color: var(--primary);
      transition: var(--transition);
    }

    /* Hero Section */
    .hero {
      background-color: var(--primary);
      color: var(--text-light);
      min-height: 90vh;
      display: flex;
      align-items: center;
      padding: 0 2rem;
      position: relative;
      overflow: hidden;
    }

    .hero-background-shapes {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .shape {
      position: absolute;
      background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
      border-radius: 50%;
      animation: float 20s infinite ease-in-out;
    }

    .shape1 {
      width: 300px;
      height: 300px;
      top: -50px;
      left: -50px;
      animation-duration: 25s;
    }

    .shape2 {
      width: 200px;
      height: 200px;
      bottom: -50px;
      right: -50px;
      animation-duration: 18s;
    }

    @keyframes float {
      0% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-30px);
      }

      100% {
        transform: translateY(0px);
      }
    }

    .hero-content {
      text-align: center;
      margin: 0 auto;
      max-width: 800px;
      animation: slideInUp 1s ease-out;
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: 4rem;
      font-weight: 800;
    }

    .hero p {
      font-size: 1.2rem;
      margin: 1rem 0 2rem;
    }

    .hero .btn {
      background: var(--highlight);
      color: var(--text-light);
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 700;
      transition: var(--transition);
    }

    .hero .btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    @keyframes slideInUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Slider Section */
    /* --- Styling for the main slider section --- */
    .slider-section {
      width: 100%;
      max-width: 1200px;
      /* आप इसे अपनी जरूरत के हिसाब से बदल सकते हैं */
      margin: 40px auto;
      /* ऊपर और नीचे स्पेस और बीच में सेंटर करने के लिए */
      padding: 0 20px;
    }

    /* --- Splide Carousel Basic Setup --- */
    .splide {
      width: 100%;
      visibility: hidden;
      /* JavaScript लोड होने तक छुपाएं */
    }

    .splide.is-initialized {
      visibility: visible;
    }

    /* --- Slide Styling (सबसे महत्वपूर्ण) --- */
    .splide__slide {
      /* Images को हमेशा एक ही साइज़ में रखने के लिए */
      aspect-ratio: 16 / 9;
      /* 16:9 का अनुपात, आप इसे 4/3 या अपनी पसंद से बदल सकते हैं */
      overflow: hidden;
      /* यह सुनिश्चित करता है कि image slide से बाहर न जाए */
      border-radius: 15px;
      /* स्लाइड के कोनों को गोल करने के लिए */
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #e0e0e0;
      /* Image लोड होने तक का बैकग्राउंड कलर */
    }

    /* --- Image Styling --- */
    .splide__slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* यह सबसे महत्वपूर्ण है: image को बिना distort किए slide को पूरी तरह से कवर करता है */
      object-position: center;
      /* Image को बीच में फोकस करता है */
      transition: transform 0.4s ease;
    }

    /* Optional: Hover effect for a nice touch */
    .splide__slide:hover img {
      transform: scale(1.05);
      /* Hover करने पर image को हल्का सा zoom करता है */
    }

    /* --- RESPONSIVE DESIGN for Mobile --- */
    @media (max-width: 768px) {
      .slider-section {
        padding: 0 10px;
        margin: 20px auto;
      }

      .splide__slide {
        /* Mobile पर बेहतर दिखने के लिए aspect ratio को बदला जा सकता है */
        aspect-ratio: 4 / 3;
        border-radius: 10px;
      }

    }

    img {
      max-width: 100%;
      /* यह सुनिश्चित करता है कि इमेज अपने कंटेनर से बाहर न जाए */
      height: auto;
      /* यह इमेज की ऊंचाई को चौड़ाई के अनुपात मेंอัตโนมัติ रूप से एडजस्ट करता है */
      display: block;
      /* इमेज के नीचे आने वाली अतिरिक्त स्पेस को हटाता है */
      object-fit: cover;
      /* यह इमेज को बिना खींचे या पिचकाए, उसके बॉक्स में पूरी तरह से फिट करता है */
    }

    .slider-section {
      padding: 80px 2rem;
    }

    .splide__slide {
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      border-radius: 20px;
    }

    .splide__slide img {
      width: 100%;
      height: auto;
      /* Changed for better responsiveness */
      max-height: 60vh;
      /* Added max-height */
      object-fit: cover;
    }

    /* Principal's Message */
    .principal-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 30px;
      padding: 80px 2rem;
      background: #fff;
    }

    .principal-photo {
      width: 250px;
      height: 250px;
      border-radius: 50%;
      object-fit: cover;
      border: 10px solid var(--primary);
      box-shadow: 0 0 30px rgba(10, 38, 71, 0.3);
      animation: pop-in 1s ease-out;
    }

    .principal-message {
      animation: slide-in-right 1s ease-out;
    }

    .principal-message h2 {
      font-size: 2.5rem;
      color: var(--primary);
    }

    @keyframes pop-in {
      from {
        transform: scale(0.8);
        opacity: 0;
      }

      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    @keyframes slide-in-right {
      from {
        transform: translateX(50px);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    /* === UPDATED: COURSES SECTION WITH HEAVY ANIMATION === */
    .courses-section {
      padding: 80px 2rem;
      text-align: center;
    }

    .courses-section h2 {
      font-size: 2.5rem;
      margin-bottom: 50px;
    }

    .courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .course-card {
      background: #fff;
      border-radius: 20px;
      padding: 30px;
      box-shadow: var(--shadow);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
      animation: pop-in 1s ease-out;
      animation-play-state: paused;
    }

    .course-card:hover {
      transform: translateY(-15px);
    }

    .course-card .course-icon {
      font-size: 3.5rem;
      color: var(--highlight);
      margin-bottom: 20px;
      transition: var(--transition);
    }

    .course-card:hover .course-icon {
      transform: scale(1.1) rotate(10deg);
    }

    .course-card h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .btn-apply {
      background: var(--highlight);
      color: var(--text-light);
      text-decoration: none;
      padding: 12px 25px;
      border-radius: 50px;
      font-weight: 600;
      display: inline-block;
      margin-top: 20px;
      transition: var(--transition);
    }

    .btn-apply:hover {
      background: var(--primary);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* === FIXED: FACULTY SECTION RESPONSIVENESS === */
   /* ============ FACULTY SECTION STYLES ============ */
.faculty-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.faculty-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faculty-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #1a2a4c;
  animation: fadeInDown 1s ease-out;
}

/* 3D Carousel Card Styles */
.splide__slide {
  /* This creates the 3D perspective for the cards */
  perspective: 1000px;
}

.faculty-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d; /* Essential for 3D effect */
  position: relative;
  overflow: hidden;
}

.faculty-card:hover {
  transform: translateY(-15px) rotateY(10deg) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.faculty-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-image img {
  transform: scale(1.1);
}

.faculty-info {
  padding: 25px;
  text-align: center;
  transform: translateZ(20px); /* Brings text slightly forward in 3D space */
}

.faculty-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin: 0 0 5px 0;
  color: #1a2a4c;
}

.faculty-info p {
  font-size: 1rem;
  color: #6a11cb;
  margin: 0;
  font-weight: 600;
}

/* Splide Carousel Arrows Styling */
.splide__arrow {
  background: #6a11cb;
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.splide__arrow:hover {
  opacity: 1;
}

.splide__arrow svg {
  fill: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faculty-section .section-title {
    font-size: 2.2rem;
  }
  .faculty-image {
    height: 250px;
  }
}


    /* === NEW: GALLERY SECTION === */
  /* === Gallery Section Styling === */
        .gallery-section {
            padding: 80px 2rem;
            text-align: center;
        }

        .gallery-section h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 50px;
            color: var(--dark-color);
        }

        .gallery-grid {
            display: grid;
            /* Responsive grid: creates as many columns as fit */
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .gallery-item {
            overflow: hidden;
            border-radius: 15px;
            box-shadow: var(--shadow);
            position: relative;
            cursor: pointer;
            /* Entrance Animation */
            animation: pop-in 0.6s ease-out backwards;
        }

        @keyframes pop-in {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover; /* This prevents image stretching and maintains sharpness */
            display: block;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1); /* Zoom effect on hover */
        }

        .gallery-item .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            opacity: 0;
            transition: var(--transition);
        }

        .gallery-item:hover .overlay {
            opacity: 1;
        }

        /* === Lightbox Modal (for viewing full image) === */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            /* Initially hidden */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .lightbox.show {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 10px;
            /* Animation for image loading */
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .lightbox-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            padding: 10px 15px;
            border-radius: 50%;
            transition: background 0.3s ease;
            z-index: 1001;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .lightbox-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        #close-btn {
            top: 20px;
            right: 20px;
            transform: none;
        }

        #prev-btn {
            left: 20px;
        }

        #next-btn {
            right: 20px;
        }

    /* === NEW: BLOG SECTION === */
    .blog-section {
      padding: 80px 2rem;
      background: #fff;
      text-align: center;
    }

    .blog-section h2 {
      font-size: 2.5rem;
      margin-bottom: 50px;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      text-align: left;
    }

    .blog-post {
      background: #fff;
      border-radius: 15px;
      box-shadow: var(--shadow);
      overflow: hidden;
      animation: slide-in-up 1s ease-out;
      animation-play-state: paused;
    }

    .blog-post img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .blog-content {
      padding: 25px;
    }

    .blog-meta {
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 10px;
    }

    .blog-title {
      font-size: 1.4rem;
      color: var(--primary);
      margin-bottom: 15px;
    }

    .btn-read-more {
      background: transparent;
      color: var(--highlight);
      text-decoration: none;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: var(--transition);
    }

    .btn-read-more:hover {
      color: var(--primary);
      gap: 12px;
    }

    @keyframes slide-in-up {
      from {
        transform: translateY(50px);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    /* === UPDATED: FOOTER SECTION === */
   
.footer-section {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 40px 20px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s, transform 1s;
}

.footer-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

/* HEAVY 3D ANIMATION on Columns */
.footer-column {
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.footer-column:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.footer-title {
    color: var(--footer-title);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 3px;
    animation: expand-underline 2s infinite alternate;
}

@keyframes expand-underline {
    from { width: 40px; }
    to { width: 80px; }
}

.footer-about p {
    line-height: 1.8;
}

/* Quick Links Animation */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary-accent);
    transform: translateX(10px);
}

.footer-links a .fa-angle-right {
    transition: transform 0.3s ease;
}

.footer-links a:hover .fa-angle-right {
    transform: rotate(90deg);
}

/* Map Styling & Animation */
.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(80%) contrast(1.2) opacity(0.8);
    transition: var(--transition);
}

.footer-column:hover .map-wrapper iframe {
    filter: grayscale(0%) contrast(1) opacity(1);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-accent);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
        padding: 60px 20px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
    /* Responsive Navbar */
    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      }

      .nav-links.active {
        display: flex;
      }

      .nav-links li {
        padding: 1rem 0;
      }

      .hero h1 {
        font-size: 3rem;
      }
    }
