:root {
    --bg-color: #f9f9f9; /* Soft light gray background for a clean, neutral base */
    --second-bg-color: #333333; /* Dark gray for secondary sections, such as headers or footers */
    --text-color: #1a1a1a; /* Almost black text color for strong contrast and readability */
    --main-color: #0056b3; /* Darker blue for buttons, links, and other interactive elements */
    --highlight-color: #dcdcdc; /* Light gray for hover effects and borders */
    --nav-bg-color: #ffffff; /* White navigation bar for a crisp, minimal look */
    --nav-text-color: #333333; /* Dark gray text for navigation, ensuring clarity without being too harsh */
    --accent-color: #004085; /* Even darker blue for accents or key elements */
}




/* General Styles */
body {
    font-family: 'Lato', sans-serif;



    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--nav-text-color);
    cursor: pointer;
    margin-right: 1rem;
  }
  
  @media (max-width: 768px) {
    nav {
      flex-wrap: wrap;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
      width: 100%;
    }
  
    .nav-links.active {
      display: block;
    }
  
    nav ul {
      flex-direction: column;
      gap: 0;
    }
  
    nav ul li {
      width: 100%;
    }
  
    nav ul li .dropdown {
      position: static;
      display: none;
      box-shadow: none;
    }
  
    nav ul li.open .dropdown {
      display: block;
    }
  
    nav ul li a {
      width: 100%;
      display: block;
    }
  }
  

/* Navigation Bar (Header) */
nav {
    display: flex;
    align-items: center; /* Centers all items vertically */
    justify-content: space-between; /* Logo on the left, links on the right */
    position: sticky;
    top: 0;
    padding: 1rem, 2rem;
    z-index: 1000;
    background-color: var(--nav-bg-color);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideDown 1.5s ease-out;
}

/* Logo styles */
nav img {
    
    height: 50px; /* Fixed height for the logo */
    width: auto; /* Maintain aspect ratio */
    animation: fadeInDown 1s ease-in-out;
}

/* Navigation Menu */
nav ul {
 display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
    
}

/* Navigation Links */
nav a {
    font-size: 0.8rem; /* Font size for links */
    font-weight: bold;
    text-decoration: none;
    color: var(--nav-text-color);
    padding: 0.5rem 1rem; /* Spacing around links */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effects */
nav a:hover {
    color: var(--highlight-color);
    background-color: rgba(29, 46, 132, 0.1);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dropdown Menu Styles */
nav ul li {
    position: relative; /* Required for dropdown positioning */
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Position dropdown below parent link */
    left: 0;
    background-color: var(--nav-bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    z-index: 1000;
}

nav ul li .dropdown li {
    padding: 0;
}

nav ul li .dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--nav-text-color);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

nav ul li .dropdown li a:hover {
    background-color: rgba(29, 46, 132, 0.1);
    color: var(--highlight-color);
}

/* Show Dropdown on Hover */
nav ul li:hover .dropdown {
    display: block;
}










/* Hero Section */
.hero {
    text-align: center;
    margin-top: 3rem;
    animation: fadeIn 1.5s ease-in-out; /* Add fade-in for the whole .hero section */
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--main-color);
    animation: zoomIn 1.9s ease-in-out; /* Keep the zoom-in animation */
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    animation: fadeIn 1.9s ease-in-out 0.3s; /* Delay the fade-in slightly */
}

.hero img {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;
    animation: fadeIn 2s ease-in-out; /* Make image fade in more slowly */
}

/* Define the fade-in animation */

/* What is EmpowerSTEM Section Styles */
.what-is-empowerstem {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--main-color), var(--highlight-color));




color: black;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
animation: fadeIn 2s ease-in-out;
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-title {
font-size: 2.4rem;
font-weight: bold;
color: rgba(255, 255, 255, 0.95);
text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
margin-bottom: 2rem;
animation: popIn 1s ease-in-out;
}

.content-wrapper {
display: flex;
flex-wrap: wrap;
max-width: 1200px;
margin-top: 2rem;
gap: 2rem;
}

.content {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 2rem;
}

.text-content {
flex: 1 1 50%;
font-size: 0.96rem;
line-height: 1.8;
color:black;

animation: slideInLeft 1.5s ease-in-out;
text-align: left;
}

.text-content p {
margin-bottom: 1rem;
color: white;
}

.image-content {
flex: 1 1 40%;
animation: slideInRight 1.5s ease-in-out;
display: flex;
justify-content: center;
}

