/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 html {
     width: 100%;
     overflow-x: hidden;
 }

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

 @media (max-width: 768px) {
     /* Keep scrolling but hide scrollbars (mobile polish) */
     .nav-menu {
         -ms-overflow-style: none;
         scrollbar-width: none;
     }
     .nav-menu::-webkit-scrollbar {
         display: none;
     }
 }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle i {
    color: white;
    font-size: 1.5rem;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sticky Header Styles */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 70px;
}

/* Navigation Styles */
.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
}

/* Navigation pulse animation on load */
@keyframes navPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.8rem;
    text-align: center;
    display: block;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: transparent;
    border: none;
    animation: navPulse 2s ease-in-out;
    white-space: nowrap;
    flex-shrink: 0;
}

/* P.A.Inamdar IAS Sticky Bar */
.ias-sticky-bar {
    position: fixed;
    top: 280px;
    left: 0;
    right: 0;
    z-index: 999;
   
}

.ias-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.ias-content-wrapper {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}



.ias-icon {
    color: white;
    font-size: 1.2rem;
    opacity: 0.9;
   

}

.ias-link {
    color: #ffcc00;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: blink 2s infinite;
   
}

.ias-link:hover {
    color: #ffcc00;
    text-decoration: none;
    transform: translateY(-1px);
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.3;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('assets/campus-ground.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Our Other Institutes Section */
.other-institutes {
    padding: 3rem 0;
    background: #f8f9fa;
}

.other-institutes-header {
    text-align: center;
    margin-bottom: 2rem;
}

.other-institutes-header h2 {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    margin: 0;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

.institutes-list {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.institutes-list-header {
    margin-bottom: 1.5rem;
}

.institutes-list-header h3 {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.numbered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: institute-counter;
}

.numbered-list li {
    counter-increment: institute-counter;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 3rem;
}

.numbered-list li::before {
    content: counter(institute-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.institute-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.institute-link:hover {
    color: #ffd700;
    transform: translateX(5px);
    text-decoration: underline;
}

/* Responsive styles for other institutes */
@media (max-width: 768px) {
    .other-institutes {
        padding: 2rem 0;
    }
    
    .institutes-list {
        padding: 1.5rem;
    }
    
    .numbered-list li {
        padding-left: 2.5rem;
    }
    
    .numbered-list li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
    }
    
    .institute-link {
        font-size: 0.9rem;
    }
}

/* Adjust main content for home page */
.home-page .main-content {
    margin-top: 120px;
}

/* Responsive styles for IAS bar */
@media (max-width: 768px) {
    .ias-sticky-bar {
        top: 70px;
    }
    
    .ias-bar-content {
        padding: 0.6rem 1rem;
        gap: 0.6rem;
    }
    
    .ias-icon {
        font-size: 1rem;
    }
    
    .ias-link {
        font-size: 0.9rem;
    }
    
    .home-page .main-content {
        margin-top: 110px;
    }
}

.nav-link:nth-child(2) { animation-delay: 0.1s; }
.nav-link:nth-child(3) { animation-delay: 0.2s; }
.nav-link:nth-child(4) { animation-delay: 0.3s; }
.nav-link:nth-child(5) { animation-delay: 0.4s; }
.nav-link:nth-child(6) { animation-delay: 0.5s; }
.nav-link:nth-child(7) { animation-delay: 0.6s; }
.nav-link:nth-child(8) { animation-delay: 0.7s; }
.nav-link:nth-child(9) { animation-delay: 0.8s; }
.nav-link:nth-child(10) { animation-delay: 0.9s; }
.nav-link:nth-child(11) { animation-delay: 1.0s; }
.nav-link:nth-child(12) { animation-delay: 1.1s; }

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover {
    background: transparent;
    transform: translateY(-2px);
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link.active {
    background: transparent;
     color: #FFD700;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ff6b35;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.5));
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-3px);
    }
    60% {
        transform: translateX(-50%) translateY(-1px);
    }
}

/* Mobile Menu Toggle - Hidden */
.mobile-menu-toggle {
    display: none;
}

/* Main Content */
.main-content {
    margin-top: 0px;
}

/* Home page specific background */
.main-content.home-page {
    position: relative;
}

.main-content.home-page .hero {
    background: url('assets/campus-ground.jpg') center/cover no-repeat;
    position: relative;
    align-items: center;
}

.main-content.home-page .hero h1,
.main-content.home-page .hero p {
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
    color: white;
}

.hero {
    background: url('assets/campus-ground.jpg') center/cover no-repeat;
    color: white;
    padding: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

.hero h1 {
    font-size: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero p {
    font-size: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.content p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.45rem;
        font-size: 0.7rem;
        letter-spacing: 0.15px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
        height: 45px;
        width: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-content {
        padding: 1.5rem 0;
        position: relative;
        min-height: 80px;
    }
    
    .main-nav {
        padding: 0 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        border-radius: 0 0 15px 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 1001;
    }
    
    .main-nav.active {
        max-height: min(60vh, 520px);
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .main-nav.active::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu {
        gap: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: hidden;
        padding-bottom: 0;
        flex-direction: column;
        width: 100%;
        max-height: none;
        overflow-y: visible;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 0.1px;
        text-transform: none;
        white-space: normal;
        flex-shrink: 0;
        min-width: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 2rem;
    }
    
    .has-dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.22);
        border-radius: 0;
        padding: 0;
        min-width: 100%;
        box-shadow: none;
        z-index: 1000;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    .has-dropdown:hover .dropdown-menu,
    .dropdown-menu.active {
        max-height: 200px;
    }
    
    .dropdown-menu li {
        padding: 0;
        margin: 0;
    }
    
    .dropdown-menu li a {
        color: white;
        padding: 0.85rem 2.25rem;
        display: block;
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #FFD700;
        padding-left: 2rem;
    }
    
    .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        padding: 0.6rem;
    }
    
    .mobile-menu-toggle i {
        font-size: 1rem;
    }
    
    .header-content {
        padding: 0.6rem 0;
    }
    
    .main-nav {
        padding: 0 0.3rem;
    }
    
    .nav-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .dropdown-menu li a {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
}

/* Person Cards for Leadership Section */
.person-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.person-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 1rem;
    border: 4px solid #282d90;
    object-position: center top;
}

.person-card h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.person-card p {
    color: #555;
    line-height: 1.6;
    text-align: left;
}

.person-card strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .person-photo {
        width: 120px;
        height: 120px;
    }
}

/* About Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    
    padding: 2rem;
    border-radius: 10px;
   
}

.about-section h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 1rem;
    
    padding-bottom: 0.5rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    ;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #043474;
    padding-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #043474;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.contact-item a {
    color: #043474;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.submit-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Institutions Page Styles */
/* ============================
   Institutions Slider
============================ */

.institutions-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
}

/* Carousel Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 30, 135, 0.8);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
  background: rgba(10, 30, 135, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav.prev-btn {
  left: 20px;
}

.carousel-nav.next-btn {
  right: 20px;
}

.carousel-nav.prev-btn:hover {
  left: 15px;
}

.carousel-nav.next-btn:hover {
  right: 15px;
}

@media (max-width: 768px) {
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .carousel-nav.prev-btn {
    left: 10px;
  }
  
  .carousel-nav.next-btn {
    right: 10px;
  }
  
  .carousel-nav.prev-btn:hover {
    left: 8px;
  }
  
  .carousel-nav.next-btn:hover {
    right: 8px;
  }
}

/* horizontal scroll row */
.institutions-grid {
  display: flex;
  gap: 50px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 30px;
}

/* hide scrollbar */
.institutions-grid::-webkit-scrollbar {
  display: none;
}
.institutions-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* each card */
.institution-card {
  min-width: 250px;
  max-width: 250px;
  text-align: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.institution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* image */
.institution-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.institution-card:hover .institution-photo {
  transform: scale(1.05);
}

/* title */
.institution-card h3 {
  margin: 15px 0;
  font-size: 18px;
}

/* visit button */
.learn-more-btn {
  display: inline-block;
  background: #0a1e87;
  color: white;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.learn-more-btn:hover {
  background: #061460;
}

/* dots */
.pagination-dots {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination-dots .dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.pagination-dots .dot:hover {
  background: #666;
  transform: scale(1.2);
}

.pagination-dots .dot.active {
  background: #0a1e87;
  transform: scale(1.3);
}

.pagination-dots .dot.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #0a1e87;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/* Auto-scroll indicator */
.institutions-slider::before {
  content: 'Auto-scrolling';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 30, 135, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.institutions-slider.auto-scroll-active::before {
  opacity: 1;
  animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


/* Events Page Styles */
.event-resources {
  padding: 30px 0;
  text-align: center;
}

.pdf-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: #1e3a8a;
  color: white;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 6px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 220px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  z-index: 10;
}

.dropdown-content a {
  color: #333;
  padding: 10px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #f1f1f1;
}

.pdf-dropdown:hover .dropdown-content {
  display: block;
}


/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .institutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .institution-card {
        padding: 2rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        min-width: auto;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .event-date .day,
    .event-date .month {
        display: inline;
        font-size: 1rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Enhanced About Section - Simple & Attractive */
.content .about-enhanced {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 20px;
    margin-bottom: 4rem;
    text-align: center;
}

.content .about-enhanced h2 {
    font-size: 2.8rem !important;
    color: #1e3c72;
    margin-bottom: 2rem !important;
    position: relative;
    padding-bottom: 1rem;
}

.content .about-enhanced h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.content .about-paragraphs {
    text-align: left;
    padding: 0;
    max-width: 100%;
}

.content .about-para {
    font-size: 1.15rem !important;
    line-height: 1.9;
    color: #1e3c72;
    margin-bottom: 2rem !important;
    text-align: center;
    position: relative;
    padding-left: 1rem;
    width: 100%;
    padding: 20px;
}

.content .about-para:last-child {
    margin-bottom: 0;
}

.content .about-para::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

/* Responsive Design for Enhanced About Section */
@media (max-width: 768px) {
    .content .about-enhanced h2 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .content .about-paragraphs {
        padding: 2rem;
    }
    
    .content .about-para {
        font-size: 1.05rem !important;
        line-height: 1.8;
        padding-left: 0.8rem;
    }
}

@media (max-width: 480px) {
    .content .about-enhanced h2 {
        font-size: 1.8rem !important;
    }
    
    .content .about-paragraphs {
        padding: 1.5rem;
    }
    
    .content .about-para {
        font-size: 1rem !important;
        line-height: 1.7;
        padding-left: 0.5rem;
    }
    
    .content .about-para::before {
        width: 2px;
    }
}

/* Footer Styles - Exact Match to Image */
.footer {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    padding: 40px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    padding: 0 15px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #555;
}

.footer-contact h4,
.footer-address h4 {
    color: #ffcc00;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-contact p,
.footer-address p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #fff;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 5px;
}

.footer-bottom {
    background-color: #ffcc00;
    padding: 15px 0;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-bottom p {
    color: #000;
    font-size: 14px;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
    }
    
    .footer-main {
        flex-direction: column;
        padding: 30px 20px;
        width: 100%;
    }
    
    .footer-section {
        margin-bottom: 30px;
        padding: 0;
        width: 100%;
    }
    
    .footer-map {
        width: 100%;
        display: block;
    }
    
    .footer-map iframe {
        width: 100% !important;
        height: 200px !important;
        display: block;
        visibility: visible;
    }
    
    .footer-bottom {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
    }
    
    .footer-bottom .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        max-width: 120px;
    }
    
    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .footer-contact h4,
    .footer-address h4 {
        font-size: 14px;
    }
    
    .footer-contact p,
    .footer-address p {
        font-size: 13px;
    }
    
    .footer-map iframe {
        height: 180px !important;
    }
}

/* Leadership Section - Full Width Layout */
.leadership-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
    width: 100%;
}

.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    border: 3px solid #ff6b35;
    object-position: center top;
}

.leadership-info h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.leadership-info p {
    color: #1e3c72;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.leadership-info p:last-child {
    margin-bottom: 0;
}

.leadership-info strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Responsive Design for Leadership Section */
@media (max-width: 768px) {
    .leadership-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .leader-photo {
        width: 100px;
        height: 100px;
    }
    
    .leadership-info h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .leadership-info p {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .leadership-info {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .leader-photo {
        width: 80px;
        height: 80px;
    }
    
    .leadership-info h3 {
        font-size: 1.2rem;
    }
    
    .leadership-info p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Society Info - Full Width */
.society-info-simple {
    padding: 2rem 0;
    width: 100%;
    margin: 0;
}

.society-info-simple p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1e3c72;
    margin-bottom: 2rem;
    text-align: justify;
    position: relative;
    padding-left: 1rem;
    width: 100%;
}

.society-info-simple p:last-child {
    margin-bottom: 0;
}

.society-info-simple p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
  
    border-radius: 2px;
}

/* Global Responsive Improvements */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 1.2rem 15px;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 1rem 10px;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }
    
    .mobile-menu-toggle {
        height: 35px;
        width: 35px;
        padding: 0.6rem;
    }
    
    .hero {
        min-height: 350px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 5px;
    }
    
    .header-content {
        padding: 0.8rem 5px;
        min-height: 60px;
    }
    
    .mobile-menu-toggle {
        height: 30px;
        width: 30px;
        padding: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.25rem 0.3rem;
    }
    
    .hero {
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .about-enhanced {
        padding: 1rem;
    }
    
    .about-enhanced h2 {
        font-size: 1.8rem;
    }
    
    .about-para {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item h3 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 3px;
    }
    
    .header-content {
        padding: 0.6rem 3px;
        min-height: 50px;
    }
    
    .mobile-menu-toggle {
        height: 25px;
        width: 25px;
        padding: 0.4rem;
    }
    
    .nav-link {
        font-size: 0.6rem;
        padding: 0.2rem 0.25rem;
    }
    
    .hero {
        min-height: 250px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 0.9rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .about-enhanced {
        padding: 0.8rem;
    }
    
    .about-enhanced h2 {
        font-size: 1.5rem;
    }
    
    .about-para {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .contact-container {
        gap: 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.2rem;
    }
    
    .contact-item {
        margin-bottom: 0.8rem;
    }
    
    .contact-item h3 {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.5rem;
    text-align: left;
}

@media (max-width: 768px) {
    th, td {
        padding: 0.3rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    th, td {
        padding: 0.2rem;
        font-size: 0.8rem;
    }
}

/* Responsive iframe */
iframe {
    width: 100%;
    height: 300px;
}

@media (max-width: 768px) {
    iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    iframe {
        height: 150px;
    }
}

/* Responsive videos */
video {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    video {
        height: 300px;
    }
}

@media (max-width: 480px) {
    video {
        height: 200px;
    }
}

/* Responsive forms */
input, textarea, select {
    max-width: 100%;
}

@media (max-width: 768px) {
    input, textarea, select {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    input, textarea, select {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    .society-info-simple {
        padding: 1.5rem 0;
    }
    
    .society-info-simple p {
        font-size: 1.05rem;
        line-height: 1.8;
        padding-left: 0.8rem;
    }
}

@media (max-width: 480px) {
    .society-info-simple p {
        font-size: 1rem;
        line-height: 1.7;
        padding-left: 0.5rem;
    }
    
    .society-info-simple p::before {
        width: 2px;
    }
}

/* Remove Background Colors */
.content {
   
    padding: 40px 0;
}

.about-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.about-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Scroll Effect */
.sticky-header.scrolled {
    background: rgba(30, 60, 114, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.sticky-header.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}







/* ===== EVENT DROPDOWN - ENHANCED & ATTRACTIVE ===== */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95), rgba(42, 82, 152, 0.95));
    backdrop-filter: blur(15px);
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show dropdown on hover for desktop */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        background: linear-gradient(135deg, rgba(30, 60, 114, 0.95), rgba(42, 82, 152, 0.95));
        backdrop-filter: blur(15px);
        min-width: 200px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 1000;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        animation: dropdownFadeIn 0.3s ease forwards;
    }
    
    .has-dropdown .dropdown-menu li {
        padding: 0;
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .has-dropdown .dropdown-menu li a {
        text-decoration: none;
        color: white;
        display: block;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        text-transform: none;
        letter-spacing: 0.3px;
        border-left: 3px solid transparent;
    }
    
    .has-dropdown .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #FFD700;
        padding-left: 30px;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .has-dropdown .dropdown-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: #FFD700;
        transition: width 0.3s ease;
        z-index: -1;
    }
    
    .has-dropdown .dropdown-menu li a:hover::before {
        width: 100%;
    }
}

/* Show dropdown on click for mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
    }

    .has-dropdown:hover .dropdown-menu,
    .dropdown-menu.active {
        max-height: 200px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(30, 60, 114, 0.95);
}

.dropdown-menu li {
  padding: 0;
  position: relative;
}

.dropdown-menu li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 15px 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-transform: none;
  letter-spacing: 0.3px;
  border-left: 3px solid transparent;
}

.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background:  #FFD700;
  transition: width 0.3s ease;
  z-index: -1;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #04167c;
  padding-left: 30px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li a:hover::before {
  width: 100%;
}
