body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

/* Top Header - Email */
/* Top Header: Logo, Website Name (Left) & Email (Right) */
.top-header {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: #010952; /* Adjust color if needed */
    color: white;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    background:rgb(3, 226, 255);
   
   
    color: white;
}


.logo-name img {
    height: 50px; /* Adjust logo size */
    margin-right: 15px;
   
}
.logo-name span{
    height: 40px; /* Adjust logo size */
    margin-right: 15px;
    font-size: 1.3rem;
    
}
.logo-container {
    display: flex;
    align-items: center;
}



nav ul li {
    position: relative;
    margin: 0 15px;
}
nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: rgb(212, 197, 197);
}

/* Nested dropdown items */
nav ul li .dropdown-menu li {
    margin-right: 0;
}
nav ul li .dropdown-menu li a {
    padding: 10px 15px;
    color: #333;
}

nav ul li .dropdown-menu li a:hover {
    background-color: #ddd;
}

/* Basic styling for the navigation menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    position: relative;
    z-index: 100;  /* Ensure the navigation menu has a higher z-index */
    justify-content: center;

}

nav ul li:hover > .dropdown-menu {
    display: block; /* Show when hovering */
}

/* Dropdown menu styling */
nav ul li .dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 101; /* Ensure the dropdown has a higher z-index than the slider */
}


/* Dropdown menu styling for nested (sub) dropdowns */
nav ul li .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
}


/* Navigation Styling */
nav {
    background: #222;
    padding: 10px 0;
    text-align: center;
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 100;  /* Ensure the navigation menu has a higher z-index */
}

nav ul li {
    position: relative;
    margin: 0 15px;
}
/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    background: #222;
    color: white;
    padding: 20px;
}


/* Slider Section */
#slider {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    z-index: 1; /* Set a low z-index value for the slider */
}

.slider-container {
    display: flex;
    transition: transform 1s ease-in-out;
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
    object-position: center center;  
}



.slide-text {
    color: white;
    text-align: center;
    z-index: 2;
 
  /*  background: rgba(0, 0, 0, 0.5); */
    border-radius: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
   /* transform: translateY(20px); */

    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(47, 52, 53, 0.6);
   
    padding: 10px;
  
} */

.fade {
    display: none;
}

/* Slider Section */


.slide {
    min-width: 100%;
    max-height: 500px;
    position: relative;
    display: none;
    text-align: center;
    position: relative;
flex: 0 0 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
/*opacity: 0;*/
transition: opacity 1s ease-in-out;

}

.slide-text p {
    font-size: 1.1em;
    line-height: 1.5em;
    max-width: 600px;
    margin: 0 auto;
}



.slide img {
    width: 100%;
    height: auto;
    
    border-radius: 10px;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from { opacity: .4 } 
    to { opacity: 1 }
}





/* Slider Text Hover Effect */
.slider-container:hover .slider-image {
    filter: brightness(1);
}

.slider-container:hover  {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In/Out Effect for Slides */
.fade {
    opacity: 1 !important;
}

.fade:nth-child(1) {
    animation: fadeIn 4s infinite;
}

.fade:nth-child(2) {
    animation: fadeIn 4s infinite 1s;
}

.fade:nth-child(3) {
    animation: fadeIn 4s infinite 2s;
}




/* Keyframes for Fade-In and Slide Transition */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.slide-text h2 {
  
    font-weight: bold;
     
        font-size: 2.5em;
        font-family: 'Arial', sans-serif;
        margin-bottom: 10px;

}
/*
.slide-text p {
    font-size: 2rem;
}
    */
/* slider section ends  */

/* President Section */
/*#president-section {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background: #fff;

}
*/ /* President Section */
 .president-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    
}

.president-image img {
   
    width: 300px;
    height: auto;
    border-radius: 5%;
    margin-right: 20px;

}
.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.read-more-btn:hover {
    background-color: #004494;
}


