/* Base Styles */
:root {
  --primary-color: #ae4d2e;
  --secondary-color: #c18c2a;
  --dark-color: #172358;
  --accent-color: #00bce6;
}

/* Reset all margins and padding globally */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
     max-width: 100%;
}
html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    align-items:strect;
}
 body {
         /* Height of your header */
          margin: 0;
    padding: 0;
    align-items:center;
    }
    

/* Ensure all containers stay within viewport */
.container, .container-fluid {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
/* Fix for carousels and sliders */
.carousel,
.owl-carousel {
    width: 100%;
    max-width: 100%;
}
.carousel-item {
    width: 100%;
}
/* Make all sections full width and height */
section, header, footer, main {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  text-align:center;
}

/* Optional: If you want sections to be full viewport height */
.full-height-section {
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Buttons */
.btn {
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color:rgb(185, 53, 53);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #fc4f4f;
  border-color: #fc6c44;
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #f89639;
  border-color: #a57722;
  color: #ffffff;
}

    main {
        margin-top: 70px;
    }  
    .no-scroll {
        overflow: hidden;
    }
    /* Header Top Styles - Fixed at the very top */
.header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1031;
  font-size: 14px; /* Increased from 13px */
  background: linear-gradient(135deg, #2e3441 0%, #2a2d41 100%);
  padding: 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2); /* More pronounced shadow */
  height: 50px;
  display: flex;
  align-items: center;
}
/* Hide header-top when scrolling down */
.header-top.hide-on-scroll {
  transform: translateY(-100%);
}

.header-top-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.header-meta {
  display: flex;
  align-items: center;
  height: 40px;
}

.header-meta a {
  color: #eee;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 12px; /* Increased padding */
  font-size: 13px; /* Slightly larger */
  white-space: nowrap;
  font-weight: 500; /* Slightly bolder */
}

.header-meta a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.header-meta a i {
  margin-right: 6px; /* Slightly more space */
  font-size: 14px; /* Adjusted icon size */
}

.social-icons {
  display: flex;
  align-items: center;
  height: 40px;
}

.social-icons a {
  color: #ccc;
  transition: all 0.3s;
  width: 28px; /* Slightly larger */
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  margin-left: 8px; /* More spacing */
  font-size: 13px;
}

.social-icons a:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.1);
  background: rgba(230, 29, 29, 0.6); /* More vibrant */
  box-shadow: 0 2px 8px rgba(230, 29, 29, 0.3); /* Glow effect */
}

/* Enhanced Heartbeat Animation for Admission */
.admission-pulse {
  position: relative;
  padding-left: 22px; /* More space for pulse */
  animation: heartbeat 1.5s infinite;
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-weight: 600; /* Bolder text */
}

.admission-pulse:before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #f30e21; /* Brighter red */
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Enhanced Buttons */
.header-actions .btn {
  font-size: 12px !important;
  padding: 4px 12px !important; /* More compact */
  height: 28px; /* Fixed height to match other elements */
  line-height: 1; /* Better vertical alignment */
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-actions .btn-outline-light {
  border-width: 1.5px;
  border-color: rgba(240, 231, 231, 0.911);
}

.header-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.header-actions .btn-light {
  background: white;
  color: #d9232d !important;
  font-weight: 600;
  border: none;
}

.header-actions .btn-light:hover {
  background: white;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px rgba(217, 35, 45, 0.3);
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.03); }
  50% { transform: scale(1); }
  75% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    transform: translateY(-50%) scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    transform: translateY(-50%) scale(1);
  }
}

body {
  padding-top: 50px !important;
}
        /* Header Styles */
/* Sticky Header */
.sticky-header {
       position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        z-index: 1030;
        width: 100%;
        height: auto;
        transition: all 0.3s ease;
        background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
 .sticky-header.scrolled {
      top: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    /* Body Padding Adjustment */
body {
  padding-top: 130px !important; /* header-top (40px) + sticky-header (50px) */
}

/* When scrolled - reduce padding */
body.scrolled {
  padding-top: 130px !important; /* Only sticky-header height */
}

/* Navbar Styling */
.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    height: auto;
    min-width: 120px;
}
.navbar-brand img {
    transition: all 0.3s ease;
    height: 130px;
    width: auto; /* Maintain aspect ratio */
    margin-top: 12px;
}

.scrolled .navbar {
    padding: 0.3rem 0;
    height: 120px;
}

.scrolled .navbar-brand img {
    margin-top: 10px;
    width: auto;
    height: 130px;
    transform: none !important; 
}

    .scrolled .navbar-brand {
        display: flex;
    align-items: center;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}
.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.8rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #d9230f;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar-light .navbar-nav .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #d9230f;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 0.5rem 0;
    min-width: 220px;
}

.dropdown-menu-lg {
    min-width: 280px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #333;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #d9230f;
    background-color: #f7ecceb2;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Dropdown Submenu Styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-submenu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Mobile View Styling */
@media (max-width: 991.98px) {
  body {
    padding-top: 70px !important; /* Consistent padding for mobile */
    transition: padding 0.3s ease;
  }
  
  .sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    background: white; /* Ensure background covers content */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  /* Navbar container */
  .navbar {
    padding: 0.5rem 1rem;
    position: static;
    max-height: 120px;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    border: 10px;
    outline: none;
  }
  
  .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler .navbar-toggler-icon::before,
  .navbar-toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #333;
    left: 0;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
  }
  
  .navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
  }
  
  .navbar-toggler .navbar-toggler-icon {
    transition: all 0.3s ease;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .navbar-collapse {
    position: fixed;
    top: 70px; /* Height of your navbar */
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: #fff;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1051;
    overflow-y: auto;
  }
  
  .navbar-collapse.show {
    left: 0;
  }
  
  .navbar-brand img {
    height: 1300px !important; /* Adjusted for mobile */
    margin-left: 10px;
    transition: height 0.3s ease;
  }
  
  .scrolled .navbar-brand img {
    height: 100px;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  /* Dropdown menu styling */
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(247, 236, 206, 0.3);
    box-shadow: none;
    display: none;
  }
  
  body.no-scroll {
    overflow: hidden;
    height: 100vh;
  }
  
  .dropdown-menu.show {
    display: block !important;
    animation: fadeIn 0.3s ease;
  }
  
  .dropdown-item {
    padding: 10px 15px 10px 35px;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
  }
  
  .dropdown-item i {
    width: 20px;
    margin-right: 10px;
  }
  
  /* Nested submenus */
  .dropdown-submenu .dropdown-menu {
    background: rgba(247, 236, 206, 0.2);
    border-left: 3px solid #d9230f;
  }
  
  .dropdown-submenu .dropdown-item {
    padding-left: 50px;
  }
  
  /* Dropdown toggle indicators */
  .dropdown-toggle::after {
    display: inline-block;
    margin-left: auto;
    content: '+';
    border: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .dropdown-toggle[aria-expanded="true"]::after {
    content: '-';
  }
}
@media (max-width: 991.98px) {
    /* Mobile menu container - updated for half-width */
     .navbar-brand img {
        height: 130px !important; /* Increased from 80px to 100px */
        margin-left: 10px;
        transition: height 0.3s ease;
    }
    
    .scrolled .navbar-brand img {
        height: 100px; /* Increased from 40px to 80px */
    }
    .navbar-collapse {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 50%;  /* Changed to 50% of screen width */
        min-width: 280px;  /* Minimum width to ensure readability */
        max-width: 350px;  /* Maximum width to prevent taking full half on larger phones */
        height: calc(100vh - 70px);
        background: #fff;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Smoother transition */
        z-index: 1050;
        overflow-y: auto;
        padding: 15px;
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    /* Dropdown menu styling - more professional spacing */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: calc(100% - 10px) !important;  /* Slightly inset */
        margin: 5px 0 5px 10px !important;  /* Better spacing */
        border: none !important;
        background: rgba(252, 194, 179, 0.582) !important;
        display: none;
        border-radius: 4px;
    }
    
    .dropdown-menu.show {
        display: block !important;
        animation: fadeIn 0.3s ease;
    }
    
    /* Dropdown items - improved hierarchy */
    .dropdown-item {
        padding: 12px 15px 12px 25px;  /* Slightly less indentation */
        color: #0a0a0a;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        transition: background-color 0.2s ease;
    }
    
    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    /* Nested dropdowns - clearer visual hierarchy */
    .dropdown-submenu .dropdown-menu {
        background: rgba(247, 236, 206, 0.2) !important;
        border-left: 3px solid #f5544380 !important;
        margin-left: 10px !important;
    }
    
    /* Dropdown toggle indicators - more modern */
    .dropdown-toggle::after {
        content: '+';
        border: none;
        margin-left: auto;
        font-weight: 300;
        font-size: 1.2rem;
        transition: transform 0.2s ease;
    }
    
    .dropdown-toggle[aria-expanded="true"]::after {
        content: '-';
    }
    
    /* Overlay - more subtle */
    .navbar-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);  /* Darker for better focus */
        z-index: 1049;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);  /* Modern blur effect */
    }
    
    .navbar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    /* Animation - smoother */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateX(-5px); }
        to { opacity: 1; transform: translateX(0); }
    }
    
    /* Navbar items - better spacing */
    .nav-item {
        margin-bottom: 2px;
    }
    
    /* Nav links - clearer tap targets */
    .nav-link {
        padding: 12px 15px;
        display: flex;
        align-items: center;
    }
}


