:root {
    --bg-main: #FFFDF5;        /* Warm Honey Cream */
    --nav-bg: #005F6B;         /* Forest Teal */
    --nav-text: #FFFFFF;
    --nav-hover: #FFD700;      /* Bright Gold */
    --box-bg: #E3F2FD;         /* Soft Sky Blue */
    --box-hover: #FFEDD5;      /* Warm Peach/Orange on hover */
    --accent-gold: #C5A02B;    /* Professional Gold */
    --text-primary: #1A3636;   /* Deep Moss Green */
    --footer-bg: #003F47;      /* Dark Teal */
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    border-bottom: 4px solid var(--accent-gold);
}

/* Gold Highlight for Active Page */
nav ul li a.active, 
.footer-col a.active {
    color: var(--accent-gold) !important;
    font-weight: 800;
}
.resources-section-badge {
    align-self: center;
    background-color: rgba(0, 95, 107, 0.08);
    color: #005F6B;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid rgba(0, 95, 107, 0.15);
}

.logo-box, .footer-logo-box {
    border: 3px solid var(--accent-gold);
    padding: 5px;
    border-radius: 8px;
    background: white; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-logo { 
    width: 130px; 
    display: block;
}

.company-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-gold);
    text-align: center;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--nav-bg);
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-gold);
    transform: scale(1.2);
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    height: 500px; 
    background-color: #f4f4f4; 
}

.mySlides {
    display: none;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--accent-gold);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Navigation Bar */
nav {
    background-color: var(--nav-bg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--accent-gold);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--nav-text);
    padding: 18px 20px;
    display: block;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--nav-hover);
    padding-top: 15px;
}

/* Main Section */
.main-container {
    padding: 60px 40px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.info-box {
    background-color: var(--box-bg);
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid var(--accent-gold);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-box:hover {
    background-color: var(--box-hover);
    transform: translateY(-10px);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 50px 0 50px;
    border-top: 6px solid var(--accent-gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--nav-hover);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-col a {
    color: #E0E0E0;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--nav-hover);
    padding-left: 8px;
}

.gold-separator {
    border-top: 5px solid var(--accent-gold);
    padding: 25px;
    text-align: center;
    background: #002D35;
    font-weight: bold;
    color: var(--nav-hover);
    line-height: 1.6;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 28px;
    padding: 15px;
    cursor: pointer;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .slideshow-container { height: 350px; }
    header { flex-direction: column; padding: 15px 20px; }
    .company-name { font-size: 20px; margin: 10px 0; }
    .menu-toggle { display: block; width: 100%; background-color: var(--nav-bg); text-align: right; }
    nav ul { display: none; flex-direction: column; width: 100%; }
    nav ul.active { display: flex; }
    nav ul li { width: 100%; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-col { display: flex; flex-direction: column; align-items: center; }
    .footer-logo-box { margin: 0 auto 15px auto; }
}

/* ==========================================================================
   HOME PAGE LAYOUT & COMPONENTS
   ========================================================================== */

/* --- 1. Global Section Containers (Hook Box Removed From Here To Isolate It) --- */
.home-hero-box, .credentials-box, .brand-hero-box, .info-box {
    border: 2px solid var(--accent-gold);
    border-radius: 15px;
    background-color: white;
    margin-bottom: 40px;
    padding: 40px;
    transition: all 0.4s ease;
}

/* --- 2. Fancy Hook Font --- */
#typing-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2.0rem !important; /* Slightly optimized text size */
    color: var(--nav-bg);
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

/* --- 3. Finalized Image Standards --- */
.rounded-img {
    border-radius: 15px !important;
    width: 100%;
    height: 100%; /* Forces image to fill its flex container height */
    object-fit: cover; /* Prevents distortion */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
    border: 4px solid var(--accent-gold);
}


/* ==========================================================================
   4. HOOK / WELCOME BANNER (NARROWED TO 75% WITH MATCHING SIDE PADDINGS)
   ========================================================================== */
.hook-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 0 20px 0;
    box-sizing: border-box;
    background-color: var(--bg-main);
}

/* This targets either class or element structure to apply the 75% footprint cleanly */
.hook-wrapper, .hook-box {
    width: 75%; /* Forces the wrapper to only cover 75% of screen width */
    max-width: 1050px;
    background-color: white;
    border: 3px solid var(--accent-gold);
    border-radius: 16px;
    padding: 35px 40px; /* Comfortable inner breathing space */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 95, 107, 0.05);
    margin: 0 auto 40px auto; /* Centers the box with clear bottom separation margins */
    box-sizing: border-box;
}

.hook-wrapper h2, .hook-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--nav-bg);
    font-size: 2.0rem; /* Scaled down slightly for refined corporate footprint */
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.hook-wrapper p, .hook-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem; /* Slightly reduced font size for a cleaner look */
    line-height: 1.65;
    color: var(--text-primary);
    margin: 0;
}


/* ==========================================================================
   5. PREMIUM SERVICE CARD GRID (4 COLUMNS X 2 ROWS WITH PADDING)
   ========================================================================== */
.button-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Enforces exactly 4 cards in every row */
    gap: 24px; /* Crisp gap distance between individual tiles */
    padding: 40px 6%; /* Side paddings to align nicely with the elements above */
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Card Container Base */
.service-btn-card {
    display: flex;
    flex-direction: column; /* Forces vertical stacking: Image on top, text underneath */
    align-items: center;
    justify-content: flex-start;
    background-color: var(--nav-bg); /* Signature Teal */
    border: 3px solid var(--accent-gold);
    border-radius: 14px;
    padding: 20px 15px; /* Compact padding allocation inside the cards */
    text-decoration: none !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                background-color 0.3s ease, 
                box-shadow 0.4s ease;
}

