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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #f39c12;
    color: #fff;
}
.welcome-section {
    text-align: center;
    margin: 20px 0;
    font-size: 2rem;
    color: #003366; /* You can adjust this color to match your theme */
}

/* Hero Section Styles */
#hero {
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 136px 20px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-image: url(KCGC/action\ aid.jpg);
}

#hero p {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section Styles */
section#about {
    background-color: #ffffff;
    padding: 0px -6px;;
    text-align: center;
}

section#about h2 {
    color: #2980b9;
    margin-bottom: 20px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    text-align: justify;
}

/* Events Section Styles */
section#actions {
    padding: 50px 20px;
    text-align: center;
    background-color: #f0f4f8;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.action-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.action-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.action-item h3 {
    margin-top: 10px;
    font-size: 1.2em;
    color: #2c3e50;
}

.action-item:hover {
    transform: scale(1.05);
}
/* Contact Section Styles */
section#contact {
    background-color: #2c3e50;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

section#contact form {
    max-width: 600px;
    margin: 0 auto;
}

section#contact form label {
    display: block;
    margin-bottom: 10px;
    color: white;
}

section#contact form input,
section#contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

section#contact form button {
    background-color: #f39c12;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

section#contact form button:hover {
    background-color: #e67e22;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

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

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #f39c12;
}

/* Gallery Section */
#gallery {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9; /* Light background for contrast */
}

.gallery-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between items */
}

.gallery-item {
    background-color: #fff; /* White background for each item */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensures the corners are rounded properly */
    transition: transform 0.3s; /* Smooth hover effect */
}

.gallery-item:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.gallery-item img {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
}

.gallery-item h3 {
    margin: 10px 0;
    font-size: 1.2em; /* Increase font size for headings */
    color: #333; /* Dark text color */
}
/* Unique Styles */
.section-heading {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .media {
        flex-direction: column;
    }

    .media img,
    .media video {
        max-width: 100%;
        height: auto;
    }
}
/* Action Aid Page Styles */
#action-aid {
    padding: 50px 20px;
    background-color: #f0f4f8;
    color: #333;
    text-align: center;
}

#action-aid .action-header {
    margin-bottom: 30px;
}

#action-aid h1 {
    font-size: 2.5em;
    color: #2980b9;
    margin-bottom: 20px;
}

#action-aid img {
    width: 40%;
    max-width: 800px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#action-aid .action-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    text-align: justify;
    line-height: 1.6;
}

#action-aid .action-gallery {
    margin-top: 50px;
}

#action-aid .action-gallery h2 {
    color: #2980b9;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #f39c12;
    color: #fff;
}

/* Koffet Romdhan Page Styles */
#koffet-romdhan {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

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

.koffet-header h1 {
    font-size: 2.5em;
    color: #2980b9;
    margin-bottom: 20px;
}

.koffet-header img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.koffet-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    text-align: justify;
    line-height: 1.8;
}

.koffet-gallery {
    margin-top: 40px;
}

