/* ============================================================
   Digitalepoli.nl - Site CSS
   Brand primary: #0488cd / Secondary: #4aa0cd
   ============================================================ */

:root {
    --brand-primary: #0488cd;
    --brand-secondary: #4aa0cd;
    --brand-dark: #036a9e;
    --top-bar-bg: #1c1c1c;
    --footer-bg: #2c2c2c;
    --footer-text: #a1a1a1;
    --section-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --text-color: #444;
    --heading-color: #333;
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; height: 100%; }

body {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#main { flex: 1; }

body.fonts-loaded {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 400;
    line-height: 1.3;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
}
a:hover { color: var(--brand-dark); text-decoration: underline; }

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

p { margin-bottom: 1rem; }

/* ============================================================
   Header — Top Bar
   ============================================================ */
#header { position: relative; z-index: 1000; }

.top-bar {
    background-color: var(--top-bar-bg);
    padding: 8px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-bar-contact a:hover { color: #fff; }
.top-bar-contact .fa { color: var(--brand-secondary); font-size: 13px; }

.top-bar-social a {
    color: #4CAF50;
    font-size: 22px;
    text-decoration: none;
}
.top-bar-social a:hover { color: #45a049; }

/* ============================================================
   Header — Main Header
   ============================================================ */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.main-header .container { padding: 0 15px; }

/* Logo */
.site-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary) !important;
    letter-spacing: 1px;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}
.site-logo span {
    color: var(--brand-secondary);
}
.site-logo:hover { color: var(--brand-dark) !important; }

/* Navbar */
.navbar { padding: 0; min-height: 64px; align-items: stretch; }

/* Desktop: stretch nav items to full header height so border-bottom is flush */
@media (min-width: 992px) {
    .navbar-collapse {
        align-self: stretch;
        display: flex !important;
        align-items: stretch;
    }
    .navbar-nav { align-items: stretch; }
    .navbar-nav .nav-item { display: flex; align-items: stretch; }
    .navbar-nav .nav-item.d-flex { align-items: center; }
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color) !important;
    padding: 0 13px !important;
    display: flex;
    align-items: center;
    align-self: stretch;
    text-transform: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--brand-primary) !important;
    border-bottom-color: var(--brand-primary);
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:focus-visible { outline: none; box-shadow: none; }

.btn-login {
    background-color: var(--brand-primary);
    color: #fff !important;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 4px;
    white-space: nowrap;
}
.btn-login:hover {
    background-color: var(--brand-primary-dark, #0056b3);
    color: #fff !important;
    text-decoration: none;
}

/* Split nav: link navigeert, caret opent dropdown */
.nav-item.dropdown {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

@media (min-width: 992px) {
    .nav-item.dropdown .nav-link {
        padding-right: 4px !important;
    }
    /* Hover: toon dropdown */
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    /* Bootstrap schakelt Popper.js uit in navbars en valt terug op top:0.
       Zet expliciet top:100% zodat het menu onder het nav-item verschijnt. */
    .navbar-nav .dropdown-menu {
        top: calc(100% - 3px);
        margin-top: 0;
    }
}

.nav-caret {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0 10px 0 4px;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    align-self: stretch;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    transition: color 0.2s, border-color 0.2s;
}
.nav-caret:focus,
.nav-caret:focus-visible { outline: none; box-shadow: none; }

.nav-item.dropdown:hover .nav-caret,
.nav-item.active .nav-caret {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

@media (max-width: 991px) {
    .nav-item.dropdown {
        border-bottom: 1px solid var(--border-color);
    }
    .nav-item.dropdown .nav-link {
        flex: 1;
        border-bottom: none !important;
        padding-right: 8px !important;
    }
    .nav-caret {
        padding: 10px 15px;
        align-self: auto;
        border-bottom: none;
        border-left: 1px solid var(--border-color);
    }
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--brand-primary);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 200px;
}

.dropdown-item {
    font-size: 13px;
    padding: 8px 20px;
    color: var(--text-color);
}
.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--brand-primary);
    color: #fff;
}

/* Mobile toggle */
.navbar-toggler {
    border: none;
    padding: 8px;
    color: var(--heading-color);
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
    .navbar-nav .nav-link { padding: 10px 15px !important; align-self: auto; border-bottom: 1px solid var(--border-color); }
    .btn-login { padding: 8px 20px; display: block; margin: 10px 5px; }
    .nav-item.dropdown .dropdown-menu {
        position: static !important;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: none;
        padding: 4px 0;
        margin: 0;
        min-width: 0;
    }
}

/* ============================================================
   Page Title Section
   ============================================================ */
.page-title-section {
    background-color: var(--section-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-title-section h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 400;
    color: var(--heading-color);
}

/* ============================================================
   Hero Carousel
   ============================================================ */
.hero-carousel-section {
    position: relative;
}

/* Each carousel slide */
.hero-slide {
    background-size: cover;
    background-position: center;
    height: 420px;
    position: relative;
}

/* Colour overlay (slide 1 only) */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(160, 205, 230, 0.65);
    z-index: 0;
}

/* Content wrapper inside each slide */
.hero-slide-content {
    display: flex;
    align-items: center;
    height: 420px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}


/* Carousel indicators — small branded dots */
#heroCarousel .carousel-indicators {
    margin-bottom: 12px;
}
#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #0488cd;
    background-color: transparent;
    opacity: 0.7;
    transition: all 0.3s;
}
#heroCarousel .carousel-indicators button.active {
    background-color: #0488cd;
    opacity: 1;
}

