html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #9bb3b4;
    margin: 0;
}


/* ===== NAVBAR ===== */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background-color: #e6f3ff;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: #0077ff;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4b4bb7;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0077ff;
}

/* ===== SECTION CARDS ===== */

.section-card {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 100%;
    max-width: 1100px;
    padding: 25px;
    border-radius: 12px;
    background-color: #ffffff;   
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;     
}
.card-text h2 {
    margin-top: 0;  
}


.card-img {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;        
    justify-content: center;     
}

.card-img img {
    width: calc(50% - 6px);      
    border-radius: 12px;
    object-fit: cover;
}

/* =====  CAROUSEL  ===== */

.card-img {
    flex: 1;
    display: flex;
    flex-wrap: wrap;       
    gap: 12px;
}

.card-img img {
    width: calc(50% - 6px);  
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel img {
    flex: 0 0 auto;
    width: 250px;         
    height: 250px;         
    object-fit: cover;     
    border-radius: 12px;
    scroll-snap-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.extra-video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
    background-color: #000; 
}
/* ===== FOOTER ===== */

.footer {
  text-align: center;
  padding: 25px 10px;
  background-color: #e6f3ff;
  color: #555;
  font-size: 0.95rem;
  border-top: 1px solid #cbdcf5;
}



.social-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 28px;
}

.social-links a {
    font-size: 1.8rem;
    color: #0077ff;
    transition: 0.2s ease;
}

.social-links a:hover {
    color: #004c99;
    transform: scale(1.15);
}

/* ===== SIMPLE ANIMATION w3Schools experimenting stuff  ===== */

section {
    animation: fadeUp 0.8s ease-in-out;
}

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

/*  MOBILE RESPONSIVE   */

@media (max-width: 768px) {
  html {
    scroll-padding-top: 120px; 
  }
}

@media (max-width: 768px) {


    .nav-container {
        flex-direction: column;
        gap: 12px;
        padding: 10px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        font-size: 0.95rem;
    }


    .section-card {
        min-height: auto;
        padding: 50px 16px;
    }


    .card {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .card-text {
        text-align: center;
    }

    .card-text h2 {
        font-size: 1.5rem;
    }

    .card-text p {
        font-size: 1rem;
        line-height: 1.6;
    }


    .card-img img {
        width: 100% !important;
        max-width: 350px;
        margin: 0 auto;
    }


    .carousel img {
        width: 180px;
        height: 180px;
    }


    .footer {
        padding: 20px 10px;
        font-size: 0.85rem;
    }

    .social-links a {
        font-size: 1.5rem;
    }
}


@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.85rem;
    }

    .card-text h2 {
        font-size: 1.35rem;
    }

    .carousel img {
        width: 150px;
        height: 150px;
    }
}