/* Search Box Styling */
.input-group {
    max-width: 250px;
}

.input-group .form-control {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.input-group-append .btn {
    border-radius: 0 20px 20px 0;
    padding: 0.365rem 0.70rem;
    height: 31px;
}

/* Preloader Styling */
.se-pre-con {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-container {
    text-align: center;
}

.preloader-logo img {
    max-height: 80px;
    margin-bottom: 2rem;
}

.preloader-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.square {
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: #d9230f;
    animation: squareAnimation 1.5s infinite ease-in-out;
}

.square-1 {
    animation-delay: 0s;
}

.square-2 {
    animation-delay: 0.2s;
}

.square-3 {
    animation-delay: 0.4s;
}

.square-4 {
    animation-delay: 0.6s;
}

.progress-container {
    width: 200px;
    margin: 0 auto;
}

.progress-bar {
    height: 4px;
    background-color: #eee;
    margin-bottom: 0.5rem;
    position: relative;
}

.progress-bar:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #d9230f;
    animation: progressAnimation 2s forwards;
}

.progress-text {
    font-size: 0.875rem;
    color: #666;
}

@keyframes squareAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

        /* slider */
 .slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 6px;
    margin-left: 0;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: 16 / 9;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(252, 243, 243, 0.356);
    color: rgba(22, 20, 20, 0.829);
    border: none;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(248, 223, 223, 0.7);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .slider-container {
        height: 60vh;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
  .slider-container {
    margin-top: 0 !important; /* Remove any top margin */
    height: 40vh !important; /* Adjust height to fit mobile screens */
     width: 100% !important;    
    position: relative;
    left: 0;
      left: 0 !important;       
    transform: none !important;
  }

  .slider {
    width: 100%;
    height: 100%;
  }

  .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container without distortion */
  }

  /* Adjust navigation buttons for mobile */
  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
  }

  .prev-btn {
    left: 5px;
  }

  .next-btn {
    right: 5px;
  }
}
@media (max-width: 480px) {
  .slider-container {
    height: 34vh;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;       /* ✅ Fix: Avoid 100vw */
    position: relative;
    left: 0 !important;           /* ✅ Fix: Reset left */
    transform: none !important;   /* ✅ Fix: Remove translateX */
  }

  .slider {
    width: 100%;
    height: 100%;
  }

  .slide {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f0f0f0;
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
    padding: 8px;
  }
}

/* Extra Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
    .slider-container {
        height: 35vh !important; /* Reduced height for very small screens */
        aspect-ratio: unset; /* Remove fixed aspect ratio */
    }

    .slide {
        background-size: contain;
        background-position: center top; /* Align to top to prevent vertical cropping */
        background-color: #f8f8f8; /* Lighter fallback color */
    }
    .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container without distortion */
    }
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.8); /* More visible buttons */
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}

