/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    font-size: 18px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #e0e0e0;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu */
@media (max-width: 1020px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav li {
        margin: 10px 0;
    }
    
    nav a {
        display: block;
        padding: 15px;
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 20px;
}

/* Section Styling */
section {
    /*margin-bottom: 60px;*/
    padding: 30px 0;
    scroll-margin-top: 100px;
}

.section-image {
    float:left;
    margin:20px;
}

.section-image-img {
    /*max-height: 420px;*/
    width:100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.accordion-box {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    clear: both;
}
@media  (max-width: 720px)  {
    .section-image-img {
        max-height: 200px;
        width:auto;
    }
}

@media (min-width: 721px) {
    .section-image-img {
        max-height: 420px;
        width:auto;
    }
}

@media (min-width: 1021px) {
    /* Content Wrapper for Image and Text */
    .content-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 30px;
        position: relative;
    }
    .section-image {
        flex: 1;
        min-width: 300px;
        max-width: 400px;
        height: auto;
        position: sticky;
        top: 100px;
        align-self: flex-start;
        margin:0px;
        margin-top:20px;
        width: auto;
        max-height: 220px;
        object-fit: contain;
        text-align: right;
    }

    .section-image-img {
        width: auto;
        max-width: 100%;
        height: 100%;
        max-height: 220px;
    }
}

.text-content {
    flex: 2;
    min-width: 300px;
}

.text-content h1 {
    font-size: 36px;
    margin: 0px 0 15px 0;
    color: #000000;
    font-weight: bold;
}

.text-content h2 {
    font-size: 28px;
    margin: 0px 0 15px 0;
    color: #003366; /* Navy blue */
    font-weight: bold;
}
.text-content h4 {
    color: #003366; /* Navy blue */
    font-weight: bold;
}

.text-content p {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.7;
}

.text-content ul {
    margin: 20px 0 20px 30px;
}

.text-content li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #003366; /* Navy blue */
}

/* Special Boxes */
.awards-box {
    background-color: #003366; /* Navy blue */
    color: #FFD700; /* Gold */
    /*padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
}

.awards-box h3 {
    color: #FFD700;
    margin-top: 0;
    font-size: 28px;
}

.awards-box div, .awards-box div p {
    background-color: #003366;
    color: #FFD700; /* Gold */
}

/* Footer */
footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1020px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .section-image {
        max-width: 100%;
        position: relative;
        top: 0px;
        height: auto;
        max-height: none;
        margin-top:0px;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav li {
        margin: 10px 0;
    }
    
    nav a {
        display: block;
        padding: 15px;
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    main {
        margin-top: 80px;
    }
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
   background-color: #003366;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
section .active, .accordion:hover {
  background-color: #eee;
  color: #444;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}