.image-content img {
max-width: 100%;
border-radius: 15px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.image-content img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

/* Button for Interactivity */
.learn-more-btn {
margin-top: 2rem;
padding: 0.8rem 2rem;
background: linear-gradient(90deg, rgba(255, 123, 0, 1), rgba(255, 80, 80, 1));
color: white;
font-size: 0.96;
font-weight: bold;
text-transform: uppercase;
border: none;
border-radius: 8px;
cursor: pointer;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
animation: slideUp 2s ease-in-out;
}

.learn-more-btn:hover {
transform: scale(1.1);
box-shadow: 0 6px 15px rgba(255, 80, 80, 0.6);
}

/* Animations */



/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--main-color), var(--highlight-color));
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    max-width: 1200px;
    color: white;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1.5s ease-in-out forwards;
}

.about-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1.5s ease-in-out;
}

.about-section p {
    color: white;
    font-size: 0/8rem;
    line-height: 1.8;
    animation: fadeInLeft 1.5s ease-in-out 0.3s;
}

/* About Section Image Styles */
.about-section img {
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: zoomIn 1.5s ease-in-out;
    transition: transform 0.8s ease, box-shadow 0.8s ease; /* Slows down the hover transition */
}

.about-section img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4)

}



footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.mission-section {
text-align: center; /* Center-align all text */
padding: 3rem 2rem; /* Similar padding as about-section */
background: linear-gradient(135deg, var(--main-color), var(--highlight-color)); /* Same background */
border-radius: 20px; /* Same border radius */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Same box shadow */
margin: 2rem auto; /* Same margin */
max-width: 1200px; /* Same max width */
color: white; /* Same text color */
transform: translateY(50px); /* Same initial transform */
opacity: 0; /* Hidden initially */
animation: slideUp 1.5s ease-in-out forwards; /* Same slide-up animation */
}

.mission-section h2 {
font-size: 3rem; /* Larger font size for the heading */
margin-bottom: 1rem; /* Add spacing below the heading */
color: var(--highlight-color); /* Same highlight color */
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Same text shadow */
animation: fadeInLeft 1.5s ease-in-out; /* Same fade-in animation */
}

.mission-section p {
font-size: 1rem; /* Slightly reduced font size */
line-height: 1.8; /* Maintain good readability */
animation: fadeInLeft 1.5s ease-in-out 0.3s; /* Same animation with a delay */
color: white;
max-width: 800px; /* Restrict width for better readability */
margin: 0 auto; /* Center-align the paragraph block */
}






.our-values {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--main-color), var(--highlight-color)); /* Matching background */
    border-radius: 20px; /* Rounded corners for consistency */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow like about-section */
    margin: 2rem auto; /* Centered with margin */
    max-width: 1200px; /* Same max-width for consistency */
    color: white; /* White text for contrast */
    transform: translateY(50px); /* Initial position off-screen */
    opacity: 0; /* Hidden initially */
    animation: slideUp 1.5s ease-in-out forwards; /* Same slide-up animation */
}

/* Our Values Heading */
.our-values h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--highlight-color); /* Highlight color for heading */
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Text shadow for depth */
    animation: fadeInLeft 1.5s ease-in-out; /* Fade-in with a left slide */
}

/* Grid layout for value cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px; /* Same max-width */
}

/* Individual value card */
.value-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for scaling */
}

/* Hover effect for value card */
.value-card:hover {
    transform: scale(1.05); /* Slightly enlarge the card */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}

/* Value card image */
.value-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content inside value card */
.value-card-content {
    padding: 20px;
    text-align: left;
}

/* Value card title */
.value-card-content h3 {
    font-size: 1.2rem;
    color: var(--main-color); /* Main color for consistency */
    margin-bottom: 15px;
}

/* Value card text */
.value-card-content p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #555; /* Slightly dark text for readability */
}

/* Meet the Team Button */
.meet-team-btn {
    padding: 1.1em 2em;
    background: var(--bg-color); /* Subtle background */
    border: 2px solid var(--text-color); /* Border using text color */
    font-size: 15px;
    color: var(--text-color); /* Readable text color */
    cursor: pointer;
    position: relative;
    overflow: hidden; /* Clipping effect bounds */
    transition: all 0.3s ease;
    border-radius: 12px;
    font-weight: bolder;
    box-shadow: 0 2px 0 2px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    margin-bottom: 2rem; /* Adding space below the button */
    display: inline-block; /* Ensures the button has a boundary */
}

.meet-team-btn:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 120%;
    background-color: var(--highlight-color); /* Highlight color */
    top: 50%;
    transform: skewX(30deg) translate(-150%, -50%);
    transition: all 0.5s ease;
    opacity: 0; /* Invisible initially */
    pointer-events: none; /* Ensures the effect doesn't trigger unless hovering over the button */
}

.meet-team-btn:hover {
    background-color: var(--highlight-color); /* Lighter hover background */
    color: var(--main-color); /* Contrast text color */
    box-shadow: 0 4px 0 2px rgba(0, 0, 0, 0.25); /* Enhanced shadow */
    transform: scale(1.05) translateY(-5px); /* Add scaling from the top */
}

