/* Reset */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
}

/* HERO HEADER */
.hero {
    background: #458c4d; 
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.description {
    font-size: 1.2rem;
    line-height: 1.4;
}

.mainlogo {
    width: 350px;
    height: auto;
}

/* MAIN CONTENT */
.content {
    max-width: none;
    margin: 40px auto;
    padding: 0 20px;
}

.section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}




.section h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* BUTTON */
.primary-btn {
    background: #2c3e50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.primary-btn:hover {
    background: #1b2836;
}

/* FOOTER */
.footer {
    background: rgb(138, 18, 9);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* NAVBAR */
.navbar {
    background: #8a1209; /* same tone as your footer/hero */
    padding: 10px 0;
}

.navbar>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    gap: 30px; /* spacing between links */
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
     padding: 8px 12px;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #f1c40f; /* gold highlight */
}

/* Parent container */
.dropdown {
    position: relative;
}

/* Hidden by default */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: -1px; /* closes the hover gap */
    left: 0;
    background: #8a1209;
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;

}

/* Dropdown links */
.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #458c4d;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;

}



/*nav bar mobile responsiveness*/
@media (max-width: 700px) {
    .navbar>ul {
        gap: 15px; /* tighter spacing */
        flex-direction: column; /* stack vertically */
        align-items: center;
        gap: 10px;
    }

    .navbar a {
        font-size: 1rem;
        padding: 6px 10px;
    }
    .dropdown {
        width: 100%;
    }
    .dropdown-menu {
        background: #6e0e07; /* darker red for contrast */
        width: 100%;
        padding: 0;
        border-radius: 0;
        margin-top: 5px;
    }

    .dropdown-menu li a {
        background: #8a1209; /* default red */
        color: white;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        display: block;

    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
        /* no background here */
    }

    /* Fix: remove default focus/active highlight */
    .dropdown-menu li a:focus,
    .dropdown-menu li a:active {
        background: #8a1209 !important;
        color: white;
    }

    /* Hover highlight (works now without interference) */
    .dropdown-menu li a:hover {
        background: #458c4d;
        color: white;
    }


}

/*@media (max-width: 500px) {
    .navbar ul {
        flex-direction: column; /* stack vertically *//*
        align-items: center;
        gap: 10px;
    }

    .navbar a {
        font-size: 1rem;
        padding: 8px 0;
    }
}

@media (max-width: 700px) {
    .dropdown {
        width: 100%;
    }
    .dropdown-menu {
        background: #6e0e07; /* darker red for contrast *//*
        width: 100%;
        padding: 0;
        border-radius: 0;
        margin-top: 5px;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        display: block;
        background: #8a1209; /* your red *//*
        color: white
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
        background: #458c4d; /* your green hover *//*
        color: white;

    }
}*/







/* Responsive iframe container */
.iframe-container {
    position: relative;
    
    width: 100%;
    padding-top: 120%; /* controls height ratio; adjust as needed */
    overflow: hidden;
    margin-left: 80px;
    margin-right: auto;
}

/* Make iframe scale with container */
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 87%;
    height: 80%;
    border: none;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive iframe container */
.iframe-container2 {
    position: relative;
    
    width: 100%;
    padding-top: 120%; /* controls height ratio; adjust as needed */
    overflow: hidden;
    margin-left: 200px;
    margin-right: auto;
    
}

/* Make iframe scale with container */
.iframe-container2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    height: 88%;
    border: none;
    margin-left: auto;
    margin-right: auto;
    
}

/* Responsive iframe container */
.iframe-container3 {
    position: relative;
    
    width: 100%;
    padding-top: 120%; /* controls height ratio; adjust as needed */
    overflow: hidden;
    margin-left: 400px;
    margin-right: auto;
    
}

/* Make iframe scale with container */
.iframe-container3 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 88%;
    border: none;
    margin-left: auto;
    margin-right: auto;
    
}



/*Overview format table*/
table.abbreviatedmatch {
    margin: 10px;
    border: 1px solid black;
    border-collapse: collapse;
}

table.abbreviatedmatch th, table.abbreviatedmatch td {
    padding: 8px;
    text-align: center;
    border: 1px solid black;
}



.hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
}

@media (max-width: 700px) {
    .hamburger {
        display: block; /* show hamburger */
    }

    .navbar ul {
        display: none; /* hide menu by default */
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-bottom: 15px;
    }

    .navbar ul.show {
        display: flex; /* show when toggled */
    }
}



.image-text-section {
    display: flex;
    align-items: center;      /* vertically center text */
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.image-block img {
    width: 100%;
    max-width: 150px;
    border-radius: 8px;
}

.text-block {
    flex: 1;
}

.text-block h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .image-text-section {
        flex-direction: column;   /* stack vertically */
        text-align: center;
    }

    .image-block img {
        max-width: 300px;
    }
}






