/* -------------------------------------------------------------
 * Elitefreights - Custom Styling Framework
 * Navy/Gold Branding & Premium Logistics Aesthetic
 * ------------------------------------------------------------- */

:root {
    --primary: #0A4C8C;       /* Ocean Blue */
    --primary-dark: #0B172C;  /* Deep Navy */
    --accent: #DAA863;        /* Amber Gold */
    --success: #0E9C8F;       /* Teal */
    --warning: #D9A441;       /* Amber */
    --danger: #F5365C;        /* Red */
    --text-color: #334155;    /* Slate */
    --text-light: #64748B;
    --background: #F7F9FC;    /* Off-white */
    --surface: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Sticky Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
}

/* Header States */
.site-header.is-home {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.is-home .nav-link,
.site-header.is-home .logo-wordmark,
.site-header.is-home .mobile-toggle {
    color: #ffffff;
}

.site-header.is-home.scrolled,
.site-header.is-solid {
    background-color: var(--primary-dark);
    padding: 0.85rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.is-home.scrolled .nav-link,
.site-header.is-home.scrolled .logo-wordmark,
.site-header.is-home.scrolled .mobile-toggle,
.site-header.is-solid .nav-link,
.site-header.is-solid .logo-wordmark,
.site-header.is-solid .mobile-toggle {
    color: #ffffff;
}

/* Header Container */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-between;
}

.logo-container {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 65px;
    width: auto;
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-wordmark span {
    color: var(--accent);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Nav Item Underline Hover Effect */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-item-button::after {
    display: none !important;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item.has-dropdown::after {
    display: none;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--surface);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(11, 23, 44, 0.15);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1050;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    height: 25px;
    background-color: transparent;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(22px);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none !important;
}

.dropdown-item:hover {
    background-color: rgba(10, 76, 140, 0.05);
    color: var(--primary);
    text-decoration: none !important;
}

/* CTA Button Styling */
.nav-cta {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(10, 76, 140, 0.25);
    transition: var(--transition);
    text-decoration: none !important;
}

.nav-cta:hover {
    background-color: transparent;
    color: var(--accent) !important;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(218, 168, 99, 0.2);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.nav-cta::after {
    display: none !important;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.25rem;
    z-index: 1001;
    margin-left: auto;
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--primary-dark);
    z-index: 1002;
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: flex-between;
}

.drawer-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-link {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.mobile-accordion-content.open {
    max-height: 200px;
    padding: 0.75rem 1rem;
}

.mobile-dropdown-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.mobile-dropdown-link:hover {
    color: var(--accent);
}

.mobile-nav-cta {
    background-color: var(--primary);
    color: #ffffff !important;
    text-align: center;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(10, 76, 140, 0.3);
    margin-top: 1rem;
}

/* Backdrop Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 5rem 0 0;
    margin-top: auto;
    font-size: 0.92rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-about-text {
    line-height: 1.7;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(218, 168, 99, 0.3);
}

/* Footer Navigation Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--accent);
    transition: var(--transition);
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-link:hover::before {
    padding-left: 2px;
}

/* Footer Contact Info */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-icon {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-text {
    line-height: 1.5;
}

.contact-text a:hover {
    color: #ffffff;
}

/* Bottom Bar */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.bottom-links {
    display: flex;
    gap: 1.5rem;
}

.bottom-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bottom-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .mobile-drawer {
        width: 100%;
    }
    .logo-wordmark {
        font-size: 1.25rem;
    }
}

/* -------------------------------------------------------------
 * 2. Homepage Hero Slider
 * Mixed sequence image & video carousel
 * ------------------------------------------------------------- */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Combined Gradient & Dark overlays */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 23, 44, 0.65) 0%, rgba(11, 23, 44, 0.2) 40%, rgba(11, 23, 44, 0.6) 100%),
                rgba(11, 23, 44, 0.35);
    z-index: 2;
}

.hero-slide img,
.hero-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Ken Burns effect for image slides only */
@keyframes kenburns {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.1); }
}

.hero-slide.active img {
    animation: kenburns 10s ease-out forwards;
}

/* Slide Text/CTA Content */
.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 1.5rem;
    max-width: 920px;
    width: 100%;
    margin-top: 2rem; /* space below navbar */
}

.slide-heading {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.slide-subheading {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.slide-cta {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(10, 76, 140, 0.4);
    transition: var(--transition);
}

.slide-cta:hover {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent) !important;
    box-shadow: 0 5px 20px rgba(218, 168, 99, 0.3);
    transform: translateY(-2px);
}

/* Slide Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 8rem; /* lift above overlap tab block */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--accent);
    width: 26px;
    border-radius: 5px;
}


/* -------------------------------------------------------------
 * 3. Quote Request / Tracking Shipment Tabs Section
 * Negative margin overlay section
 * ------------------------------------------------------------- */
.features-tabs-section {
    position: relative;
    margin-top: -6rem; /* overlaps onto hero slider */
    z-index: 30;
    padding-bottom: 6rem;
}

