/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    /* Primary font for body text */
    overflow-x: hidden;
    position: relative;
    background-color: #f8f9fa;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    /* Heading font */
    color: #222;
}

/* Reusable Components */
.section-padding {
    padding: 20px 0;
    /* Consistent padding for sections */
}

.heading-primary {
    font-size: 30px;
    font-weight: 700;
    color: #202020;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .heading-primary {
        font-size: 2.2rem;
    }
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
}

.text-muted {
    color: #6c757d !important;
}

.bg-primary {
    background-color: #202020 !important;
    /* Dark background for call to action */
}

.bg-dark-alt {
    background-color: #343a40 !important;
    /* Slightly lighter dark for cards */
}

/* Buttons */
.btn-primary {
    background-color: #5bc0de;
    /* Blue primary button */
    border-color: #5bc0de;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    /* Pill-shaped buttons */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Shine / Glitter Effect */
.btn-outline-dark {
    position: relative;
    overflow: hidden;
    border-color: #fff;
    background-color: #FFD700;
    color: #011936;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    margin-right: 35px;
}

.partner-logo-seven {
    width: 130px;
}

.btn-outline-dark::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    color: yellow;
    background: linear-gradient(120deg,
            transparent,
            #FFD700,
            transparent);
    transform: skewX(-20deg);
    transition: 1.5s;
}

.btn-outline-dark:hover::after {
    left: 120%;
}

.text-gold {
    color: #FFD700 !important;
    /* Gold accent color */
}


