/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --navy: #0B2D4D;
    --cyan: #19A7B5;
    --orange: #F03E2F;
    --lime: #B6D64A;
    --light-bg: #F9F9F9;
    --text-dark: #222222;
    --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background: var(--light-bg); line-height: 1.6; }
h1, h2, h3, .display-font { font-family: 'Bebas Neue', cursive; letter-spacing: 1px; text-transform: uppercase; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }

/* Header & Navigation */
.site-header { position: absolute; top: 0; width: 100%; z-index: 100; color: var(--white); padding: 1rem 5%; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); }
.top-utility { display: flex; justify-content: flex-end; gap: 1.5rem; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.main-nav { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { font-size: 2rem; margin: 0; line-height: 1; }
.logo span { font-size: 1rem; font-family: 'Open Sans', sans-serif; font-weight: 400; letter-spacing: 0; }
.nav-links { display: flex; gap: 2rem; align-items: center; font-weight: 600; }
.btn-outline { border: 2px solid var(--white); padding: 0.5rem 1.5rem; border-radius: 4px; border-radius: 50px; background: var(--white); color: var(--text-dark); font-weight: 700; display: flex; gap: 0.5rem; align-items: center; }

/* Update these specific classes in assets/css/style.css */

.hero { 
    height: 90vh; 
    position: relative; 
    display: flex; 
    align-items: center; 
    padding: 0 5%; 
    overflow: hidden; /* Ensures the video doesn't break out of the section */
    background-color: var(--navy); /* Fallback while video loads */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1; /* Keeps video at the very back */
    object-fit: cover;
}

.hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 50%; 
    height: 100%; 
    background: linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0.4), transparent); 
    z-index: 2; /* Places the gradient above the video */
    pointer-events: none;
}

/* Ensure the search panel stays on top */
.search-panel { 
    position: relative; 
    z-index: 10; /* Above both video and gradient */
    background: var(--white); 
    padding: 3rem; 
    border-radius: 20px; 
    width: 100%; 
    max-width: 450px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    margin-top: 5rem; 
}
/* ==========================================================================
   Featured Services Slider Section
   ========================================================================== */
.featured-slider-section {
    position: relative;
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    overflow: hidden;
}

/* Background Crossfade System */
.slider-backgrounds {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.slider-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slider-bg.active { opacity: 1; }

.slider-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Matches the dark reference overlay */
    z-index: 2;
}

/* Central Floating Panel */
.slider-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
}

.slider-card {
    background: var(--white);
    border-radius: 20px;
    display: none; 
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: fadeInSlide 0.6s ease forwards;
}

