html{
    margin: 0;
    overflow-x: hidden;
}
body{
    margin: 0;
}
/* =========================Hero Section========================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url("/web/jakarta.faces.resource/images/bg2.png.xhtml");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    text-align: center;
}

/* Navbar styling */
.hero ui\:include {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* Header box */
.hero header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    border-radius: 12px;
    max-width: 90%;
}

/* Title */
.hero header h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); /* Improves readability */
}

/* Subtitle */
.hero header p {
    font-size: 1.2rem;
    color: #f0f0f0;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for clarity */
}

/* Responsive text */
@media (max-width: 768px) {
    .hero{
        height: 500px;
    }
    .hero header{
        padding: 0;
    }
    .hero header h1 {
        font-size: 2.2rem;
    }
    .hero header p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero{
        height: 600px;
    }
    .hero header{
        padding: 0;
    }
    .hero header h1 {
        font-size: 1.8rem;
    }
    .hero header p {
        font-size: 0.9rem;
    }
}

/* =========================Mission Section========================= */
.mission {
    width: 100%;
    padding: 12% 10% 20%;
    background: linear-gradient(to bottom right, #6CA2DE, #3CD1B3); /* Gradient background */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    font-family: sans-serif;
    font-weight: 400;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.mission-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin: 0 10%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .mission-content h2 {
        font-size: 2rem; /* Smaller font size for smaller screens */
    }
    .mission-content p {
        font-size: 1rem; /* Smaller font size for smaller screens */
    }
}

/* =========================Vision Section========================= */
.vision {
    width: 100%;
    padding: 12% 10% 20%;
    background: #183D71;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2 {
    font-family: sans-serif;
    font-weight: 400;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin: 0 10%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .vision-content h2 {
        font-size: 2rem; /* Smaller font size for smaller screens */
    }
    .vision-content p {
        font-size: 1rem; /* Smaller font size for smaller screens */
    }
}

/* =========================Story Section========================= */
.our-story {
    position: relative;
    width: 100%;
    padding: 12% 10% 20%;
    background: #87ADDA;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: -1;
}

.story-container {
    max-width: 860px;
    margin: 0 auto;
}

.story-container h2 {
    font-family: sans-serif;
    font-weight: 400;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.story-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin: 0 10%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .story-container h2 {
        font-size: 2rem; /* Smaller font size for smaller screens */
    }
    .story-container p {
        font-size: 1rem; /* Smaller font size for smaller screens */
    }
}

/* =========================Impact Section========================= */
.numbers {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 10px;
    background: #DDE6EE;
    align-items: center;
    color: #fff;
    z-index: -1;
}

.numbers-title {
    position: absolute;
    font-size: 1rem;
    font-weight: bold;
    background-color: #DDE6EE;
    color: white;
    border-radius: 40px 40px 0 0;
    text-align: center;
    margin-bottom: 2rem;
    max-width: fit-content;
    padding: 20px 50px;
    top: -10vh;
    left: 50%;
    transform: translateX(-50%);
}

.numbers-counter-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 4% 7%;
    z-index: 100;
}

.numbers-counter-box {
    min-width: 150px;
}

.numbers-counter-box h3 {
    font-size: 4rem;
    font-weight: bolder;
    color: #183D71;
    margin: 0;
}

.number-with-plus::after {
    content: "+";
    position: relative;
    top: -43px;
    right: -10px;
    font-size: 3.2rem;
    font-weight: bold;
    color: #fff;
}

.numbers-counter-box p {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

@media (max-width: 768px) {
    .numbers-title{
        top: -8vh;
    }

}
/* =========================Known For Section========================= */
.known-for {
    margin-top: 5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.known-for h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #183D71;
}

.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(51, 51, 51, 0.99);
}

.value-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.6rem;
    font-weight: bold;
    color: black;
    text-align: left;
    margin: 0 0 0.3rem;
}

.value-text p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    color: #333;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .values {
        grid-template-columns: 1fr;
    }
}