/* Standard Mobile View (480px and below) */
@media (max-width: 480px) {
    .slider-container {
        height: 34vh;
        overflow: hidden;
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .slider {
        width: 100%;
        height: 100%;
    }

    .slide {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #f0f0f0;
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
        padding: 8px;
    }
}

     /* Latest Updates Section */
.latest-updates-container {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e2a3a, #121a24);
  border-bottom: 3px solid #f0311c;
  height: 46px;
  overflow: hidden;
  position: relative;
}

.latest-updates-header {
  background: linear-gradient(135deg, #e03a28, #c52a1a);
  color: #fff;
  min-width: 180px;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  z-index: 2;
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 5px rgba(255,0,0,0.3);
}

.latest-updates-header i {
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  animation: scrollOneByOne 25s linear infinite;
  animation-play-state: running; /* Default state */
}

.marquee-wrapper:hover .marquee-track,
.update-item:hover ~ .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollOneByOne {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.update-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 25px;
  height: 46px;
  text-decoration: none;
  color: #ffffff;
  font-size: 13.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
  gap: 15px; /* Added gap between elements */
}

.update-item:hover {
  background: rgba(255, 255, 255, 0.966);
}

.update-text {
  transition: all 0.3s ease;
  position: relative;
}

.update-item:hover .update-text {
  color: #1d1c19;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.update-icon {
  color: #ffd700;
  font-size: 12px;
  transition: all 0.3s ease;
  margin-left: 5px;
}

.update-item:hover .update-icon {
  transform: translateX(5px);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Enhanced Badge Styles */
.new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 15px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  min-width: 40px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

/* New Badge Effect */
.new-badge.neon-pulse {
  background: linear-gradient(135deg, #ff2a2a, #d62c1a);
  animation: neonPulse 2s infinite alternate, float 3s ease-in-out infinite;
  border: 1px solid rgba(255,100,100,0.5);
}

.new-badge.neon-pulse:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,100,100,0.4), transparent);
  animation: pulseGlow 1.5s ease infinite;
}

/* Hot Badge Effect */
.new-badge.hot {
  background: linear-gradient(135deg, #ff6b00, #ff3000);
  animation: hotPulse 1.5s infinite alternate;
}

.new-badge.fire-spark {
  position: relative;
  overflow: visible;
}

.new-badge.fire-spark:after {
  content: '🗓️';
  position: absolute;
  right: -8px;
  top: -8px;
  font-size: 10px;
  animation: spark 1s infinite alternate;
}

/* Animations */
@keyframes neonPulse {
  0% { box-shadow: 0 0 5px rgba(255,0,0,0.5); }
  100% { box-shadow: 0 0 15px rgba(255,50,50,0.8); }
}

@keyframes hotPulse {
  0% { transform: scale(1); box-shadow: 0 0 5px rgba(255,100,0,0.5); }
  100% { transform: scale(1.05); box-shadow: 0 0 15px rgba(255,80,0,0.8); }
}

@keyframes spark {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .latest-updates-header {
    font-size: 12px;
    min-width: 140px;
  }

  .update-item {
    font-size: 12px;
    padding: 0 15px;
    min-width: max-content;
    gap: 10px;
    white-space: nowrap;
  }

  .new-badge {
    font-size: 9px;
    padding: 3px 8px;
    min-width: 30px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .update-icon {
    font-size: 10px;
    flex-shrink: 0;
  }
 .update-item:nth-child(2),
  .update-item:nth-child(7) {
    min-width: max-content; /* Allow it to take needed space */
    padding-right: 30px; /* Add extra padding for phone numbers */
  }
  .marquee-track {
    animation: scrollMobileSmooth 80s linear infinite;
  }
}

@keyframes scrollMobileSmooth {
  0% { transform: translateX(0); }
  100% { transform: translateX(-900%); }
}
   .instagram-feed-container {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: none;
            display: flex;
            flex-direction: column;
        }
        
        
        .instagram-posts {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding: 10px 5px;
            scrollbar-width: thin;
            scrollbar-color: #007bff #f1f1f1;
        }
        
        .instagram-posts::-webkit-scrollbar {
            height: 6px;
        }
        
        .instagram-posts::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        .instagram-posts::-webkit-scrollbar-thumb {
            background: #007bff;
            border-radius: 10px;
        }
        
        .instagram-post {
            flex: 0 0 auto;
            width: 220px;
            height: 220px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .instagram-post:hover {
            transform: scale(1.05);
        }
        
        .instagram-post img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .btn-instagram {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 10px 20px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-instagram:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
            color: white;
        }
        
        .hover-grow {
            transition: transform 0.3s ease;
        }
        
        .hover-grow:hover {
            transform: scale(1.05);
        }
        /* About Section */
    .about-area {
    background: #fffefee5;
 }
  
  .about-content, .instagram-feed-container {
    height: 100%;
    min-height: 400px;
  }
  
  .about-us-heading {
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
  }
  
  .about-us-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d9230f;
  }
  
  .separetor-middle {
    width: 100px;
    height: 2px;
    background: #eee;
    margin: 15px 0;
  }
  
  .separetor-middle-inner {
    width: 40px;
    height: 100%;
    background: #eb4e3c;
    margin: 0 auto;
  }
  
  .separetor-middle-bullet {
    width: 8px;
    height: 8px;
    background: #d9230f;
    border-radius: 50%;
    position: relative;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .text-justify {
    text-align: justify;
    font-size: medium;
    font-weight: 500;
    line-height: 1.8;
    color: #111010;
  }
  
.btn-about {
  background: linear-gradient(135deg, #e25e4f 0%, #eea942 100%);
  color: white !important;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-about:hover {
  background: linear-gradient(135deg, #d9230f 0%, #ee9025 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(217, 35, 15, 0.3);
}
  
   .instagram-feed-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    height: 100%;
  }
  
  .instagram-feed-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  .instagram-posts {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex-grow: 1; /* Take remaining space */
  }

  .instagram-posts::-webkit-scrollbar {
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
  }
  
  .instagram-posts::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #405DE6, #E1306C);
    border-radius: 10px;
  }

  .instagram-post {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    height: 100%;
    min-height: 250px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .instagram-post:nth-child(odd) {
    transform: rotate(1deg);
  }
  
  .instagram-post:nth-child(even) {
    transform: rotate(-1deg);
  }

  .instagram-post:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
  }

  .instagram-post img,
  .instagram-post video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
  }
  
  .instagram-post:hover img,
  .instagram-post:hover video {
    transform: scale(1.1);
  }

  .instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
  }

  .instagram-post:hover .instagram-post-overlay {
    opacity: 0.3;
  }

  .instagram-post-overlay i {
    color: white;
    font-size: 32px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }

  .btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    background-size: 300% 300%;
    color: white !important;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.5s ease;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: auto; /* Push button to bottom */
  }
  
  .btn-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 50px;
  }
  
  .btn-instagram:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 53, 132, 0.4);
  }
  
  .btn-instagram:hover::before {
    opacity: 1;
  }
  /* Responsive adjustments */
  @media (max-width: 991.98px) {
    .about-content, .instagram-feed-container {
      min-height: auto;
      padding: 30px !important;
    }
    
    .pe-lg-4, .ps-lg-4 {
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
  }
  
  @media (max-width: 767.98px) {
    .about-us-heading {
      font-size: 1.75rem;
      text-align: center;
    }
    
    .about-us-heading::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .text-justify {
      text-align: center;
    }
    
    .btn-about {
      margin: 0 auto;
      display: block;
      max-width: 200px;
    }
  }
     /* Mission Vision Section Styles */
  .mv-leadership-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

/* Mission/Vision Cards Styling */
.mv-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.mv-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
   transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}
.mv-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.mv-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 15px 30px rgba(243, 183, 183, 0.233);
}

.mv-card-danger {
  border-top: 4px solid #dc3545;
}

.mv-card-primary {
  border-top: 4px solid #0d6efd;
}

.mv-card-success {
  border-top: 4px solid #198754;
}

.mv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: white;
}

.mv-badge {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mv-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.05);
}

.mv-icon svg {
  width: 20px;
  height: 20px;
}

.mv-content {
  padding: 1.5rem;
  background-color: rgb(255, 255, 255);
  font-size: 1rem;
  line-height: 1.6;
  color: #202224;
  flex: 1;
}

/* Leadership Carousel Styling */
.leadership-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
    transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.leadership-carousel.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.leader-image-container {
  width: 90%;
  margin-left: 23px;
  border-radius: 12px 12px 0 0;
  height: 490px; /* Base height for mobile */
  overflow: hidden;
  position: relative;
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.leader-card {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.leader-card:hover .leader-image {
  transform: scale(1.03);
}

.leader-info {
  padding: 1.5rem;
  flex: 1;
}

.leader-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #212529;
  text-align: center;
}

.leader-title {
  font-size: 0.95rem;
  color: #161718;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-align: center;
}

.leader-quote {
  font-style: italic;
  color: #191b1d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.leader-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: #0d6efd;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.leader-btn:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: white;
}

.carousel-prev,
.carousel-next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #6c757d;
  transition: color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  color: #0d6efd;
}

.carousel-dots {
  display: flex;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #dee2e6;
  margin: 0 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #0d6efd;
}

/* Layout adjustments for mobile/tablet */
@media (max-width: 1199px) {
  .mv-leadership-section .row {
    flex-direction: column-reverse; /* Mission/vision first on mobile */
  }
  
  .mv-container {
    margin-top: 2rem; /* Space between leadership and mission/vision */
  }
  
  .leader-image-container {
    height: 600px; /* Taller image on tablet */
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .mv-leadership-section {
    padding: 3rem 0;
  }
  
  .leader-image-container {
    height: 450px;
    margin-top:10px;
  }
  
  /* Staggered animations */
  .mv-card:nth-child(1) { transition-delay: 0.1s; }
  .mv-card:nth-child(2) { transition-delay: 0.3s; }
  .mv-card:nth-child(3) { transition-delay: 0.5s; }
  .leadership-carousel { transition-delay: 0.7s; }
}

@media (max-width: 768px) {
  .mv-header {
    padding: 0.75rem 1rem;
  }
  
  .mv-content {
    padding: 1rem;
  }
  
  .leader-info {
    padding: 1rem;
  }
  
  .leader-info h3 {
    font-size: 1.3rem;
  }
  
  .leader-image-container {
    height: 400px;
    margin-top:10px;
  }
}

@media (max-width: 576px) {
  .mv-badge {
    font-size: 1rem;
  }
  
  .leader-image-container {
    height: 350px;
  }
  
  .leader-quote {
    font-size: 0.9rem;
  }
  
  .mv-container {
    gap: 1rem;
  }
}

/* Ensure image container maintains aspect ratio on all devices */
.leader-image-container {
  aspect-ratio: 4/4; /* Adjust this ratio to match your image proportions */
}

.leader-image {
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
}
        /* News & Events */
      /* News & Events Section Styles */
.news-events-section {
    padding: 80px 0;
    background-color: #fff2de80;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: #7f8c8d;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6 {
    width: 50%;
    padding: 0 15px;
}

/* Card Styles */
.news-card, .updates-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 20px;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: #ee2f2f;
}

.controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px;
}

.control-btn:hover {
    color: #9735358e;
}

/* News Container Styles */
.news-container-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #f2f5f8;
}

.news-container {
    position: absolute;
    width: 100%;
    padding: 20px;
    transition: transform 0.5s ease-out;
}

/* News Item Styles */
.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-image {
    flex: 0 0 150px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
}

.news-date {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 8px;
}

.news-content h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.news-content p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #2e6183;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0f74b8;
    gap: 8px;
}

/* Recent Updates Styles */
.updates-recent-col {
    width: 50%;
    padding: 0 15px;
}

.recent-updates-card {
    height: 100%;
}

.updates-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.updates-card-header h5 {
    font-size: 20px;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-updates-container {
    height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #113b57 #f1f1f1;
    padding: 1rem;
}

.recent-updates-container::-webkit-scrollbar {
    width: 6px;
}

.recent-updates-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.recent-updates-container::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 10px;
}

.recent-update-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    align-items: center;
}

.recent-update-item:last-child {
    border-bottom: none;
}

.recent-update-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.update-date-badge {
    flex: 0 0 70px;
    text-align: center;
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.recent-update-item:hover .update-date-badge {
    background: #3498db;
}

.update-day {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1;
}

.update-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    margin: 0.2rem 0;
    letter-spacing: 0.5px;
}

.update-year {
    font-size: 0.75rem;
    opacity: 0.9;
}

.update-content {
    flex: 1;
}