/* Premium Gold-Bordered Image Frame */
.service-card-image-frame {
    width: 100%;
    aspect-ratio: 16 / 10; /* Clean landscape orientation preview */
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px; /* Clear breathing room above the title text */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.3s ease;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Label Typography positioned below the image frame */
.service-card-title {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF !important;
    font-size: 1.02rem; /* Scaled down for balanced card proportions */
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    text-align: center;
    transition: color 0.3s ease;
}

/* Synchronized Hover Effect (Enlarges Card and Card Image) */
.service-btn-card:hover {
    transform: translateY(-8px) scale(1.03); /* Scales up the card container */
    background-color: var(--box-bg) !important; /* Soft Sky Blue background transformation */
    box-shadow: 0 15px 25px rgba(0, 95, 107, 0.2);
}

.service-btn-card:hover .service-card-image-frame {
    transform: scale(1.02); /* Slight independent inner image pop */
    border-color: var(--nav-bg); /* Shifts image frame boundary to deep teal */
}

.service-btn-card:hover .service-card-title {
    color: var(--nav-bg) !important; /* High-contrast teal text over sky blue canvas */
}


/* ==========================================================================
   6. EXPERIENCE SECTION (CONTAINED 50/50 SPLIT)
   ========================================================================== */
.experience-split {
    display: flex;
    align-items: stretch; /* Keeps teal box and image at identical height */
    gap: 40px; 
    padding: 60px 6%; /* Matches lateral padding of grid for uniform visual rhythm */
    background-color: var(--bg-main);
    width: 100%;
    max-width: 1400px; /* Prevents the section from becoming too wide on ultra-wide screens */
    margin: 40px auto; /* Centers the contained section on the page */
    box-sizing: border-box; /* Ensures padding doesn't add to width */
}

.experience-text-box, .experience-image {
    flex: 1 1 0; /* Forces exact 50% split */
    min-width: 0; 
}

.experience-text-container {
    height: 100%; /* Matches the height of the flex-stretched image */
    padding: 45px;
    border: 3px solid var(--accent-gold);
    border-radius: 15px;
    background-color: var(--nav-bg);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.experience-text-container:hover {
    background-color: #004d57;
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 95, 107, 0.3);
}

.experience-text-container h2 {
    color: var(--accent-gold) !important;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.experience-text-container p {
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 0;
}

.experience-image {
    flex: 1; /* Sets to exactly 50% width */
    display: flex;
}

.experience-image img {
    width: 100%;
    height: 100%; /* Forces image to match the height of the teal box */
    object-fit: cover; /* Ensures image looks good while filling the space */
    border: 4px solid var(--accent-gold);
    border-radius: 15px;
}


/* ==========================================================================
   7. RESPONSIVE LAYER OVERRIDES
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .hook-wrapper, .hook-box {
        width: 88%; /* Adjust text panels slightly on tablets for balance */
    }
    .button-service-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2x4 matrix layout for tablets */
        padding: 20px 4%;
    }
    .experience-split {
        padding: 40px 4%;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .hook-wrapper, .hook-box {
        width: 92%;
        padding: 30px 20px;
    }
    .hook-wrapper h2, .hook-box h2 {
        font-size: 1.75rem;
    }
    .button-service-grid { 
        grid-template-columns: 1fr; /* Stacks vertically into 1 column on mobile */
        padding: 10px 4%;
        gap: 18px;
    }
    .experience-split { 
        flex-direction: column; 
        text-align: center; 
        padding: 20px 4%;
    }
    .experience-text-container h2 {
        font-size: 1.75rem;
    }
}
/* About us Page Styulke*/
/* ==========================================================================
   DEDICATED ISOLATED ABOUT-PAGE CSS (No shared class interference)
   ========================================================================== */

.about-page-master-box {
    width: 100%;
    padding: 60px 0; 
    box-sizing: border-box;
    min-height: 85vh; 
    display: flex;
    flex-direction: column;
    gap: 80px;
    background-color: #FFFDF5; 
}

/* Isolated Founder Section layout */
.about-page-story-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0 8%;
    gap: 50px;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Unique Box Container matched to the Commitment to Families Box */
.about-story-card {
    flex: 1;                                 /* Decreased from 1.2 to 1 for elegant layout balancing */
    background-color: #005F6B;               /* Matched Brand Forest Teal */
    border: 3px solid #C5A02B;               /* Premium thick gold frame */
    border-radius: 16px;
    padding: 45px;                           
    box-shadow: 0 10px 30px rgba(0, 95, 107, 0.15); 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-page-badge {
    align-self: flex-start;
    background-color: rgba(197, 160, 43, 0.2);
    color: #FFD700;                          /* Brighter gold text for dark background contrast */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(197, 160, 43, 0.4);
}

.about-story-card h2 {
    font-family: 'Playfair Display', serif;
    color: #C5A02B !important;               /* Elegant Gold Title */
    font-size: 2.3rem;
    margin: 0 0 20px 0;
    line-height: 1.25;
}

.about-story-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #FFFFFF;                          /* High-contrast crisp white body text */
    margin: 0;
    text-align: justify;
    opacity: 0.95;
}

