:root {
    --primary-color: #0372a9;
    --primary-color-light: #ceefff;
    --secondary-color: #fca216;
    --accent-color: #1099a9;
    --dark-color: #182954;
    --light-color: #FFFAFA;
    --bg-light-color: #f0f0f0;
    --accent-color2: #c40030;
    --text-color-dark: #313638;
    --accent-color-dark: #0e7b8a; /* Darker shade of accent color */
    --primary-color-dark: #025a7a; /* Darker shade of primary color */
    --secondary-color-dark: #d98c14; /* Darker shade of secondary color */
    --bg-dark-color: #202124; /* Dark background color */
    --text-light-color: #ffffff; /* Light text color */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
}

.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    font-size: 0.85rem;
    display: flex;
    flex-direction: row; /* Changed from column */
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-height: 40px; /* Allow auto-height on smaller screens */
    padding: 5px 0;
}

.top-bar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
}

.marquee-container {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex: 0 0 65%; 
    /* Remove fixed width percentage for more flexibility */
}

.marquee {
    display: inline-flex; /* Allows both paragraphs to sit side-by-side */
    animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.links-container {
    flex: 0 0 auto;
    text-align: right;
}

.links-container a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.separator {
    margin: 0 5px;
    color: #fff;
}

/* Make top bar responsive on smaller screens */
@media (max-width: 600px) {
    .top-bar-container {
        flex-direction: column;
        align-items: center;
    }
    .marquee-container {
        width: 100%;
        margin-bottom: 8px;
        text-align: center;
    }
    .links-container {
        width: 100%;
        text-align: center;
        display: none;
    }
    .links-container a {
        display: inline-block;
        margin: 0 10px;
        display: none;
    }
}

/* Default Navbar Styles */

.navbar {
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1000;
    background: var(--dark-color);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-bottom: 4px solid var(--accent-color2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand img {
    height: 50px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: 0.3s;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
}
 
.top-bar-button{
    display: none;
}
/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 110px; /* Add padding to account for navbar height */
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    width: 90%;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    margin-bottom: 1rem;
    width: 100%;
}

.hero-text img{
    display: block;
    margin-left: auto;
    margin-right: auto; 
    max-width: 100%; 
    height: auto;
}

.tagline {
    font-size: 1.8rem;
    color: white;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.tagline2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.hero-cta {
    margin-top: 0rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    background: transparent;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
    padding: 1rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
    background: var(--primary-color);
    border-color: white;
    transform: scale(1.2);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.cta-button.primary {
    background: linear-gradient(45deg, #4a90e2, #67b26f);
    color: white;
    border: none;
    width: 30px;
    height: 90px;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 90px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    background: linear-gradient(45deg, #67b26f, #4a90e2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-icons-hero {
    display: flex;
    gap: 1rem;
}

.social-icon-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon-hero:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon-hero i {
    font-size: 0.8rem;
}


.stats-section {
    background-color: var(--bg-light-color);
    padding: 50px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat {
    flex: 1;
    margin: 0 20px;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 1rem;
    color: var(--primary-color);
}


/* about section */
.about-section {
    background-color: var(--light-color);
    padding: 50px 0;
}

.about-container {
    display: flex;
    align-items: center;

    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    position: relative;
    
}

.about-image {
    flex: 1;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background-color: transparent;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease;
    background-color: transparent;
    
}

.about-image:hover {
    transform: translateY(-10px) translateX(-10px); /* Slightly zoom in the container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    cursor: pointer; /* Change cursor to pointer on hover */
}
.about-image:hover img {
    transform: scale(1.01); /* Slightly zoom in the image */
}


/* .about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; 
    border-radius: 10px;
    z-index: 1; */
 

.about-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Ensure the logo is above the overlay */
}

.about-logo img {
    width: 400px; /* Adjust the size as needed */
    height: auto;
}

.about-text {
    flex: 1;
    text-align: left;
    
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-description {
    font-size: 1rem;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.about-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.about-cta-button:hover {
    background-color: var(--accent-color-dark);
}


/* mission and vision */
.mission-vision-section {
    background-color: var(--primary-color);
    padding: 50px 20px;
    text-align: center;
    
   
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission, .vision {
    margin-bottom: 40px;
}

.mission-vision-container .section-title {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 20px;
    
}

.mission-description, .vision-description {
    font-size: 1rem;
    color: var(--bg-light-color);
    margin-bottom: 20px;
}


/* Societies */
.societies-section {
    background-color: var(--bg-light-color);
    padding: 50px 20px;
    text-align: center;
}

.main-section-title {   
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.societies-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.society {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.society-logo {
    flex: 0 0 20%; /* Make the image approximately 30% of the card width */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
}

.society-logo img {
    width: 100%; /* Make the image fill the container */
    height: auto;
    border-radius: 0;
    transition: transform 0.5s ease; /* Remove border radius */
}

.society:hover {
    transform: scale(1.05); /* Slightly zoom in the container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    cursor: pointer; /* Change cursor to pointer on hover */
}

.society:hover .society-logo img {
    transform: scale(1.1); /* Slightly zoom in the logo */
}


.society-text {
    flex: 1;
    text-align: left;
}

.society-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.society-description {
    font-size: 1rem;
    color: var(--text-color-dark);
}

/* Resources */
.resources-section {
    background-color: var(--dark-color);
    padding: 50px 20px;
    text-align: center;
}

.resources-section-title {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 40px;
}

.resources-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.resource-slide-track {
    display: flex;
    width: calc(250px * 10); /* Adjust based on the number of slides */
    animation: resource-scroll 20s linear infinite;
    gap: 20px; /* Add gap between each slider */
}

.resource-slide {
    width: 250px; /* Adjust the width of each slide */
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.resource-logo-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;

}

.resource-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease; /* Add border radius to the image */
}

.resource-slide:hover {
    transform: scale(1.05); /* Slightly zoom in the container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.resource-slide:hover img {
    transform: scale(1.1); /* Slightly zoom in the logo */
}

@keyframes resource-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5)); /* Adjust based on the number of slides */
    }

}


/* ieee partners */

.ieee-partners-section {
    background-color: #fff;
    padding: 50px 150px;
    text-align: center;
}

.section-title-main {
    font-size: 2rem;
    color: var(--accent-color-dark);
    margin-bottom: 40px;
}

.ieee-partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ieee-partner {
    flex: 1 1 calc(25% - 60px); 
    max-width: calc(25% - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.ieee-partner img {
    max-width: 70%;
    height: auto;
    transition: transform 0.5s ease; 
}

.ieee-partner:hover {
    transform: scale(1.05); /* Slightly zoom in the container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.ieee-partner:hover img {
    transform: scale(1.1); /* Slightly zoom in the logo */
}


/* benefits */
/* Benefits */
.benefits-section {
    background-color: var(--bg-light-color); /* Use defined background color */
    padding: 50px 20px;
    text-align: center;
}

.benefits-section .section-title {
    font-size: 2rem;
    color: var(--dark-color); /* Use defined primary color */
    margin-bottom: 40px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit {
    flex: 1 1 calc(25% - 40px); 
    max-width: calc(25% - 40px);
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--accent-color); 
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.5rem;
    color: var(--primary-color); 
    margin-bottom: 10px;
}

.benefit-description {
    font-size: 1rem;
    color: var(--text-color-dark); 
}

.benefit:hover {
    transform: translateY(-10px); /* Slightly move up on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    cursor: pointer; /* Change cursor to pointer on hover */
}
/* Events */
/* Events */

/* Events */
.events-section {
    background-color: var(--dark-color);
    padding: 50px 20px;
    text-align: center;
}

.events-section .section-title {
    font-size: 2rem;
    color: var(--bg-light-color);
    margin-bottom: 40px;
}

.events-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.event-slide-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.event-card {
    flex: 0 0 calc(33.333% - 20px); /* 3 cards per row with gap */
    max-width: calc(33.333% - 20px);
    height: 400px; /* Set a fixed height for the cards */
    margin: 0 10px; /* Add margin to ensure spacing between rows */
    overflow: hidden; /* Ensure content does not overflow */
    border-radius: 10px; /* Add border radius to the card */
    perspective: 1000px; /* Add perspective for 3D effect */
}

.event-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.event-card:hover .event-card-inner {
    transform: rotateY(180deg); /* Flip the card on hover */
}

.event-card-front,
.event-card-back {
    position: absolute;
    width: 100%;
    height: 100%; /* Ensure both sides have the same height */
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Blur effect for Safari */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure content does not overflow */
}

.event-card-back {
    transform: rotateY(180deg);
}

.event-image {
    width: 100%;
    height: 200px; /* Set a fixed height for the image */
    object-fit: cover; /* Ensure the image covers the container */
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-title {
    font-size: 1.5rem;
    color: var(--light-color); /* Change to light color for better contrast */
    margin-bottom: 10px;
}

.event-date,
.event-location {
    font-size: 1rem;
    color: var(--light-color); /* Change to light color for better contrast */
    margin-bottom: 10px;
}

.event-description {
    font-size: 1rem;
    color: var(--light-color); /* Change to light color for better contrast */
}

/* Responsive styles */
@media (max-width: 768px) {
    .event-card {
        flex: 0 0 calc(50% - 20px); /* 2 cards per row on smaller screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .event-card {
        flex: 0 0 100%; /* 1 card per row on very small screens */
        max-width: 100%;
    }
}

/* Members */
.members-section {
    background-color: var(--bg-light-color);
    padding: 50px 20px;
    text-align: center;
}

.members-section .section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.member-card {
    text-align: center;
    width: calc(15%); /* 3 cards per row with gap */
    max-width: calc(16%);
}

.member-card1 {
    text-align: center;
    width: calc(20%); /* 3 cards per row with gap */
    max-width: calc(20%);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    /* border: var(--dark-color) solid 1px; */
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-role {
    font-size: 1rem;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.member-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.member-card h3{
    color: var(--primary-color);
    font-size: 1.2rem;
}

.m-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    text-decoration: none;
}

.m-social-icon:hover {
    background-color: var(--accent-color-dark);
}

.m-social-icon i {
    font-size: 1rem;
    text-decoration: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .member-card, .member-card1 {
        width: calc(50% - 20px); /* 2 cards per row on smaller screens */
        max-width: calc(50% - 20px);
    }

    
}

@media (max-width: 480px) {
    .member-card, .member-card1 {
        width: 100%; /* 1 card per row on very small screens */
        max-width: 100%;
    }
}

/* gallery */
.gallery-section {
    background-color: var(--bg-light-color);
    padding: 50px 20px;
    text-align: center;
}

.gallery-section .section-title {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-light) 100%); /* Gradient background */
    padding: 20px 0; /* Padding around the heading */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 1;
}

.gallery-section .section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--dark-color) 100%); /* Gradient background */
    z-index: -1;
    border-radius: 10px; /* Match the border radius */
}

.gallery-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gallery-slide-track {
    display: flex;
    transition: transform 0.5s linear;
}

.gallery-image {
    flex: 0 0 calc(33.333% - 20px); /* 3 images per row with gap */
    max-width: calc(33.333% - 20px);
    margin: 0 10px; /* Add margin to ensure spacing between rows */
    overflow: hidden; /* Ensure content does not overflow */
    border-radius: 10px; /* Add border radius to the image */
}

.gallery-image img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

.gallery-more {
    margin-top: 20px;
}

.gallery-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.gallery-more-button:hover {
    background-color: var(--primary-color-dark);
}

/* Responsive styles */
@media (max-width: 768px) {
    .gallery-image {
        flex: 0 0 calc(50% - 20px); /* 2 images per row on smaller screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .gallery-image {
        flex: 0 0 calc(100%); /* 1 image per row on very small screens */
        max-width: calc(100%);
       
        
    }
}




/* Contact Section */
.contact {
    background: linear-gradient(0deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 100px 0;
    color: #fff;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.contact .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact .section-header h2 {
    color: #fff;
}

.contact .section-description {
    color: #b4c4e2;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #b4c4e2;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group select {
    appearance: none;
    cursor: pointer;
}

.input-group select option {
    background: #1a2942;
    color: #fff;
}

.input-group textarea {
    height: 150px;
    resize: none;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    pointer-events: none;
}

.input-group textarea + i {
    top: 25px;
    transform: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color:  var(--secondary-color);
    outline: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #b4c4e2;
}

.submit-button {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(0deg, var(--secondary-color), #F28C28);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.submit-button i {
    font-size: 1.2rem;
}

.contact-info {
    display: grid;
    grid-template-rows: repeat(3, auto) 1fr;
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    /* background: linear-gradient(135deg, #ff6b6b, #ff8e53); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color)
}

.info-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.info-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    color: #b4c4e2;
    font-size: 1rem;
}

.social-connect {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.social-connect h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
}



/* Footer */
.footer {
    background: linear-gradient(135deg, #0a1930 0%, #1a2942 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-top {
    padding: 80px 0 60px;
    display: flex;
    justify-content: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.footer-brand {
    margin-right: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-description {
    color: #b4c4e2;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(90deg, var(--secondary-color), #ff8e53);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), #ff8e53);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #b4c4e2;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), #ff8e53);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b4c4e2;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.newsletter {
    margin-top: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 25px;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: #b4c4e2;
}

.newsletter-form button {
    background: linear-gradient(90deg, var(--secondary-color), #ff8e53);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.footer-bottom p {
    color: #b4c4e2;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-links a {
    color: #b4c4e2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        
    }

    .footer-top {
        padding: 30px 50px
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}
/* Ongoing Event Section */
.ongoing-event-section-new {
    width: 100%;
    background: linear-gradient(135deg, #000046, #1CB5E0);
    background: linear-gradient(135deg, #000428, #004e92);
    background-size: 250% 250%;
    animation: gradientAnimation 15s ease infinite;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.event-card-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.event-poster-new {
    flex: 1 1 25%;
}

.event-poster-new img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.event-content-new {
    flex: 1 1 50%;
    padding: 30px 20px;
    text-align: left;
}

.event-title-new {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffcc00;
    text-align: center;
}

.event-description-new {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--primary-color-light);
}

.event-benefits-new {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: var(--primary-color-light);
}

.event-benefits-new li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.event-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.event-detail-box {
    flex: 1 1 calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.event-detail-box i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    color: var(--secondary-color);
}

.event-detail-box strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.event-detail-box span {
    font-size: 1rem;
}

.event-detail-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.event-note-new {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ffcc00;
}

.register-button-new {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: background 0.3s, transform 0.3s;
}

.register-button-new:hover {
    background: linear-gradient(90deg, #ff4757, #ff6b6b);
    transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .event-card-new {
        flex-direction: column;
    }
    .event-content-new {
        text-align: left;
    }
    .event-details-container {
        flex-direction: column;
    }
    .event-detail-box {
        flex: 1 1 100%;
    }
    .event-content-new .register-button-new {
        display: block; 
        text-align: center;
        margin-left: 3rem;  
        margin-right: 3rem;  
    }
}

.hero-image-section {
    text-align: center;
    margin: 2rem 0;
    /* background-color: black; */
    margin: 0;
    background-image: url("assets/images/bg.png");
}

.hero-image {
    width: 60%; /* Fixed width for desktop */
    height: auto; /* Fixed height for desktop */
    object-fit: cover;
    max-width: 100%; /* Scales down on smaller screens */
}