.update-content a {
    color: #2c3e50;
    font-size: 0.9375rem;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.update-content a:hover {
    color: #3498db;
}

/* View All Button */
.view-all {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #110f0f;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    color: #394888;
    gap: 12px;
}

.updates-view-all {
    padding: 1.25rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.updates-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.updates-view-all-btn:hover {
    color: #3498db;
    gap: 0.75rem;
}

.updates-view-all-btn i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.updates-view-all-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .news-events-section {
        padding: 60px 0;
    }
    
    .col-lg-6, .updates-recent-col {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .card-header h3, .updates-card-header h5 {
        font-size: 18px;
    }
    
    .news-content h4 {
        font-size: 16px;
    }
    
    .recent-update-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .update-date-badge {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .update-day, .update-month, .update-year {
        display: inline-block;
    }
    
    .update-day {
        font-size: 1.1rem;
    }
    
    .update-month {
        margin: 0;
    }
}

@media (max-width: 575px) {
    .section-header h2 {
        font-size: 24px;
    }
    
    .news-container-wrapper, .recent-updates-container {
        height: 400px;
    }
    
    .news-item {
        padding: 15px 0;
    }
    
    .update-date-badge {
        padding: 0.5rem;
        gap: 10px;
    }
    
    .update-content a {
        font-size: 0.9rem;
    }
    
    .view-all, .updates-view-all {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .news-events-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .card-header, .updates-card-header {
        padding: 15px 20px;
    }
    
    .news-container, .recent-updates-container {
        padding: 15px;
    }
    
    .update-date-badge {
        flex-direction: column;
        gap: 5px;
        padding: 0.5rem;
    }
    
    .update-day {
        font-size: 1rem;
    }
    
    .update-month {
        font-size: 0.75rem;
    }
    
    .update-year {
        font-size: 0.65rem;
    }
}
        /* Department Section */
    .dept-section-main {
            position: relative;
            padding: 5rem 0;
            background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            overflow: hidden;
        }
        
        .dept-section-main::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.705) 0%, rgba(20, 30, 48, 0.8) 100%);
            z-index: 1;
        }
        
        .dept-section-title {
            position: relative;
            z-index: 2;
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        
        .dept-section-title span {
            color: #da2424;
        }
        
        .dept-container-main {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .dept-slider-wrapper {
            overflow: hidden;
            position: relative;
            padding: 20px 0;
        }
        
        .dept-slider-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            will-change: transform;
        }
        
        .dept-card-item {
            flex: 0 0 calc(33.333% - 30px);
            min-width: calc(33.333% - 30px);
            margin: 0 15px;
            background: rgba(44, 42, 42, 0.445);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            overflow: visible;
            box-shadow: 0 10px 30px rgba(78, 66, 66, 0.3);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding-bottom: 30px;
            box-sizing: border-box;
        }
        
        .dept-card-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 40px rgba(236, 101, 101, 0.6);
            background: rgba(59, 59, 57, 0.2);
            border-color: rgba(211, 98, 7, 0.5);
        }
        
        .dept-card-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ad1d1d 0%, #e4837c 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 2px auto 20px;
            font-size: 2rem;
            color: white;
            box-shadow: 0 5px 20px rgba(223, 59, 59, 0.5);
            position: relative;
            z-index: 3;
            transition: all 0.3s ease;
        }
        
        .dept-card-item:hover .dept-card-icon {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(245, 110, 20, 0.7);
        }
        
        .dept-card-content {
            padding: 0 25px 25px;
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .dept-card-name {
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 600;
            color: #fff;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .dept-card-desc {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 25px;
            color: #ddd;
            flex-grow: 1;
        }
        
        .dept-learn-more {
            display: inline-block;
            padding: 10px 25px;
            margin-bottom: 50px;
            background: rgba(211, 80, 80, 0.76);
            color: #ffffffe3;
            border: 3px solid #0e0b09;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            align-self: center;
        }
        
        .dept-learn-more::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(214, 105, 62, 0.2), transparent);
            transition: 0.5s;
        }
        
        .dept-learn-more:hover {
            background: #0e1011;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(20, 22, 24, 0.4);
        }
        
        .dept-learn-more:hover::before {
            left: 100%;
        }
        
        .dept-slider-controls {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 20px;
        }
        
        .dept-slider-btn {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid rgba(241, 228, 228, 0.3);
            color: white;
            font-size: 1.5rem;
            position: relative;
            overflow: hidden;
            z-index: 2;
        }
        
        .dept-slider-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(207, 51, 51, 0.7) 0%, rgba(42, 117, 214, 0.7) 100%);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .dept-slider-btn:hover {
            transform: scale(1.1);
            border-color: #9b0808;
            box-shadow: 0 5px 20px rgb(201, 81, 81);
        }
        
        .dept-slider-btn:hover::before {
            opacity: 1;
        }
        
        .dept-slider-dots {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }
        
        .dept-slider-dot {
            width: 14px;
            height: 14px;
            background: rgba(236, 160, 160, 0.3);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .dept-slider-dot::after {
            content: '';
            position: absolute;
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
            border-radius: 50%;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }
        
        .dept-slider-dot.active {
            background: #e70f0f;
            transform: scale(1.2);
        }
        
        .dept-slider-dot.active::after {
            border-color: rgb(182, 25, 25);
        }
        
        .dept-slider-dot:hover:not(.active) {
            background: rgba(247, 120, 120, 0.5);
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .dept-card-item {
                flex: 0 0 calc(50% - 30px);
                min-width: calc(50% - 30px);
            }
            
            .dept-slider-btn {
                width: 50px;
                height: 50px;
                font-size: 1.3rem;
            }
            
            .dept-card-name {
                min-height: auto;
            }
        }
        
        @media (max-width: 768px) {
            .dept-card-item {
                flex: 0 0 calc(100% - 30px);
                min-width: calc(100% - 30px);
                padding-top: 40px;
            }
            
            .dept-section-title {
                font-size: 2rem;
            }
            
            .dept-card-icon {
               width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-top: -20px; /* Reduced negative margin */
        margin-bottom: 15px;
        position: relative; /* Changed to relative positioning */
        z-index: 3;
            }
            .dept-card-content {
        padding: 0 20px 20px; /* Adjusted padding */
    }
            .dept-slider-controls {
                margin-top: 20px;
            }
        }
        
        /* Animation Effects */
        @keyframes deptFloat {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        .dept-card-item:hover .dept-card-icon {
            animation: deptFloat 2s ease-in-out infinite;
        }
/* Counter Section */
   .circular-counter-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 90px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: none;
    z-index: 1;
    color: white;
  }
  
  .circular-counter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
  }
  
  .circular-counter-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: var(--hover-bg);
  }
  
  .circular-counter-card:hover::before {
    opacity: 1;
  }
  
  .counter-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    border: 3px solid rgba(199, 41, 41, 0.3);
    transition: all 0.4s ease;
  }
  
  .circular-counter-card:hover .counter-circle {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.5);
  }
  
  .counter-circle::before {
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.5);
    opacity: 0.5;
    animation: rotate 20s linear infinite;
  }
  
  .counter-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--card-color);
    line-height: 1;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .counter-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--card-color);
    margin-top: 15px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }
  
  .circular-counter-card:hover .counter-label {
    transform: translateY(5px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }
  
  .counter-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 186, 186, 0.192);
    border-radius: 50%;
    color: var(--card-color);
    opacity: 0.9;
    transition: all 0.3s ease;
  }
  
  .circular-counter-card:hover .counter-icon {
    transform: scale(1.2) rotate(45deg);
    opacity: 1;
    background: rgba(255,255,255,0.3);
    color: var(--card-color);
  }
  
  /* Animation for circular border */
  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Counting animation */
  @keyframes countUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  /* Responsive Design */
  @media (max-width: 1199.98px) {
    .counter-circle {
      width: 120px;
      height: 120px;
    }
    .counter-value {
      font-size: 2.2rem;
    }
  }
  
  @media (max-width: 991.98px) {
    .circular-counter-card {
      padding: 30px 15px;
    }
    .counter-circle {
      width: 110px;
      height: 110px;
      margin-bottom: 20px;
    }
    .counter-value {
      font-size: 2rem;
    }
    .counter-label {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 767.98px) {
    .counter-circle {
      width: 100px;
      height: 100px;
    }
    .counter-value {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 575.98px) {
    .circular-counter-card {
      max-width: 280px;
      margin: 0 auto;
    }
    .counter-circle {
      width: 120px;
      height: 120px;
    }
    .counter-value {
      font-size: 2rem;
    }
  }
        
        /* Testimonial Section */
    .testimonial-section {
    background-color: #fff9e6; /* Off-yellow background */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
  }
  
  .separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 200px;
  }
  
  .separator-line {
    flex: 1;
    height: 2px;
    background-color: #ffc107;
  }
  
  .separator-icon {
    color: #ffc107;
    margin: 0 15px;
    font-size: 20px;
  }
  
  /* Testimonial Carousel - Single Slide Version */
  .testimonial-carousel {
    position: relative;
    max-width: 1400px; /* Increased max-width for larger single card */
    margin: 0 auto;
    padding: 0 100px;
    overflow: hidden;
  }
  
  .testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
  }
  
  .testimonial-slide {
    flex: 0 0 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .testimonial-card {
   background: white;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.3);
    width: 120%; /* Make card wider than its container */
    margin-left: -10%; /* Center the wider card */
    position: relative;
  }
  
  .testimonial-card:hover {
    transform: translateY(-10px); /* More noticeable hover effect */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }
  
  .testimonial-avatar {
    width: 120px; /* Larger avatar */
    height: 120px;
    margin: 0 auto 25px;
    position: relative;
  }
  
  .testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .avatar-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px dashed #ffc107; /* Thicker border */
    border-radius: 50%;
    animation: rotate 15s linear infinite;
  }
  
  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .testimonial-text {
    font-size: 18px; /* Larger text */
    line-height: 1.8; /* More spacing */
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding: 0 20px;
  }
  
  .testimonial-text:before,
  .testimonial-text:after {
    content: '"';
    color: #ffc107;
    font-size: 32px; /* Larger quote marks */
    font-family: serif;
    opacity: 0.5;
    position: absolute;
  }
  
  .testimonial-text:before {
    left: -5px;
    top: -15px;
  }
  
  .testimonial-text:after {
    right: -5px;
    bottom: -25px;
  }
  
  .testimonial-footer {
    margin-top: 25px;
  }
  
  .testimonial-name {
    font-size: 20px; /* Larger name */
    font-weight: 700; /* Bolder */
    color: #333;
    margin-bottom: 8px;
  }
  
  .company-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
  }
  
  .company-logo {
    width: 24px; /* Slightly larger logo */
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: contain;
  }
  
  .company-info a {
    color: #666;
    font-size: 16px; /* Slightly larger text */
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .company-info a:hover {
    color: #ff9800;
  }
  
  /* Navigation */
  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Larger buttons */
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 20px; /* Larger arrows */
    color: #333;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .carousel-nav:hover {
    background: #ffc107;
    color: white;
    transform: translateY(-50%) scale(1.1);
  }
  
  .carousel-nav.prev {
    left: 30px;
  }
  
  .carousel-nav.next {
    right: 30px;
  }
  
  .carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px; /* More spacing */
  }
  
  .carousel-dots .dot {
    width: 14px; /* Larger dots */
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 8px; /* More spacing */
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .carousel-dots .dot.active {
    background: #ffc107;
    transform: scale(1.2);
  }
  @media (max-width: 1024px) {
    .testimonial-carousel {
      max-width: 900px;
      padding: 0 80px;
    }
    
    .testimonial-card {
      width: 110%;
      margin-left: -5%;
    }
  }
  /* Responsive Adjustments */
  @media (max-width: 767px) {
    .testimonial-carousel {
      padding: 0 30px;
      max-width: 100%;
    }
    
    .section-header h2 {
      font-size: 28px;
    }
    
    .testimonial-card {
       width: 100%;
      margin-left: 0;
      padding: 30px 20px;
    }
    
    .testimonial-text {
      font-size: 16px;
      padding: 0 10px;
    }
    
    .testimonial-avatar {
      width: 100px;
      height: 100px;
    }
     .carousel-nav.prev {
      left: -10px;
    }
    
    .carousel-nav.next {
      right: -10px;
    }
    .carousel-nav {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
  }
        /* Partner Section */
 .partners-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8f4f8 100%);
    overflow: hidden;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.separetor-middle {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.separetor-middle-inner {
    position: relative;
    width: 100px;
}

.separetor-middle-bullet {
    width: 10px;
    height: 10px;
    background-color: #ff6b6b;
    border-radius: 50%;
    margin: 0 auto;
}

.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.partner-slide {
    flex: 0 0 25%; /* 4 items per view on desktop */
    padding: 10px;
    text-align: center;
    transition: all 0.5s ease;
}

.partner-slide a {
    display: block;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-slide a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-slide img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    width: auto;
    filter: grayscale(10%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Desktop - Show 4 at a time with 2s interval */
@media (min-width: 992px) {
    .partners-container {
        width: 90%;
        margin: 0 auto;
        position: relative;
    }
    
    .partner-slide {
        flex: 0 0 25%;
        height: 180px; /* Increased height for desktop */
        padding: 0; /* Remove padding */
    }
    
    .partner-slide a {
        padding: 0; /* Remove padding */
        height: 100%;
    }
    
    .partner-slide img {
        width: 90%; /* Increased width */
        height: 90%; /* Increased height */
        max-height: none; /* Remove max-height restriction */
        object-fit: contain; /* Ensure proper scaling */
        margin: 0; /* Remove margin */
    }
    
    /* Navigation dots for desktop */
    .partners-dots {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ccc;
        margin: 0 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        background: #4ecdc4;
        transform: scale(1.2);
    }
}

/* Tablet - Show 2 at a time */
@media (max-width: 991px) and (min-width: 768px) {
    .partner-slide {
        flex: 0 0 50%;
        height: 160px; /* Increased height for tablet */
        padding: 0; /* Remove padding */
    }
    
    .partner-slide img {
        width: 85%;
        height: 85%;
        max-height: none;
    }
    
    .section-header {
        font-size: 14px;
        white-space: nowrap;
        margin-left:20px;
    }
}

/* Mobile - Show 1 at a time */
@media (max-width: 767px) {
    .section-header h2 {
        font-size: 28px; /* Slightly larger for better readability */
        text-align: center;
        margin-left: 20px;
    }
    
    .partners-container {
        width: 100%;
        padding: 0;
    }
    
    .partner-slide {
        flex: 0 0 100%;
        height: 140px; /* Increased height for mobile */
        padding: 0; /* Remove padding */
    }
    
    .partner-slide a {
        padding: 0; /* Remove padding */
    }
    
    .partner-slide img {
        width: 80%;
        height: 80%;
        max-height: none; /* Remove max-height restriction */
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .partners-section {
        padding: 40px 0;
    }
    
    .partner-slide {
        height: 120px; /* Increased height for small mobile */
        padding: 0; /* Remove padding */
    }
    
    .partner-slide img {
        width: 75%;
        height: 75%;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
}
   /* Contact Section */
          .compact-contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #dae2f380 0%, #67709442 100%);
  }
  
  .compact-contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .compact-contact-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .compact-contact-header h2 {
    color:#d60f0fd3;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .compact-contact-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
  }
  
  .equal-height-columns {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .compact-contact-form {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: rgba(199, 224, 247, 0.76);
  }
  
  .compact-contact-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background-color: #b5f5d52d;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
  }
  
  .compact-contact-info:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
  }
  
  .compact-contact-info:after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
  }
  
  .compact-form-group {
    margin-bottom: 20px;
  }
  
  .compact-form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
  }
  
  .compact-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(209, 0, 0, 0.1);
    background-color: #fff;
  }
  
  textarea.compact-form-control {
    min-height: 120px;
    resize: vertical;
  }
  
  .compact-submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(209, 0, 0, 0.3);
  }
  
  .compact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(209, 0, 0, 0.4);
  }
  
  .compact-map-container {
    height: 220px;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
  }
  
  .compact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .compact-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }
  
  .compact-contact-icon {
    margin-right: 15px;
    color: rgb(15, 15, 15);
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .compact-contact-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
  }
  
  .compact-contact-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
  }
  
  .compact-contact-content a {
    color: rgb(19, 18, 18);
    text-decoration: none;
    transition: all 0.3s;
  }
  
  .compact-contact-content a:hover {
    text-decoration: underline;
    opacity: 0.9;
  }
  
  @media (max-width: 768px) {
    .compact-contact-section {
      padding: 40px 0;
    }
    
    .compact-contact-header h2 {
      font-size: 28px;
    }
    
    .compact-contact-form,
    .compact-contact-info {
      padding: 30px;
    }
    
    .compact-map-container {
      height: 200px;
    }
  }
  
  @media (max-width: 576px) {
    .compact-contact-header h2 {
      font-size: 24px;
    }
    
    .compact-contact-form,
    .compact-contact-info {
      padding: 25px 20px;
    }
    
    .compact-contact-icon {
      width: 36px;
      height: 36px;
      font-size: 18px;
    }
  }
    /* Footer */
   .modern-footer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background-color: #2c3e50;
    line-height: 1.6;
}