.president-text {
    max-width: 600px;
    text-align: center;
    font-size: 1.5rem;
    justify-content: center;
}
.president-text h2 {
    color: #0056b3;
    font-size: 3rem;
}
.president-text p {
    justify-content: center;
    font-size: 1.5rem;
}
/*
.president-text {
    padding-left: 40px;
    font-size: 1.5rem;
    
    border: 5px solid rgb(173, 135, 135);
}
.president-text h2 {
    padding-left: 40px;
    font-size: 3rem;
    
}
*/
.btn {
    display: inline-block;
    padding: 10px;
    background: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

*/
/* Additional Section Styling */
section {
    margin: 50px 0;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
}






/* 

*/
/* 



/* Info Cards Section */
#info-cards {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
}

.info-card {
    background-color: #ff5733; /* Default color, can be changed */
    color: white;
    
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.info-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.info-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 1.3rem;
}

/*
.info-card:hover {
    transform: scale(1.05);
}


.event-date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff5733;
    margin-top: 5px;
}
*/

/*


    #info-cards {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        padding: 20px;
        background-color: #f5f5f5;
    }

    .info-container {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-card {
        width: 200px;
        padding: 20px;
        text-align: center;
        color: white;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .info-card img {
        width: 50px;
        margin-bottom: 10px;
    }
*/
    #events {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        background-color: #fff;
        #events {
            max-width: 1200px;
            margin: 40px auto;
            padding: 20px;
            text-align: center;
        }
    }

    .events-container {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
   
    
    #events h2 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 20px;
    }
    



    .event-card img {
        width: 100%;
        border-radius: 10px;
      
        height: 400px;
       object-fit: cover;
    }

#event-section {
    padding: 50px 0;
    text-align: center;
    background: #f9f9f9;
}

.event-container {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     gap: 20px;
   
}

.event-card {
    display: block;
    width: 400px;
   text-decoration: none; 
   background: #fff; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
  /*  display: flex; */
    flex-direction: column;
    color: inherit;
    text-align: center;
    display: flex;
    flex-direction: column;
   
}


.event-card:hover {
    transform: scale(1.05);
}

.event-info h3 {
    font-size: 1.2rem;
    color: #333;
   margin: 10px 15px;
}


.event-info p {
    font-size: 1rem;
    color: #555;
    margin: 5px 15px;
}

.event-info {
    padding: 5px;
    text-align: center;
}
.event-card strong {
    color: #000;
}
.event-date {
    font-size: 0.9rem;
    color: #ff5733;
    font-weight: bold;
}
#events {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

#events h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}
.event-info .event-date,
.event-info .event-location {
    font-size: 1.1rem;
    font-weight: bold;
    color: #444;
}

/*
.event-info {
    padding: 15px;
}

    /* Event Details Page */
#event-detail {
    padding: 50px 0;
    text-align: center;
    background-color: #fff;
}

.event-detail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #f9f9f9;
}

.event-detail-container img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.event-text {
    text-align: left;
    padding: 20px;
}
.event-section h1 {
    text-align: center;
    font-size: 12rem;
  
}

.event-text p {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e64a19;
}
/* Event Details Page */
#event-detail {
    padding: 50px 0;
    text-align: center;
    background-color: #fff;
}

.event-detail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #f9f9f9;
}

.event-detail-container img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.event-text {
    text-align: left;
    padding: 20px;
}

.event-text p {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e64a19;
}
/* Responsive Design */
@media (max-width: 768px) {
    .event-container {
        flex-direction: column;
        align-items: center;
    }

    .event-card {
        width: 90%;
    }
    .slide-text h2 {
            font-size: 1.2em;
    }
    .slide-text p {
        font-size: 1em;
}
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-container {
        flex-direction: column;
        align-items: center;
    }

    .event-card {
        width: 90%;
    }
}


/* Grid Section */
#grid-section {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