/* Image framing container expanded to balance proportions */
.about-page-img-frame {
    flex: 1;                                 /* Increased from 0.8 to 1 to award image more space */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.about-page-premium-photo {
    width: 100%;
    height: auto;
    max-width: 580px;                        /* Increased upper limits slightly for crisp visibility */
    border: 3px solid #C5A02B;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
    object-fit: contain;                     /* Explicit guarantee against any unwanted cropping behavior */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-page-premium-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   PILLARS MATRIX GRID (Mission, Vision, Values Distinct Colors)
   ========================================================================== */
.about-page-pillars-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0 8%;
    box-sizing: border-box;
}

.about-page-pillar-card {
    border: 2px solid rgba(0, 95, 107, 0.1);
    border-radius: 14px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Distinct Color Schemes for Each Card Box */
.about-page-pillar-card.mission-card {
    background-color: #EBF5F6;               /* Light Ice Teal */
    border-bottom: 5px solid #005F6B;
}

.about-page-pillar-card.vision-card {
    background-color: #F4F9F4;               /* Soft Sage Mint */
    border-bottom: 5px solid #2E7D32;
}

.about-page-pillar-card.values-card {
    background-color: #FAF4E8;               /* Warm Honey Alabaster */
    border-bottom: 5px solid #C5A02B;
}

/* Unified Hover Transition Effect */
.about-page-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 95, 107, 0.12);
    background-color: #FFFFFF !important;    
    border-color: rgba(197, 160, 43, 0.3);
}

.about-page-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: rgba(0, 95, 107, 0.08);
    color: #005F6B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: all 0.35s ease;
}

.about-page-pillar-card:hover .about-page-icon-box {
    background-color: #C5A02B;
    color: white;
    transform: rotate(360deg);
}

.about-page-pillar-card h3 {
    font-family: 'Playfair Display', serif;
    color: #005F6B;
    font-size: 1.45rem;
    margin: 0 0 14px 0;
}

.about-page-pillar-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #1A3636;
    margin: 0;
}

/* Isolated Wide Bottom Board Layout */
.about-page-commitment-board {
    width: 100%;
    padding: 0 8%;
    box-sizing: border-box;
}

.about-page-commitment-inner {
    width: 100%;
    background-color: #005F6B;
    border: 3px solid #C5A02B;
    border-radius: 16px;
    padding: 50px 60px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 95, 107, 0.15);
    box-sizing: border-box;
}