.koffet-gallery h2 {
    font-size: 2em;
    color: #2980b9;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Footer styles */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

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

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #f39c12;
}
.event-highlights {
    padding: 20px;
    background-color: #e9f4ff;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.event-highlights h2 {
    text-align: center;
    color: #002f6c;
    margin-bottom: 20px;
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.highlight-item {
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
}

.highlight-item img {
    width: 100%;
    height: auto;
}

.highlight-item p {
    padding: 10px;
    font-size: 14px;
    color: #333;
}
/* Action Details Section */
.action-details {
    padding: 20px;
    background-color: #f4f9ff;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.action-details h1 {
    text-align: center;
    color: #002f6c;
    margin-bottom: 20px;
}

.action-details img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.action-details p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Event Highlights Section */
.event-highlights {
    padding: 20px;
    background-color: #e9f4ff;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.event-highlights h2 {
    text-align: center;
    color: #002f6c;
    margin-bottom: 20px;
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.highlight-item {
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
}

.highlight-item img {
    width: 100%;
    height: auto;
}

.highlight-item p {
    padding: 10px;
    font-size: 14px;
    color: #333;
}
/* Action Details Section */
.action-details {
    padding: 20px;
    background-color: #f4f9ff;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.action-details h1 {
    text-align: center;
    color: #002f6c;
    margin-bottom: 20px;
}

.action-details img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.action-details p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Event Highlights Section */
.event-highlights {
    padding: 20px;
    background-color: #e9f4ff;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.event-highlights h2 {
    text-align: center;
    color: #002f6c;
    margin-bottom: 20px;
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.highlight-item {
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
}

.highlight-item img {
    width: 100%;
    height: auto;
}

.highlight-item p {
    padding: 10px;
    font-size: 14px;
    color: #333;
}
/* Masonry Grid Layout */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.action-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .action-info {
    opacity: 1;
}

.action-info h3 {
    margin: 0;
    font-size: 1.2rem;
}
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* Light background for contrast */
}

h2 {
    text-align: center;
    margin: 37px 0;
    color: #0056b3; /* Club theme color */
}

/* Header Styles */
header {
    background-color: #0056b3; /* Club theme color */
    padding: 20px;
    color: white;
    text-align: center;
}

.logo img {
    max-width: 150px; /* Logo size */
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Gallery Styles */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
    gap: 10px; /* Space between images */
    padding: 20px;
}

.video-gallery img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Rounded corners for images */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Footer Styles */
footer {
    background-color: #0056b3; /* Club theme color */
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.video-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Aligns items with space in between */
    gap: 10px; /* Adds space between the videos */
    padding: 20px; /* Adds padding around the gallery */
}

video {
    width: 100%; /* Makes videos responsive */
    max-width: 320px; /* Sets maximum width for videos */
    border: 2px solid #007bff; /* Adds border around videos */
    border-radius: 5px; /* Rounds the corners of the video */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds shadow to videos */
}
/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  header {
    animation: fadeIn 1.5s ease-in;
  }
  button:hover {
    transform: scale(1.1);
    background-color: #3399ff;
    color: #fff;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  /* Slide-up animation */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .section {
    animation: slideUp 1s ease-out;
  }
  footer {
    opacity: 0;
    animation: fadeIn 1.5s ease 0.5s forwards;
  }
  /* Basic styles for the gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .gallery img {
    width: calc(33% - 10px); /* 3 images per row */
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
  }
  
  /* Lightbox styles */
  .lightbox {
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.8);
    justify-content: center; 
    align-items: center;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
  }

  
  .cta-button {
    animation: pulse 3s infinite;
  }
  .parallax {
    background-image: url('your-image-url.jpg');
    height: 500px; 
    background-attachment: fixed; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
  }
  /* Common styles for all pages */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

/* Styles specific to index.html */
.index-body {
    background: none; /* No background for index.html */
}

/* Styles specific to contact.html */
.contact-body {
    background: linear-gradient(135deg, rgba(114, 206, 237, 0.8), rgba(64, 165, 228, 0.8)); /* Light blue gradient */
    animation: backgroundShift 10s infinite alternate; /* Keep the animation */
}
/* Link styles */
a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

/* Button styles */
button {
    padding: 10px 20px;
    border: none;
    background-color: #0066cc;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005bb5;
}
.icon {
    transition: transform 0.3s ease;
}
.icon:hover {
    transform: scale(1.1);
}
.large-text {
    font-size: 1.5em; /* Adjust size as needed */
    font-weight: bold; /* Optional: makes the text bold */
}
.member-photo {
    max-width: 150px; /* Increase the size of member photos */
}
/* Keep executive member photos larger */
.member-photo {
    max-width: 150px; /* Increase size for more prominence */
    height: auto; /* Maintain aspect ratio */
}

/* Style for executive member titles in blue */
.executive-member h3 {
    color: #0077cc; /* Blue to fit the theme */
    font-weight: bold; /* Bold the title */
    
}
/* Center executive board introductory paragraph */
#executive-board p.large-text {
    text-align: center; /* Center text horizontally */
    color: #1a81e9; /* Blue color to match the theme */
    font-weight: bold; /* Optional: to emphasize the text */
}
/* Enlarge effect on hover */
.executive-board-photo:hover {
    transform: scale(1.2); /* Enlarge by 20% */
    transition: transform 0.3s ease; /* Smooth transition */
    cursor: pointer;
}
/* Default style */
.executive-board-photo {
    transition: transform 0.3s ease;
}

