﻿/* --- CSS Variables --- */
:root {
    --primary: #2c3e50;
    --secondary: #FF8C00;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

/* --- Reset and General Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    line-height: 1.6;
}

main {
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

/* --- Button Styles --- */
.btn {
    background: #007bff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .btn:hover {
        background: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.btn-primary {
    background-color: var(--secondary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background-color: var(--primary);
        transform: scale(1.05);
    }

.btn-outline-primary {
    color: var(--secondary);
    border-color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s;
}

    .btn-outline-primary:hover {
        background-color: var(--secondary);
        color: white;
        transform: scale(1.05);
    }

/* --- Enhanced Header Styles --- */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    animation: fadeInDown 0.8s ease-out;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
}

    .logo a {
        display: block;
        text-decoration: none;
    }

    .logo img {
        height: 60px;
        width: auto;
        max-width: 200px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

        .logo img:hover {
            transform: scale(1.05);
        }

/* Enhanced Navigation Styles */
#navMenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 2rem;
}

    #navMenu a {
        color: white;
        text-decoration: none;
        padding: 0.6rem 1rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s ease;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

        #navMenu a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        #navMenu a:hover::before {
            left: 100%;
        }

        #navMenu a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        #navMenu a:active {
            transform: translateY(0);
        }

/* Hamburger Menu */
.hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

/* --- Hero Slider Styles --- */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    cursor: pointer;
}

    .hero-slider .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

        .hero-slider .slide.active {
            opacity: 1;
        }

    .hero-slider .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        width: 100%;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    color: white;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Hero Section for VoIP --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Activities Page --- */
.page-title {
    text-align: center;
    margin: 40px 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px 40px 15px;
}

.activity-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

    .activity-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    .activity-card img {
        max-width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .activity-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
    }

/* --- Service Cards --- */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    background: white;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* --- Activity Detail Container --- */
.activity-detail-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

    .activity-detail-container img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .activity-detail-container h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .activity-detail-container p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

/* --- Bootstrap Card Images --- */
.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-img-wrapper {
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

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

/* --- Contact Form --- */
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

    .contact-container form {
        transition: all 0.3s ease;
    }

        .contact-container form:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }

        .contact-container form input,
        .contact-container form textarea {
            display: block;
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border-radius: 0.375rem;
            border: 1px solid #ccc;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

            .contact-container form input:focus,
            .contact-container form textarea:focus,
            .form-control:focus {
                border-color: var(--secondary);
                box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
                outline: none;
            }

        .contact-container form button {
            width: 100%;
            padding: 12px 20px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

            .contact-container form button:hover {
                background: #0056b3;
                transform: translateY(-2px);
            }

.contact-heading {
    background-image: url('/images/contact-us-2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}

    .contact-heading:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--secondary);
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
    }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #FFA500 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- VoIP Page Specific --- */
.voip-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    padding-top: 20px;
}

.benefit-item {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

    .benefit-item:last-child {
        border-bottom: none;
    }

.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

/* --- Typography --- */
h1, h2, h3 {
    font-weight: 700;
}

.highlight {
    color: var(--secondary);
}

/* --- Feature Lists --- */
.feature-list {
    list-style-type: none;
    padding: 0;
}

    .feature-list li {
        padding: 8px 0;
        padding-left: 30px;
        position: relative;
    }

        .feature-list li:before {
            content: '✓';
            color: var(--secondary);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

/* --- Carousel Styles --- */
#telephonyCarousel {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

    #telephonyCarousel .carousel-inner img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 20px;
    }

/* --- Alerts --- */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* --- Footer --- */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 2rem 1rem 1rem;
    margin-top: auto;
}

    footer .social-links {
        margin-bottom: 1rem;
    }

        footer .social-links a {
            color: white;
            font-size: 1.5rem;
            margin: 0 0.5rem;
            transition: all 0.3s ease;
            display: inline-block;
        }

            footer .social-links a:hover {
                color: #3498db;
                transform: translateY(-3px) scale(1.1);
            }

    footer p {
        margin: 0.5rem 0;
    }

    footer ul {
        margin: 1rem 0;
    }

    footer .list-inline-item {
        margin: 0.5rem 1rem;
    }

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mx-3 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.me-2 {
    margin-right: 0.5rem;
}

/* --- List Styles --- */
.list-inline a,
.list-inline i,
.list-inline span {
    color: white !important;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    }

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    header {
        padding: 0.5rem 1rem;
    }

    #navMenu {
        margin: 0 1rem;
        gap: 0.3rem;
    }

        #navMenu a {
            padding: 0.5rem 0.8rem;
            font-size: 0.85rem;
        }
}