/* Prev/next arrows: hidden until hover */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 6%;
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-carousel-section:hover #heroCarousel .carousel-control-prev,
.hero-carousel-section:hover #heroCarousel .carousel-control-next {
    opacity: 0.75;
}
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* Dark info box for slides 2 & 3 */
.hero-info-box {
    background: rgba(30, 40, 55, 0.82);
    padding: 28px 30px 24px;
    color: #fff;
}

.hero-info-label {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.hero-info-box h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.hero-info-list li {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #e8e8e8;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-info-list li:last-child { border-bottom: none; }

.hero-info-list li .fa {
    color: var(--brand-secondary);
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    background-color: var(--brand-primary);
    display: inline-block;
    padding: 10px 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.3;
}

.hero-text h1 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.hero-list li {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--brand-primary);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-list li .fa {
    color: var(--brand-primary);
    font-size: 16px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 3px; transition: all 0.2s; }

.btn-primary-brand {
    background-color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    color: #fff !important;
    padding: 8px 20px;
}
.btn-primary-brand:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff !important;
    text-decoration: none;
}

.btn-secondary-brand {
    background-color: #555;
    border: 2px solid #555;
    color: #fff !important;
    padding: 8px 20px;
}
.btn-secondary-brand:hover {
    background-color: #333;
    border-color: #333;
    color: #fff !important;
    text-decoration: none;
}

.btn-outline-primary-brand {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary) !important;
    padding: 8px 20px;
}
.btn-outline-primary-brand:hover {
    background-color: var(--brand-primary);
    color: #fff !important;
    text-decoration: none;
}

