/* color palette: #1d274a, #00adb5, #4caf50, #f9f9f9, #ffffff */

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

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: linear-gradient(58deg, #aac3cc, #9ddfdb, #9ddfbd);
    background-color: #fff;
    color: #484848;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Partner Slideshow Styles (multi-item carousel) */
.partner-slideshow-container {
    --visible: 4;
    max-width: 1000px;
    position: relative;
    margin: auto;
    padding: 12px 20px;
    overflow: hidden;
}


.partner-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.partner-slides {
    flex: 0 0 calc(100% / var(--visible));
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    /* Ensure each slide has equal height and stacks image + text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    /* adjust if you want taller/shorter slides */
}

/* Make anchor fill the slide when images are wrapped in <a> */
.partner-slides>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    text-decoration: none;
    color: inherit;
}

.partner-slides img {
    max-height: 140px;
    /* uniform image height across slides */
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;

}

@media (max-width: 768px) {
    .partner-slideshow-container {
        padding: 12px 10px;
        width: 100%;
    }    
}

/* Ensure partner track has no unexpected gaps */
.partner-track {
    gap: 0;
}

.partner-text {
    color: #1d274a;
    font-size: 15px;
    margin-top: 6px;
    font-weight: 500;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px 12px;
    margin-top: -22px;
    color: #1d274a;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 4px;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.next {
    right: 6px;
}

.prev {
    left: 6px;
}

.prev:hover,
.next:hover {
    background-color: #00adb5;
    color: white;
}

.partner-dots {
    text-align: center;
    padding: 12px 0 0;
}

.partner-dots .dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.partner-dots .active-dot,
.partner-dots .dot:hover {
    background-color: #00adb5;
}

@media (max-width: 1100px) {
    .partner-slideshow-container {
        --visible: 3;
    }
}

@media (max-width: 900px) {
    .partner-slideshow-container {
        --visible: 2;
    }
}

@media (max-width: 600px) {
    .partner-slideshow-container {
        --visible: 1;
    }
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: rgb(255, 255, 255);
}

header img {
    width: clamp(80px, 12vw, 240px);
    height: auto;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.03);

}

nav ul {
    padding: 10px 100px;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    gap: 22px;
}

nav li {
    list-style: none;
}

strong {
    color: #00adb5;
    font-weight: 700;
}

h1 {
    line-height: normal;
}

.no-underline {
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown-button {
    background-color: transparent;
    font-weight: 700;
    color: #00adb5;
    border: none;
    cursor: pointer;
    font-size: clamp(.5rem, 1.5vw, 1rem);
    transition: all 0.3s ease;
}

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

.dropdown-content a {
    color: rgb(67, 67, 67);
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    color: #00adb5;
    backdrop-filter: blur(5px);
}

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

.dropdown:hover .dropdown-button,
.no-underline:hover {
    /* background-color: #45a049; */
    text-shadow: 0 2px 4px #b9d6ffa9;
    transform: translateY(-10px);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    color: #484848;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

footer img {
    width: clamp(200px, 20vw, 800px);
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
}


footer img:hover {
    transform: scale(1.03);
}

.social-media a {
    margin: 0 10px;
    color: #00adb5;
    transition: all 0.3s ease;
}

.social-media svg {
    width: clamp(20px, 5vw, 55px);
    height: auto;
}

.social-media a:hover {
    transform: rotateX(4deg);
    animation: icon-anim 3s infinite;
}

.contact-div h3 {
    margin-top: 10px;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #484848;
    margin-bottom: 10px;
}

.contact-div p {
    font-size: clamp(.7rem, 2vw, 1.1rem);
    color: #484848;
    line-height: 20px;
}

.footer-links a {
    color: #00adb5;
    padding: 10px;
    text-decoration: none;
}

@keyframes icon-anim {
    0% {
        color: #00adb5;
    }

    25% {
        color: #05797f;

    }

    50% {
        color: #fff;
    }

    75% {
        color: #05797f;
    }

    100% {
        color: #00adb5;
    }
}

/* Mobile Menu Icon */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #00adb5;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    header {
        padding: 10px 10px;
    }

    nav ul {
        gap: 10px;
    }

    .dropdown-button {
        font-size: clamp(0.8rem, 1.2vw, 1rem);
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(210, 250, 255, 0.58);
        flex-direction: column;
        padding: 80px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    nav ul.show {
        display: flex;
        right: 0;
    }

    nav li {
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-button {
        width: 100%;
        text-align: left;
        padding: 10px;
        font-size: 1rem;
    }

    .dropdown-content {
        position: relative;
        width: 100%;
        background-color: rgba(19, 67, 135, 0.3);
        box-shadow: none;
    }

    .dropdown-content a {
        padding: 12px 25px;
    }

    /* Animate menu icon to X when menu is open */
    .mobile-menu-icon.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-icon.active div:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-icon.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 10px;
    }

    header img {
        width: clamp(150px, 12vw, 100px);
    }

    nav ul {
        width: 100%;
        padding: 60px 15px;
    }

    .dropdown-button {
        font-size: 0.9rem;
    }

    .dropdown-content a {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.mail-link {
    color: #00adb5;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00adb5;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-size: 24px;
    font-weight: bold;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #008b92;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}