/* ==========================================================================
   Securitact France - CSS Stylesheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --primary-dark: #121214;
    --primary-blue: #0f6f96;
    --primary-blue-dark: #0a506e;
    --accent-gold: #F5A623;
    --accent-red: #d63031;
    --bg-light: #ffffff;
    --bg-offset: #f8f9fa;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --text-light: #ffffff;
    --border-color: #e9ecef;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-smooth);
}

/* Common Section Layouts */
section {
    padding: 100px 20px;
    scroll-margin-top: 80px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-blue);
    margin-top: 6px;
    transition: var(--transition-smooth);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

/* Common Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
}

.btn-primary:hover {
    background-color: #e09215;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary-blue {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(15, 111, 150, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
}

.btn-primary-blue:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 111, 150, 0.4);
}

.btn-submit {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    padding: 16px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header / Navigation Styles
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-color);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-subtext {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition-smooth);
}

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

.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Need button in header */
.header-need-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.2);
}

.header-need-btn:hover {
    background-color: #e09215;
    transform: translateY(-1px);
}

.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(15, 111, 150, 0.2);
}

.header-phone-btn:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-1px);
}

.mobile-nav-ctas {
    display: none;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 13px 10px;
    z-index: 1001;
    cursor: pointer;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition-smooth);
}

/* Hamburger animations when active */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px 20px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.45;
    transform: scale(1.05);
    animation: zoomBackground 20s infinite alternate;
}

@keyframes zoomBackground {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(15, 111, 150, 0.2);
    border-left: 3px solid var(--primary-blue);
    padding: 8px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    color: var(--text-light);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Qui Sommes-Nous Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding-right: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 35px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feat-item {
    display: flex;
    gap: 20px;
}

.feat-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: rgba(245, 166, 35, 0.1);
    flex-shrink: 0;
}

.about-feat-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.about-feat-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-main-img {
    transform: scale(1.03);
}

/* ==========================================================================
   Highlights Section
   ========================================================================== */
.highlights-section {
    background-color: var(--bg-offset);
    padding: 80px 20px;
}

.highlights-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.highlights-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.highlight-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.highlight-card:hover::before {
    background-color: var(--primary-blue);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-num {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(15, 111, 150, 0.05);
    line-height: 1;
    transition: var(--transition-smooth);
}

.highlight-card:hover .card-num {
    color: rgba(15, 111, 150, 0.12);
}

.card-icon {
    margin-bottom: 24px;
}

.card-tag {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.plus-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.highlight-card:hover .card-link {
    color: var(--primary-blue-dark);
}

/* Call Banner */
.call-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    min-height: 350px;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: var(--transition-smooth);
}

.call-banner:hover .banner-bg {
    transform: scale(1.05);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
}

.banner-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.banner-phone-link {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.banner-phone-link:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   Services Section with Scroll Snap Carousel
   ========================================================================== */
.services-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow: hidden;
}

.services-header {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.services-header .section-subtitle {
    color: var(--primary-blue);
}

.services-header .section-subtitle::after {
    background-color: var(--primary-blue);
    margin: 6px auto 0 auto;
}

.services-header .section-title {
    color: var(--text-light);
}

/* Scroller Container */
.carousel-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 40px;
    position: relative;
}

.scroller {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.scroller::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.service-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    scroll-snap-align: center;
    background-color: #1e1e22;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 111, 150, 0.3);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.service-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-badge {
    background-color: var(--primary-blue);
}

.service-card:hover .service-icon-badge stroke {
    stroke: var(--text-light);
}

.service-content {
    padding: 35px 25px 30px 25px;
}

.service-card-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.service-card-desc {
    color: #a0a0a8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Scroll-driven animations for carousel (Native Web support check) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes shrink-grow {
        0% {
            opacity: 0.6;
            transform: scale(0.93);
        }
        50% {
            opacity: 1;
            transform: scale(1);
        }
        100% {
            opacity: 0.6;
            transform: scale(0.93);
        }
    }

    .scroller > .service-card {
        animation: shrink-grow auto linear both;
        animation-timeline: view(inline);
    }
}

/* Carousel pagination dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
}

.dot.active {
    background-color: var(--primary-blue);
    width: 24px;
    border-radius: 6px;
}

/* ==========================================================================
   Notre Sécurité Section
   ========================================================================== */
.safety-section {
    background-color: var(--bg-light);
}

.safety-container {
    max-width: 1200px;
    margin: 0 auto;
}

.safety-header {
    text-align: center;
    margin-bottom: 60px;
}

.safety-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Vertical Title Bar */
.safety-left-vertical {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 40px 18px;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.vertical-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

/* Image Column with Center Badge */
.safety-middle-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.safety-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.safety-middle-img:hover .safety-img {
    transform: scale(1.03);
}

.safety-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.badge-icon {
    animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Right Text List */
.safety-right-content {
    padding-left: 20px;
}

.safety-intro-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.safety-intro-text {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.safety-features-list {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.safety-features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.red-square-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--accent-red);
    display: block;
    flex-shrink: 0;
}

.feat-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

/* ==========================================================================
   Stats Counter Section
   ========================================================================== */
.stats-section {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 10px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-light);
}

.stat-plus {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
}

.stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-offset);
    padding: 100px 20px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