/* Contact buttons */
.btn-contact {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    text-decoration: none !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-contact--whatsapp { background-color: #555; }
.btn-contact--whatsapp:hover { background-color: #333; }
.btn-contact--form { background-color: #888; }
.btn-contact--form:hover { background-color: #666; }

/* ============================================================
   Slogan / CTA Bar
   ============================================================ */
.slogan-bar {
    background-color: var(--section-bg);
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.slogan-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
}

/* ============================================================
   Section Divider
   ============================================================ */
.section-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

/* ============================================================
   Feature Boxes (3-up grid)
   ============================================================ */
.features-section {
    padding: 50px 0;
}

.feature-box {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--section-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: background-color 0.3s, border-color 0.3s;
}

.feature-icon .fa {
    font-size: 28px;
    color: var(--brand-primary);
}

.feature-box:hover .feature-icon {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.feature-box:hover .feature-icon .fa {
    color: #fff;
}

.feature-content h3,
.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.feature-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ============================================================
   Section Titles
   ============================================================ */
.section-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--heading-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.section-heading {
    font-size: 18px;
    font-weight: 400;
    color: var(--heading-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

/* ============================================================
   Modules Preview (Home)
   ============================================================ */
.modules-preview-section {
    padding: 50px 0;
    background-color: var(--section-bg);
}

.module-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 15px;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.module-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(4, 136, 205, 0.15);
}

.module-card .module-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--section-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-card .module-icon .fa {
    font-size: 18px;
    color: var(--brand-primary);
}

.module-info a, .module-info span {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    display: block;
}
.module-info a:hover { color: var(--brand-primary); text-decoration: none; }
.module-info p { font-size: 12px; color: #777; margin: 3px 0 0 0; }

/* ============================================================
   Module Detail Carousel (modulePage)
   ============================================================ */
.module-detail-carousel-section {
    padding: 40px 0;
}

.module-carousel-wrap {
    overflow: hidden;
}

.module-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.module-carousel-item {
    flex-shrink: 0;
    padding-right: 16px;
    box-sizing: border-box;
}

.module-carousel-item:last-child {
    padding-right: 0;
}

.module-carousel-controls .btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* ============================================================
   Modules Page Grid
   ============================================================ */
.modules-section { padding: 40px 0; }

.module-filters { display: flex; gap: 10px; flex-wrap: wrap; }

.module-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.module-item.is-hiding {
    opacity: 0;
    transform: scale(0.88);
}
.module-item.is-hidden {
    display: none;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
    background-color: var(--brand-primary);
    color: #fff;
}

.portfolio-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.portfolio-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.portfolio-card-link {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.portfolio-card-link:hover { text-decoration: none; }

.portfolio-card-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.portfolio-card-link:hover img { transform: scale(1.05); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 136, 205, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio-card-link:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .fa { color: #fff; font-size: 24px; }

.portfolio-placeholder {
    width: 100%;
    height: 180px;
    background-color: var(--section-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary);
}

.portfolio-title {
    padding: 12px 15px;
    border-top: 1px solid var(--border-color);
}
.portfolio-title a, .portfolio-title span {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    display: block;
}
.portfolio-title a:hover { color: var(--brand-primary); text-decoration: none; }
.portfolio-title p { font-size: 12px; color: #777; margin: 3px 0 0 0; }

/* ============================================================
   Content Section (generic)
   ============================================================ */
.content-section { padding: 40px 0; }
.bg-light-section { background-color: var(--section-bg); }

.post-content { line-height: 1.8; }
.post-content h2 { font-size: 22px; margin: 30px 0 15px; }
.post-content h3 { font-size: 18px; margin: 25px 0 12px; }
.post-content h4 { font-size: 16px; margin: 20px 0 10px; }
.post-content ul { padding-left: 40px; margin-bottom: 15px; }
.post-content ul li { margin-bottom: 5px; }

.intro-text {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
}

/* Legal content */
.legal-content { max-width: 860px; }
.legal-content h1 { font-size: 28px; }
.legal-content h2 { font-size: 20px; margin: 30px 0 15px; }
.legal-content ul { list-style: none; padding-left: 30px; }
.legal-content ul li { display: flex; align-items: baseline; }
.legal-content ul li p { margin: 0; }
.legal-content ul li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 2px solid var(--brand-primary);
    border-top: 2px solid var(--brand-primary);
    transform: rotate(45deg);
    margin-right: 10px;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* Security quote */
.security-quote {
    background: var(--section-bg);
    border-left: 4px solid var(--brand-primary);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
}
.security-quote footer {
    font-style: normal;
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* Content card (without icon) */
.content-card {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 100%;
}
.content-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.content-card h4 a { color: var(--heading-color); }
.content-card h4 a:hover { color: var(--brand-primary); }

/* ============================================================
   Services Section
   ============================================================ */
.services-section { padding: 40px 0; }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
    background-color: var(--section-bg);
    padding: 30px 0;
}

.cta-section h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.cta-section p { margin: 0; color: #666; }

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-primary);
    color: var(--heading-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child { border-bottom: none; }

.category-list li a {
    display: block;
    padding: 8px 5px;
    color: var(--text-color);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.category-list li a:hover { color: var(--brand-primary); }
.category-list li.active a { color: var(--brand-primary); font-weight: 700; }

.sidebar-box {
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 4px;
}

.sidebar-cta {
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}
.sidebar-cta h4 { font-size: 16px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; color: #666; margin-bottom: 15px; }

/* ============================================================
   Check List
   ============================================================ */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dotted var(--border-color);
}

.check-list li:last-child { border-bottom: none; }

.check-list li i {
    color: var(--brand-primary);
    font-size: 12px;
    flex-shrink: 0;
}

/* ============================================================
   Contact Details
   ============================================================ */
.contact-detail-list,
.office-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}
.contact-detail-list li:last-child { border-bottom: none; }

.contact-detail-list .fa,
.contact-detail-list .fa-brands {
    color: var(--brand-primary);
    margin-top: 3px;
    font-size: 14px;
    min-width: 16px;
}

.contact-detail-list p {
    margin: 0;
    line-height: 1.5;
}

.contact-detail-list a { color: var(--brand-primary); }

.office-hours-list li {
    padding: 6px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dotted var(--border-color);
}
.office-hours-list li:last-child { border-bottom: none; }
.office-hours-list .fa { color: var(--brand-secondary); }

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-section { padding: 40px 0; }

.faq-placeholder {
    color: var(--text-muted, #6c757d);
    font-size: 15px;
    margin-top: 10px;
}

.faq-category-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion .accordion-button {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    background-color: #fff;
    padding: 14px 16px;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--brand-primary);
    color: #fff;
}

.faq-accordion .accordion-button::after {
    filter: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.faq-accordion .accordion-body {
    padding: 16px;
    font-size: 13px;
    line-height: 1.7;
    background-color: #f9f9f9;
}

/* ============================================================
   Footer
   ============================================================ */
#footer { background-color: var(--footer-bg); }

.footer-top { padding: 40px 0 30px; }

.footer-col h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: var(--font-body);
}

.footer-col p {
    color: var(--footer-text);
    font-size: 13px;
    line-height: 1.7;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    color: var(--footer-text);
    font-size: 13px;
}

.footer-contact .fa,
.footer-contact .fa-brands {
    color: var(--brand-secondary);
    margin-top: 3px;
    min-width: 14px;
}

.footer-contact p { margin: 0; color: var(--footer-text); }
.footer-contact strong { color: #727272; }
.footer-contact a { color: var(--footer-text) !important; }
.footer-contact a:hover { color: #fff !important; }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { padding: 4px 0; }

.footer-links a {
    color: var(--footer-text);
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-links .fa { font-size: 10px; color: #666; }

.footer-bottom {
    background-color: #222;
    padding: 15px 0;
    border-top: 1px solid #3a3a3a;
}

.footer-bottom span {
    color: #888;
    font-size: 12px;
}

.footer-whatsapp { color: #4CAF50; text-decoration: none; }
.footer-whatsapp:hover { color: #45a049; }

/* ============================================================
   Pricing Table
   ============================================================ */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pricing-table thead tr {
    background-color: #1a4a6e;
}

.pricing-table thead th {
    padding: 12px 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.5px;
}

.pricing-table thead th:first-child {
    text-align: left;
    width: 40%;
}

.pricing-price-row td {
    background-color: var(--brand-primary);
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    vertical-align: middle;
}

.price-amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.price-amount--sm { font-size: 18px; }

.price-period {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
    margin-top: 3px;
}

.pricing-category td {
    background-color: var(--section-bg);
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    font-weight: 600;
    border-top: 2px solid var(--border-color);
}

.pricing-table tbody tr:not(.pricing-price-row):not(.pricing-category) td {
    padding: 9px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
}

.pricing-table tbody tr:not(.pricing-price-row):not(.pricing-category) td:first-child {
    text-align: left;
    color: var(--text-color);
}

.pricing-btn-row td {
    background-color: #f0f8fd;
    text-align: center;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-yes { color: var(--brand-primary); }
.pricing-yes .fa { font-size: 14px; }
.pricing-no { color: #ccc; }

.pricing-note { font-size: 13px; color: #666; }

/* Pricing Cards (mobile) */
.pricing-cards { display: flex; flex-direction: column; gap: 20px; }

.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.pricing-card-header {
    background-color: #1a4a6e;
    color: #fff;
    padding: 16px 20px;
    text-align: center;
}

.pricing-card-header--featured {
    background-color: var(--brand-primary);
}

.pricing-card-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.pricing-card-price {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.pricing-card-price--sm { font-size: 18px; }

.pricing-card-period {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
}

.pricing-card-body { padding: 16px 20px; }

.pricing-card-includes {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.pricing-card-footer {
    padding: 0 20px 20px;
}

/* Sidebar CTA icon */
.sidebar-cta-icon {
    font-size: 48px;
    color: var(--brand-secondary);
    margin-bottom: 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 767px) {
    .top-bar-contact { flex-direction: column; gap: 4px; }
    .hero-text h1 { font-size: 18px; }
    .hero-slide, .hero-slide-content { height: 340px; }
    .slogan-title { font-size: 16px; }
    .features-section { padding: 30px 0; }
    .modules-preview-section { padding: 30px 0; }
    .footer-top { padding: 30px 0 20px; }
    .footer-col { margin-bottom: 25px; }
    .cta-section h3 { font-size: 17px; }
    .section-title { font-size: 19px; }
}

@media (max-width: 575px) {
    .hero-buttons .btn { display: block; width: 100%; margin-bottom: 10px; }
    .slogan-bar .btn { display: block; width: 100%; margin-bottom: 8px; }
    .top-bar-contact a span { display: none; }
}