.slider-card.active { display: grid; }

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card Content Styling */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.service-label {
    background: #D5DFE5; /* Light blue/grey tag */
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.giant-title {
    font-size: 5rem;
    line-height: 0.9;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.desc-text {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.desc-text a {
    color: #8C6A8B; /* Matching the purple hyperlink in reference */
    text-decoration: underline;
}

/* Card Image Right Side */
.card-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Circular Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.prev-btn { left: 4%; }
.next-btn { right: 4%; }

/* Responsive Adaptations */
@media (max-width: 992px) {
    .slider-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }
    .giant-title { font-size: 3.5rem; }
    .card-image { height: 300px; }
    .slider-btn { display: none; /* Hide arrows on small devices */ }
}

/* Promotional Cards */
.promo-section { position: relative; z-index: 20; padding: 0 5%; margin-top: -80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.promo-card { background: var(--white); border-radius: 15px; padding: 2.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.promo-card.highlight { background: var(--orange); color: var(--white); }
.promo-tag { font-size: 0.75rem; font-weight: 700; padding: 5px 10px; background: #E8F0EA; color: #4A7A54; display: inline-block; margin-bottom: 1rem; border-radius: 4px; text-transform: uppercase; }
.promo-card.highlight .promo-tag { background: rgba(255,255,255,0.2); color: var(--white); }
.promo-card h3 { font-family: 'Open Sans', sans-serif; font-size: 1.3rem; font-weight: 700; text-transform: none; margin-bottom: 1rem; }

/* Floating Widget */
.floating-chat { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-bubble { background: var(--white); padding: 15px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); font-size: 0.9rem; max-width: 250px; }
.chat-btn { width: 60px; height: 60px; background: #F8B179; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); cursor: pointer; }

@media (max-width: 992px) {
    .nav-links { display: none; }
    .promo-section { grid-template-columns: 1fr; margin-top: 2rem; }
    .hero::before { width: 100%; }
}
/* ==========================================================================
   "My Next Steps" Section
   ========================================================================== */

.next-steps-section {
    background-color: #F4EBE0; /* Cream background from reference */
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

/* Massive Decorative Background Typography */
.bg-text-wrapper {
    position: absolute;
    top: 2rem;
    left: 5%;
    z-index: 1;
    pointer-events: none;
}

.giant-bg-text {
    font-size: 15vw;
    line-height: 0.85;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.03);
}

/* Asymmetrical CSS Grid */
.next-steps-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card Base Styles */
.step-card {
    position: relative;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Grid Spanning Rules */
.card-wide {
    grid-column: span 2;
}
.card-tall {
    grid-column: span 1;
}

/* Card Typography & Icons */
.step-card h3 {
    font-size: 3rem;
    line-height: 0.9;
    margin: 0;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.step-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Subject Images */
.step-img {
    position: absolute;
    bottom: 0;
    right: -5%;
    height: 95%; /* Adjust based on your actual PNG crops */
    width: auto;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.5s ease;
}

.step-card:hover .step-img {
    transform: scale(1.05);
}

/* Specific Card Colors mimicking the reference */
.card-orange { background: linear-gradient(135deg, #F2A33A, #E88E24); }
.card-navy { background: linear-gradient(135deg, #0F3D61, #0A2942); }
.card-teal { background: linear-gradient(135deg, #00A695, #008779); }
.card-lime { background: linear-gradient(135deg, #BDE038, #A3C42F); }
.card-pink { background: linear-gradient(135deg, #E81A90, #C7147A); }
.card-lightblue { background: linear-gradient(135deg, #32BBE0, #289BBA); }

/* Action Buttons */
.next-steps-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.btn-solid-navy {
    background-color: var(--navy);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
}

.btn-outline-dark {
    border: 1px solid #CCC;
    background-color: transparent;
    color: var(--navy);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
}

.btn-solid-navy:hover { background-color: #061A2D; color: var(--white); }
.btn-outline-dark:hover { background-color: rgba(0,0,0,0.05); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    /* Tablet: 2 column layout */
    .next-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .giant-bg-text { font-size: 20vw; top: 1rem; }
}

@media (max-width: 768px) {
    /* Mobile: Stack everything */
    .next-steps-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
    .card-wide, .card-tall { grid-column: span 1; }
    .step-img { height: 85%; right: -10%; } /* Prevent image blocking text on small screens */
    .next-steps-actions { flex-direction: column; }
    .btn-solid-navy, .btn-outline-dark { text-align: center; }
}
/* ==========================================================================
   Events Section
   ========================================================================== */
.events-section {
    background-color: #F4EBE0; /* Matching the cream background */
    padding: 6rem 5%;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title-giant {
    font-size: 6rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 3rem;
}

/* Filter Buttons */
.event-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid #D1C5B4;
    color: var(--navy);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--navy);
}

.filter-btn.active {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: var(--white);
}

/* Event Cards */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Card Columns */
.event-logo-col {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
}

.event-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.event-logo-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy);
}

.event-info-col {
    flex: 1 1 40%;
}

.event-title {
    font-size: 1.35rem;
    color: var(--navy);
    line-height: 1.3;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.event-location-col {
    flex: 1 1 25%;
}

.event-location {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.event-actions-col {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

/* Date Pills & Buttons */
.event-date-pill {
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    width: 100%;
    text-align: center;
}

.date-purple { background-color: #E2D9EA; }
.date-pink { background-color: #F8D1E3; }
.date-blue { background-color: #D3EAF2; }

.event-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.btn-outline-grey {
    flex: 1;
    border: 1px solid #CCC;
    background: transparent;
    color: var(--navy);
    padding: 0.6rem;
    text-align: center;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-outline-grey:hover {
    border-color: var(--navy);
}

.btn-solid-navy-small {
    flex: 1;
    background: var(--navy);
    color: var(--white);
    padding: 0.6rem;
    text-align: center;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-solid-navy-small:hover {
    background: #061A2D;
    color: var(--white);
}

.events-footer-action {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .event-logo-col, .event-info-col, .event-location-col, .event-actions-col {
        flex: auto;
        width: 100%;
    }
    .event-actions-col {
        align-items: flex-start;
    }
    .event-date-pill {
        width: auto;
    }
    .event-buttons {
        width: auto;
    }
}
/* ==========================================================================
   Footer Section - Alignment Fix
   ========================================================================== */

.site-footer {
    background-color: #05263A;
    color: var(--white);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Top Social / Contact Bar */
.footer-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.social-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0 1.5rem 10%; /* Indents social section to match content grid */
}

.social-label {
    font-weight: 700;
    font-size: 1.05rem;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
}

.social-icons a {
    color: var(--white);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 1;
}

.contact-cta {
    background-color: #DDF2F4;
    color: var(--navy);
    padding: 1.5rem 3.5rem;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Footer Content Container */
.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 900px; /* Constrains column width to match reference */
}

.footer-col h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-col p {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: #CBD5DF;
    line-height: 1.5;
}

.footer-col a {
    color: #CBD5DF;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Map Links */
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white) !important;
    margin-top: 0.5rem;
}

/* Footer Bottom Bar (Single Row Fix) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.legal-links {
    display: flex;
    flex-wrap: nowrap; /* Prevents text wrapping to a second line */
    gap: 1.75rem;
    white-space: nowrap;
}

.legal-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}
/* ==========================================================================
   Accreditations Strip - Centered Two-Row Layout
   ========================================================================== */

.accreditations-strip {
    background-color: #fff; /* Cream background matching overall theme */
    padding: 3rem 2rem;
    width: 100%;
}

.accreditations-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.accreditation-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 2.5rem;
    width: 100%;
}

.accreditation-row img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.accreditation-row img:hover {
    transform: scale(1.04);
}

/* Fallback box style when images are missing */
.acc-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 42px;
    padding: 0 1rem;
    border: 1px dashed #C8C2B7;
    background-color: #FFFFFF;
    color: #555555;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
}