.meet-team-btn:hover:before {
    transform: skewX(30deg) translate(200%, -50%);
    opacity: 1; /* Fully visible when crossing the button */
}

.meet-team-btn:active {
    transform: scale(0.95) translateY(2px); /* Scale down and add downward translation on click */
    box-shadow: 0 2px 0 2px rgba(0, 0, 0, 0.2); /* Softer shadow on click */
}




/* Contact Page Styles */
.contact-container {
    background-color: white; /* White background for the contact container */
    padding: 2rem; /* Spacing inside the container */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    max-width: 600px; /* Maximum width for the container */
    width: 90%; /* Full width up to max-width */
    margin: 3rem auto; /* Centered horizontally and with margin from top */
    animation: fadeIn 1.5s ease-in-out; /* Smooth fade-in animation */
}

.contact-container h1 {
    text-align: center; /* Center the heading */
    color: var(--main-color); /* Main color for the heading */
    font-size: 2rem; /* Heading font size */
    margin-bottom: 1.5rem; /* Space below the heading */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow on the text */
    animation: slideDown 1s ease-out; /* Slide down animation */
}

/* Form Layout */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Uniform gap between form elements */
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 1rem; /* Space between input elements in a row */
}

.row input,
.row textarea {
    flex: 1;
    padding: 0.8rem; /* Padding inside the input fields */
    border: 1px solid var(--main-color); /* Border color using the main color */
    border-radius: 8px; /* Rounded corners for input fields */
    font-size: 0.9rem; /* Font size for the text in inputs */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow around inputs */
    background-color: white;
    transition: all 0.3s ease-in-out; /* Smooth transition for interactions */
}

.row input:focus,
.row textarea:focus {
    outline: none; /* Remove default outline on focus */
    border-color: var(--highlight-color); /* Border turns to highlight color */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Glow effect on focus */
}

textarea {
    resize: none; /* Prevent resizing of the text area */
    flex: 1 0 100%; /* Allow textarea to span full width of its container */
    margin-top: 1rem; /* Margin to separate from the inputs above */
}

.submit-button {
    background-color: var(--main-color); /* Use the main color for button background */
    color: white; /* Button text color */
    border: none;
    padding: 1rem 2rem; /* Padding inside the button */
    border-radius: 8px; /* Rounded corners for the button */
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.submit-button:hover {
    background-color: var(--highlight-color); /* Hover effect with highlight color */
    transform: scale(1.05); /* Slight scale up on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Shadow effect on hover */
}

.executive-board {
    text-align: center;
    padding: 1.5rem 1rem; /* Slightly reduced padding */
    background: linear-gradient(135deg, var(--main-color), var(--highlight-color));
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Softer shadow */
    margin: 1.5rem auto; /* Reduced vertical margin */
    max-width: 900px; /* Wider container */
    color: white;
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.executive-board::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path_to_grand_pattern_or_texture.jpg'); /* Optional background texture */
    background-size: cover;
    opacity: 0.08; /* Slightly lighter texture */
    z-index: -1;
}

/* Section Title */
.section-title {
    font-size: 1.6rem; /* Smaller font size */
    font-weight: 600;
    color: var(--highlight-color);
    margin-bottom: 0.8rem; /* Reduced spacing */
    text-shadow: 1px 3px 6px rgba(0, 0, 0, 0.3); /* Softer shadow */
    letter-spacing: 0.6px; /* Reduced spacing */
    animation: popIn 1s ease-in-out;
    text-transform: uppercase;
}

/* Board Members Layout (Flexbox) */
.board-members {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 2rem; /* Spacing between cards */
    justify-content: center; /* Center align items horizontally */
    animation: fadeIn 1.5s ease-in-out;
}

/* Member Cards */
.member-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    flex: 1 1 calc(50% - 2rem); /* Each card takes up 50% of the width minus the gap */
    max-width: 400px; /* Restrict maximum width */
    min-width: 250px; /* Ensure cards don't get too small */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Hover Effect on Cards */
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Member Image Styling */
.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #f1f1f1;
    margin: 0 auto 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.member-image img:hover {
    transform: scale(1.1);
}

/* Member Info Styling */
.member-info h3 {
    font-size: 1.2rem;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}

.member-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}


.our-mission-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--main-color), var(--highlight-color));
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin: 3rem auto 2rem; /* Increased top margin for more space from button */
    max-width: 1200px;
    color: white;
    animation: slideUp 1.5s ease-in-out forwards;
}

.our-mission-section h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--highlight-color);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.mission-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideUp 1.5s ease-in-out forwards;
}

.mission-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideUp 1.5s ease-in-out forwards;
}

.mission-content {
    text-align: center; /* Center text within the mission content */
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    animation: fadeIn 2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center carousel and text horizontally */
}

.mission-content p {
    padding-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.startChapter-container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin: 3rem auto;
    animation: fadeIn 1.5s ease-in-out;
}