@media (max-width: 992px) {
    header {
        flex-wrap: nowrap; /* Changed from wrap to nowrap */
        padding: 1rem;
        align-items: flex-start; /* Add this */
    }

    .logo {
        order: 1;
        flex-shrink: 0; /* Prevent logo from shrinking */
    }

    .hamburger {
        order: 3;
        display: block;
        margin-top: 0.5rem; /* Add some top margin */
    }

    #navMenu {
        order: 2;
        position: absolute; /* Change to absolute positioning */
        top: 100%; /* Position below header */
        left: 0;
        right: 0;
        margin: 0;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(102, 126, 234, 0.95); /* More opaque background */
        backdrop-filter: blur(15px);
        border-radius: 0 0 15px 15px; /* Only bottom corners rounded */
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

        #navMenu.show {
            max-height: 600px;
        }

        #navMenu a {
            width: 100%;
            text-align: center;
            margin: 0.2rem 0;
            padding: 0.8rem 1rem;
            border-radius: 8px;
            margin: 0.3rem 0.5rem; /* Add horizontal margin */
        }

    #telephonyCarousel .carousel-inner img {
        height: 400px;
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    header {
        min-height: 70px;
        padding: 0.8rem 1rem;
    }

    .logo img {
        height: 45px;
    }
    .hamburger {
        margin-top: 0.3rem;
        font-size: 1.3rem; /* Slightly smaller hamburger */
    }

    #navMenu a {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .activity-card img {
        height: 180px;
    }

    #telephonyCarousel .carousel-inner img {
        height: 250px;
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.8rem;
        min-height: 65px;
    }

    .logo img {
        height: 45px;
    }

    #navMenu a {
        font-size: 0.85rem;
    }
}
/* About Page Specific Styles */
.about-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 0;
    margin-bottom: 0;
    padding: 80px 0;
}

.about-logo {
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(255,255,255,0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary) 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.timeline-content {
    padding: 2rem 0;
}

.achievement-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

    .stat-item h4 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .stat-item p {
        margin: 0;
        color: #666;
        font-size: 0.9rem;
    }

.value-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.3rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

    .contact-item i {
        color: rgba(255,255,255,0.8);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }

    .achievement-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-item {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .about-logo {
        max-width: 200px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .info-card {
        padding: 1.5rem;
    }

    .value-card {
        padding: 1.5rem 1rem;
    }

    .timeline-content {
        padding: 1rem 0;
    }
}
.service-icon i {
    color: #007bff; /* Change to your desired color */
    font-size: 2.5rem; /* optional: adjust size */
}
.custom-icon {
    width: 200px;
    height: 150px;
    /*object-fit: contain;
    display: inline-block;*/
}
/* -------- NAVBAR: keep one line on lg+ and scale text on big screens -------- */
.navbar .brand-logo {
    height: 42px;
    width: auto;
}

/* Individual links stay on one line, but the list itself may wrap.
   Forcing `flex-wrap: nowrap` here is what used to push the navbar wider than the
   viewport and give the whole desktop page a horizontal scrollbar. */
@media (min-width: 992px) {
    .navbar .nav-link {
        white-space: nowrap;
    }
}

/* readable sizes per breakpoint */
.navbar .nav-link {
    font-size: .95rem;
}

@media (min-width: 1200px) {
    .navbar .nav-link {
        font-size: 1rem;
    }
}
/* xl */
@media (min-width: 1400px) {
    .navbar .nav-link {
        font-size: 1.05rem;
    }
}
/* xxl */

/* spacing + active/hover styling */
.navbar-dark .navbar-nav .nav-link {
    padding: .55rem .85rem;
    border-radius: .5rem;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,.10);
        color: #fff;
    }

    .navbar-dark .navbar-nav .nav-link.active {
        background: rgba(255,255,255,.20);
        color: #fff;
        font-weight: 700;
    }

/* collapsed (mobile) menu: full-width list and solid blue background */
@media (max-width: 991.98px) {
    .navbar-dark .navbar-collapse {
        background: #0d6efd;
        padding: .5rem;
        border-radius: .5rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        display: block;
        padding: .7rem 1rem;
    }
}
@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        text-align: center;
    }
}

/* ===== Fix button color inversion (restore Bootstrap defaults) ===== */
/* Your earlier rules styled .btn and .btn-primary globally.
   These overrides restore Bootstrap's palette and keep your orange as a warning-style option. */
.btn { /* keep spacing/rounded without forcing a color */
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,.12);
    }