/* Enlarged state */
.executive-board-photo.enlarged {
    transform: scale(1.5); /* Increase size by 50% */
    cursor: pointer;
}
.member-photo {
    max-width: 160px !important;
}
/* Add styles for the Bureau Elargi section */
#bureau-elargi {
    margin: 40px;
    text-align: left;
}
.bureau-photo {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}
.executive-member {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.president-photo {
    height: 205px; /* Set the height as needed */
    width: auto; /* Keep the aspect ratio */
}
.executive-member .member-photo {
    max-width: 120px;
    margin-right: 20px;
    
}
.large-text {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #0044cc; /* Adjust color to match theme */
}
.member-photo {
    border: 3px solid #007BFF; /* Existing blue border */
    border-radius: 10px;
    padding: 5px;
    box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
}
/* Styles for screens 600px wide or less (small devices) */
@media (max-width: 600px) {
    .executive-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member-photo {
        max-width: 80%; /* Adjust size to fit smaller screens */
    }
}
.about-text {
    font-size: 1.4em; /* Adjust size as needed */
    line-height: 1.8; /* Optional: improve readability */
}

.footer .social-icon {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.2s;
}

.footer .social-icon:hover {
    transform: scale(1.2);
}
.header {
    display: flex;
    align-items: center; /* Aligns the logo and text vertically */
}

.logo {
    margin-right: 10px; /* Space between the logo and the text */
}

.club-name {
    font-size: 24px; /* Adjust the font size as needed */
    font-weight: bold; /* Make the text bold */
}
.logo {
    width: 40px; /* Adjust the width as needed */
    height: auto; /* Keeps the aspect ratio */
}
* {
    box-sizing: border-box;
  }
  
  body {
    background-color: #ffffff;
    font-family: Helvetica, sans-serif;
  }
  
  .timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(180deg, #007bff, #00c6ff);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 6px;
}

.container {
    padding: 20px;
    position: relative;
    width: 50%;
}

.left {
    left: 0;
    transform: translateX(-10%);
}

.right {
    left: 50%;
    transform: translateX(10%);
}

.left::before, .right::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #00c6ff, #007bff);
    box-shadow: 0 0 15px #007bff;
    border-radius: 50%;
    z-index: 1;
}

.left::before {
    right: -30px;
}

.right::before {
    left: -30px;
}

.content {
    padding: 25px;
    background: #e9f7fe;
    color: #004085;
    border-radius: 10px;
    position: relative;
    border-left: 5px solid #007bff;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.5);
}

.content h2 {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 10px;
}

.content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #004085;
}

.content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    border: 3px solid #00c6ff;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
}
  
  img {
    width: 100%; /* Adjust this for responsive images */
    height: auto; /* Maintains aspect ratio */
    border-radius: 4px; /* Optional: adds rounded corners */
  }
  nav ul li a {
    display: flex;
    align-items: center;
  }
  
  nav ul li a i {
    margin-right: 5px;
    font-size: 1.2em; /* Adjust size as needed */

}
img.full-width {
    width: 100%;
    height: 430px; /* Adjust this value as desired */
    object-fit: cover;
}
img {
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    image-rendering: auto; /* Adjusts image scaling to preserve quality */
}
.welcome-section {
  
        text-align: center;
        margin: 37px 0;
        color: #0056b3;
    }

.welcome-section h1 {
    font-size: 1em; /* Adjust the font size as needed */
}

.welcome-section p {
    font-size: 1em; /* Adjust the font size for the paragraph */
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Dropdown container styling */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button styling */
.dropbtn {
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
/* Default for larger screens */
body {
    font-size: 16px;
}

/* Smaller screens (like phones) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    /* Example: Stacking the nav menu */
    nav ul {
        display: flex;
        flex-direction: column;
    }

    /* Adjust the header */
    .header {
        flex-direction: column;
        align-items: center;
    }

    /* Make images responsive */
    img {
        width: 100%;
        height: auto;
    }
}
.container {
    display: flex;
    flex-wrap: wrap;
}

.content {
    flex: 1 1 100%; /* Takes full width on smaller screens */
}

@media (max-width: 768px) {
    img {
        width: 100%;
        height: auto;
    }
}
img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .section {
        padding: 10px;
    }

    .content {
        margin: 0;
    }
}
/* First part: Flex layout for large screens */
nav ul {
    display: flex;
    justify-content: space-between; /* Ensures items are spaced out */
    align-items: center; /* Vertically centers the items */
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li a {
    display: flex;
    align-items: center; /* Ensures text and icon align */
    text-decoration: none;
    color: #000; /* Adjust based on your color scheme */
}

nav ul li i {
    margin-right: 8px; /* Adds space between icon and text */
}

/* Second part: Media query for mobile devices */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: flex-start; /* Align items to the left */
    }

    nav ul li {
        margin-bottom: 10px; /* Adds space between the navigation items */
    }

    nav ul li a {
        font-size: 16px; /* Adjust text size for mobile */
    }
}
/* Set text color for navigation links to white */
nav ul li a {
    color: white; /* This will make the text white */
    text-decoration: none; /* Removes underline */
}