.about-page-commitment-inner h2 {
    font-family: 'Playfair Display', serif;
    color: #C5A02B !important;
    font-size: 2rem;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.about-page-accent-line {
    width: 80px;
    height: 3px;
    background-color: #C5A02B;
    margin: 0 auto 25px auto;
    border-radius: 2px;
}

.about-page-commitment-inner p {
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    opacity: 0.95;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .about-page-master-box { gap: 60px; }
    .about-page-story-layout { gap: 35px; padding: 0 5%; }
    .about-story-card { padding: 35px; }
    .about-story-card h2 { font-size: 1.95rem; }
    .about-page-pillars-deck { padding: 0 5%; gap: 20px; }
    .about-page-pillar-card { padding: 30px 20px; }
    .about-page-commitment-inner { padding: 40px; }
}

@media screen and (max-width: 850px) {
    .about-page-story-layout { flex-direction: column-reverse; gap: 30px; }
    .about-page-img-frame { width: 100%; }
    .about-page-premium-photo { max-width: 100%; }
    .about-page-pillars-deck { grid-template-columns: 1fr; gap: 25px; }
    .about-page-pillar-card { max-width: 550px; margin: 0 auto; width: 100%; }
}

@media screen and (max-width: 600px) {
    .about-page-master-box { padding: 40px 0; gap: 50px; }
    .about-story-card h2 { font-size: 1.65rem; }
    .about-story-card p { font-size: 0.98rem; }
    .about-page-commitment-inner { padding: 35px 20px; }
    .about-page-commitment-inner h2 { font-size: 1.55rem; }
    .about-page-commitment-inner p { font-size: 0.98rem; text-align: justify; }
}
/* additon for the services layout*/
/* ==========================================================================
   GLOBAL STRUCTURE AND EXPANDED VERTICAL PADDING FIXES
   ========================================================================== */

/* 1. Services Page Main Display Container */
.services-container {
    width: 100%;
    
    /* MASSIVE VERTICAL PADDING: Eradicates header/navigation and footer congestion */
    padding: 60px 0 !important; 
    box-sizing: border-box;
    
    /* ENHANCED HEIGHT FOOTPRINT: Pushes the footer down aggressively */
    min-height: 85vh; 
    
    display: flex;
    align-items: center; /* Vertically centers the services-layout panel neatly */
}

/* 2. About Us Page Main Display Container */
.main-container {
    /* MASSIVE VERTICAL PADDING: Gives the main content expansive breathing room */
    padding: 60px 0 !important;
    width: 100%;
    box-sizing: border-box;
    
    /* ENHANCED HEIGHT FOOTPRINT: Guarantees a deep canvas footprint on tall monitors */
    min-height: 85vh;
}

/* 3. About Us Story Layout Adjustments */
.story-layout {
    display: flex;
    align-items: center; 
    gap: 10%; 
    padding: 0 10% !important; /* Strips old vertical padding conflicts */
    margin-top: 0 !important;   /* Relies elegantly on the master container padding */
    margin-bottom: 120px !important; /* Generous gap before hitting the Pillars section */
    width: 100%;
    box-sizing: border-box;
}
/* Services Page*/
//* ==========================================================================
   1. SERVICES MASTER CONTAINER & SIDEBAR LAYOUT
   ========================================================================== */
.services-container {
    width: 100%;
    /* Tightened vertical padding to guarantee 100% view fit without scrolling */
    padding: 60px 0; 
    box-sizing: border-box;
    min-height: 80vh; 
    display: flex;
    align-items: center; 
}

.services-layout {
    display: flex;
    flex-direction: row;       /* Sidebar on left, content panel on right */
    align-items: stretch;      /* Stretches sidebar and panel to equal vertical heights */
    width: 100%;
    padding: 0 4%;              /* Wider horizontal canvas profile */
    gap: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   2. VERTICAL SIDEBAR TABS (Left-Aligned Layout Stack)
   ========================================================================== */
.services-tabs {
    flex: 0 0 260px;           
    width: 260px;
    display: flex;
    flex-direction: column;    
    justify-content: flex-start; 
    gap: 12px;                 /* Snug button distribution */
    padding: 10px 30px 10px 0; 
    box-sizing: border-box;
}

/* Base style for tabs when NOT pressed */
.tab-btn {
    width: 100%;               
    background-color: #eaf4f2; 
    color: #005F6B;            
    border: 1px solid rgba(0, 95, 107, 0.15);
    border-radius: 8px;
    padding: 12px 16px;        /* Snug padding heights */
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;       
    text-align: left;          /* Clean left-aligned list formatting */
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover effect for unselected tabs */
.tab-btn:hover {
    background-color: #d1e6e2; 
    color: #005F6B;
    border-color: #C5A02B;     
    transform: translateX(4px); /* Premium horizontal alignment slide nudge */
    box-shadow: 0 4px 10px rgba(0, 95, 107, 0.08);
}

/* Strict Active Pressed State in Gold Accent */
.tab-btn.active {
    background-color: #C5A02B !important; 
    color: #005F6B !important;            
    border: 1px solid #C5A02B;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(197, 160, 43, 0.25);
    transform: translateX(4px);
}

/* ==========================================================================
   3. VERTICAL GREEN SEPARATION LINE
   ========================================================================== */
.vertical-divider {
    flex: 0 0 2px;
    width: 2px;                
    background: linear-gradient(to bottom, transparent, #005F6B 10%, #005F6B 90%, transparent);
    margin: 0;
}

/* ==========================================================================
   4. DISPLAY PANEL AREA (Right Side Layout)
   ========================================================================== */
.services-display-panel {
    flex: 1;                   
    padding-left: 40px;        
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Hide inactive panels */
.service-content-wrapper {
    display: none;
    width: 100%;
}

.service-content-wrapper.active {
    display: block;
}

/* ==========================================================================
   5. SIDE-BY-SIDE HORIZONTAL SPLIT GRID (NO OVERFLOW FIX)
   ========================================================================== */
.horizontal-split-container {
    display: flex;
    flex-direction: row;       /* FIXED: Image on left, text box on right side-by-side */
    align-items: stretch;      /* Equal height distribution for both cards */
    gap: 30px;                 
    width: 100%;
    animation: fadeInService 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    box-sizing: border-box;
}

/* Image Container Frame */
.service-image-box {
    flex: 0 0 45%;             /* Dynamic width profile balancing horizontal plane */
    border: 3px solid #C5A02B; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    height: auto;
    display: flex;             
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.service-image-box img {
    width: 100%;
    height: 100%;              
    object-fit: cover;         /* Crisp geometric fill fitting card bounding dimensions perfectly */
    display: block;
    margin: 0;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Elegant Side-Car Text Box Design */
.service-text-box {
    flex: 1;                   /* Dynamically absorbs all remaining horizontal plane space */
    padding: 30px;
    border: 3px solid #C5A02B; 
    border-radius: 15px;
    background-color: #005F6B; 
    color: white;
    box-shadow: 0 8px 20px rgba(0, 95, 107, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Perfectly centers text strings vertically inside container */
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.service-text-box h2 {
    color: #C5A02B !important; 
    font-size: 1.6rem;
    margin: 5px 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-text-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    opacity: 0.95;
}

.meta-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #C5A02B; 
    letter-spacing: 0.5px;
}

/* ==========================================================================
   6. DYNAMIC INTERACTIVE HOVER ACTIONS
   ========================================================================== */
.service-content-wrapper:hover .service-image-box {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.service-content-wrapper:hover .service-image-box img {
    transform: scale(1.02);    
}

.service-content-wrapper:hover .service-text-box {
    background-color: #004d57; 
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 95, 107, 0.2);
}

@keyframes fadeInService {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   7. RESPONSIVE SCALING ADAPTATIONS (Mobile / Tablet Media Queries)
   ========================================================================== */
@media screen and (max-width: 1200px) {
    .services-layout {
        padding: 0 3%;
    }
    .services-tabs {
        flex: 0 0 220px;      
        width: 220px;
        padding-right: 15px;
    }
    .tab-btn {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    .service-text-box {
        padding: 25px;
    }
    .service-text-box h2 {
        font-size: 1.4rem;
    }
    .service-text-box p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 992px) {
    .services-container {
        padding: 40px 0;
    }
    .services-layout {
        flex-direction: column; 
        align-items: center;
        gap: 30px;
        padding: 0 4%;
    }
    .services-tabs {
        flex: none;
        width: 100%;
        padding: 0;
        flex-direction: row;   
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .tab-btn {
        width: auto;
        white-space: normal;   
        min-width: 150px;
        text-align: center;
        transform: none !important;
    }
    .vertical-divider {
        width: 50%;            
        height: 2px;
        margin: 5px 0;
    }
    .services-display-panel {
        padding-left: 0;
        width: 100%;
    }
    .horizontal-split-container {
        flex-direction: column; /* Safely falls back to a clean vertical stack on tablet/mobile screens */
        align-items: center;
        gap: 25px;
    }
    .service-image-box {
        width: 100%;
        max-width: 600px;
        height: 300px;
    }
    .service-text-box {
        width: 100%;
        max-width: 600px;
    }
}

@media screen and (max-width: 768px) {
    .services-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px;
        padding: 0;
    }
    .tab-btn {
        min-width: 0;
        padding: 10px 8px;
        font-size: 0.82rem;
    }
    .service-image-box {
        height: 220px;
    }
    .service-text-box {
        padding: 20px;
    }
    .service-text-box h2 {
        font-size: 1.25rem;
    }
    .service-text-box p {
        font-size: 0.9rem;
    }
}
/- Funding and Admin Page*/
/* ==========================================================================
   1. MASTER STRUCTURE & VERTICAL BREATHING SPACE
   ========================================================================== */
.funding-admin-container {
    width: 100%;
    padding: 60px 0; 
    box-sizing: border-box;
    min-height: 85vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Master Layout Content Stack */
.funding-admin-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 8%;
    gap: 90px; /* Deep spacing separating the block sections */
    box-sizing: border-box;
}

/* Section Dynamic Header Placement block */
.section-gold-header {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.section-gold-header h2 {
    font-family: 'Playfair Display', serif;
	color: #005F6B; /* Core Brand Forest Teal */
   /*color: #C5A02B !important; /* Premium Brand Gold */
    font-size: 3.0rem;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   2. HORIZONTAL SPLIT ROW DESIGN (Text Left, Image Right)
   ========================================================================== */
.funding-row {
    display: flex;
    flex-direction: row;
    align-items: center; /* Aligns text box and image box along their horizontal center lines */
    width: 100%;
    gap: 0;
    box-sizing: border-box;
}

/* Left-Side Content Column Wrapper */
.funding-text-pane {
    flex: 1;
    padding-right: 50px; /* Clear space block before hitting the vertical line */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* Right-Side Graphic Column Wrapper */
.funding-image-pane {
    flex: 1;
    padding-left: 50px; /* Clear space block right after the vertical line */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* ==========================================================================
   3. INTERNAL COMPONENTS, FRAMES & HEADINGS (NO BULLETS)
   ========================================================================== */
/* Vertical Green Separator Divider Line */
.row-vertical-line {
    flex: 0 0 3px;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #005F6B 15%, #005F6B 85%, transparent);
    margin: 0;
    align-self: stretch; /* Keeps line running full height between content panes */
}

/* Elegant Premium Text Box Container */
.funding-text-box {
    width: 100%;
    max-width: 680px;
    padding: 45px;
    border: 3px solid #C5A02B; /* Gold border */
    border-radius: 15px;
    background-color: #005F6B; /* Forest Teal background */
    color: white;
    box-shadow: 0 8px 20px rgba(0, 95, 107, 0.1);
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Centered main card box headings */
.funding-text-box h3.box-main-title {
    color: #C5A02B !important; 
    font-size: 1.7rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center; /* Centered alignment rule */
}

/* Main Tagline Sentence Style */
.highlight-p {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: #FFFDF5;
    border-left: 3px solid #C5A02B;
    padding-left: 15px;
}

/* Content wrapper holding sequential heading/paragraph groups */
.funding-content-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.funding-block-node {
    width: 100%;
}

/* Clean Gold Heading Subtitles with no LI variables or list factors */
.funding-block-node h4 {
    color: #C5A02B !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
}

/* Paragraph Content falling cleanly beneath headings */
.funding-block-node p {
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    text-align: justify;
    opacity: 0.95;
}

/* MODIFIED: Tight-wrap box frame with no background and no empty padding */
.funding-image-frame {
    border: 3px solid #C5A02B; /* Gold border */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 680px;
    background-color: transparent; /* MODIFIED: Background cleared out */
    display: block; /* Allows container to frame image scale tightly */
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* MODIFIED: Clean corner-to-corner image flow with zero margins */
.funding-image-frame img {
    width: 100%;
    height: auto; /* MODIFIED: Maintains ratio without forcing letterboxing spaces */
    display: block;
    margin: 0;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   4. DYNAMIC HOVER AND SCROLL REVEAL TIMINGS
   ========================================================================== */
.funding-row-wrapper:hover .funding-image-frame {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.funding-row-wrapper:hover .funding-image-frame img {
    transform: scale(1.02); 
}

.funding-row-wrapper:hover .funding-text-box {
    background-color: #004d57; /* Deepens background into rich dark teal */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 95, 107, 0.22);
}

/* Scroll Reveal States */
.funding-row-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.funding-row-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. RESPONSIVE SCREEN BREAKPOINTS (Tablet & Mobile Fallbacks)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .funding-admin-container {
        padding: 80px 0;
    }
    .section-gold-header {
        margin-bottom: 15px;
    }
    .section-gold-header h2 {
        font-size: 1.9rem;
    }
    .funding-row {
        flex-direction: column !important; /* Adapts cleanly into a single vertical stack */
        align-items: center;
        gap: 30px;
    }
    .funding-text-pane, .funding-image-pane {
        padding: 0 !important;
        width: 100%;
    }
    .funding-text-box, .funding-image-frame {
        max-width: 100%;
    }
    .row-vertical-line {
        width: 50%; /* Converts into horizontal divider line */
        height: 3px;
        flex: none;
        margin: 5px 0;
    }
}

@media screen and (max-width: 576px) {
    .funding-text-box {
        padding: 30px 24px;
    }
    .funding-text-box h3.box-main-title {
        font-size: 1.4rem;
    }
    .highlight-p {
        font-size: 1.02rem;
    }
    .funding-block-node h4 {
        font-size: 1.1rem;
    }
    .funding-block-node p {
        font-size: 0.95rem;
    }
}
/* Careers Page*/

/* ==========================================================================
           CAREERS PORTAL SECTION LAYOUT & MAIN STRUCTURAL CONTAINERS
           ========================================================================== */
        .careers-page-container {
            width: 100%;
            padding: 90px 0;
            box-sizing: border-box;
            background-color: #FFFDF5; /* Exact match to the page beige canvas background */
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .careers-central-frame {
            width: 100%;
            max-width: 1000px;
            padding: 0 5%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            gap: 45px;
        }

        /* ==========================================================================
           TITLE PORTAL HEADER - ALL-AROUND GOLD BORDER & BEIGE BACKGROUND MATCH
           ========================================================================== */
        .careers-portal-header {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #FFFDF5; /* Beige color match */
            border: 3px solid #C5A02B; /* Gold border from all sides */
            border-radius: 16px;
            padding: 45px 35px;
            box-shadow: 0 8px 24px rgba(197, 160, 43, 0.08);
            box-sizing: border-box;
        }

        .careers-gold-badge {
            display: inline-block;
            background-color: rgba(0, 95, 107, 0.08);
            color: #005F6B;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            padding: 6px 16px;
            border-radius: 20px;
            margin-bottom: 16px;
            border: 1px solid rgba(0, 95, 107, 0.15);
        }

        .careers-portal-header h2 {
            font-family: 'Playfair Display', serif;
            color: #005F6B;
            font-size: 2.8rem;
            margin: 0 0 16px 0;
            line-height: 1.2;
        }

        .careers-portal-header p {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.05rem;
            line-height: 1.7;
            color: #2C4A4A;
            max-width: 780px;
            margin: 0 auto;
        }

        /* ==========================================================================
           PREMIUM CAREERS FORM FRAMEWORK
           ========================================================================== */
        .premium-careers-form {
            width: 100%;
            background-color: #005F6B; /* High-prestige solid Forest Teal base */
            border: 4px solid #C5A02B; /* Luxury weighted gold frame */
            border-radius: 20px;
            padding: 55px 50px;
            box-shadow: 0 15px 45px rgba(0, 95, 107, 0.22);
            box-sizing: border-box;
            position: relative;
        }

        .form-layout-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            column-gap: 35px;
            row-gap: 28px;
            width: 100%;
        }

        .form-field-wrapper {
            display: flex;
            flex-direction: column;
            gap: 8px;
            position: relative;
        }

        .form-field-wrapper.full-width-span {
            grid-column: span 2;
        }

        .form-field-wrapper label {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            color: #C5A02B; /* Premium Gold Labels */
            letter-spacing: 0.5px;
        }

        .required-star {
            color: #FFD700;
            margin-left: 2px;
        }

        /* ==========================================================================
           HIGH-CONTRAST WHITE CONTENT FIELDS FOR USER INPUT CONTRAST
           ========================================================================== */
        .form-field-wrapper input[type="text"],
        .form-field-wrapper select {
            width: 100%;
            height: 52px;
            background-color: #FFFFFF !important; /* Pure high-contrast white input field backgrounds */
            border: 2px solid #C5A02B; /* Luxury gold input perimeter alignment */
            border-radius: 8px;
            padding: 0 18px;
            color: #1A3636 !important; /* Deep charcoal readable text values */
            font-size: 1rem;
            font-family: 'Montserrat', sans-serif;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }

        .form-field-wrapper input[type="text"]:focus,
        .form-field-wrapper select:focus {
            outline: none;
            background-color: #FFFFFF !important;
            border-color: #FFD700;
            box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
        }

        .form-field-wrapper input[type="text"]::placeholder {
            color: #7A8F8F;
            opacity: 1;
        }

        /* Custom options select wrapper architecture */
        .fancy-select-facade {
            position: relative;
            width: 100%;
        }

        .fancy-select-facade select {
            appearance: none;
            -webkit-appearance: none;
            padding-right: 45px;
            cursor: pointer;
        }

        .custom-select-arrow {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #C5A02B;
            font-size: 0.9rem;
            pointer-events: none;
        }

      /* ==========================================================================
   INTERNATIONAL WIDGET TELEPHONE PHONE STYLING OVERRIDES
   ========================================================================== */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti input[type="tel"] {
    width: 100% !important;
    height: 52px !important;
    background-color: #FFFFFF !important; /* High-contrast white user background */
    border: 2px solid #C5A02B !important;
    border-radius: 8px !important;
    color: #1A3636 !important;
    font-size: 1rem !important;
    font-family: 'Montserrat', sans-serif !important;
    box-sizing: border-box !important;
    
    /* Crucial Spacing Realignment: Keeps numbers from starting inside the country code zone */
    padding-left: 95px !important; 
    padding-right: 18px !important;
    transition: all 0.3s ease;
}

.iti input[type="tel"]:focus {
    outline: none !important;
    border-color: #FFD700 !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35) !important;
}

/* Force show the dropdown arrow indicator and apply matching brand colors */
.iti__arrow {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-top: 5px solid #C5A02B !important; /* Gold arrow styling */
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    margin-left: 6px !important;
}

/* Hover effect on arrow indicator */
.iti__country-container:hover .iti__arrow {
    border-top-color: #FFD700 !important;
}

/* Center flag display block and dial code text elements */
.iti__selected-flag {
    background-color: transparent !important;
    padding: 0 10px 0 14px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.iti__selected-dial-code {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    color: #1A3636 !important;
    font-weight: 500 !important;
    margin-left: 5px !important;
}

.iti__country-list {
    background-color: #FFFFFF !important;
    border: 2px solid #C5A02B !important;
    border-radius: 8px !important;
    max-width: 400px !important;
    z-index: 9999 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.iti__country {
    padding: 10px 14px !important;
    color: #1A3636 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.92rem !important;
}

.iti__country.iti__highlight {
    background-color: #005F6B !important;
    color: #FFD700 !important;
}
/* ==========================================================================
   TARGET CAREER SELECTION LIST COLOUR OVERRIDES
   ========================================================================== */

/* Styles the collapsed select field state and matches inputs */
#targetCareerTier {
    background-color: #FFFFFF !important; /* Pure white background when closed for high contrast */
    color: #1A3636 !important;            /* Deep Moss Green readable text */
    border: 2px solid #C5A02B !important; /* Accent Gold frame boundary */
}

/* Styles the placeholder / first option value */
#targetCareerTier option[value=""] {
    color: #7A8F8F !important;            /* Soft muted teal-gray for placeholder */
}

/* Styles the dropdown grouping categories when expanded to brand Warm Beige */
#targetCareerTier optgroup {
    background-color: #FFFDF5 !important; /* Exact match brand warm honey cream beige */
    color: #005F6B !important;            /* Forest Teal for the category header titles */
    font-weight: 700 !important;
    font-style: italic;
    padding: 8px 4px !important;
}

/* Styles individual selectable choice rows when expanded to brand Warm Beige */
#targetCareerTier option {
    background-color: #FFFDF5 !important; /* Exact match brand warm honey cream beige background */
    color: #1A3636 !important;            /* Crisp deep moss green option typography */
    font-weight: 500 !important;
    font-style: normal;
    padding: 10px 12px !important;
}

/* Restores consistent visual alignment on focus bounds */
#targetCareerTier:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35) !important;
}

        /* ==========================================================================
           HIGH CONTRAST PURE WHITE RESUME INTAKE DROPZONE CONTAINER
           ========================================================================== */
        .premium-dropzone-area {
            position: relative;
            width: 100%;
            min-height: 160px;
            border: 2px dashed #C5A02B; /* Gold alignment dash border */
            background-color: #FFFFFF !important; /* Forced crisp white background color for visual contrast */
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 30px;
            box-sizing: border-box;
            text-align: center;
            transition: all 0.3s ease;
        }

        .premium-dropzone-area:hover {
            border-color: #FFD700;
            box-shadow: 0 0 15px rgba(197, 160, 43, 0.15);
        }

        .premium-dropzone-area input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 5;
        }

        .dropzone-prompt-payload {
            display: flex;
            flex-direction: column;
            align-items: center;
            pointer-events: none;
            z-index: 2;
        }

        .upload-icon-animation {
            font-size: 2.5rem;
            color: #C5A02B; /* Forest teal and gold visual mapping adjustments */
            margin-bottom: 12px;
            transition: transform 0.3s ease;
        }

        .premium-dropzone-area:hover .upload-icon-animation {
            transform: translateY(-4px);
            color: #005F6B;
        }

        .dropzone-prompt-payload h4 {
            font-size: 1.1rem;
            color: #005F6B; /* Changed from white to deep teal for dynamic visibility on white box background */
            margin: 0 0 6px 0;
            font-weight: 600;
        }

        .dropzone-prompt-payload p {
            font-size: 0.88rem;
            color: #2C4A4A; /* Contrast enhancement matching */
            margin: 0 0 15px 0;
        }

        .fancy-upload-button-surrogate {
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            background-color: rgba(0, 95, 107, 0.06);
            color: #005F6B;
            padding: 8px 20px;
            border: 1px solid #005F6B;
            border-radius: 6px;
        }

        .dropzone-preview-payload {
            display: none;
            width: 100%;
            max-width: 550px;
            background-color: #FFFDF5;
            border: 2px solid #C5A02B;
            border-radius: 8px;
            padding: 16px 20px;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
            box-sizing: border-box;
        }

        .file-representation-badge {
            display: flex;
            align-items: center;
            gap: 16px;
            text-align: left;
        }

        .document-badge-icon {
            font-size: 2.2rem;
        }

        .file-meta-strings h5 {
            font-size: 1rem;
            color: #1A3636;
            margin: 0 0 3px 0;
            font-weight: 600;
            word-break: break-all;
        }

        .file-meta-strings p {
            font-size: 0.82rem;
            color: #556677;
            margin: 0;
        }

        .remove-file-action-btn {
            background-color: rgba(244, 67, 54, 0.1);
            border: 1px solid rgba(244, 67, 54, 0.4);
            color: #D32F2F;
            font-size: 0.82rem;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .remove-file-action-btn:hover {
            background-color: #D32F2F;
            color: #FFFFFF;
            border-color: #D32F2F;
        }

        /* ==========================================================================
           FORM ALIGNED STYLING SYSTEM FOR SUBMIT COMPONENT SUB-TRAY
           ========================================================================== */
        .form-submission-footer-tray {
            grid-column: span 2;
            margin-top: 25px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            background: transparent !important;
            padding: 0;
            border: none;
        }

        .premium-action-submit-btn {
            width: 100%;
            max-width: 440px;
            height: 56px;
            background-color: #C5A02B;
            border: none;
            border-radius: 8px;
            color: #005F6B;
            font-size: 1.05rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-family: 'Montserrat', sans-serif;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .premium-action-submit-btn:hover {
            transform: translateY(-3px);
            background-color: #FFD700;
            box-shadow: 0 12px 28px rgba(255, 215, 0, 0.35);
            color: #003F47;
        }

        .premium-action-submit-btn:active {
            transform: translateY(-1px);
            background-color: #A3821A;
            box-shadow: 0 4px 12px rgba(163, 130, 26, 0.4);
            color: #FFFFFF;
        }

        .premium-action-submit-btn .btn-processing-text { display: none; }
        .premium-action-submit-btn.transmission-processing .btn-idle-text { display: none; }
        .premium-action-submit-btn.transmission-processing .btn-processing-text { display: block; pointer-events: none; }

        /* ==========================================================================
           SUCCESS BACKDROP MODAL POPUP TIERS
           ========================================================================== */
        .confirmation-modal-overlay-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 63, 71, 0.85);
            z-index: 99999;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .confirmation-modal-overlay-backdrop.modal-display-active {
            opacity: 1;
            pointer-events: auto;
        }

        .premium-modal-card-window {
            background-color: #005F6B;
            border: 3px solid #C5A02B;
            border-radius: 16px;
            padding: 45px 40px;
            width: 100%;
            max-width: 580px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
            text-align: center;
            box-sizing: border-box;
            transform: scale(0.85);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .confirmation-modal-overlay-backdrop.modal-display-active .premium-modal-card-window {
            transform: scale(1);
        }

        .modal-prestige-crown-icon {
            font-size: 3.5rem;
            color: #FFD700;
            margin-bottom: 20px;
        }

        .shine-pulse-effect {
            animation: pulseGlow 2s infinite ease-in-out;
        }

        @keyframes pulseGlow {
            0% { transform: scale(1); opacity: 0.9; }
            50% { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 0 12px rgba(255,215,0,0.4)); }
            100% { transform: scale(1); opacity: 0.9; }
        }

        .premium-modal-card-window h3 {
            font-family: 'Playfair Display', serif;
            color: #C5A02B;
            font-size: 1.85rem;
            margin: 0 0 15px 0;
        }

        .modal-separator-gold-line {
            width: 60px;
            height: 3px;
            background-color: #C5A02B;
            margin: 0 auto 25px auto;
            border-radius: 2px;
        }

        .premium-modal-card-window p {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.02rem;
            line-height: 1.6;
            color: #FFFFFF;
            margin: 0 0 14px 0;
        }

        .premium-modal-card-window p.modal-secondary-narrative {
            font-size: 0.92rem;
            color: #E2F0F2;
            opacity: 0.85;
            margin-bottom: 30px;
        }

        .modal-dismiss-premium-btn {
            width: auto;
            min-width: 200px;
            height: 48px;
            background-color: #C5A02B;
            border: none;
            border-radius: 6px;
            color: #005F6B;
            font-size: 0.9rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-family: 'Montserrat', sans-serif;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transition: all 0.25s ease;
        }

        .modal-dismiss-premium-btn:hover {
            background-color: #FFD700;
            transform: translateY(-2px);
        }

        /* Fluid Media Breakpoint System */
        @media screen and (max-width: 850px) {
            .premium-careers-form { padding: 40px 30px; }
            .form-layout-grid { grid-template-columns: 1fr; row-gap: 22px; }
            .form-field-wrapper.full-width-span,
            .form-submission-footer-tray { grid-column: span 1; }
            .careers-portal-header h2 { font-size: 2.1rem; }
        }
 /* ==========================================================================
   GLOBAL COOKIE CONSENT BANNER STYLING
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: -200px; /* Hidden entirely below viewport framework initially */
    left: 0;
    width: 100%;
    background-color: var(--nav-bg); /* Elegant Forest Teal Canvas */
    color: var(--nav-text); /* Crisp White Text */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999; /* Higher priority than all other layout modules */
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Ultra smooth slide transition */
}

.cookie-consent-banner.cookie-banner-active {
    bottom: 0; /* Slides smoothly upward into active sightline position */
}

.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--nav-hover); /* Vibrant Accent Bright Gold */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-text a:hover {
    color: #FFFFFF;
}

.cookie-action-btn {
    background-color: var(--accent-gold); /* Professional Matte Gold */
    color: var(--nav-bg); /* Teal Contrast Typography */
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.cookie-action-btn:hover {
    background-color: var(--nav-hover); /* Bright Gold on hover interaction */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive Adaptive Viewports for Mobile Devices */
@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .cookie-action-btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsive adjust for mobile screens */
@media screen and (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .cookie-action-btn {
        width: 100%;
    }
}
	