/* ===============================
   RESET & GLOBAL STYLES
=============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
body p {

    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===============================
   LAYOUT / CONTAINER
=============================== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* ===============================
   HEADER
=============================== */
header {
    background: #6b8e23;
    color: #fff;
    padding: 20px 0;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 100%;
    height: auto;
}

/* ===============================
   NAVIGATION (CENTER MENU)
=============================== */
nav {
    width: 100%;
    background-color: #6df092;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a,
.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s;
}

nav ul li a:hover,
.nav-menu li a:hover {
    background-color: #ff6b00;
    border-radius: 5px;
    color: #fff;
}

/* ===============================
   NAVBAR (HAMBURGER SYSTEM)
=============================== */
.navbar {
    width: 100%;
    background-color: #6B8E23;
    padding: 10px 20px;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.nav-logo img {
    width: 80px;
    height: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

/* ===============================
   HAMBURGER MENU WITH LABELS
=============================== */
.hamburger-wrapper {
    position: relative;
    display: inline-block;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
    transition: 0.3s;
}

/* Hidden Labels */
.menu-labels {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Label Links */
.menu-labels a {
    background: #0b6623;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;

    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

/* Hover Effect */
.hamburger-wrapper:hover .menu-labels {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hamburger-wrapper:hover .menu-labels a {
    transform: translateX(0);
}

/* ===============================
   MOBILE FIX FOR HOVER
=============================== */
@media (max-width: 768px) {
    .menu-labels {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 10px;
    }

    .gallery-item img {
        height: 150px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-subtitle {
        font-size: 1.2rem;
    }
}

/* ===============================
   BANNER SECTION
=============================== */
.banner {
    position: relative;
    width: 100%;
    height: 80vh;
    background: url('ceda banner.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-logo-top {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    z-index: 3;
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.banner .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: blue;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.banner .btn:hover {
    background-color: gray;
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
    background: linear-gradient(rgba(219, 213, 213, 0.6), rgba(0,0,0,0.6)),
                url('background1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    font-size: 1.2rem;
}

/* ===============================
   SECTIONS
=============================== */
section {
    padding: 60px 20px;
}

.section-title {
    text-align: justify;
    margin-bottom: 40px;
}

.section-title h2,
.section-title p {
    color: #333333;
}

.section-title p {
    font-size: 1.5rem;
}

/* ===============================
   GRID & CARDS
=============================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #F5F5DC;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(4, 54, 23, 0.1);
}

.card h3 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.5rem;
}

.card p {
    color: #333;
    font-size: 1.5rem;
    text-align: justify;
}

/* ===============================
   CALL TO ACTION
=============================== */
.cta {
    background: #6b8e23;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.cta a {
    display: inline-block;
    margin-top: 15px;
    background: blue;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.cta a:hover {
    background: gray;
    color: #fff;
}

/* ===============================
   FORMS
=============================== */
form {
    max-width: 700px;
    margin: auto;
    display: grid;
    gap: 15px;
}

input,
textarea,
button {
    padding: 12px;
}

button {
    background: #0b6623;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

/* ===============================
   TABLE STYLING
=============================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

th {
    background-color: #004080;
    color: white;
    padding: 12px;
    text-align: left;
}

td {
    padding: 10px;
    border: 1px solid #ccc;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

section h2 {
    color: #333;
}

/* ===============================
   FOOTER
=============================== */
footer {
    background: linear-gradient(rgba(219, 213, 213, 0.6), rgba(0,0,0,0.6)),
                url('background1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 80px 20px;
    text-align: left;
    font-size: 1.2rem;
}

footer a {
    color: #404a43;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    background: blue;
    margin: 10px 0;
    font-size: 1.3rem;
}

/* ===============================
   GALLERY SECTION
=============================== */
.gallery-section {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0b6623;
}

.gallery-subtitle {
    margin-bottom: 40px;
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px;
    font-size: 1rem;
}
.gallery {
   margin: 0;
    padding: 0;
    background: url("footer.jpg") no-repeat center center fixed;
    background-size: cover  
}


/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
}

#lightbox-caption {
    text-align: center;
    color: #ccc;
    padding: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* ===============================
   MAIN HAMBURGER BUTTON
=============================== */
.menu-toggle {
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    background-color: #6b8e23;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
}

/* MENU */
#navMenu {
    display: none;
    list-style: none;
    margin-top: 10px;
}

/* MENU LINKS */
#navMenu li {
    padding: 12px;
    border-bottom: 1px solid #ccc;
}

#navMenu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* SHOW MENU */
#navMenu.active {
    display: block;
}