/* Left Title Banner */
.testimonials-left-banner {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.testimonials-left-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.testimonial-sub {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.testimonial-main-title {
    color: var(--text-light);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonial-lead-text {
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
}

/* Right Testimonial List */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    opacity: 0.15;
}

.stars-rating {
    margin-bottom: 15px;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.contact-subtitle {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-main-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 35px;
    text-transform: uppercase;
}

/* Form Styles */
.contact-form-wrapper {
    padding-right: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.form-group label .req {
    color: var(--accent-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--bg-offset);
    transition: var(--transition-smooth);
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--bg-light);
    box-shadow: 0 0 0 3px rgba(15, 111, 150, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 40px !important;
}

/* Form Validation States */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--accent-red);
}

.error-msg {
    display: none;
    color: var(--accent-red);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-success-msg {
    display: none;
    background-color: #2ecc71;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 15px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Info Details Styles */
.contact-info-wrapper {
    background-color: var(--bg-offset);
    padding: 50px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.info-value {
    font-style: normal;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.info-value.link:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   Header Need Form Modal Dialog CSS
   ========================================================================== */
.need-dialog {
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 550px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 0;
    background-color: var(--bg-light);
    z-index: 1002;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    display: block; /* Overrides default dialog display block to support transitions */
}

.need-dialog[open] {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.need-dialog::backdrop {
    background-color: rgba(18, 18, 20, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.need-dialog[open]::backdrop {
    opacity: 1;
}

.dialog-wrapper {
    position: relative;
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
}

.dialog-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
}

.dialog-close-btn:hover {
    color: var(--accent-red);
}

.dialog-subtitle {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.dialog-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.dialog-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.dialog-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 80px 20px 20px 20px;
    border-top: 4px solid var(--primary-blue);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--text-light);
}

.footer-desc {
    color: #a0a0a8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
    margin-top: 8px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #a0a0a8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.newsletter-text {
    color: #a0a0a8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-input-group input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: inherit;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.newsletter-input-group input:focus {
    background-color: rgba(255, 255, 255, 0.12);
}

.news-btn {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.news-btn:hover {
    background-color: var(--primary-blue-dark);
}

.newsletter-col .error-msg,
.newsletter-col .success-msg {
    display: none;
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 600;
}

.newsletter-col .error-msg {
    color: var(--accent-red);
}

.newsletter-col .success-msg {
    color: #2ecc71;
}

/* Footer Copyright bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px; /* Hidden initially */
    width: 46px;
    height: 46px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 99;
    transition: var(--transition-smooth);
}

.back-to-top.visible {
    right: 30px;
}

.back-to-top:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints & Styles
   ========================================================================== */

/* Large screens and tablets */
@media (max-width: 1200px) {
    .nav-list {
        gap: 16px;
    }
}

/* Tablet layout */
@media (max-width: 992px) {
    section {
        padding: 70px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        padding-right: 0;
    }

    .highlights-container {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: 1fr 1fr;
    }

    .safety-left-vertical {
        display: none; /* Hide vertical title bar on tablets */
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding-right: 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    section {
        padding: 50px 15px;
        scroll-margin-top: 68px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .header-container {
        padding: 12px 15px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-subtext {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .hamburger-btn {
        display: flex;
    }

    .header-ctas {
        display: none; /* Hide CTA buttons on mobile header */
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 68px);
        background-color: var(--bg-light);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        z-index: 999;
        border-left: 1px solid var(--border-color);
        overflow-y: auto;
        visibility: hidden; /* Prevent horizontal overflow */
    }

    .nav-menu.open {
        right: 0;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav-list li a {
        display: block;
        padding: 18px 30px;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }

    .nav-list li a::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .about-main-img {
        height: 300px;
    }

    .carousel-container {
        padding: 10px 15px;
    }

    .scroller {
        gap: 15px;
    }

    .service-card {
        flex: 0 0 calc(100% - 10px);
        min-width: 280px;
    }

    .safety-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .safety-img {
        height: 300px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dialog-wrapper {
        padding: 25px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-nav-ctas {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 24px 20px;
        border-top: 1px solid var(--border-color);
        background-color: var(--bg-light);
    }

    .mobile-nav-ctas button,
    .mobile-nav-ctas a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 12px 20px;
        border-radius: 4px;
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-sizing: border-box;
    }

    .call-banner {
        padding: 30px 20px;
        min-height: auto;
    }

    .banner-phone-link {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }

    .contact-info-wrapper {
        padding: 30px 20px;
    }

    .info-value {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
        font-size: 1rem;
    }
}
