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

/* Enable smooth scrolling globally */
html {
    scroll-behavior: smooth;
}

/* Offset scroll position so sticky header doesn't cover section titles */
.main-section {
    scroll-margin-top: 100px;
}

/* Header Base Setup */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Top Line: Black & slightly transparent */
.top_line {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 6px 20px;
}

.top_line img {
    width: 18px;
    height: 18px;
    display: block;
}

.top_line a {
    color: #e3e3e3;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: sans-serif;
}

/* Bottom Line Layout */
.bottom_line {
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 60px;
}

/* Square Photo Container */
.logo-container {
    width: 44px;
    height: 44px;
    margin-right: 15px;
    flex-shrink: 0;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* H1 Title */
.bottom_line h1 {
    color: #ffffff;
    font-size: 1.4rem;
    font-family: sans-serif;
    white-space: nowrap;
}

/* Nav Buttons Wrapper: Aligned to the bottom of bottom_line */
.nav-buttons {
    margin-left: auto;
    display: flex;
    align-items: flex-end; /* Locks navigation links to the bottom edge */
    height: 100%;
}

/* Navigation Links (replacing <button>) */
.nav-buttons .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #002244;             /* Dark blue text */
    text-decoration: none;      /* Removes default link underline */
    border: none;
    border-radius: 0;           /* Strictly rectangular */
    padding: 0 20px;
    height: 38px;               /* Default height */
    font-weight: bold;
    font-size: 0.95rem;
    font-family: sans-serif;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover State: Extends longer towards the top while remaining stuck to bottom */
.nav-buttons .nav-btn:hover {
    background-color: #002244; /* Dark blue background on hover */
    color: #ffffff;            /* White text */
    height: 52px;              /* Extends upwards */
}
/* Main Layout Rules */
main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    background-color: #f4f4f4; /* Light background behind section cards */
    font-family: sans-serif;
}

/* Individual Section Card Container */
.main-section {
    background-color: #002244; /* Dark Blue background */
    color: #ffffff;            /* White text */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    border-radius: 8px;
    gap: 40px;
}

/* Alternate flex direction for visual balance (About section image on left) */
.about-section {
    flex-direction: row-reverse;
}

/* Text Content Container */
.content-box {
    flex: 1;
    background-color: #002244;
}

.content-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.content-box h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
    color: #ffffff;
}

.content-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ffffff;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* List Styling */
.highlights ul {
    list-style-type: disc;
    padding-left: 20px;
}

.highlights li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #ffffff;
}

/* CTA Buttons Container & Styling */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: #ffffff;
    color: #002244;
}

.btn-primary:hover {
    background-color: #383838;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #002244;
}

/* Image Wrapper and Image Fitting */
.image-box {
    flex: 1;
    max-width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-box img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .main-section, .about-section {
        flex-direction: column;
        padding: 20px;
    }

    .image-box {
        max-width: 100%;
        width: 100%;
    }
}


/* Base Section Styling (Matching Dark Blue Container) */
.grid-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #002244; /* Dark Blue */
    color: #ffffff;
    padding: 40px 20px;
    border-radius: 8px;
}

/* Centered Headlines */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    font-size: 1.05rem;
    line-height: 1.6;
   
    color: #e0e0e0;
    font-size: x-large;
}

/* 4-Column Layout Container */
.cards-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin-top: 15px;
}

/* White Card Boxes */
.info-card {
    background-color: #ffffff;
    color: #333333; /* Dark readable text inside white cards */
    flex: 1; /* Distributes all 4 cards equally side-by-side */
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Card Titles */
.info-card h3 {
    text-align: center;
    color: #002244; /* Dark blue title */
    font-size: 1.2rem;
    margin-bottom: 15px;
    min-height: 2.8em; /* Aligns title height across all cards */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Image Box (For Section 3) */
.card-image-box {
    width: 100%;
    height: 160px; /* Fixed height for rectangular images */
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Formats wide/long images cleanly */
    display: block;
}

/* Bulleted List Styling inside Cards */
.info-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.info-card li {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #222222;
}
/* Base card styling (ensures smooth transition) */
.info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform; /* Enhances animation performance */
}

/* Hover effect */
.info-card:hover {
    transform: scale(1.05) translateY(-5px); /* Makes card 5% larger and lifts it up 5px */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* Adds a deeper drop shadow on hover */
    z-index: 10; /* Ensures the zoomed card sits above neighboring cards */
}
/* Intro Wrapper (Text + Image Side by Side) */
.intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 25px;
}

/* Intro Text Adjustment */
.intro-container .section-intro {
    flex: 1;
    text-align: left; /* Left align text so it pairs well with the side image */
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 0;
}

/* Image Wrapper Next to Paragraph */
.intro-image-box {
    flex: 1;
    max-width: 450px;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.intro-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .intro-container {
        flex-direction: column;
        gap: 15px;
    }

    .intro-container .section-intro {
        text-align: center;
    }

    .intro-image-box {
        max-width: 100%;
        width: 100%;
        height: 180px;
    }
}

/* Responsive Stack for Mobile Screens */
@media (max-width: 992px) {
    .cards-container {
        flex-direction: column;
    }

    .info-card h3 {
        min-height: auto;
    }
}
/* Footer Container Setup */
footer {
    background-color: rgba(0, 0, 0, 0.95); /* Deep dark background */
    color: #ffffff;
    font-family: sans-serif;
    padding-top: 40px;
    margin-top: 30px;
    border-top: 3px solid #002244;
    scroll-margin-top: 100px;
}

/* 4-Column Flex Layout */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px 20px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

/* Footer Typography */
.footer-col h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-col h4 {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-bottom: 2px solid #002244;
    padding-bottom: 5px;
    display: inline-block;
}

.footer-col p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* Footer Links Styling */
.footer-col a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #4da6ff;
    text-decoration: underline;
}

/* Bottom Copyright Bar */
.footer-bottom {
    background-color: #000000;
    text-align: center;
    padding: 15px 20px;
    border-top: 1px solid #222222;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive adjust for mobile screens */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 25px;
    }
}

/* =========================================================
   ADD-ON: MOBILE HAMBURGER MENU & PHONE RESPONSIVENESS
   ========================================================= */

/* Hamburger Button Styling */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Overrides (768px and smaller) */
@media (max-width: 768px) {
    .bottom_line {
        position: relative;
    }

    .bottom_line h1 {
        font-size: 1.1rem;
    }

    /* Show hamburger icon */
    .hamburger-menu {
        display: flex;
    }

    /* Hide desktop nav buttons and convert to dropdown */
    .nav-buttons {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: stretch;
        height: auto;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
        border-top: 1px solid #333333;
    }

    /* Shown when hamburger icon is clicked */
    .nav-buttons.active {
        display: flex;
    }

    .nav-buttons .nav-btn {
        width: 100%;
        height: 48px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }

    /* Disable extension hover effect on phone screens */
    .nav-buttons .nav-btn:hover {
        height: 48px;
        background-color: #002244;
    }

    /* General layout adjustments for small screens */
    main {
        padding: 20px 10px;
        gap: 20px;
    }

    .main-section, .about-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .content-box h2 {
        font-size: 1.5rem;
    }

    .image-box {
        max-width: 100%;
        width: 100%;
    }

    .cards-container {
        flex-direction: column;
    }

    .info-card h3 {
        min-height: auto;
    }

    /* Disable zoom on tap/hover for mobile stability */
    .info-card:hover {
        transform: none;
    }
}
