

/* Color Palette */
:root {
    --bg-color: #f4f4f9;
    --second-bg-color: rgba(29, 46, 132, 1);
    --text-color: #1d2e84;
    --main-color: rgba(29, 46, 132, 1);
    --highlight-color: #d1d8ff;
    --nav-bg-color: white;
    --nav-text-color: rgba(29, 46, 132, 1);
}

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



    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}
/* Base Navigation Styles */
        nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: var(--nav-bg-color);
            padding: 1rem 2rem;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            animation: slideDown 0.5s ease-out;
        }

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

        /* Logo */
        .logo {
            height: clamp(40px, 5vw, 60px);
            width: auto;
            transition: transform 0.3s ease;
            z-index: 1001;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        /* Desktop Menu - visible by default */
        .desktop-menu {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .desktop-menu a {
            font-size: clamp(0.7rem, 1.1vw, 0.9rem);
            font-weight: 600;
            text-decoration: none;
            color: var(--nav-text-color);
            padding: 0.6rem 1.2rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .desktop-menu a:hover {
            color: var(--highlight-color);
            background-color: rgba(29, 46, 132, 0.1);
            transform: translateY(-2px);
        }

        /* Desktop Dropdown Menu */
        .desktop-menu li {
            position: relative;
        }

        .desktop-menu .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--nav-bg-color);
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            padding: 0.8rem 0;
            min-width: 220px;
            z-index: 1000;
        }

        .desktop-menu .dropdown li {
            padding: 0.3rem 0;
        }

        .desktop-menu .dropdown a {
            padding: 0.6rem 1.5rem;
            display: block;
        }

        .desktop-menu li:hover .dropdown {
            display: block;
        }

        /* Mobile Menu - hidden by default */
        .mobile-menu-btn {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0.5rem;
            z-index: 1001;
        }

        .mobile-menu-btn span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--nav-text-color);
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--nav-bg-color);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            padding-top: 80px;
            z-index: 1000;
            transform: translateX(-100%);
            transition: transform 0.5s ease;
            overflow-y: auto;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu li {
            width: 80%;
            text-align: center;
        }

        .mobile-menu a {
            font-size: 1.2rem;
            font-weight: 600;
            text-decoration: none;
            color: var(--nav-text-color);
            padding: 1rem;
            display: block;
            transition: all 0.3s ease;
        }

        .mobile-menu a:hover {
            color: var(--highlight-color);
            background-color: rgba(29, 46, 132, 0.1);
        }

        /* Mobile Dropdown */
        .mobile-dropdown {
            display: none;
            width: 100%;
            background-color: rgba(29, 46, 132, 0.05);
            border-radius: 8px;
            overflow: hidden;
            margin-top: 0.5rem;
        }

        .mobile-dropdown a {
            font-size: 1rem;
            padding: 0.8rem 1rem;
        }

        .mobile-menu li.active .mobile-dropdown {
            display: block;
        }

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

        /* Responsive Breakpoints */
        @media screen and (max-width: 1024px) {
            nav {
                padding: 0.8rem 1.5rem;
            }
            .desktop-menu {
                gap: 1rem;
            }
            .desktop-menu a {
                padding: 0.5rem 1rem;
            }
        }

        @media screen and (max-width: 768px) {
            .desktop-menu {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .mobile-menu {
                display: flex;
            }

            /* Hamburger animation */
            .mobile-menu-btn.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            .mobile-menu-btn.active span:nth-child(2) {
                opacity: 0;
            }
            .mobile-menu-btn.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
        }






/* 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: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(135deg, var(--main-color), var(--highlight-color));
  color: #ffffff;
  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: clamp(1.8rem, 5vw, 2.4rem);
  margin-bottom: clamp(1rem, 4vw, 2rem);
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
  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 clamp(250px, 45%, 600px);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  animation: slideInLeft 1.5s ease-in-out;
  text-align: left;
  color: #ffffff !important;
}

.text-content p {
   margin-bottom: clamp(1rem, 3vw, 1.5rem);
  color: inherit; /* Ensures paragraphs inherit the white color */
  
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
  }

  .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-content {
    flex: 1 1 100%;
    max-width: 600px;
  }
}@media (max-width: 480px) {
  .what-is-empowerstem {
    padding: 1rem 0.5rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .text-content {
    font-size: clamp(0.9rem, 4vw, 1rem);
    max-width: 100%;
  }
}


/* Navy Blue Gradient Button */
.what-is-empowerstem .meet-team-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, #1a4b8c, #0a2d5a); /* Navy blue gradient */
  color: white !important;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hover effect - deeper navy */
.what-is-empowerstem .meet-team-btn:hover {
  background: linear-gradient(90deg, #0a2d5a, #061f3a); /* Darker navy */
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.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.05); /* More subtle hover effect */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Animations */



/* Fluid padding & gap */
.about-section {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 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;
}

/* Fluid type scales */
.about-section h2 {
  font-size: clamp(1.8rem, 4vw, 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 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  animation: fadeInLeft 1.5s ease-in-out 0.3s;
  color: white !important;
}

/* Image styling remains mostly the same */
.about-section img {
  max-width: clamp(250px, 40%, 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;
}
.about-section img:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Breakpoint: tablet and below — stack content vertically */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  .about-section h2,
  .about-section p {
    width: 100%;
  }
  .about-section img {
    margin-top: 1.5rem;
  }
}

/* Breakpoint: small phones — tighter padding and text */
@media (max-width: 480px) {
  .about-section {
    gap: 1rem;
    padding: 1rem;
  }
  .about-section h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .about-section p {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }
}




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: rgba(255, 255, 255, 0.9); /* Slightly lighter text color for the paragraph */
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 {
display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, #1a4b8c, #0a2d5a); /* Navy blue gradient */
  color: white !important;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



.meet-team-btn:hover {
    background: linear-gradient(90deg, #0a2d5a, #061f3a); /* Darker navy */
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}





/* 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: black; 
    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;
}



/* Reviews Section Container */
.reviews-content {
    margin-top: 50px;
    text-align: center;
}

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

/* Reviews Section */
.reviews {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex-direction: column;
    align-items: center; /* Center text and items */
}

/* Individual Reviews Items */
.reviews-item {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    display: none; /* Initially hidden */
}

/* Active Review Item */
.reviews-item.active {
    display: block; /* Show active review */
}

/* Navigation Buttons */
.reviews-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 */
.reviews-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

        .fl-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            
        }
        
        .fl-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem 0;
            background: var(--fl-primary-color);
            color: var(--fl-card-bg);
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .fl-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .fl-subtitle {
            color: var(--fl-primary-color);
            font-size: 2rem;
            margin-top: 3rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--fl-highlight-color);
        }
        .fl-container-p {
  color: #ffffff;
  font-size: 0.75rem; /* Slightly smaller than default (1rem) */
  line-height: 1.2;
}

        .fl-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .fl-card {
            background: linear-gradient(135deg, var(--main-color), var(--highlight-color));
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--fl-highlight-color);
        }
        
        
        .fl-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
            background-color: var(--fl-highlight-color);
        }
        
        .fl-card-title {
            color: white;
            font-size: 1.5rem;
            margin-top: 0;
            margin-bottom: 1rem;
        }
        
        .fl-card-list {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .fl-card-list li {
            margin-bottom: 0.5rem;
            color: white;
        }
        
        .fl-btn {
            display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, #1a4b8c, #0a2d5a); /* Navy blue gradient */
  color: white !important;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        
        .fl-btn:hover {
            background: linear-gradient(90deg, #0a2d5a, #061f3a); /* Darker navy */
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
        
        
        .fl-divider {
            border: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--fl-primary-color), transparent);
            margin: 3rem 0;
        }
        
        @media (max-width: 768px) {
            .fl-container {
                padding: 1rem;
            }
            
            .fl-grid {
                grid-template-columns: 1fr;
            }
            
            .fl-title {
                font-size: 2rem;
            }
            
            .fl-subtitle {
                font-size: 1.5rem;
            }
        }


.engineering-section {
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--main-color), var(--highlight-color));
  color: #ffffff;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin: 2rem auto;
  animation: fadeIn 1.5s ease-in-out;
}

.engineering-section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: bold;
  color:white;
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
}

.engineering-section p {
  font-size: clamp(0.5rem, 1.5w, 1.2rem);
  line-height: 1.2;

  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}


/* Animation Keyframes (Consolidated) */
@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 popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

