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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f8f8;
}

a {
    text-decoration: none;
    color: #0055aa;
}

a:hover {
    text-decoration: underline;
}

section {
    padding: 60px 20px;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

p {
    margin-bottom: 12px;
    max-width: 700px;
}

/* ------------------------------
   Header & Navigation
--------------------------------*/
header {
    background: white;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 25px;
}

nav > ul > li {
    position: relative;
}

nav a {
    font-weight: 600;
    color: #222;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 0;
    min-width: 180px;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    padding: 5px 15px;
}

nav ul li ul li a {
    font-weight: normal;
    color: #444;
}

nav ul li ul li:hover {
    background: #f0f0f0;
}

/* ------------------------------
   Header layout
--------------------------------*/
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0055aa;
}

/* ------------------------------
   Mobile Toggle (Hamburger)
--------------------------------*/
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger active animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------
   Mobile Navigation
--------------------------------*/
@media (max-width: 900px) {

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #ddd;
        display: none;
        padding: 10px 0;
    }

    nav.open {
        display: block;
    }

    /* Parent items */
    nav ul > li {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    /* Submenus collapsed by default */
    nav ul li ul {
        position: static;
        display: none;
        border: none;
        background: #f8f8f8;
        padding: 10px 0;
        width: 100%;
    }

    /* Reveal on tap/click */
    nav ul li.open > ul {
        display: block;
    }

    /* Show hamburger */
    .nav-toggle {
        display: flex;
    }
}


/* ------------------------------
   Hero section
--------------------------------*/
.hero {
    color: white;
    text-align: center;
    z-index: 1; /* Ensures content is above overlay */
}

.hero {
    background: url('/assets/images/hero-banner.jpg') center/cover no-repeat;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    padding: 120px 20px;
    text-align: center;
}

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

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero p {
    margin: auto;
    max-width: 650px;
    font-size: 1.1rem;
}

.hero .btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #0055aa;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

.hero .btn:hover {
    background: #003f7a;
}

/* ------------------------------
   Footer
--------------------------------*/
footer {
    text-align: center;
    padding: 40px 20px;
    background: #222;
    color: #ddd;
    margin-top: 60px;
}

footer .social a {
    margin: 0 10px;
    color: #ddd;
}

footer .social a:hover {
    color: white;
}