/* Highlights Section */
.footer-highlights {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlights-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.highlights-title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 20px;
}

.highlights-title i {
    margin-left: 10px;
    font-size: 1.4rem;
}

.highlights-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.highlight-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.highlight-link i {
    margin-right: 8px;
    font-size: 1rem;
}

.highlight-link:hover {
    transform: translateY(-3px);
    color: #000000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.pay-online { background-color: #27ae60; }
.results { background-color: #e74c3c; }
.tender { background-color: #f39c12; }
.grievance { background-color: #9b59b6; }
.alumni { background-color: #3498db; }

/* Main Footer Content */
.footer-main {
    padding: 40px 0;
    background-color: #34495e;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col {
    padding: 0 15px;
}

.footer-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.footer-col-header h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #ecf0f1;
}

.toggle-icon {
    display: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: #3498db;
}

/* Contact Info Styles */
.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    color: #3498db;
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-item p, .contact-item a {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: #3498db;
}

/* Brochure Download */
.brochure-download {
    margin-bottom: 25px;
}

.brochure-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    display: block;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: #e74c3c;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.download-btn i {
    margin-right: 8px;
}

.quick-contact-title {
    font-size: 1.2rem;
    margin: 20px 0 15px;
    color: #ecf0f1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.linkedin { background-color: #0077b5; }

.footer-menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-menu-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-menu-links a:hover {
    color: #3498db;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #2c3e50;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    
    align-items: center;
}

.footer-bottom-content {
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.copyright, .credits {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.credits a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.credits a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .highlights-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .highlights-title {
        margin-bottom: 15px;
    }
    
    .highlights-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .highlight-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    /* Reorder columns for mobile */
    .footer-columns {
        display: flex;
        flex-direction: column;
    }
    
    /* Important links first */
    .footer-col.links-col {
        order: 1;
    }
    
    /* Brochure and quick contact after important links */
    .footer-col.brochure-social {
        order: 2;
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    /* Show brochure title */
    .brochure-title {
        display: block;
    }
    
    /* Quick contact horizontal layout */
    .quick-contact-container {
        display: flex;
        flex-direction: column;
    }
    
    .quick-contact-title {
        margin-top: 0;
    }
    
    .contact-details {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .contact-item {
        margin-bottom: 0;
        flex: 1;
        min-width: 200px;
    }
    
    /* Other sections - accordion style */
    .footer-col:not(.brochure-social) .footer-col-header {
        cursor: pointer;
    }
    
    .footer-col:not(.brochure-social) .toggle-icon {
        display: block;
        transition: transform 0.3s ease;
    }
    
    .footer-col:not(.brochure-social).active .toggle-icon {
        transform: rotate(45deg);
    }
    
    .footer-col:not(.brochure-social) .footer-links,
    .footer-col:not(.brochure-social) .contact-details,
    .footer-col:not(.brochure-social) .footer-menu-links {
        display: none;
    }
    
    .footer-col:not(.brochure-social).active .footer-links,
    .footer-col:not(.brochure-social).active .contact-details,
    .footer-col:not(.brochure-social).active .footer-menu-links {
        display: block;
    }
    
    /* Download button styling */
    .download-btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Make quick contact fully horizontal */
    .contact-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .contact-item {
        min-width: calc(50% - 15px);
    }
    
    /* Social links centered */
    .social-links {
        justify-content: center;
    }
    
    /* Highlights section adjustments */
    .highlights-links {
        justify-content: center;
    }
    
    .highlight-link {
        min-width: 150px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .highlight-link {
        min-width: 120px;
        padding: 8px 12px;
    }
    
    .highlight-link span {
        font-size: 0.9rem;
    }
    
    .footer-col:not(.brochure-social) {
        padding: 0;
        margin-bottom: 15px;
    }
    
    /* Stack contact items vertically on very small screens */
    .contact-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-item {
        min-width: 100%;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 10px;
    }
}
        
        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            color: var(--primary-color);
            font-size: 36px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }
        
        .separetor-middle {
            width: 50%;
            height: 2px;
            background: #ececec;
            margin: 10px auto 25px;
        }
        
        .separetor-middle-inner {
            width: 50%;
            height: 100%;
            background: var(--accent-color);
            margin: 0px auto;
            position: relative;
        }
        
        .separetor-middle-bullet {
            width: 10px;
            height: 10px;
            background: var(--accent-color);
            position: absolute;
            left: 48%;
            top: -4px;
            border-radius: 100%;
        }
        
        /* Modal Styles */
        .modal-content {
            border-radius: 10px;
            overflow: hidden;
        }
        
        .modal-header {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .modal-body {
            padding: 30px;
        }
        
        /* Responsive Styles */
        @media (max-width: 991px) {
            .slider-content-2 .title {
                font-size: 2.5rem;
            }
            
            .contact-info {
                padding-left: 0;
                margin-top: 40px;
            }
            
            .nav-menu {
                flex-direction: column;
            }
            
            .nav-submenu {
                position: static;
                opacity: 1;
                visibility: visible;
                box-shadow: none;
                width: 100%;
                padding: 0;
            }
        }
        
        @media (max-width: 767px) {
            .slider-content-2 .title {
                font-size: 2rem;
            }
            
            
            
            .about-image {
                margin-top: 30px;
            }
            
            .separetor-middle {
                width: 60%;
            }
            
            .section-header {
                width: 90%;
            }
            
            .single-slider {
                height: 60vh;
                min-height: 400px;
            }
            
            .slider-content-2 {
                margin-left: 20px;
                margin-right: 20px;
            }
        }
        
        /* Animation effects */
        .fade-in {
            animation: fadeIn 1s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Floating Social Media */
     
        /* Preloader Styles */
.se-pre-con {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #faebcdf3;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}
body {
    overflow: hidden;
}

body.loaded {
    overflow: auto;
}

.se-pre-con.fade-out {
    opacity: 0;
}

.preloader-container {
    text-align: center;
    max-width: 700px;
    width: 100%;
}

.preloader-logo img {
    max-height: 100px;
    margin-bottom: 30px;
    animation: pulse 6s infinite ease-in-out;
}

.preloader-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    height: 50px;
}

.square {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    margin: 0 5px;
    transform: scale(0);
    animation: square-animation 0.6s infinite ease-in-out;
}

.square-1 {
    animation-delay: 0.1s;
}

.square-2 {
    animation-delay: 0.3s;
}

.square-3 {
    animation-delay: 0.5s;
}

.square-4 {
    animation-delay: 0.7s;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--secondary-color);
    transition: width 0.6s ease;
}

.progress-text {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@keyframes square-animation {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
        background: var(--secondary-color);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/* Add this to your existing styles */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, 
.col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, 
.col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, 
.col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, 
.col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, 
.col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, 
.col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, 
.col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, 
.col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, 
.col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 15px;
    padding-left: 15px;
}

.floating-admission-notice {
  position: fixed;
  right: 7px;
  top: 35%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #f773733d, #f84343bb);
  color: rgb(14, 12, 12);
  padding: 6px 15px 6px 10px;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(255, 50, 50, 0.4);
  z-index: 1000;
  font-family: Verdana, sans-serif;
  border: 1px solid #611919;
  transition: all 0.3s ease;
}

.notice-link {
  color: rgb(17, 15, 15);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.notice-link:hover{
background-color: #ccc;
border-radius: 25px;
color: #000000;
}
.pulse-icon {
  font-size: 14px;
  animation: pulse 1.5s infinite;
}

.text {
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.arrow {
  font-size: 14px;
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.notice-link:hover .arrow {
  transform: translateX(3px);
}

.floating-admission-notice:hover {
  box-shadow: 0 6px 25px rgba(17, 9, 9, 0.897);
  transform: translateY(-50%) scale(1.03);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-admission-notice {
        display: none !important;
    }
}

/* Smallest screens - Also hide */
@media (max-width: 400px) {
    .floating-admission-notice {
        display: none !important;
    }
}
/* social media */
 .floating-social {
    position: fixed;
    right: 20px;
    top: 300px;
    z-index: 1000;
    font-family: 'Segoe UI', Roboto, sans-serif;
  }

  .social-main-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d81010, #ddcd3a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    z-index: 1001;
  }

  .social-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .social-icons-container {
    position: absolute;
    right: 0;
    top: 70px; /* Changed from bottom to top to position below */
    display: none;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
  }

  .social-icons-container.show {
    display: flex;
  }

  .social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: scale(0);
    opacity: 0;
  }

  .social-icons-container.show .social-icon {
    transform: scale(1);
    opacity: 1;
  }

  .social-icon:nth-child(1) {
    background: #1877F2; /* Facebook */
    transition-delay: 0.1s;
  }
  .social-icon:nth-child(2) {
    background: #1DA1F2; /* Twitter */
    transition-delay: 0.2s;
  }
  .social-icon:nth-child(3) {
    background: #E4405F; /* Instagram */
    transition-delay: 0.3s;
  }
  .social-icon:nth-child(4) {
    background: #0A66C2; /* LinkedIn */
    transition-delay: 0.4s;
  }

  .social-icon:hover {
    transform: scale(1.1) !important;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .floating-social {
      right: 15px;
      bottom: 15px;
    }
    .social-main-btn {
      width: 50px;
      height: 50px;
      font-size: 22px;
      top: 20px;
    }
    .social-icon {
      width: 34px;
      height: 34px;
    }
    .social-icons-container {
      top: 70px; /* Adjusted for mobile */
    }
  }
    .go-to-top {
    position: fixed;
    bottom: 15px; /* Adjust based on your other floating elements */
    right: 7px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #67698b, #000dff54);
    color: rgb(14, 13, 13);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    outline: none;
  }

  .go-to-top.visible {
    opacity: 0.7;
    visibility: visible;
  }

  .go-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  /* Adjust for mobile */
  @media (max-width: 768px) {
    .go-to-top {
      width: 25px;
      height: 25px;
      font-size: 18px;
      bottom: 10px;
      right: 7px;
    }
  }

  /* === MOBILE RESPONSIVE FIX FOR SLIDER, LATEST UPDATES & TESTIMONIAL === */
@media (max-width: 767.98px) {
  /* Remove vertical gaps between sections */
  section,
  .slider-container,
  .testimonial-section,
  .latest-updates-container,
   {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;}
   .text-justify {
    text-align: center !important; /* override justify on mobile */
    margin: 0 auto;
  }

  .mv-content{
    text-align: justify;
  }
   .news-events-section  {
    text-align: center;
    margin-left: 25px;
  }
  body {
    padding-top: 120px !important; /* Adjust based on header height */
  }

  main {
    margin-top: 0 !important;
  }

  /* Slider Adjustments */
  .slider-container {
    margin-top: -55px !important; /* Remove any top margin */
    width: 100vw !important;
    position: relative;
    left: 0;
    transform: none;
    overflow: hidden;
    height: auto;
     
  }

  .slider {
    width: 100%;
    height: 90%;
  }

  .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #f8f8f8;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container without distortion */
  }

  /* Adjust navigation buttons for mobile */
  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
  }

  .prev-btn {
    left: 5px;
  }

  .next-btn {
    right: 5px;
  }

  /* Latest Updates Section */
  .latest-updates-container {
    margin-top: -30px !important;
    height: auto !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  .latest-updates-header {
    font-size: 12px;
    min-width: 120px;
    height: 40px;
    padding: 0 8px;
  }

  .update-item {
    font-size: 11px;
    padding: 0 12px;
    gap: 8px;
    white-space: nowrap;
    min-width: max-content;
  }

  .update-item:nth-child(2),
  .update-item:nth-child(7) {
    padding-right: 20px;
  }

  .marquee-track {
    animation: scrollMobileSmooth 70s linear infinite;
  }

  .new-badge {
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 10px;
  }

  /* Testimonial Section Adjustments */
  .testimonial-carousel {
    padding: 0 15px !important;
    max-width: 100% !important;
  }

  .testimonial-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .testimonial-card {
    padding: 25px 15px !important;
  }

  .testimonial-avatar {
    width: 90px !important;
    height: 90px !important;
    margin-bottom: 20px;
  }

  .testimonial-text {
    font-size: 14px !important;
    padding: 0 8px;
  }

  .testimonial-name {
    font-size: 16px !important;
  }

  .company-info a {
    font-size: 13px !important;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .carousel-dots {
    margin-top: 30px;
  }

  .carousel-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}
@media (max-width: 320px) {
  .slider-container {
    height: 35vh !important; /* Slightly smaller height for very small screens */
  }
/* Custom smoother scrolling for mobile marquee */
@keyframes scrollMobileSmooth {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1000%); }
}
/* Fix: Remove unwanted gap between header and slider on all screen sizes */
body {
  padding-top: 0 !important;
  margin: 0 !important;
}

.slider-container {
  margin-top: 10px !important;
}

/* Optional: Adjust body padding dynamically based on actual header height using JS */
@media (min-width: 768px) {
  body {
    padding-top: 130px !important; /* Only if sticky header + header-top exist */
  }
}
/* Base fix - prevents horizontal overflow while allowing vertical scroll */
html, body {
    width: 100%;
    overflow-x: hidden; /* Critical for stopping horizontal scroll */
    position: relative;
}

/* Mobile-specific horizontal overflow prevention */
@media (max-width: 767px) {
    /* Reset any element that might cause horizontal overflow */
    * {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Special cases for common offenders */
    .row,
    .container,
    .container-fluid,
    [class*="col-"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Ensure slider/images don't overflow */
    .slider-container,
    .slider,
    .slide,
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}
}
/* Mobile Responsive Fixes - Targeted Approach */
@media (max-width: 767px) {
  /* Fix horizontal overflow without breaking functionality */
  html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
  }

  /* Header and layout fixes */
  body {
    padding-top: 110px !important; /* Adjusted for mobile header */
  }

  /* Section spacing fixes */
  section {
    padding: 25px 0 !important;
    margin: 0 !important;
  }

  /* Container adjustments */
  .container, .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }

  /* Row and column fixes */
  .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
  }
  
  [class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  /* Slider fixes */
  .slider-container {
    margin-top: -10px !important;
    height: 20vh !important; /* Adjust height as needed */
    width: 100% !important; /* Changed from 140% to 100% */
    overflow: hidden;
    position: relative;
    left: 0;
  }

  .slider {
    width: 100%;
    height: 100%;
  }

  .slide {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: -8;
    left: 0;
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* This ensures images fill container while maintaining aspect ratio */
    object-position: center; /* Centers the image */
  }

  /* Latest updates fixes */
  .latest-updates-container {
    margin-top: -10px !important;
  }

  /* About section fixes */
  .about-area {
    padding: 25px 0 !important;
        background: #fffefee5;

  }

    .about-content {
    padding: 0 10px !important;
    text-align: center !important;
  }

  .about-us-heading {
    font-size: 22px !important;
    margin-bottom: 10px !important; /* Reduced from 15px */
    padding-bottom: 5px !important;
    position: relative;
    display: inline-block;
  }
.text-justify {
  text-align: center !important;
  text-justify: inter-word !important;
  font-size: 15px !important;
  font-weight: 600 !important; /* Semi-bold for better readability */
  line-height: 1.7 !important; /* Slightly increased for bold text */
  width: 100% !important;
  margin: 8px 0 18px 0 !important; /* Balanced vertical spacing */
  padding: 0 12px !important; /* Equal left-right padding */
  hyphens: auto;
  -webkit-hyphens: auto;
  letter-spacing: 0.02em; /* Slight letter spacing for clarity */
  word-spacing: 0.05em; /* Balanced word spacing */
  text-rendering: optimizeLegibility; /* Better text rendering */
}
  .instagram-feed-container {
    height: auto !important;
    min-height: 300px !important; /* Adjusted container height */
    margin-top: 20px !important;
    padding: 15px !important;
  }

  .instagram-posts {
    display: flex !important; /* Horizontal flex layout */
    flex-wrap: nowrap !important;
    gap: 15px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: 220px !important; /* Increased row height */
    scroll-snap-type: x mandatory; /* Smooth scrolling */
    -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
    padding-bottom: 10px !important; /* Space for scrollbar */
  }

  .instagram-post {
    flex: 0 0 calc(50% - 8px) !important; /* Show 2 images at a time */
    width: calc(50% - 8px) !important;
    height: 200px !important; /* Increased image height */
    min-height: auto !important;
    scroll-snap-align: start; /* Snap to position */
    transform: none !important;
  }

  .instagram-post img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  /* Custom scrollbar styling */
  .instagram-posts::-webkit-scrollbar {
    height: 6px;
  }
  
  .instagram-posts::-webkit-scrollbar-thumb {
    background: #E1306C; /* Instagram pink */
    border-radius: 3px;
  }

  .btn-instagram {
    width: 90% !important;
    max-width: 300px !important;
    margin: 20px auto 0 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  /* Department section fixes */
  .dept-section-main {
    padding: 25px 0 !important;
  }

  .dept-slider-wrapper {
    overflow: visible; /* Fix for department slider */
  }

  /* Toggle button fix */
  .navbar-toggler {
    display: block !important; /* Ensure toggle button shows */
    position: absolute;
    right: 15px;
    top: 28px;
    z-index: 1051;
  }

  .navbar-collapse {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: #fff;
    transition: all 0.3s ease;
    z-index: 1050;
  }

  .navbar-collapse.show {
    left: 0;
  }

  /* Testimonial section */
  .testimonial-card {
    padding: 20px 15px !important;
  }

  /* Prevent horizontal scrolling */
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
  body {
    padding-top: 100px !important;
  }

  .slider-container {
    height: 30vh !important;
  }

  .navbar-collapse {
    width: 90%;
  }
}

/* Marquee animation fix */
@keyframes scrollMobileSmooth {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1000%); }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



