/* --- Global Styles & Variables --- */
:root {
    --primary-color: #005A9C; /* A professional blue */
    --secondary-color: #f4b400; /* A contrasting gold/yellow */
    --text-color: #333;
    --light-text-color: #fff;
    --bg-color-1: #f8f9fa;
    --bg-color-2: #e9ecef;
    --bg-color-3: #dee2e6;
    --footer-bg: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* --- Header & Navigation --- */
.main-header {
    position: relative;
    height: 100vh;
    color: var(--light-text-color);
    overflow: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: background 0.3s ease;
}

nav .logo a {
    color: var(--light-text-color);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--light-text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Slider --- */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Add your images here */
.slide:nth-child(1) { background-image: url('img/header1.jpg'); }
.slide:nth-child(2) { background-image: url('img/header2.jpg'); }
.slide:nth-child(3) { background-image: url('img/header3.jpg'); }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 300;
}


/* --- Content Sections --- */
.content-section {
    padding: 80px 5%;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#section1 { background-color: var(--bg-color-1); }
#section2 { background-color: var(--bg-color-2); }
#section3 { background-color: var(--bg-color-3); }


/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    color: var(--light-text-color);
    padding: 2rem 5%;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--light-text-color);
}


/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%; /* Start off-screen */
        top: 0;
        height: 100vh;
        width: 60%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        transition: right 0.5s ease-in-out;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .hamburger {
        display: block;
        z-index: 101; /* Ensure it's above the nav links */
    }
    
    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .section-content h2 {
        font-size: 2rem;
    }
}