/* ==========================================================================
   1. BASE LAYOUT & TILING BACKGROUND FIX
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {
    background-image: url("assets/greenstripedbg.jpg");
    background-repeat: repeat !important;
    background-attachment: scroll;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   2. STICKY NAVIGATION BAR (White Layout with Hover Fix)
   ========================================================================== */
.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    color: #024148;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.15rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #024148;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 12px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #5FF3D6;
    background-color: rgba(2, 65, 72, 0.05);
    border-radius: 4px;
}

/* Dropdown Menu Mechanics */
.dropdown {
    position: relative;
    padding-bottom: 10px; 
    margin-bottom: -10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 5px 0;
}

.dropdown-content a {
    color: #024148;
    padding: 10px 15px;
    display: block;
    text-align: left;
    margin: 0;
}

.dropdown-content a:hover {
    background-color: rgba(2, 65, 72, 0.05);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ==========================================================================
   3. 100% WIDESCREEN HERO CONTROLS (Isolated from Content Container)
   ========================================================================== */
.widescreen-hero {
    width: 100vw; /* Takes up full screen width viewport edge-to-edge */
    max-height: 600px;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-img-fluid {
    width: 100%;
    height: 600px;
    object-fit: cover; /* Centers the cherubs beautifully without squeezing them */
    display: block;
}

/* ==========================================================================
   4. MAIN CONTENT CARDS & THE TEAL BOXES
   ========================================================================== */
.main-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.teal-card {
    background-color: #024148;
    border: 1px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 969px; 
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
}

.text-section {
    padding: 40px 20px;
    max-width: 750px; 
}

/* ==========================================================================
   5. TYPOGRAPHY & LINKS
   ========================================================================== */
h1 {
    font-size: 2.2rem;
    padding: 15px 15px 30px 15px; 
    font-weight: normal;
}

h2 {
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: normal;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card-body {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.sub-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-info {
    margin: 30px 0;
}

.phone-link {
    color: #ffffff;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    width: 369px;
    margin: 30px auto;
}

a {
    color: #5FF3D6;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

.highlight-link {
    color: #5FF3D6;
    text-decoration: none;
    line-height: 1.5;
    display: inline-block;
    margin-top: 15px;
}

.action-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #024148 !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background-color: #5FF3D6;
    opacity: 1;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.8rem;
    line-height: 1.8;
    background-color: rgba(2, 65, 72, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer a {
    color: #ffffff;
}

/* ==========================================================================
   7. MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .widescreen-hero {
        max-height: 320px;
    }

    .hero-img-fluid {
        height: 320px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .divider {
        width: 80%;
    }
}






/* ==========================================================================
   8. WORD DOCUMENT CONVERTED DIAGRAM ALIGNMENT FIX
   ========================================================================== */
.word-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 30px auto;
}

/* Forces top row text labels, indicators, and labels to stay centered */
.word-content .top-label, 
.word-content [style*="position: absolute"] {
    position: static !important; /* Strips Word's broken absolute positioning grid */
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Straightens the downward-pointing indicator lines or connector arrows */
.word-content img[src*="line"], 
.word-content img[src*="arrow"],
.word-content svg {
    display: block !important;
    margin: 15px auto !important; /* Safely aligns the illustration lines dead-center */
    max-width: 100% !important;
    height: auto !important;
}

/* Aligns bottom row target lists and groupings together horizontally */
.word-content .bottom-targets,
.word-content table {
    margin: 20px auto !important;
    width: auto !important;
    max-width: 100% !important;
    border-collapse: collapse;
}

/* Ensures text stays grouped together cleanly without rows collapsing */
.word-content td, 
.word-content th {
    text-align: center !important;
    padding: 10px 15px !important;
    vertical-align: middle !important;
}