/* =========================Meet the Innovators Section========================= */
.innovators {
    text-align: center;
    background: linear-gradient(to bottom, #DDE6EE 0%, #DDE6EE 50%, #183D71 50%, #183D71 100%);
    backdrop-filter: blur(10px);
    position: relative;
    padding: 50px 0;
}

.innovators-title1,
.innovators-title2 {
    font-size: 2.5rem;
    font-weight: bold;
    display: inline-block;
    margin: 0;
}

.innovators-title1 { color: #222; }
.innovators-title2 { color: rgb(68 68 68 / 30%); }

.innovators-text {
    color: rgb(68 68 68 / 60%);
    margin: 10px 0 30px 0;
}
.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* smooth swipe on iOS */
    scroll-behavior: smooth;
    gap: 10px;
}

.carousel-container {
    -webkit-overflow-scrolling: touch; /* smooth momentum scrolling for iOS */
    scrollbar-width: none;             /* hide Firefox scrollbar */
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Active card */
.member:target {
    scroll-margin-inline: 20px;
}

.member.active {
    scroll-snap-align: center;
}

/* Wrapper for flex transition */
.team-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

/* Carousel cards */
.member {
    min-width: 707px;
    max-width: 90%;
    height: 316px;
    background: #f9f9f9;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.member img {
    width: 249px;
    height: 100%;
    max-height: 313px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    margin-right: 20px;
}

.member-info {
    text-align: left;
    color: #222;
}

/* ===== Responsive breakpoints ===== */

/* Tablet */
@media (max-width: 1024px) {
    .member {
        min-width: 500px;
        height: 280px;
    }
    .member img {
        width: 180px;
        height: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .member {
        min-width: 350px;
        height: 250px;
        flex-direction: column;
        text-align: center;
    }
    .member img {
        width: 100%;
        height: 150px;
        border-radius: 10px 10px 0 0;
        margin: 0 0 10px 0;
    }
    .member-info {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .member {
        min-width: 280px;
        height: 220px;
    }
    .member img {
        height: 120px;
    }
}


.nav-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;

}

.dot.active { background-color: #FFD700; }

.prev, .next {
    cursor: pointer;
    background-color: #183D71;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 10px;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

/* General Reset and Base */
.decorative-image {
    position: absolute;
    width: 60vw;
    height: auto;
    left: -21vw;
    top: 213px;
    z-index: 1;
    pointer-events: none;
    max-width: 700px;
}

.decorative-image2 {
    position: absolute;
    width: 7vw;
    height: auto;
    left: 75vw;
    top: 202vh;
    z-index: 1;
    pointer-events: none;
    max-width: 700px;
}

.decorative-image3 {
    position: absolute;
    width: 2vw;
    height: auto;
    left: 83vw;
    top: 200vh;
    z-index: 1;
    pointer-events: none;
    max-width: 900px;
}

.decorative-image4 {
    position: absolute;
    width: 2vw;
    height: auto;
    left: 78vw;
    top: 193vh;
    z-index: 1;
    pointer-events: none;
    max-width: 300px;
}

.decorative-image5 {
    position: absolute;
    width: 40vw;
    height: auto;
    left: -20vw;
    top: 213vh;
    z-index: 1;
    pointer-events: none;
    max-width: 700px;
}

.decorative-image6 {
    position: absolute;
    width: 8vw;
    height: auto;
    left: 6vw;
    top: 290vh;
    z-index: 1;
    pointer-events: none;
    max-width: 700px;
}

.decorative-image7 {
    position: absolute;
    width: 4vw;
    height: auto;
    left: 14vw;
    top: 265vh;
    z-index: 1;
    pointer-events: none;
    max-width: 700px;
}

.decorative-image8 {
    position: absolute;
    width: 45vw;
    height: auto;
    left: -11vw;
    top: -40vh;
    pointer-events: none;
    max-width: 700px;
}

.decorative-images {
    position: absolute;
    width: 60vw;
    height: auto;
    pointer-events: none;
    max-width: 700px;
    right: -275px;
}
/* Small Laptop Screens */
/* Tablet */
@media (max-width: 1024px) {
    .hero { height: 400px; }
    .decorative-image  { top: 72px; }
    .decorative-image2 { top: 904px; }
    .decorative-image3 { top: 904px; }
    .decorative-image4 { top: 874px; }
    .decorative-image5 { top:1010px; }
    .decorative-image6 { top: 1420px; }
    .decorative-image7 { top: 1324px; }
    .decorative-image8 { top: -153px; }
    .decorative-images { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
    .decorative-image  { top: 146px; }
    .decorative-image2 { top: 810px; }
    .decorative-image3 { top: 810px; }
    .decorative-image4 { top: 776px; }
    .decorative-image5 { top: 968px; }
    .decorative-image6 { top: 1174px; }
    .decorative-image7 { top: 1121px; }
    .decorative-image8 { top: -115px; }
    .decorative-images { display: none; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .decorative-image { top: 263px; }
    .decorative-image2 { top: 833px; }
    .decorative-image3 { top: 833px; }
    .decorative-image4 { top: 918px; }
    .decorative-image5 { top: 976px; }
    .decorative-image6 { top: 1196px; }
    .decorative-image7 { top: 1148px; }
    .decorative-image8 { top: -48px; }
    .decorative-images { display: none; }
}

/* Hide on very short screens */
@media (max-height: 400px) {
    .decorative-image,
    .decorative-image2,
    .decorative-image3,
    .decorative-image4,
    .decorative-image5,
    .decorative-image6,
    .decorative-image7,
    .decorative-image8 {
        display: none;
    }
}

/* Nav controls wrapper */
.nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

/* Dots container */
.dots {
    text-align: center;
    margin-top: 15px;
}

/* Each dot */
.dots a {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #ccc; /* default color */
    border-radius: 50%;
    transition: background-color 0.3s;
    text-decoration: none;
}

/* Active dot */
.dots a.active {
    background-color: #007bff; /* blue for active dot */
}

/* Arrows */
.arrow {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
}
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 0px 0;
    transition: all 0.3s ease-in-out;
}

/* When scrolling */
.nav-overlay.scrolled {
    background: rgba(0, 0, 0, 0.85);
    padding: 5px 0;
}