/* Optional: Add hover effect to make text change color when hovered */
nav ul li a:hover {
    color: #f0f0f0; /* Light grey for hover effect, you can adjust it */
}
html {
    scroll-behavior: smooth;
  }
  /* Products Section */
.products-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.products-section h1 {
    font-size: 3em;  /* Increased size */
    color: #2c3e50;
    margin-bottom: 30px;  /* Increased margin for better spacing */
    text-transform: uppercase;
}

.product-item {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;  /* Slightly rounded edges */
    margin: 30px auto;
    padding: 30px;  /* Increased padding */
    max-width: 500px;  /* Increased max-width for bigger cards */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.product-item:hover {
    transform: translateY(-12px);  /* Slightly stronger hover effect */
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);  /* Stronger shadow */
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-item h2 {
    font-size: 2.2em;  /* Bigger font size */
    color: #34495e;
    margin: 15px 0;  /* Increased margin */
}

.product-item p {
    color: #000000;
    font-size: 1.2em;  /* Larger text */
    margin-top: 15px;  /* Increased spacing */
}

/* Responsive Design for Products */
@media (max-width: 768px) {
    .product-item {
        max-width: 90%;  /* Maintain large size on mobile but with less width */
    }

    .products-section h1 {
        font-size: 2.5em;  /* Adjusted title font size for mobile */
    }

    .product-item h2 {
        font-size: 2em;  /* Adjusted product title font size for mobile */
    }

    .product-item p {
        font-size: 1.1em;  /* Slightly smaller text on mobile */
    }
}
/* Centering the entire content */
.product-item {
    display: flex;
    justify-content: center;    /* Horizontally center */
    align-items: center;        /* Vertically center */
    flex-direction: column;     /* Stack description and shirt vertically */
    text-align: center;         /* Ensure text is centered */
    min-height: 100vh;          /* Take up full height of the viewport */
    padding: 110px;
}

/* Additional styling for description and shirt container */
.product-description {
    color: #000000;
    font-size: 1.2em;
    margin-bottom: 20px;  /* Space between description and shirt */
}
/* Center the product item container */
.product-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
}

/* Default styling for larger screens */
.product-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
}

/* 3D shirt container */
.shirt-container {
    width: 700px;  /* Box width */
    height: 400px;
    margin: 0 auto;  /* Center the container */
    perspective: 1000px;
    display: flex;  /* Apply flex to center its content */
    justify-content: center;  /* Center the 3D shirt horizontally */
    align-items: center;  /* Center the 3D shirt vertically */
    overflow: hidden;
}

.shirt {
    width: 300px;  /* Shirt width */
    height: 400px;
    transform-style: preserve-3d;
    animation: rotateShirt 5s infinite linear;
    position: relative;
}

.shirt img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.shirt .back {
    transform: rotateY(180deg); /* Back image rotates */
}

