:root {
    /* Primary Colors */
    --primary-dark: #14385c;
    --primary-light: #449cc6;

    /* Neutral Colors */
    --neutral-lightest: #ebecec;
    --neutral-light: #c4c3c4;
    --neutral-medium-light: #b5babf;
    --neutral-medium: #acacab;
    --neutral-medium-dark: #a0a0a1;
    --neutral-dark: #838d95;
    --neutral-darker: #767778;
    --neutral-darkest: #5b646e;

    /* Functional Colors */
    --text-primary: var(--primary-dark);
    --text-secondary: var(--neutral-darkest);
    --text-light: var(--neutral-lightest);

    --background-main: var(--neutral-lightest);
    --background-secondary: var(--neutral-medium-light);
    --background-dark: var(--primary-dark);

    --accent-color: var(--primary-light);
    --accent-hover: #3b8ab0;

    --border-color: var(--neutral-medium);
    --shadow-color: rgba(20, 56, 92, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: var(--background-dark); */
    background-color: var(--primary-light);
    padding: 0.3rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 70px;
}

.logo img {
    height: 100%;
    object-fit: contain;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    /* color: var(--text-light); */
    /* color: var(--primary-dark); */
    color: var(--neutral-lightest);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    /* color: var(--accent-color); */
    color: var(--text-light);
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("../assets/hero.png") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    /* opacity: 0; */
    opacity: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    /* opacity: 0; */
    opacity: 1;
}

.hero-btn {
    display: inline-block;
    /* background-color: var(--accent-color); */
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 1;
}

.hero-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Section common styles */
.section {
    padding: 5rem 10%;
    opacity: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

/* About section */
.about {
    background-color: var(--background-main);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.about-img {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.about-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Add these styles to your existing CSS */
.slideshow-container {
    position: relative;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.slides {
    display: none;
    width: 100%;
}

.slides img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.slideshow-container:hover img {
    transform: scale(1.05);
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* FAQ section */
.faq {
    background-color: var(--text-light);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.accordion-header {
    background-color: var(--background-secondary);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--neutral-medium);
}

.accordion-header::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.accordion-header.active::after {
    content: "-";
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    background-color: var(--text-light);
}

.accordion-content p {
    padding: 1rem 0;
}

/* Team section */
.team {
    background-color: var(--background-main);
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.team-member {
    background-color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    width: 190px;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.member-img {
    height: 230px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--neutral-darker);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--text-light);
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
}

.footer-column h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column p {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--neutral-medium-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-darkest);
}

.footer-bottom p {
    color: var(--neutral-dark);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 1000;
}

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

.scroll-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
}

/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px var(--shadow-color);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 5%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-img {
        order: -1;
    }

    .prev,
    .next {
        padding: 12px;
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
    }
}