#grid-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.grid-card {
    background: #ffffff;
    border-radius: 10px;
    width: 380px;
    padding: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.grid-card:hover {
    transform: translateY(-5px);
}

.grid-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.grid-info h3 {
    font-size: 1.4rem;
    margin: 10px 0;
    color: #222;
}

.grid-info p {
    font-size: 1rem;
    color: #555;
}


/* Center the Event Detail Section */
#event-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #f9f9f9;
    padding: 40px 20px;
}

/* Event Detail Card */
.event-detail-container {
    background: #ffffff;
    max-width: 800px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Event Image */
.event-detail-container img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Event Text */
.event-text {
    margin-top: 20px;
}

.event-text p {
    font-size: 1.1rem;
    color: #444;
    margin: 10px 0;
}

/* Back Button */
.btns {
  
/*
    background: #202021;
    color: #202021; 
    */

  
    color: #222;
    font-size: 1rem;
    
   
}

.btn:hover {
    background: #222;
}
/* Quick Links Heading */
.footer-section h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #f39c12;  /* Bright color for heading */
    text-transform: uppercase;  /* Make heading more prominent */
    letter-spacing: 1px;
}

/* Styling for Quick Links List */
.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Styling for the Links */
.footer-section ul li a {
    color: #ecf0f1;  /* Light text color */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;  /* Smooth transition for hover effects */
}

.footer-section ul li a:hover {
    color: #f39c12;  /* Bright color on hover */
    transform: translateX(5px);  /* Slight movement on hover */
}

/* Tooltip for "About Us" description */
.footer-section .tooltip {
    display: inline-block;
    font-size: 0.9em;
    color: #95a5a6;
    margin-left: 10px;
    font-style: italic;
}

/* Add some padding and spacing between sections in the footer */
.footer-section + .footer-section {
    margin-top: 30px;
}
/* Footer Section */
.footer-section {
  
    padding: 20px;
    background-color: #202021;  /* Dark background for the footer */
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}






/* Responsive Design */
@media (max-width: 1024px) {
    .top-header, .main-header {
        flex-direction: column;
        text-align: center;
    }
    /* Tooltip for "About Us" description */
.footer-section .tooltip {
    display: inline-block;
    font-size: 0.4em;
    color: #95a5a6;
    margin-left: 5px;
    font-style: italic;
}
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
  
        padding: 10px;
        background-color: #202021;  /* Dark background for the footer */
        border-radius: 10px;
        margin-bottom: 10px;
        text-align: left;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    .footer-section h3 {
        font-size: 0.8em;
        margin-bottom: 5px;
       
    }
}

@media (max-width: 768px) {
    .logo-name img {
        height: 20px;
    }
    .logo-name span {
        font-size: 0.9rem;
    }
    .president-container {
        flex-direction: column;
        text-align: center;
    }
    .president-image img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .top-header {
        padding: 5px;
    }
    .main-header {
        padding: 5px;
    }
    .info-container {
        flex-direction: column;
        align-items: center;
    }
    .info-card {
        width: 45%;
    }
    .event-card img {
        width: 50%;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
    }
    .social-media {
        flex-wrap: wrap;
    }
    .footer-center, .footer-section {
        width: 100%;
        text-align: center;
    }
    .social-icon img {
        width: 35px;
    }
}

@media (max-width: 480px) {
    .footer-section, .footer-center, .social-media {
        text-align: center;
    }
    .social-icon img {
        width: 30px;
    }
    .btns {
        padding: 8px 12px;
    }
}
/* Media Query for tablets and smaller desktops */
@media screen and (max-width: 1024px) {
    .info-card, .event-card {
        width: 45%;
    }
}

/* Media Query for mobile screens */
@media screen and (max-width: 768px) {
    .slider-container {
        width: 95%;
    }
    
    .info-container {
        flex-direction: column;
        align-items: center;
    }
    
    .info-card {
        width: 80%;
    }
    
    .event-card {
        width: 90%;
    }
}