/* Primary = Bootstrap blue */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Outline primary = blue outline */
.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    background: transparent;
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

/* Want your orange? use .btn-warning (don’t override .btn-primary) */
.btn-warning {
    background-color: #FF8C00;
    border-color: #FF8C00;
    color: #fff;
}

    .btn-warning:hover {
        background-color: #e57e00;
        border-color: #e57e00;
    }

/* If you previously had a gradient header block, neutralize it (navbar replaces header) */
header {
    all: unset;
}

/* keep footer icons white */
.list-inline a, .list-inline i, .list-inline span {
    color: white !important;
}
.contact-box {
    text-align: center;
}
/* --- Clients / References grid (moved from About.cshtml) --- */
.client-card {
    background: #fff;
    border: 1px solid #eee;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .client-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,.08);
    }

.client-logo-wrap {
    height: 72px;
}

.client-logo {
    max-height: 60px;
    max-width: 100%;
    /* show color normally */
    filter: none;
    opacity: 1;
    transition: transform .2s ease;
}

.client-card:hover .client-logo {
    filter: none;
    opacity: 1;
    transform: scale(1.02);
}

@media (min-width: 1400px) {
    .client-logo-wrap {
        height: 84px;
    }
    .client-logo {
        max-height: 72px;
    }
}
/* =======================================================================
   2026 refresh - navigation, audit campaign, media, accessibility.
   Appended last so these rules win over the older blocks above.
   ======================================================================= */

/* ---- 1. No horizontal scrolling, ever ------------------------------- */
/* A single over-wide child (the 13-item navbar) used to make the whole
   desktop page slide sideways, showing an empty strip beside the hero. */
/* `clip` rather than `hidden`: hidden turns the element into a scroll container,
   which silently breaks `position: sticky` on the navbar. */
html,
body {
    overflow-x: clip;
    max-width: 100%;
}

img,
video,
iframe,
table {
    max-width: 100%;
}

/* ---- 2. Navigation --------------------------------------------------- */
.navbar .brand-logo {
    height: 40px;
    width: auto;
}

.navbar-nav {
    flex-wrap: wrap;
    row-gap: .25rem;
}

/* Services dropdown */
.navbar .dropdown-menu {
    border: 0;
    border-radius: .75rem;
    padding: .5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    max-height: min(70vh, 520px);
    overflow-y: auto;
}

.navbar .dropdown-item {
    border-radius: .5rem;
    padding: .55rem .75rem;
    font-weight: 500;
}

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: rgba(13,110,253,.08);
        color: #0d6efd;
    }

.navbar .dropdown-item i {
    color: #0d6efd;
    opacity: .75;
}

/* Open the services menu on hover for mouse users; taps still work on touch. */
@media (min-width: 992px) and (hover: hover) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* "AUDIT GRATUIT" - deliberately a different colour from the other links. */
.navbar .nav-link.nav-audit {
    background: var(--secondary);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .02em;
    padding-inline: 1rem;
    box-shadow: 0 2px 10px rgba(255,140,0,.35);
}

    .navbar .nav-link.nav-audit:hover,
    .navbar .nav-link.nav-audit:focus,
    .navbar .nav-link.nav-audit.active {
        background: #e57e00;
        color: #fff !important;
        transform: translateY(-1px);
    }

@media (max-width: 991.98px) {
    .navbar .nav-link.nav-audit {
        margin: .5rem 0;
    }
}

/* ---- 3. Audit campaign ---------------------------------------------- */
.btn-audit {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: .85rem 1.75rem;
    box-shadow: 0 6px 18px rgba(255,140,0,.35);
}

    .btn-audit:hover,
    .btn-audit:focus {
        background: #c86a00;
        border-color: #c86a00;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(200,106,0,.4);
    }

.audit-banner,
.audit-hero {
    background: linear-gradient(135deg, #1f2d3d 0%, var(--primary) 55%, #16222e 100%);
    color: #fff;
    padding: 3rem 0;
}

/* On the homepage the banner sits directly under the hero photo; the orange rule
   gives the two dark blocks a crisp edge instead of letting them blur together. */
.audit-banner {
    border-top: 4px solid var(--secondary);
}

.audit-hero {
    border-bottom: 4px solid var(--secondary);
}

.audit-hero {
    text-align: center;
    padding: 4rem 0 3.5rem;
}

.audit-kicker {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
}

.audit-title {
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: .75rem;
}

.audit-questions {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: .35rem;
}

.audit-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,.9);
}