.tabs-card {
    background-color: var(--surface);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(11, 23, 44, 0.08);
    border: 1px solid rgba(11, 23, 44, 0.05);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

/* Pill Toggle Switcher */
.tab-toggle-container {
    display: flex;
    background-color: #F1F5F9;
    padding: 0.35rem;
    border-radius: 50px;
    width: max-content;
    margin: 2.5rem auto 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tab-toggle-btn {
    border: none;
    background: none;
    padding: 0.8rem 2.25rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-toggle-btn.active {
    background-color: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(11, 23, 44, 0.2);
}

/* Tab Panels */
.tab-panel {
    display: none;
    padding: 2.5rem 3.5rem;
}

.tab-panel.active {
    display: block;
}

/* Public Quote Service Type Select Option Pills */
.service-pills-container {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.service-pill {
    border: 2px solid #E2E8F0;
    background-color: #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.service-pill.active {
    border-color: var(--primary);
    background-color: rgba(10, 76, 140, 0.05);
    color: var(--primary);
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-label span {
    color: var(--danger);
}

.form-control {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 76, 140, 0.15);
}

.form-control.is-invalid {
    border-color: var(--danger);
    background-color: rgba(245, 54, 92, 0.02);
}

.form-error {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 0.35rem;
}

/* Submit Actions */
.submit-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(10, 76, 140, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(11, 23, 44, 0.25);
}

/* Benefit bullet checklist */
.benefit-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.benefit-item i {
    color: var(--success);
    font-size: 1rem;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .slide-heading {
        font-size: 3rem;
    }
    .slide-subheading {
        font-size: 1.15rem;
    }
    .slider-dots {
        bottom: 7rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 85vh;
    }
    .slide-heading {
        font-size: 2.25rem;
    }
    .slide-subheading {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .features-tabs-section {
        margin-top: -4rem;
        padding-bottom: 4rem;
    }
    .tab-panel {
        padding: 2rem 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .slider-dots {
        bottom: 5.5rem;
    }
}

/* Responsive Stepper Tracker & Timeline */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}
.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-align: center;
    position: relative;
}
.stepper-line {
    flex: 1;
    height: 4px;
    margin-top: -20px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    z-index: 1;
    transition: background-color 0.3s ease;
}

@media (max-width: 576px) {
    .stepper-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0 !important;
        padding-left: 10px;
    }
    .stepper-step {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 15px;
        width: 100%;
        z-index: 2;
        padding: 5px 0;
    }
    .stepper-step span {
        margin-top: 0 !important;
    }
    .stepper-line {
        width: 4px;
        height: 30px;
        min-height: 30px;
        flex: none;
        margin: -5px 0 -5px 17px !important;
        z-index: 1;
    }
    
    /* Mobile Status Card stack */
    .status-header-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .status-right-block {
        text-align: left !important;
        width: 100%;
    }
}

/* =============================================================
 * 4. Services Grid Section
 * ============================================================= */
.services-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(11, 23, 44, 0.04);
    border: 1px solid rgba(11, 23, 44, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 23, 44, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

/* Service colors dynamic styling */
.service-card:nth-child(1) .service-icon-badge { background-color: rgba(10, 76, 140, 0.1); color: var(--primary); }
.service-card:nth-child(2) .service-icon-badge { background-color: rgba(218, 168, 99, 0.1); color: var(--accent); }
.service-card:nth-child(3) .service-icon-badge { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.service-card:nth-child(4) .service-icon-badge { background-color: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.service-card:hover .service-icon-badge {
    transform: scale(1.08);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.service-card-link {
    font-weight: 700;
    color: var(--primary) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    transition: var(--transition);
}

.service-card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-card-link:hover {
    color: var(--primary-dark) !important;
}

.service-card-link:hover i {
    transform: translateX(4px);
}

/* =============================================================
 * 5. Stats Strip Section
 * ============================================================= */
.stats-strip-section {
    background-color: var(--primary-dark);
    padding: 5rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================================
 * 6. Testimonials Carousel Section
 * ============================================================= */
.testimonials-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
}

.testimonial-inner {
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(11, 23, 44, 0.03);
    box-shadow: 0 10px 30px rgba(11, 23, 44, 0.02);
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 4rem;
    color: rgba(10, 76, 140, 0.04);
}

.testimonial-stars {
    color: #FBBF24;
    margin-bottom: 1.5rem;
}

.testimonial-quote-text {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-meta-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.15rem;
}

.testimonial-meta-role {
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* =============================================================
 * 7. CTA Banner Section
 * ============================================================= */
.cta-banner-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.cta-banner-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0c1c38 100%);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(11, 23, 44, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-banner-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 168, 99, 0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: none !important;
}

.cta-banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.cta-banner-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.cta-btn-primary {
    background-color: var(--accent);
    color: #ffffff !important;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: var(--transition);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 15px rgba(218, 168, 99, 0.35);
}

.cta-btn-primary:hover {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background-color: transparent;
    color: #ffffff !important;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-dark) !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .services-section, .testimonials-section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .testimonial-inner {
        padding: 2rem 1.5rem;
    }
    .cta-banner-card {
        padding: 3rem 1.5rem;
    }
    .cta-banner-title {
        font-size: 1.75rem;
    }
}

/* =============================================================
 * 8. Inner Page Headers
 * ============================================================= */
.inner-page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0c1c38 100%);
    padding: 5.5rem 0 4.5rem;
    color: #ffffff !important;
    text-align: center;
    border-bottom: 3px solid var(--accent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner-page-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    text-shadow: none !important;
}

.inner-page-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================
 * 9. Rich Text Editor Output Styling (CKEditor)
 * ============================================================= */
blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 4px solid var(--accent);
    background-color: #f8fafc;
    color: var(--primary-dark);
    font-style: italic;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.editor-content blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 4px solid var(--accent);
    background-color: #f8fafc;
    color: var(--primary-dark);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.editor-content ul {
    list-style-type: disc !important;
    padding-left: 2rem !important;
    margin-bottom: 1.25rem !important;
}

.editor-content ol {
    list-style-type: decimal !important;
    padding-left: 2rem !important;
    margin-bottom: 1.25rem !important;
}

.editor-content li {
    margin-bottom: 0.5rem !important;
}