/* Heading for the section */
.startChapter-container h1 {
    text-align: center;
    color: #003366; /* A deep blue */
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Subheading style */
.startChapter-container h2 {
    color: #000; /* Black color for section headings */
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

/* Form Layout */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Row container for grouped inputs */
.row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Labels for inputs */
label {
    font-size: 1rem;
    color: #333;
}

/* Styling for input fields */
input,
textarea,
select {
    padding: 0.8rem;
    border: 1px solid #003366;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    background-color: white;
}

/* Focus effect on input fields */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0066cc; /* Lighter blue for focus effect */
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.5);
}

/* Styling for the text areas */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button Styling */
.submit-button {
    background-color: #003366; /* Main blue color */
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}

.submit-button:hover {
    background-color: #005bb5; /* Slightly lighter blue on hover */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Styling for select dropdowns */
select {
    border: 1px solid #003366;
    background-color: #f9f9f9; /* Light gray background for the dropdown */
    color: #333; /* Dark text color */
}

/* Style for the select dropdown when it's focused */
select:focus {
    border-color: #0066cc;
    background-color: #e6f0ff; /* Light blue background on focus */
}

/* Carousel Container */
.carousel-container {
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center the carousel horizontally */
    position: relative;
    width: 600px; /* Fixed width for carousel */
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* Carousel */
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Images */
.carousel-img {
    width: 600px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 10px; /* Rounded corners for images */
    object-fit: cover; /* Ensures images fill the space */
    
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

/* Left Button */
.left-btn {
    left: 10px;
}

/* Right Button */
.right-btn {
    right: 10px;
}

/* Hover Effect */
.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Hide inactive images */
.carousel-img:not(.active) {
    display: none;
}




@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Define the zoom-in animation */
@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem; /* Reduce padding */
    }

    nav img {
        height: 40px; /* Reduce logo height */
    }

    nav ul {
        justify-content: space-around; /* Distribute items evenly */
        gap: 1rem; /* Reduce gap */
    }

    nav a {
        font-size: 0.7rem; /* Smaller font size */
        padding: 0.4rem 0.8rem; /* Reduce padding */
    }
    .about-section {
        flex-direction: column; /* Stack content vertically */
        gap: 1.5rem; /* Reduce gap */
        padding: 2rem 1.5rem; /* Reduce padding */
    }

    .about-section h2 {
        font-size: 2rem; /* Reduce heading size */
    }

    .about-section p {
        font-size: 0.7rem; /* Reduce paragraph font size */
    }

    .about-section img {
        max-width: 400px; /* Smaller image size */
        transform: scale(0.9); /* Slightly smaller initial scale */
    }

    .carousel-container {
        width: 100%; /* Full width on smaller screens */
        margin: 0 1rem; /* Add margin for some spacing */
    }

    .carousel-img {
        width: 100%; /* Make images take full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .carousel-btn {
        width: 30px; /* Smaller navigation buttons */
        height: 30px;
        font-size: 14px; /* Smaller font size */
    }

}

@media screen and (max-width: 480px) {
    nav {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the left */
        padding: 0.5rem; /* Further reduce padding */
    }

    nav ul {
        flex-direction: column; /* Stack links vertically */
        gap: 0.5rem; /* Reduce gap */
        width: 100%; /* Full-width links */
    }

    nav ul li {
        width: 100%; /* Full-width list items */
    }

    nav a {
        font-size: 0.6rem; /* Smaller font size */
        padding: 0.3rem 0.6rem; /* Reduce padding further */
        text-align: center; /* Center-align text */
        width: 100%; /* Full-width links */
        border-radius: 3px; /* Slightly rounded corners */
    }

    nav img {
        height: 35px; /* Further reduce logo size */
    }

    nav ul li .dropdown li a {
        font-size: 0.6rem; /* Smaller dropdown text */
        padding: 0.3rem 0.6rem; /* Smaller padding */
    }

     .about-section {
        padding: 1.5rem 1rem; /* Further reduce padding */
        gap: 1rem; /* Reduce gap */
    }

    .about-section h2 {
        font-size: 1.8rem; /* Further reduce heading size */
    }

    .about-section p {
        font-size: 0.6rem; /* Reduce font size further */
    }

    .about-section img {
        max-width: 100%; /* Make the image full-width */
        transform: scale(1); /* Normal scale */
    }

    .carousel-container {
        width: 100%; /* Full width on mobile */
        margin: 0 0.5rem; /* Smaller margin for tighter space */
    }

    .carousel-img {
        width: 100%; /* Ensure images are full-width */
        height: 200px; /* Adjust height for smaller screens */
    }

    .carousel-btn {
        width: 28px; /* Even smaller buttons */
        height: 28px;
        font-size: 12px; /* Adjust font size */
    }
}