/* Keyframe animation for rotating the t-shirt */
@keyframes rotateShirt {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}
/* Base styling for products section */
.products-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.products-section h1 {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.product-item {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin: 30px auto;
    padding: 30px;
    max-width: 700px; /* Larger width for desktop */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    text-align: center; /* Ensure all content inside stays centered */
}

.product-item img {
    width: 100%; /* Full width, responsive image */
    height: auto;
    border-radius: 10px;
}

.product-item h2 {
    font-size: 2em;
    color: #34495e;
    margin: 15px 0;
}

.product-item p {
    color: #7f8c8d;
    font-size: 1.2em;
    margin-top: 15px;
}

/* Shirt container for 3D view */
.shirt-container {
    perspective: 1000px;
    width: 100%; /* Ensure it takes full width on smaller screens */
    max-width: 700px; /* For larger screens */
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent content overflow */
}

.shirt {
    width: 300px; /* Fix width for shirt */
    height: 400px;
    transform-style: preserve-3d;
    animation: rotateShirt 5s infinite linear;
    position: relative;
}

.shirt img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.shirt .back {
    transform: rotateY(180deg);
}

@keyframes rotateShirt {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Responsive Design for Phones */
@media (max-width: 768px) {
    .product-item {
        max-width: 90%; /* Ensure it fits well on mobile */
        padding: 20px; /* Smaller padding for smaller screens */
    }

    .shirt-container {
        width: 100%; /* Full width on smaller screens */
    }

    .shirt {
        width: 250px; /* Smaller shirt size for phones */
        height: 350px;
    }

    .products-section h1 {
        font-size: 2.5em;
    }

    .product-item h2 {
        font-size: 1.8em;
    }

    .product-item p {
        font-size: 1.1em;
        margin-top: 10px;
    }
}
.products-section {
    background: linear-gradient(135deg, #74ebd5, #acb6e5);
    padding: 50px 20px;
    text-align: center;
}

.product-item {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
}
/* Gradient Background and Shadow Effect ONLY for Products Page */
.products-page {
    background: linear-gradient(135deg, #74ebd5, #acb6e5); /* Gradient background for products page */
    padding: -1 20px;
}

/* Apply shadow and background for product sections and items only on Products Page */
.products-page .products-section, 
.products-page .product-item {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

/* Responsive Design for Products Page */
@media (max-width: 768px) {
    .products-page .products-section, 
    .products-page .product-item {
        max-width: 95%;
    }
}

/* Home and About Us Pages (no gradient or shadow styles) */
body:not(.products-page) {
    background: none; /* No gradient for other pages */
}

body:not(.products-page) .products-section,
body:not(.products-page) .product-item {
    box-shadow: none; /* No shadow for other pages */
}
/* Styles specific to How to Join page */
body.how-to-join-page {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

body.how-to-join-page h1, 
body.how-to-join-page h2 {
    text-align: center;
    color: #0056b3;
}

body.how-to-join-page h1 {
    margin-top: 20px;
    font-size: 36px;
}

body.how-to-join-page .join-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #0056b3;
    margin: 20px 0;
}

/* Background styling for How to Join page */
body.how-to-join-page {
    background-color: #ffffff; /* Light background similar to products */
    background-image: url('path/to/your/background-image.jpg'); /* Use same image from products */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the background fixed while scrolling */
}

/* Section styling for How to Join */
body.how-to-join-page section {
    margin: 20px auto;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency to blend with the background */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

/* Increase font size for paragraphs */
body.how-to-join-page section p {
    font-size: 18px;
    line-height: 1.8;
}

body.how-to-join-page .steps-to-join ol {
    padding-left: 20px;
}

body.how-to-join-page .steps-to-join li {
    margin: 10px 0;
    font-size: 16px;
}

body.how-to-join-page .join-now {
    text-align: center;
    margin-top: 20px;
}
/* General Page Styling for Benefits */
body.benefits-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* The same header and footer styles from your global styles */

/* Benefits Section */
.benefits-intro {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.benefits-intro h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.benefits-intro p {
    font-size: 18px;
    color: #555;
}

/* Benefits List Section */
.benefits-list {
    padding: 30px;
    background-color: #ffffff;
    margin: 20px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.benefits-list h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.benefits-list ul {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    font-size: 18px;
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 22px;
    color: #0066cc;
}

/* Join Now Section */
.join-now {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.join-now a {
    font-size: 20px;
    color: #0066cc;
    text-decoration: none;
}

.join-now a:hover {
    text-decoration: underline;
}
/* Mobile view (max-width 768px) */
@media (max-width: 768px) {
    /* Target the Home button specifically */
    nav ul li:first-child {
        margin-left: 14px; /* Add space to the left of the Home button */
    }
    
    /* Optional: Adjust font size for mobile */
    nav ul li a {
        font-size: 14px;
    }
}
/* Increase the font size of the paragraph within the benefits list */
.benefits-list p {
    font-size: 18px; /* Adjust this value as needed for larger text */
    line-height: 1.8; /* Improves readability */
    margin-bottom: 20px; /* Adds space between the paragraph and the bullet points */
}

/* Ensure bullet points have enough spacing */
.benefits-list ul {
    padding-left: 20px; /* Increase spacing between bullet points and content */
}

.benefits-list li {
    margin-bottom: 10px; /* Space between bullet points */
}

/* Adjust the heading within the benefits section for consistency */
.benefits-list h2 {
    margin-bottom: 10px; /* Space below the heading */
}
.blue-text {
    color: #0056b3; /* Makes the text blue */
}
.timeline {
    position: relative;
    margin: 50px 0;
    padding: 0 20px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.container.left {
    flex-direction: row-reverse;
}

.container.right {
    flex-direction: row;
}

.content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    margin: 0 20px;
    text-align: left;
}

.content h2 {
    margin-top: 0;
    color: #0056b3;
    font-size: 1.5em;
}

.content p {
    font-size: 1em;
    line-height: 1.6;
    margin: 10px 0 0;
}

.content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .container.left,
    .container.right {
        justify-content: center;
    }

    .content {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 1.2em;
    }

    .content p {
        font-size: 0.9em;
        line-height: 1.4;
    }
}
/* Add styles for the history slider */
.history-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.history-slide {
    min-width: 300px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.history-slide img {
    width: 100%;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}

.history-slide h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.read-more {
    display: inline-block;
    margin: 10px;
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

/* Modal overlay styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
}

.close {
    cursor: pointer;
    float: right;
    font-size: 1.5em;
}
/* Add styles for the hidden description */
.full-description {
    margin-top: 10px;
    font-size: 1em;
    color: #333;
}

.read-more {
    display: inline-block;
    margin: 10px;
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
}

.read-more:hover {
    background-color: #0056b3;
}
/* Styling for the title */
.history-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.history-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #4CAF50;
    margin: 10px auto;
    border-radius: 2px;
}

/* Styling the slides */
.history-slide {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
}

.history-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.history-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Year (h3) styling */
.history-slide h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Short description */
.history-slide p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Read More button */
.read-more {
    display: inline-block;
    background-color: #302de6;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1rem;
    font-weight: bold;
}

.read-more:hover {
    background-color: #302de6;
    transform: translateY(-3px);
}

/* Full description styling */
.full-description {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: left;
    color: #444;
    display: none; /* Hidden by default */
}
#executive-board-photo {
    margin-bottom: 30px; /* Adds space below the image */
}

.executive-member {
    margin-top: 20px; /* Adds consistent space between members */
}
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px; /* Adjust for spacing from bottom */
    right: 20px; /* Adjust for spacing from right */
    display: none; /* Hidden by default */
    background-color: #007BFF; /* Blue button */
    color: white;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top:hover {
    background-color: #0056b3; /* Darker blue on hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}    
.instagram-link {
    display: inline-block;
    background-color: #e9f4ff; /* Blue background */
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.instagram-link:hover {
    background-color: #e9f4ff; /* Darker blue on hover */
}

.instagram-link:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Focus effect */
}  
.insta-link {
    text-align: center;
    margin-top: 20px;
}

.insta-box {
    display: inline-block;
    background-color: #ffffff;
    color: #0077b5;  /* Instagram blue color */
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid #0077b5;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.insta-box:hover {
    background-color: #0077b5;
    color: white;
}
.insta-box-link {
    display: inline-block;
    background-color: #ffffff;
    color: #0077b5;  /* Instagram blue color */
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid #0077b5;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 10px;
    text-align: center;
}

.insta-box-link:hover {
    background-color: #0077b5;
    color: white;
}
.insta-box-link {
    display: inline-block;
    margin-top: 10px;
    background-color: #ffffff;
    color: #020202; /* Instagram pink */
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #1b6bda;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.insta-box-link:hover {
    background-color: #1b6bda;
    color: #ffffff;
}
/* Style for post names (e.g., C.C Communication) */
.bureau-member h3 {
    color: #0077cc; /* Blue color */
    font-size: 20px; /* Adjust font size */
    font-weight: bold; /* Make it bold */
    margin: 10px 0; /* Add some spacing */
    text-transform: uppercase; /* Optional: make it all caps */
    letter-spacing: 1px; /* Add spacing between letters */
}
/* General Reset */
body, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between logo and hamburger */
    padding: 10px 20px;
    background-color: #0056b3;
    position: relative; /* To allow precise positioning of hamburger */
    z-index: 10;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.club-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Regular Menu */
nav ul {
    display: flex;
    align-items: center;
    margin-left: auto; /* Ensure the nav menu stays to the right of the logo */
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    font-size: 18px;
    color: white; /* White for desktop */
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    color: #007BFF;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 40px;
    color: white;
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    right: -181px;
    top: 55%;
    transform: translateY(-50%);
}

/* Dropdown Menu */
nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f8f8f8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-radius: 5px;
    z-index: 100;
}

nav .dropdown:hover .dropdown-content {
    display: block;
}

nav .dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #333;
}

nav .dropdown-content a:hover {
    background-color: #007BFF;
    color: white;
}

/* Responsive Styling for Mobile */
@media screen and (max-width: 768px) {
    /* Hide regular menu */
    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    /* Show the hamburger on mobile */
    .hamburger {
        display: block;
    }

    /* Show the menu when the 'active' class is added */
    nav ul.active {
        display: flex;
    }

    /* Mobile Menu Links */
    nav ul li a {
        padding: 10px 20px;
        width: 100%;
        text-align: left;
        color: #333;
    }

    /* Add space between links */
    nav ul li {
        margin-bottom: 10px;
    }

    /* Adjust the logo and KEY CLUB name for mobile view */
    .header .logo, .header .club-name {
        margin-left: 10px; /* Move logo and club name a little to the left */
    }
}

/* Ensure icons and their names in the Contact menu are always black */
body.contact-page nav ul li a {
    color: #000000 !important; /* Force text color to black */
}

body.contact-page nav ul li a i {
    color: #000000 !important; /* Force icon color to black */
}

/* Icons and names in the header (PC only, forced white color) */
@media screen and (min-width: 769px) {
    body.contact-page nav ul li a {
        color: white !important; /* Force text color to white */
    }

    body.contact-page nav ul li a i {
        color: white !important; /* Force icon color to white */
    }
}

/* About Section Styles */
#about {
    text-align: center;
    padding: 50px 20px;
    background-color: #e0f7fa; /* Light blue section background */
}

#about h2 {
    font-size: 32px;
    color: #0056b3; /* Deep blue */
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

/* Message Bubble Style */
.message-bubble {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff; /* Bubble background */
    border: 2px solid #0056b3; /* Border matches theme */
    border-radius: 20px; /* Rounded edges */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark gray text */
    text-align: left;
}

/* Message Bubble Tail */
.message-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px; /* Adjust tail position */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: #ffffff transparent transparent transparent; /* Matches bubble background */
    transform: rotate(-45deg);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add depth to the tail */
}

/* Hover Effect */
.message-bubble:hover {
    background-color: #f0f8ff; /* Lighter blue hover effect */
    transform: translateY(-3px);
    transition: all 0.3s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .message-bubble {
        padding: 15px;
        font-size: 14px;
    }
}
/* Executive Member Container */
.executive-member {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Circular photos */
    object-fit: cover;
    border: 3px solid #0056b3; /* Border matches theme */
}

/* Message Bubble Style */
.message-bubble {
    position: relative;
    padding: 15px;
    background: #ffffff; /* Bubble background */
    border: 2px solid #0056b3; /* Bubble border */
    border-radius: 20px; /* Rounded edges */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    color: #333;
    text-align: left;
}

/* Bubble Tail */
.message-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px; /* Adjust tail position */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: #ffffff transparent transparent transparent; /* Matches bubble background */
    transform: rotate(-45deg);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add depth */
}

/* Hover Effect */
.message-bubble:hover {
    background-color: #f0f8ff; /* Lighter blue */
    transform: translateY(-3px);
    transition: all 0.3s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .executive-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .message-bubble {
        text-align: center;
    }
}
.member-photo {
    width: 120px !important; /* Slightly smaller size */
    height: 120px !important; /* Same as width for a perfect circle */
    border-radius: 50% !important; /* Makes the image circular */
    object-fit: cover !important; /* Ensures the image fits properly */
    border: 3px solid blue !important; /* Adds a blue frame around the photos */
    margin-bottom: 10px !important; /* Space below the image */
}
/* Popup container */
.popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    padding: 15px;
    background-color: #0056b3; /* Deep blue */
    color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Popup text */
.popup p {
    margin: 0;
    font-size: 16px;
    flex-grow: 1; /* Allow text to take up the remaining space */
}

/* Popup link */
#popup-link {
    color: #ffd700; /* Gold */
    text-decoration: underline;
    font-weight: bold;
}

/* Close button */
#close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
/* Popup hidden state (optional) */
.popup.hidden {
    display: none !important;
}
/* Animation for popup */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

