html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #1d2430;
    background: #ffffff;
    padding-top: 76px;
}

a {
    text-decoration: none;
}

.section-pad {
    padding: 80px 0;
}

.alt-bg {
    background: #f7f9fc;
}

.campaign-nav {
    background: linear-gradient(90deg, #0b2f6b 0%, #123f8c 55%, #b22234 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.navbar-brand {
    letter-spacing: 0.08em;
    color: #ffffff !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: #ffffff !important;
}

.btn-cta,
.btn-light.btn-cta {
    background: #ffffff;
    color: #0b2f6b;
    border: none;
    font-weight: 700;
}

.btn-cta:hover,
.btn-light.btn-cta:hover {
    background: #eef3ff;
    color: #0b2f6b;
}

.btn-primary {
    background: #b22234;
    border-color: #b22234;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #971b2b;
    border-color: #971b2b;
}

.btn-outline-light {
    font-weight: 700;
}

.hero-section {
    position: relative;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(11, 47, 107, 0.92) 0%, rgba(11, 47, 107, 0.82) 45%, rgba(178, 34, 52, 0.78) 100%),
        radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 35%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255,255,255,0.02) 0,
            rgba(255,255,255,0.02) 12px,
            transparent 12px,
            transparent 24px
        );
    pointer-events: none;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.hero-copy {
    max-width: 720px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    font-weight: 600;
}

.hero-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    color: #1d2430;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-card-top {
    height: 8px;
    background: linear-gradient(90deg, #b22234, #ffffff, #0b2f6b);
}

.section-kicker {
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #b22234;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2f6b;
    line-height: 1.18;
    margin-bottom: 1rem;
}

.section-copy {
    font-size: 1.05rem;
    color: #485468;
    max-width: 700px;
}

.candidate-card-media {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef3ff, #f8f9fb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidate-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.card-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #233148;
}

.card-checks i {
    color: #b22234;
}

.stats-band {
    background: linear-gradient(90deg, #0b2f6b 0%, #123f8c 70%, #1d4fb0 100%);
    padding: 34px 0;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 20px 12px;
    color: #ffffff;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-label {
    opacity: 0.92;
    margin-top: 6px;
}

.feature-panel,
.record-card,
.priority-card,
.service-card,
.contact-panel,
.form-panel {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(18, 42, 76, 0.08);
    border: 1px solid #edf1f7;
}

.timeline-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 50%;
    background: #b22234;
    margin-top: 8px;
    box-shadow: 0 0 0 5px rgba(178, 34, 52, 0.12);
}

.timeline-item h4,
.record-card h3,
.priority-card h3 {
    color: #0b2f6b;
    font-weight: 800;
}

.record-card i,
.priority-icon,
.mini-service-card i,
.contact-list i {
    color: #b22234;
}

.record-card i {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: inline-block;
}

.priority-highlight {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef3ff;
    color: #0b2f6b;
    font-size: 0.82rem;
    font-weight: 700;
}

.priority-icon {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.gallery-header {
    text-align: left;
    max-width: 860px;
    min-height: 155px;
    border-left: 6px solid #b22234;
    padding-left: 18px;
}

.gallery-header::after {
    content: "";
    display: block;
    width: 84px;
    height: 4px;
    background: linear-gradient(to right, #b22234, #0b2f6b);
    margin-top: 12px;
    border-radius: 999px;
}

.gallery-badge {
    background: #0b2f6b;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
}

.gallery-scroll-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 8px;
}

.gallery-scroll-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: galleryScroll 35s linear infinite;
    will-change: transform;
}

.gallery-scroll-wrap:hover .gallery-scroll-track {
    animation-play-state: paused;
}

.gallery-card {
    flex: 0 0 240px;
    width: 240px;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #0e1627;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.gallery-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.empty-gallery {
    background: #ffffff;
    border-radius: 22px;
    padding: 48px 20px;
    border: 1px dashed #cdd8ea;
}

.empty-gallery i {
    font-size: 2.6rem;
    color: #b22234;
    display: inline-block;
    margin-bottom: 10px;
}

.serve-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.service-quote {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b2f6b;
    margin-bottom: 16px;
}

.mini-service-card {
    background: #f7f9fc;
    border: 1px solid #ecf1f7;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    font-weight: 700;
}

.contact-panel {
    background: linear-gradient(180deg, #0b2f6b, #123f8c);
    color: #ffffff;
}

.contact-panel .section-title,
.contact-panel .section-copy,
.contact-panel .section-kicker,
.contact-list li {
    color: #ffffff;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
}

.form-control,
.form-select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d7e0ec;
}

.form-control:focus,
.form-select:focus {
    border-color: #7fa6e6;
    box-shadow: 0 0 0 0.2rem rgba(18, 63, 140, 0.15);
}

.site-footer {
    background: linear-gradient(90deg, #0b2f6b, #102f62);
    color: #ffffff;
    padding: 22px 0;
}

.gallery-modal-content {
    background: #0b1424;
    color: #ffffff;
    border-radius: 20px;
}

.gallery-modal-caption {
    color: #ffffff;
}

@keyframes galleryScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 9px));
    }
}

@media (max-width: 991.98px) {
    .section-pad {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .candidate-card-media {
        height: 220px;
    }

    .gallery-header {
        min-height: auto;
    }

    .gallery-card {
        flex: 0 0 210px;
        width: 210px;
    }

    .gallery-card img {
        height: 150px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 72px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .eyebrow,
    .hero-badges span {
        font-size: 0.82rem;
    }

    .candidate-card-media {
        height: 200px;
    }

    .gallery-card {
        flex: 0 0 190px;
        width: 190px;
    }

    .gallery-card img {
        height: 138px;
    }

    .feature-panel,
    .record-card,
    .priority-card,
    .service-card,
    .contact-panel,
    .form-panel {
        padding: 22px;
    }
}