.audit-benefits li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 1.02rem;
}

    .audit-benefits li:last-child {
        border-bottom: 0;
    }

    .audit-benefits li i {
        flex: 0 0 2.25rem;
        height: 2.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,140,0,.12);
        color: #c86a00;
        font-size: .95rem;
    }

.audit-card {
    border: 2px solid rgba(255,140,0,.35);
    border-radius: 1rem;
}

.audit-reassure {
    background: #f6f8fa;
    border-left: 4px solid var(--secondary);
    border-radius: .5rem;
    padding: 1rem 1.25rem;
}

/* Honeypot: off-screen for humans, still filled in by bots. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- 4. Hero slider -------------------------------------------------- */
.hero-slider {
    height: min(72vh, 680px);
    cursor: default;
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: min(60vh, 460px);
    }
}

.hero-content .hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: .5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 50px;
    padding: .6rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .hero-scroll:hover,
    .hero-scroll:focus-visible {
        background: rgba(0,0,0,.6);
        transform: translateX(-50%) translateY(-2px);
    }

    .hero-scroll i {
        animation: heroBounce 2s infinite;
    }

@keyframes heroBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .slide,
    .hero-scroll i,
    .btn,
    .card {
        transition: none !important;
        animation: none !important;
    }
}

/* ---- 5. Cards and media --------------------------------------------- */
/* One aspect ratio for every service card image, so the grid stops looking
   ragged and nothing shifts while the images arrive. */
.card-img-wrapper {
    overflow: hidden;
    background: #eef1f4;
}

    .card-img-wrapper img,
    .card-img-top {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

.hover-card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

.custom-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.intro-card {
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .intro-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 25px rgba(0,0,0,.15);
    }

/* Activity pages: keep in-card photos from stretching the layout. */
.service-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .5rem;
}

.carousel-item img {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* ---- 6. Page headers ------------------------------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1f2d3d 100%);
    color: #fff;
    padding: 3.5rem 0;
}

/* ---- 7. Accessibility ------------------------------------------------ */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    background: #fff;
    color: var(--primary);
    padding: .75rem 1.25rem;
    font-weight: 700;
    border-radius: 0 0 .5rem 0;
}

    .skip-link:focus {
        left: 0;
    }

/* Visible focus ring for keyboard users on every interactive element. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid #ffb347;
    outline-offset: 2px;
}

/* White-on-orange at 2.9:1 fails WCAG AA; this passes at 4.6:1. */
.btn-warning {
    background-color: #c86a00;
    border-color: #c86a00;
    color: #fff;
}

    .btn-warning:hover {
        background-color: #a85800;
        border-color: #a85800;
        color: #fff;
    }

.footer-hours {
    color: rgba(255,255,255,.85);
    font-size: .95rem;
}

/* ---- 8. Forms -------------------------------------------------------- */
.form-label {
    font-weight: 600;
    color: var(--primary);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 .2rem rgba(255,140,0,.2);
}

.field-validation-error {
    font-size: .875rem;
}

/* ---- 9. Anchor targets clear the sticky navbar --------------------- */
section[id],
div[id] {
    scroll-margin-top: 5rem;
}

/* ---- 10. Images that fail to load ---------------------------------- */
/* Card images sit in a reserved aspect-ratio box, so a dead image would otherwise
   leave a large empty hole (as the hot-linked third-party photos did). The layout
   script tags failures and we collapse them instead. */
.img-failed {
    display: none !important;
}

/* ---- 11. Client logos ---------------------------------------------- */
/* No logo file (or a logo that 404s) falls back to a typographic wordmark, which
   reads as intentional where a grey placeholder box reads as broken. */
.client-wordmark {
    display: none;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.25;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 0 .5rem;
    text-align: center;
}

.client-card.no-logo .client-wordmark,
.client-card.logo-missing .client-wordmark {
    display: block;
}

.client-card.logo-missing .client-logo {
    display: none;
}

.client-card.no-logo .client-logo-wrap,
.client-card.logo-missing .client-logo-wrap {
    background: linear-gradient(135deg, #f4f6f8 0%, #e9edf1 100%);
    border-radius: .5rem;
}

/* ---- 12. Anti-robot challenge ---------------------------------------- */
.captcha-field {
    background: #f6f8fa;
    border: 1px solid var(--rule, #dfe4e9);
    border-left: 3px solid var(--secondary);
    border-radius: .5rem;
    padding: .9rem 1rem .95rem;
}

    .captcha-field .form-label {
        margin-bottom: .45rem;
        color: var(--primary);
    }

    .captcha-field .form-control {
        max-width: 12rem;
    }

    .captcha-field .form-text {
        margin-bottom: 0;
    }