/* Sidebar Styling */
.loginBtn {
    display: inline-block;
    padding: 10px 50px;
    background-color: #5bc0de;
    /* Blue login button */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.loginBtn:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -250px;
    background: #202020;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    /* Align close button to the right */
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .btn-close {
    font-size: 1.2rem;
    color: #fff;
    background: transparent;
    border: none;
    opacity: 1;
}

.sidebar ul.components {
    padding: 20px 0;
    list-style: none;
    flex-grow: 1;
}

.sidebar ul.components li {
    font-size: 1.1em;
    display: block;
}

.sidebar ul.components li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 12px 20px;
    /* Increased padding for better click area */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar ul.components li a i {
    margin-right: 15px;
    /* Increased margin for icon */
    font-size: 1.3em;
    /* Slightly larger icons */
}

.sidebar ul.components li.active {
    background: #343a40;
    border-left: 4px solid #5bc0de;
    /* Thicker active indicator */
}

.sidebar ul.components li:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    /* More subtle hover */
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.maps {
    width: 250px;
    height: 250px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-left: 150px;
}

/* Content Wrapper Styling */
.content-wrapper {
    transition: all 0.3s ease;
    margin-left: 0;
}

.content-wrapper.active {
    margin-left: 250px;
}

/* Hero Section */
.hero-section {
    background-image: url(../assets/madurai-banner.jpg);
    /* Dark overlay + image */
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
}

.phone-logo {
    margin-left: -4px;
    width: 25px !important;
    height: 25px !important;
    margin-right: 8px;
}

.navbar {
    background-color: transparent !important;
    padding: 6px 0px 6px !important;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    /* Class to add background on scroll */
    background-color: #011936 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.792);
}

.navbar-brand svg {
    color: white;
}

.navbar-nav .nav-link {
    color: #FFD700 !important;
    text-shadow: #FFD700 0px 0px 1px;
    margin: 0 1.2rem;
    font-weight: bolder !important;
    /* Bolder nav links */
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    /* Underline effect on hover */
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: #FFD700;
    bottom: -5px;
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    font-weight: bolder;
    color: #FFD700 !important;
}

.social-icons a {
    font-size: 1.3rem;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #5bc0de;
    transform: translateY(-2px);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    /* Limit width for better readability */
    padding: 20px;
}

.main-title {
    color: white;
    font-size: 4.8rem;
    margin-top: 400px !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.hero-content .lead {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-btn {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Feature Cards (Why Choose Us) */
.card-feature {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px;
    background-color: white;
}

.card-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-feature .icon-circle {
    width: 70px;
    height: 70px;
    background-color: #5bc0de;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-feature .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202020;
}

.card-feature .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Get Involved Section Cards */
.section-padding.bg-primary {
    background-color: #202020 !important;
    color: white;
}

.section-padding.bg-primary .heading-primary {
    color: white;
}

.section-padding.bg-primary .card {
    background-color: #343a40;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
}

.section-padding.bg-primary .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.section-padding.bg-primary .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.section-padding.bg-primary .card-text {
    color: #ffffff;
}

/* Footer Styling */
.footer {
    background-color: #0b1120;
    /* Dark blue background from image */
    color: #aeb5bf;
    /* Lighter text color for contrast */
    padding: 20px 0;
    /* More padding top/bottom */
    font-size: 0.95em;
}

.footer-col-left {
    padding-right: 30px;
    /* Space out the left column */
}

.footer-logo-text {
    color: #fff;
    font-size: 1.5rem;
    /* Larger logo text */
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.footer-description {
    text-align: justify;
    font-size: 0.9rem;
    line-height: 1.7;
    /* margin-top: 45px; */
    color: #aeb5bf;
}

.footer .copyright {
    color: #7b848f;
    /* Darker copyright text */
    margin-bottom: 0;
    font-size: 0.85em;
    /* Adjust margin based on design */
    text-align: center;
}

.footer-heading {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
    /* Spacing between list items */
}

.footer-links-list li a,
.footer-contact-item {
    color: #aeb5bf;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    /* For icon and text alignment */
    align-items: flex-start;
    /* Align icon to top of text */
    font-size: 12px;
    line-height: 1.6;
}

.footer-links-list li a:hover {
    color: #5bc0de;
    /* Blue hover color */
}

.footer-contact-item i {
    margin-right: 10px;
    color: #FFD700;
    /* Blue icon color */
    font-size: 1.1em;
    margin-top: 4px;
    /* Adjust icon vertical alignment */
}

.footer-social-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align right section content to the right */
}

.footer-social-right .social-icon-circle {
    width: 40px;
    height: 40px;
    background-color: #FFD700;
    /* Blue background for social icons */
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.partner-logo-four {
    width: 90px;
    margin-left: -5px;
}

.footer-social-right .social-icon-circle:hover {
    background-color: #FFD700;
    /* Darker blue on hover */
    transform: translateY(-2px);
}

.footer-bottom-text {
    font-size: 0.9em;
    line-height: 1.7;
    margin-top: 25px;
    color: #aeb5bf;
}

.maps {
    border-radius: 12px;
    /* Dark mode map style */
    width: 100%;
    height: 250px;
}

/* --- Founder Message Section Styles --- */
.bg-dark-navy {
    background-color: #0b1120;
    /* Deep Navy Background like the image */
    color: #ffffff;
}

.text-gold {
    color: #FFD700 !important;
    /* Gold accent color */
}

/* The Left Side Intro Box */
.founder-quote-box {
    border-left: 5px solid #FFD700;
    padding-left: 1.5rem;
}

/* The Cards (Styled like the Policy items in your image) */
.message-card {
    background-color: #151e32;
    /* Slightly lighter navy for cards */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #FFD700;
}

/* Icon Styling */
.icon-box-gold {
    min-width: 50px;
    height: 50px;
    background-color: rgba(197, 160, 70, 0.15);
    /* Transparent Gold */
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.text-justify {
    text-align: justify;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .main-title {
        font-size: 4rem;
    }

    .hero-content .lead {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #011936;
        padding: 1rem;
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%;
        z-index: 999;
        box-shadow: 10px rgba(255, 234, 0, 0.95) !important;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .social-icons {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }

    .navbar-brand {
        margin-left: 1rem;
    }

    .hero-section {
        height: 50vh;
        background-size: contain !important;
        /* Shorter hero on smaller screens */
    }

    .main-title {
        font-size: 3.5rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .sidebar {
        width: 230px;
        left: -230px;
    }

    .sidebar.active {
        left: 0;
    }

    .content-wrapper.active {
        margin-left: 230px;
    }

    .footer-links-list {
        margin-left: 0px;
    }

    /* Footer responsive adjustments for medium screens */
    .footer-col-left,
    .footer-social-right {
        text-align: center;
        /* Center align for smaller screens */
    }

    .footer-social-right {
        align-items: center;
        /* Center social icons */
        margin-top: 30px;
    }

    .footer-col-left {
        padding-right: 15px;
        /* Adjust padding */
    }

    .footer-social-right .d-flex {
        justify-content: center !important;
        /* Ensure social icons are centered */
    }

    .footer .copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.8rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .heading-primary {
        font-size: 2rem;
    }

    .loginBtn {
        margin-left: 0;
    }

    .card-feature {
        padding: 20px;
    }

    .card-feature .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .card-feature .card-title {
        font-size: 1.2rem;
    }

    /* Footer adjustments for small screens */
    .footer-col-left,
    .footer .col-lg-5>.row>div,
    /* Target middle columns' inner divs */
    .footer-social-right {
        text-align: center;
        margin-bottom: 40px;
        /* More spacing between stacked columns */
    }

    .footer-col-left .d-flex {
        justify-content: center !important;
        /* Center the logo and text */
    }

    .footer-contact-item {
        justify-content: center;
        /* Center contact items with icons */
    }

    .footer-contact-item i {
        margin-right: 5px;
        /* Adjust icon spacing */
    }

    .footer-social-right {
        margin-top: 0;
        /* Remove top margin if already stacked */
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-content .lead {
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .heading-primary {
        font-size: 1.8rem;
    }
}

/* Navbar Dropdown Adjustments for Hover (if you choose to use dropdowns in main nav) */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    background-color: #202020;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    min-width: 180px;
    margin-top: 0;
    border-radius: 0;
}

.dropdown-item {
    color: #fff !important;
    padding: 10px 20px;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #343a40;
    color: #5bc0de !important;
}

/* Sidebar Submenu Styling */
.sidebar ul.components li.has-submenu .submenu {
    list-style: none;
    padding: 0;
    margin-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #2c2c2c;
}

.sidebar ul.components li.has-submenu:hover .submenu,
.sidebar ul.components li.has-submenu.show-submenu .submenu {
    /* Added .show-submenu class */
    max-height: 200px;
}

.sidebar ul.components li.has-submenu .submenu li a {
    padding: 8px 15px;
    font-size: 0.95em;
    color: #a0a0a0;
    font-size: 14px;
}

.sidebar ul.components li.has-submenu .submenu li a:hover {
    color: #5bc0de;
    background-color: rgba(255, 255, 255, 0.08);
}

.sidebar ul.components li.has-submenu>a {
    position: relative;
}

.sidebar ul.components li.has-submenu>a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.sidebar ul.components li.has-submenu:hover>a::after,
.sidebar ul.components li.has-submenu.show-submenu>a::after {
    /* Added .show-submenu class */
    transform: translateY(-50%) rotate(90deg);
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.navbar-logo {
    width: 53px;
    height: auto;
    margin-left: px;
}

/* --- Get Involved Section Styles --- */

/* Reusing the navy background from the Founder section */
.bg-dark-navy {
    background-color: #0b1120;
    color: #ffffff;
}

/* Custom Card Style mimicking the reference image panels */
.involvement-card {
    background-color: #151e32;
    /* Slightly lighter navy */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gold border accent on hover */
.involvement-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* A subtle gold wash effect on hover */
.involvement-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 70, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.involvement-card:hover::after {
    opacity: 1;
}

/* Icon Container */
.icon-box-large {
    width: 70px;
    height: 70px;
    background-color: rgba(197, 160, 70, 0.15);
    /* Transparent Gold */
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
    /* Center the icon */
    transition: transform 0.3s ease;
}

.involvement-card:hover .icon-box-large {
    transform: scale(1.1) rotate(5deg);
    background-color: #FFD700;
    color: #0b1120;
    /* Icon turns dark on hover */
}

/* Custom Gold Button */
.btn-gold-outline {
    color: #FFD700;
    border: 1px solid #FFD700;
    background: transparent;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold-outline:hover {
    background-color: #FFD700;
    color: #0b1120;
    box-shadow: 0 0 15px rgba(197, 160, 70, 0.4);
}

.text-gold {
    color: #FFD700 !important;
}

/* --- Shared Dark Theme Utils --- */
.bg-dark-navy {
    background-color: #0b1120;
    color: #ffffff;
}

.text-gold {
    color: #FFD700 !important;
}
/* --- About Section Styles --- */
.about-text-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-text-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    /* Soft white for readability */
    margin-bottom: 1.5rem;
}

/* --- Features Section Styles --- */
.feature-card {
    background-color: #151e32;
    /* Lighter navy for contrast */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Lift and Gold Glow */
.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 160, 70, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Subtle gradient overlay on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Icon Styling */
.icon-circle-gold {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #1e2a45 0%, #0b1120 100%);
    border: 1px solid #FFD700;
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover .icon-circle-gold {
    background: #FFD700;
    color: #0b1120;
    box-shadow: 0 0 20px rgba(197, 160, 70, 0.6);
}

.feature-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.8em;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #3498db;
    font-size: 2em;
    padding-bottom: 10px;
    margin-bottom: 25px;
    align-items: center;
}

h2 .icon {
    margin-right: 15px;
    font-size: 1.2em;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-text-fill-color: transparent;
}

.event-section {
    margin-bottom: 40px;
    margin-left: 120px;
    padding: 30px;
    border: none;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
}

.past-events h2 {
    color: #e67e22;
    /* Orange for past events */
    border-bottom-color: #e67e22;
}

.footer-list-icons {
    color: #FFD700;
    width: 20px;
    /* Gold color for footer icons */
}

.past-events h2 .icon {
    background: linear-gradient(45deg, #e67e22, #f39c12);
    -webkit-text-fill-color: transparent;
}

.upcoming-events h2 {
    color: #27ae60;
    /* Green for upcoming events */
    border-bottom-color: #27ae60;
}

.upcoming-events h2 .icon {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-text-fill-color: transparent;
}

:root {
    --bg-dark: #0b0f19;
    /* Main Background from image */
    --card-bg: #111625;
    /* Card Background from image */
    --text-white: #ffffff;
    --text-muted: #a0aec0;
    --accent-blue: #3b82f6;
    /* Icon/Link color */
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-text: linear-gradient(90deg, #fff, #a5b4fc);
}

body {
    background-color: var(--bg-dark);
    font-family: 'Open Sans', sans-serif;
    color: var(--text-muted);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
}

/* --- 2. Navbar Styling --- */
.navbar {
    background: rgba(11, 15, 25, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand,
.nav-link {
    color: var(--text-white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

/* --- 3. Sidebar Styling --- */
#sidebar {
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    width: 250px;
    z-index: 9999;
    transition: all 0.3s;
    padding: 20px;
}

#sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.sidebar ul li a {
    color: var(--text-white);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.sidebar ul li a:hover {
    background: #3b82f61a;
    color: var(--accent-blue);
}

/* --- 4. Main Content Area --- */
.event-section {
    margin-top: 15px;
}

/* Page Header Title */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.pill-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.main-title {
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* --- 5. Event Cards (Designed like Reference Image) --- */
.event-section {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), box-shadow 0.4s ease;
    overflow: hidden;
}

.event-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Glow effect on hover */
.event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.event-section:hover::before {
    opacity: 1;
}

/* Card Header Layout */
.card-header-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Icon Circle Styling */
.icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific Icon Colors for visual distinction */
.upcoming-icon {
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
    border-color: rgba(39, 174, 96, 0.3);
}

.past-icon {
    background: rgba(230, 126, 34, 0.15);
    color: #e67e22;
    border-color: rgba(230, 126, 34, 0.3);
}

.event-section h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-white);
    border: none;
    padding: 0;
}

.event-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    /* Align text with title, indenting past icon */
}

/* Responsive Mobile Adjustment */
@media (max-width: 768px) {
    .event-section p {
        margin-left: 0;
    }

    .main-title {
        font-size: 2.2em;
    }
}

/* --- 6. Footer Styling (Dark) --- */
.footer {
    background-color: #111625;
    /* Even darker than body */
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 30px 0 20px;
}

.footer-logo-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-heading {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links-list li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-links-list li a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.social-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.social-icon-circle:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
}

.maps {
    border-radius: 12px;
    opacity: 0.8;
    transition: 0.3s;
    width: 100%;
    height: 200px;
}

.founder-image {
    width: 250px;
    margin-left: 430px;
    margin-top: -50px;
}

.founder-caption {
    font-size: 20px;
    color: #6a6b6b !important;
    font-weight: bolder;
    margin-top: 8px;
    text-align: center;
}

.founder-heading {
    font-size: 28px;
    color: #fff;
    text-align: center;
}

.winner-image {
    border-radius: 8px;
    width: 300px;
}

.winner-image :hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.winner-image h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}

.partner-logo-five {
    max-width: 160px !important;
    margin-left: 0px;
}

.partner-logo-six {
    max-width: 90px !important;
}

/* --- Active Menu Styling --- */
.navbar-nav .nav-item .nav-link.active {
    /* Change text color to a standout color (e.g., gold/yellow) */
    color: #FFD700 !important;

    /* Add a bottom border/indicator */
    border-bottom: 2px solid #FFD700;

    /* Optional: Make the font bold */
    font-weight: 600;

    /* Adjust padding to make space for the border */
    padding-bottom: 5px !important;
}

/* Ensure the active link stays styled even on hover/focus */
.navbar-nav .nav-item .nav-link.active:hover,
.navbar-nav .nav-item .nav-link.active:focus {
    color: #FFD700 !important;
    border-bottom: 2px solid #FFD700;
}

/* Adjust default nav-link padding to match the active one's padding-bottom */
/* This prevents the border from making the whole navbar jump */
.navbar-nav .nav-item .nav-link {
    padding-bottom: 5px !important;
    /* Match the active padding-bottom */
}

/* --- ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid items */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Custom KG Awards Button Style */
.btn-kg-gold {
    /* Background color (Yellow from the header) */
    background-color: #FFD700;
    /* Text color */
    color: #000;
    /* Border style from the image */
    border: 2px solid #000;
    /* Very rounded/pill-shaped corners */
    border-radius: 50rem;
    /* Font style */
    font-weight: 700;
    text-transform: uppercase;
    /* Consistent padding */
    padding: 8px 20px;
    /* Ensure a consistent width for the stack */
    min-width: 150px;
    text-align: center;
    /* Smooth transition for hover effect */
    transition: all 0.2s ease-in-out;
}

/* Hover Effect (Optional: makes the button invert colors on hover) */
.btn-kg-gold:hover {
    background-color: #000;
    color: #FFD700;
    border-color: #FFD700;
}

/* Style for the button container to manage vertical space */
.navbar .header-buttons-container {
    /* Use flexbox with column direction for vertical stacking */
    display: flex;
    flex-direction: column;
    /* Adds space between the buttons */
    gap: 8px;
    /* Match the height of the navbar */
    align-self: stretch;
    /* Ensure the container is aligned to the end (right) on the main axis */
    align-items: flex-end;
    /* Optional: Center the buttons vertically within the yellow bar if needed */
    justify-content: center;
}

.award-image {
    width: 120px;
    margin-left: 110px;
    margin-top: -10px;
}

/* ======================================= */
/* Gallery Page Specific Styles (index.css)*/
/* ======================================= */

/* Style for the 'Photo Gallery' title to match the original image */
.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    /* Large font size */
    color: #000;
    text-align: left;
    /* Adjust margin to align the text like in the image */
    max-width: 80%;
    /* Match the grid width below */
    margin: 0 auto 3rem auto;
    /* Center the container, add bottom margin */
    padding-left: 15px;
    /* Optional: small padding for alignment within a typical container */
}

.photo-grid {
    border-radius: 25px;
    row-gap: 10px;
}

.photo-item {
    overflow: hidden;
    position: relative;
    /* Maintain aspect ratio - 1:1 square */
    padding-bottom: 100%;
    /* Height is 100% of width */
    height: 0;
}

.photo-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    /* Smooth hover transition */
}

.photo-item img:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* ======================================= */
/* Media Queries for Responsiveness */
/* ======================================= */
@media (max-width: 992px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
        width: 95%;
        max-width: none;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-heading {
        text-align: center !important;
    }

    .founder-image {
        width: 200px;
        margin-left: 75px;
        margin-top: -30px;
    }

    .event-section {
        margin-left: 0px;
    }

    .gallery-title {
        font-size: 2rem;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        width: 100%;
    }

    .gallery-title {
        font-size: 1.8rem;
        text-align: center;
        max-width: 100%;
        margin-bottom: 2rem !important;
    }
}

/* Quick Links column only */
.col-lg-3 .footer-links-list li a {
    font-size: 14px;
}

/* Rights & Policies column */
.col-lg-6 .footer-links-list li a {
    font-size: 14px;
}

.section-icon {
    margin-top: -30px;
}