﻿/* ====== index.html styles ====== */
/* ====== CSS RESET & BASE STYLES ====== */
:root {
    --primary: #3871C1;
    --secondary: #E63F23;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f7fa;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #e0e0e0;
    --dark-gray: #2d2d2d;
}

/* ====== ACCESSIBILITY ====== */
/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--secondary);
    outline-offset: 0;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

@supports (content-visibility: auto) {
    main > section:not(.hero) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 900px;
    }
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--light);
    color: #555;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====== BUTTON STYLES ====== */
.cta-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 140px;
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 70, 36, 0.3);
}

.secondary-button {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 140px;
    touch-action: manipulation;
}

.secondary-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.theme-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 0.9rem;
    min-height: 44px;
}

/* ====== HEADER & NAVIGATION ====== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    transition: all 0.3s ease;
    min-height: 80px;
    backdrop-filter: blur(10px);
}

body.dark-theme header {
    background-color: rgba(30, 30, 30, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 100px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

body.dark-theme .mobile-menu-btn {
    color: var(--dark-text);
}

nav {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

header nav.desktop-nav {
    position: relative;
    left: auto;
    transform: none;
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

body.dark-theme nav ul li a {
    color: var(--dark-text);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Header Call Button */
.header-call-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 40px;
    min-width: 100px;
    touch-action: manipulation;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 10px;
}

.header-call-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(241, 70, 36, 0.3);
}

/* ====== HERO SECTION WITH SLIDER (Matching contact page size) ====== */
.hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    margin-top: 80px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Add overlay to slides for better text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Add a gradient overlay for even better text readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    z-index: 3;
    position: relative;
    color: white;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--light);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--light);
    transform: scale(1.2);
}

/* ====== SERVICES SECTION ====== */
.services {
    padding: 80px 5%;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

body.dark-theme .services {
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

body.dark-theme .section-title p {
    color: #aaa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
    isolation: isolate;
}

body.dark-theme .service-card {
    background: var(--dark-card);
}

.service-icon {
    height: 170px;
    background: #0f1c2f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: none;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.service-content h3 {
    font-size: 1.28rem;
    margin-bottom: 10px;
    color: var(--primary);
}

body.dark-theme .service-content h3 {
    color: var(--dark-text);
}

.service-content p {
    color: #666;
    margin-bottom: 14px;
    font-size: 0.96rem;
    flex: 1;
}

body.dark-theme .service-content p {
    color: #aaa;
}

.features-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .features-list,
.service-card.active .features-list {
    opacity: 1;
    max-height: 500px;
}

.features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

body.dark-theme .features-list li {
    color: #ccc;
}

.features-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 6px;
    padding: 6px 0;
    position: relative;
    z-index: 10;
    touch-action: manipulation;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ====== HOME PAGE CAPABILITY SECTIONS ====== */
.home-highlights,
.home-insights,
.home-sectors,
.home-response-model {
    padding: 80px 5%;
}

.home-highlights {
    background: linear-gradient(180deg, rgba(56, 113, 193, 0.07), rgba(56, 113, 193, 0));
    padding-top: 0;
    padding-bottom: 32px;
    margin-top: -44px;
    position: relative;
    z-index: 5;
}

body.dark-theme .home-highlights {
    background: linear-gradient(180deg, rgba(56, 113, 193, 0.18), rgba(56, 113, 193, 0));
}

.home-highlights-shell {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(9, 25, 47, 0.14);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

body.dark-theme .home-highlights-shell {
    background: rgba(30, 30, 30, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.home-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-highlight-item {
    text-align: center;
    padding: 24px 18px;
    position: relative;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    will-change: opacity, transform;
}

.home-highlights.is-visible .home-highlight-item {
    opacity: 1;
    transform: translateY(0);
}

.home-highlights.is-visible .home-highlight-item:nth-child(2) {
    transition-delay: 0.08s;
}

.home-highlights.is-visible .home-highlight-item:nth-child(3) {
    transition-delay: 0.16s;
}

.home-highlights.is-visible .home-highlight-item:nth-child(4) {
    transition-delay: 0.24s;
}

.home-highlight-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 0;
    width: 1px;
    height: calc(100% - 48px);
    background: linear-gradient(180deg, transparent, rgba(56, 113, 193, 0.22), transparent);
}

.home-highlight-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
}

.home-highlight-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1;
}

.home-highlight-value {
    display: block;
    font-variant-numeric: tabular-nums;
}

.home-highlight-value.is-counting {
    text-shadow: 0 0 18px rgba(56, 113, 193, 0.12);
}

.home-highlight-item p {
    margin: 0;
    color: #556070;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.96rem;
}

body.dark-theme .home-highlight-item p {
    color: #b6c0cf;
}

@media (prefers-reduced-motion: reduce) {
    .home-highlight-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-highlight-value.is-counting {
        text-shadow: none;
    }
}

.home-insights {
    background:
        radial-gradient(circle at top left, rgba(56, 113, 193, 0.08), transparent 32%),
        var(--light);
}

body.dark-theme .home-insights {
    background:
        radial-gradient(circle at top left, rgba(56, 113, 193, 0.14), transparent 32%),
        var(--dark-bg);
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(56, 113, 193, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.home-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

body.dark-theme .home-kicker {
    background: rgba(56, 113, 193, 0.18);
    color: #d7e4f8;
}

.home-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-insight-card {
    background: white;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(12, 28, 55, 0.08);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-insight-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #3871c1, #3871c1);
    opacity: 0.9;
}

.home-insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(12, 28, 55, 0.14);
}

body.dark-theme .home-insight-card {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.home-insight-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #24569a);
    color: white;
    font-size: 1.25rem;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(56, 113, 193, 0.25);
}

.home-insight-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-insight-card h3 {
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.45rem;
}

body.dark-theme .home-insight-card h3 {
    color: var(--dark-text);
}

.home-insight-card p {
    color: #5f6978;
    margin-bottom: 18px;
}

body.dark-theme .home-insight-card p {
    color: #a9b3c2;
}

.home-insight-card ul,
.home-priority-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-insight-card li,
.home-priority-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #374151;
}

body.dark-theme .home-insight-card li,
body.dark-theme .home-priority-list li {
    color: #d3dae5;
}

.home-insight-card li::before,
.home-priority-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--secondary);
    transform: translateY(-50%);
}

.home-priority-list li {
    padding: 14px 14px 14px 42px;
    border-radius: 14px;
    background: rgba(56, 113, 193, 0.05);
    margin-bottom: 14px;
}

body.dark-theme .home-priority-list li {
    background: rgba(56, 113, 193, 0.1);
}

.home-priority-list li::before {
    left: 16px;
}

.home-insights-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.home-insights-actions .secondary-button {
    color: var(--primary);
    border-color: rgba(56, 113, 193, 0.28);
}

.home-insights-actions .secondary-button:hover {
    color: white;
}

.home-sectors {
    background:
        radial-gradient(circle at 15% 20%, rgba(230, 63, 35, 0.08), transparent 24%),
        radial-gradient(circle at 85% 80%, rgba(56, 113, 193, 0.08), transparent 28%),
        var(--gray);
}

body.dark-theme .home-sectors {
    background:
        radial-gradient(circle at 15% 20%, rgba(230, 63, 35, 0.12), transparent 24%),
        radial-gradient(circle at 85% 80%, rgba(56, 113, 193, 0.12), transparent 28%),
        #161a20;
}

.home-sectors-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}

.home-sectors-block {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 14px 34px rgba(10, 25, 48, 0.08);
    border: 1px solid rgba(20, 52, 94, 0.06);
}

body.dark-theme .home-sectors-block {
    background: var(--dark-card);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.home-sectors-block h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

body.dark-theme .home-sectors-block h3 {
    color: var(--dark-text);
}

.home-sectors-block p {
    color: #5f6978;
    margin-bottom: 20px;
}

body.dark-theme .home-sectors-block p {
    color: #a9b3c2;
}

.home-sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-sector-tags span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(56, 113, 193, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

body.dark-theme .home-sector-tags span {
    background: rgba(56, 113, 193, 0.18);
    color: #d7e4f8;
}

.home-response-model {
    background:
        radial-gradient(circle at 12% 18%, rgba(56, 113, 193, 0.12), transparent 26%),
        radial-gradient(circle at 88% 82%, rgba(230, 63, 35, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(56, 113, 193, 0.04), transparent 22%),
        var(--light);
}

body.dark-theme .home-response-model {
    background:
        radial-gradient(circle at 12% 18%, rgba(56, 113, 193, 0.16), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(230, 63, 35, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(56, 113, 193, 0.09), transparent 22%),
        var(--dark-bg);
}

.home-response-shell {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 32px;
    align-items: start;
}

.home-response-overview {
    position: sticky;
    top: 120px;
    padding: 34px 32px;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.98));
    border: 1px solid rgba(56, 113, 193, 0.1);
    box-shadow: 0 24px 54px rgba(8, 23, 44, 0.1);
    overflow: hidden;
}

.home-response-overview::before {
    content: '';
    position: absolute;
    inset: -60px auto auto -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 113, 193, 0.14), rgba(56, 113, 193, 0));
    pointer-events: none;
}

.home-response-overview::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 150px;
    height: 150px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(230, 63, 35, 0.08), rgba(56, 113, 193, 0.03));
    transform: rotate(18deg);
    pointer-events: none;
}

body.dark-theme .home-response-overview {
    background: linear-gradient(160deg, rgba(26, 32, 42, 0.96), rgba(18, 24, 34, 0.96));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.home-response-heading {
    text-align: left;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.home-response-heading h2 {
    max-width: 10ch;
}

.home-response-heading p {
    max-width: 34rem;
}

.home-response-note {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(56, 113, 193, 0.06);
    border: 1px solid rgba(56, 113, 193, 0.08);
}

body.dark-theme .home-response-note {
    background: rgba(56, 113, 193, 0.14);
    border-color: rgba(255, 255, 255, 0.06);
}

.home-response-note-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
}

.home-response-note p {
    margin: 0;
    color: #4b5a6f;
}

body.dark-theme .home-response-note p {
    color: #c7d1df;
}

.home-response-points {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-response-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(56, 113, 193, 0.1);
    box-shadow: 0 10px 22px rgba(11, 26, 49, 0.07);
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 600;
}

.home-response-points i {
    color: var(--secondary);
}

body.dark-theme .home-response-points span {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #dce7f8;
    box-shadow: none;
}

.home-response-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.home-response-actions .secondary-button {
    color: var(--primary);
    border-color: rgba(56, 113, 193, 0.28);
}

.home-response-actions .secondary-button:hover {
    color: white;
}

.home-response-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    position: relative;
}

.home-response-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 113, 193, 0.25), rgba(230, 63, 35, 0.35), rgba(56, 113, 193, 0.25));
    transform: translateY(-50%);
}

.home-step {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 253, 0.96));
    border: 1px solid rgba(56, 113, 193, 0.1);
    border-radius: 24px;
    padding: 28px 24px 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-step::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3871c1, #3871c1);
    opacity: 0.95;
}

.home-step::after {
    content: '';
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 113, 193, 0.11), rgba(56, 113, 193, 0));
    pointer-events: none;
}

.home-step:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 113, 193, 0.2);
    box-shadow: 0 22px 48px rgba(12, 28, 55, 0.14);
}

body.dark-theme .home-step {
    background: linear-gradient(180deg, rgba(28, 36, 48, 0.98), rgba(19, 26, 36, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

.home-step-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.home-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: white;
    background: linear-gradient(135deg, var(--primary), #24569a);
    box-shadow: 0 10px 24px rgba(56, 113, 193, 0.25);
}

.home-step-phase {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(56, 113, 193, 0.08);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.dark-theme .home-step-phase {
    background: rgba(56, 113, 193, 0.16);
    color: #d8e6fb;
}

.home-step-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(56, 113, 193, 0.14), rgba(56, 113, 193, 0.04));
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(56, 113, 193, 0.16);
}

body.dark-theme .home-step-icon {
    background: linear-gradient(135deg, rgba(56, 113, 193, 0.22), rgba(255, 255, 255, 0.05));
    color: #d7e4f8;
}

.home-step h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

body.dark-theme .home-step h3 {
    color: var(--dark-text);
}

.home-step p {
    margin: 0 0 18px;
    color: #5f6978;
}

body.dark-theme .home-step p {
    color: #a9b3c2;
}

.home-step-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.home-step-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #3f4d5f;
}

.home-step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--secondary);
    transform: translateY(-50%);
}

body.dark-theme .home-step-list li {
    color: #d1dbea;
}

.home-step-outcome {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(230, 63, 35, 0.08);
    color: #9b2d1d;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.dark-theme .home-step-outcome {
    background: rgba(230, 63, 35, 0.16);
    color: #ffd2ca;
}

.home-response-trust {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(56, 113, 193, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 255, 0.78));
    box-shadow: 0 16px 42px rgba(10, 28, 52, 0.1);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.dark-theme .home-response-trust {
    background: linear-gradient(180deg, rgba(30, 38, 50, 0.9), rgba(20, 27, 37, 0.9));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.home-response-trust-item {
    text-align: center;
    padding: 18px 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(56, 113, 193, 0.08);
    background: linear-gradient(180deg, rgba(56, 113, 193, 0.09), rgba(56, 113, 193, 0.03));
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-response-trust-item:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 113, 193, 0.2);
    box-shadow: 0 12px 28px rgba(14, 35, 65, 0.14);
}

body.dark-theme .home-response-trust-item {
    background: linear-gradient(180deg, rgba(56, 113, 193, 0.22), rgba(56, 113, 193, 0.08));
    border-color: rgba(255, 255, 255, 0.08);
}

.home-response-trust-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), #2b5fa6);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(56, 113, 193, 0.24);
}

body.dark-theme .home-response-trust-icon {
    background: linear-gradient(135deg, #4a85d8, #2f68b8);
}

.home-response-trust-value {
    display: block;
    font-size: 1.16rem;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.home-response-trust-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6677;
    font-weight: 700;
    margin-bottom: 6px;
}

.home-response-trust-meta {
    display: block;
    font-size: 0.84rem;
    color: #6a7586;
    font-weight: 600;
}

body.dark-theme .home-response-trust-value {
    color: #e4efff;
}

body.dark-theme .home-response-trust-label {
    color: #b4c1d5;
}

body.dark-theme .home-response-trust-meta {
    color: #97a5bb;
}

.home-response-overview,
.home-step,
.home-response-trust {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-response-model.is-visible .home-response-overview,
.home-response-model.is-visible .home-step,
.home-response-model.is-visible .home-response-trust {
    opacity: 1;
    transform: translateY(0);
}

.home-response-model.is-visible .home-step:nth-child(2) {
    transition-delay: 0.08s;
}

.home-response-model.is-visible .home-step:nth-child(3) {
    transition-delay: 0.16s;
}

.home-response-model.is-visible .home-step:nth-child(4) {
    transition-delay: 0.24s;
}

.home-response-model.is-visible .home-response-trust {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    .home-response-overview,
    .home-step,
    .home-response-trust {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 768px) {
    .home-highlights,
    .home-insights,
    .home-sectors,
    .home-response-model {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .home-highlights {
        padding-top: 20px;
        padding-bottom: 28px;
        margin-top: -24px;
    }

    .home-highlights-shell {
        border-radius: 20px;
    }

    .home-highlight-item:not(:last-child)::after {
        display: none;
    }

    .home-highlights-grid,
    .home-insights-grid,
    .home-response-steps,
    .home-sectors-inner {
        grid-template-columns: 1fr;
    }

    .home-response-shell {
        grid-template-columns: 1fr;
    }

    .home-response-overview {
        position: static;
        padding: 26px 22px;
    }

    .home-response-heading h2,
    .home-response-heading p {
        max-width: none;
    }

    .home-highlight-item {
        padding: 8px 12px;
    }

    .home-response-steps::before {
        display: none;
    }

    .home-sectors-block,
    .home-insight-card,
    .home-step {
        padding: 24px 20px;
    }

    .home-insights-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-insights-actions .cta-button,
    .home-insights-actions .secondary-button {
        width: 100%;
    }

    .home-step-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-response-points span,
    .home-step-outcome {
        width: 100%;
        justify-content: center;
    }

    .home-response-actions {
        flex-direction: column;
    }

    .home-response-actions .cta-button,
    .home-response-actions .secondary-button {
        width: 100%;
    }

    .home-response-trust {
        grid-template-columns: 1fr;
        margin-top: 18px;
        border-radius: 18px;
        padding: 10px;
    }

    .home-response-trust-item {
        padding: 16px 14px;
    }

    .home-response-trust-item:hover {
        transform: none;
        box-shadow: none;
    }

    .home-response-overview,
    .home-step,
    .home-response-trust {
        opacity: 1;
        transform: none;
    }
}

/* ====== ABOUT SECTION ====== */
.home-accreditations {
    padding: 72px 5% 64px;
    background:
        radial-gradient(circle at 12% 20%, rgba(56, 113, 193, 0.09), transparent 24%),
        radial-gradient(circle at 88% 78%, rgba(230, 63, 35, 0.08), transparent 26%),
        var(--gray);
}

body.dark-theme .home-accreditations {
    background:
        radial-gradient(circle at 12% 20%, rgba(56, 113, 193, 0.14), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(230, 63, 35, 0.12), transparent 28%),
        #161b22;
}

.home-accreditations-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.home-accreditation-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(56, 113, 193, 0.12);
    border-radius: 18px;
    padding: 10px 14px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 32px rgba(11, 30, 56, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-accreditation-item:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 113, 193, 0.22);
    box-shadow: 0 20px 40px rgba(11, 30, 56, 0.14);
}

body.dark-theme .home-accreditation-item {
    background: rgba(30, 38, 50, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.home-accreditation-item img {
    width: 44px;
    height: 32px;
    object-fit: contain;
    margin: 0;
    display: block;
    flex-shrink: 0;
}

.home-accreditation-item span {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.25;
    text-align: left;
}

body.dark-theme .home-accreditation-item span {
    color: #d8e6fb;
}

@media (max-width: 992px) {
    .home-accreditations-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-accreditations {
        padding: 58px 5% 54px;
    }

    .home-accreditations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .home-accreditation-item {
        padding: 9px 10px;
    }

    .home-accreditation-item:hover {
        transform: none;
        box-shadow: 0 14px 28px rgba(11, 30, 56, 0.1);
    }

    .home-accreditation-item img {
        width: 40px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .home-accreditations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-accreditation-item {
        min-width: 0;
    }
}

.about {
    padding: 80px 5%;
    background: var(--light);
    position: relative;
}

body.dark-theme .about {
    background: var(--dark-bg);
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 500px;
    background: linear-gradient(45deg, #1a3b74, #3871C1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 25px;
}

.about-content p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

body.dark-theme .about-content p {
    color: #aaa;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: var(--gray);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

body.dark-theme .stat-box {
    background: var(--dark-card);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

/* ====== CONTACT SECTION (Homepage version) ====== */
.contact-home {
    padding: 80px 5%;
    background: var(--gray);
    position: relative;
}

body.dark-theme .contact-home {
    background: var(--dark-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

body.dark-theme .contact-item {
    background: var(--dark-card);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-item:hover .contact-icon {
    background: var(--secondary);
    transform: scale(1.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

body.dark-theme .contact-details h3 {
    color: var(--dark-text);
}

.contact-details a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

body.dark-theme .contact-details a {
    color: var(--dark-text);
}

.contact-details a:hover {
    color: var(--secondary);
}

.contact-details p {
    color: #555;
}

body.dark-theme .contact-details p {
    color: #aaa;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark-theme .contact-form {
    background: var(--dark-card);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

body.dark-theme .contact-form h3 {
    color: var(--dark-text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

body.dark-theme .form-group label {
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    color: var(--dark);
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea,
body.dark-theme .form-group select {
    background: var(--dark-gray);
    border-color: #444;
    color: var(--dark-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 113, 193, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    margin-top: 10px;
    min-height: 48px;
    touch-action: manipulation;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 70, 36, 0.3);
}

/* ====== APPLY ONLINE PAGE ====== */
.job-hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    margin-top: 80px;
    color: white;
    text-align: center;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.job-hero-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.job-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.job-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.why-join-us {
    padding: 80px 5%;
    background: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e6e9ef;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary), #ff6b4a);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.application-section {
    padding: 80px 5%;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.application-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.application-section .section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.application-section .section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.application-section .section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

.success-message {
    max-width: 1100px;
    margin: 20px auto 30px;
    background: #ecfff4;
    border: 1px solid #b7f0cf;
    border-radius: 12px;
    padding: 22px 24px;
    color: #0e5f34;
}

.success-message h3 {
    margin-bottom: 10px;
}

.application-form {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.application-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    align-items: start;
    margin-bottom: 25px;
}

.application-form .form-row + .form-row {
    margin-top: 14px;
}

.application-form .form-group.full-width {
    grid-column: 1 / -1;
}

.application-form .form-group label.required::after {
    content: " *";
    color: var(--secondary);
    font-weight: 700;
}

.form-section {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray);
    border-radius: 0;
    padding: 0 0 30px;
    margin-bottom: 40px;
    box-shadow: none;
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: normal;
    color: inherit;
    border: none;
    box-shadow: none;
    transition: none;
}

.radio-option label {
    cursor: pointer;
    margin: 0;
}

.radio-option input[type="radio"] {
    appearance: auto;
    -webkit-appearance: radio;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.radio-option input[type="radio"]:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.medical-description-container {
    display: none;
    margin-top: 14px;
}

.medical-description-container.active {
    display: block;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.availability-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--gray);
    border-radius: 8px;
    border: 1px solid #ddd;
}

.availability-label {
    font-weight: 600;
    color: var(--primary);
}

.availability-options {
    display: flex;
    gap: 15px;
}

.submit-btn-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--gray);
}

.application-form .form-group input,
.application-form .form-group textarea,
.application-form .form-group select {
    border-color: #ddd;
    background: #ffffff;
    box-shadow: none;
}

.application-form .form-group input:focus,
.application-form .form-group textarea:focus,
.application-form .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 113, 193, 0.2);
}

.error-message {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 6px;
    display: none;
}

body.dark-theme .why-join-us,
body.dark-theme .application-section {
    background: var(--dark-bg);
}

body.dark-theme .application-section .section-title p {
    color: #aaa;
}

body.dark-theme .benefit-card,
body.dark-theme .application-form,
body.dark-theme .form-section,
body.dark-theme .availability-item {
    background: var(--dark-card);
    border-color: #333;
}

body.dark-theme .form-section {
    border-bottom-color: var(--dark-gray);
}

body.dark-theme .form-note,
body.dark-theme .availability-label,
body.dark-theme .radio-option {
    color: var(--dark-text);
}

body.dark-theme .radio-option {
    background: var(--dark-gray);
}

@media (max-width: 768px) {
    .job-hero {
        padding: 110px 5% 70px;
    }

    .application-form {
        padding: 28px;
    }

    .form-section {
        padding: 20px;
    }
}

/* ====== MAP SECTION (Matching contact page size) ====== */
.map-section {
    padding: 0 5% 80px;
    background: var(--gray);
}

body.dark-theme .map-section {
    background: var(--dark-bg);
}

.map-container {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.8);
    color: white;
    padding: 20px;
    text-align: center;
}

.map-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.map-overlay p {
    color: #ddd;
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary), #1a3b74);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 10;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.white-button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 140px;
    touch-action: manipulation;
}

.white-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.transparent-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 140px;
    touch-action: manipulation;
}

.transparent-button:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ====== FOOTER ====== */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 5% 30px;
}

body.dark-theme footer {
    background: #0a0a0a;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    color: #bbb;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    max-width: 100%;
    margin-bottom: 10px;
}

.tagline {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 5px 0 15px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #bbb;
}

.footer-contact ul li i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
}

.footer-contact a:hover {
    color: #ff5733;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-newsletter h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    bottom: -10px;
    left: 0;
}

.footer-newsletter p {
    color: #bbb;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.newsletter-form input::placeholder {
    color: #d1d5db;
}

.newsletter-form .cta-button {
    justify-content: center;
    width: 100%;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* ====== ANIMATIONS ====== */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== MOBILE MENU STYLES ====== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--light);
    z-index: 1002;
    padding: 100px 5% 50px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.dark-theme .mobile-nav {
    background: var(--dark-bg);
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    padding: 15px 0;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.dark-theme .mobile-nav ul li a {
    color: var(--dark-text);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .cta-button {
    margin-top: 30px;
    width: 100%;
}

body.nav-open .theme-button {
    display: none;
}

.mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 5%;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

body.dark-theme .mobile-nav-close {
    color: var(--dark-text);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 992px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .map-container {
        height: 400px;
    }

    .footer-logo img {
        height: 100px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }

    .logo {
        height: 50px;
    }

    .logo img {
        max-height: 80px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 3;
    }

    nav.desktop-nav {
        display: none;
    }

    .header-call-btn {
        order: 2;
        padding: 8px 16px;
        font-size: 0.8rem;
        min-height: 36px;
        min-width: 90px;
        margin-left: auto;
    }

    .hero {
        margin-top: 70px;
        padding: 0 20px;
        min-height: 350px;
        height: 50vh;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .slider-controls {
        bottom: 20px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        margin-bottom: 10px;
    }

    .service-icon {
        height: 150px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        height: 400px;
        order: -1;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .map-container {
        height: 350px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .white-button,
    .transparent-button {
        width: 100%;
    }

    .footer-logo img {
        height: 80px;
    }

    .tagline {
        font-size: 1rem;
    }

    .mobile-nav {
        display: block;
    }

    /* Service card mobile interaction */
    .service-card {
        cursor: pointer;
    }

    .service-card.active {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        z-index: 10;
    }

    .service-link {
        pointer-events: auto;
        position: relative;
        z-index: 20;
    }

    /* Reset navigation positioning for mobile */
    nav {
        position: static;
        transform: none;
        left: auto;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 10px;
    }

    .logo {
        height: 45px;
    }

    .logo img {
        max-height: 70px;
    }

    .header-call-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-height: 34px;
        min-width: 80px;
        margin-right: 5px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        margin-left: 5px;
    }

    .hero {
        margin-top: 65px;
        min-height: 300px;
        height: 40vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .cta-button,
    .hero-buttons .secondary-button {
        width: 100%;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .service-icon {
        height: 140px;
    }

    .service-content {
        padding: 16px;
    }

    .service-content h3 {
        font-size: 1.12rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .map-container {
        height: 300px;
    }

    .map-overlay {
        padding: 15px;
    }

    .map-overlay h3 {
        font-size: 1.2rem;
    }

    .theme-button {
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-logo img {
        height: 70px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 700px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .map-container {
        height: 600px;
    }
}

/* Print styles */
@media print {
    .theme-button,
    .mobile-menu-btn,
    .header-call-btn,
    .hero-slider,
    .slider-controls {
        display: none !important;
    }

    .hero {
        background: #f5f5f5 !important;
        color: #000 !important;
        height: auto;
        margin-top: 0;
    }

    .hero h1 {
        color: #000 !important;
    }

    .map-container {
        height: 300px !important;
    }

    .cta-section {
        background: #f5f5f5 !important;
        color: #000 !important;
    }
}

/* ====== services/alarmresponses.html styles ====== */
/* ====== CSS RESET & BASE STYLES ====== */
:root {
    --primary: #3871C1;
    --secondary: #E63F23;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f7fa;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #e0e0e0;
    --dark-gray: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--light);
    color: #555;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====== BUTTON STYLES ====== */
.cta-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 140px;
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 70, 36, 0.3);
}

.secondary-button {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 140px;
    touch-action: manipulation;
}

.secondary-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.theme-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 0.9rem;
    min-height: 44px;
}

/* ====== HEADER & NAVIGATION - FIXED TO MATCH REFERENCE ====== */
/* Desktop: 80px fixed height (grows to 110px with padding) */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    transition: all 0.3s ease;
    height: 80px;
    backdrop-filter: blur(10px);
}

body.dark-theme header {
    background-color: rgba(30, 30, 30, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 80px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

body.dark-theme .mobile-menu-btn {
    color: var(--dark-text);
}

/* NAVIGATION FIX - Standardized to match reference */
nav.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 20px;
    gap: 30px;
}

nav.desktop-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

body.dark-theme nav.desktop-nav a {
    color: var(--dark-text);
}

nav.desktop-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active {
    color: var(--primary);
}

nav.desktop-nav a:hover:after,
nav.desktop-nav a.active:after {
    width: 100%;
}

nav.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav.desktop-nav ul li {
    position: relative;
}

nav.desktop-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

body.dark-theme nav.desktop-nav ul li a {
    color: var(--dark-text);
}

nav.desktop-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s;
}

nav.desktop-nav ul li a:hover,
nav.desktop-nav ul li a.active {
    color: var(--primary);
}

nav.desktop-nav ul li a:hover:after,
nav.desktop-nav ul li a.active:after {
    width: 100%;
}

/* Header Call Button */
.header-call-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 40px;
    min-width: 100px;
    touch-action: manipulation;
    white-space: nowrap;
}

.header-call-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(241, 70, 36, 0.3);
}

/* ====== MOBILE MENU STYLES (STANDARDIZED FROM REFERENCE) ====== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--light);
    z-index: 1002;
    padding: 100px 5% 50px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.dark-theme .mobile-nav {
    background: var(--dark-bg);
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    padding: 15px 0;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.dark-theme .mobile-nav ul li a {
    color: var(--dark-text);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .cta-button {
    margin-top: 30px;
    width: 100%;
}

body.nav-open .theme-button {
    display: none;
}

.mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 5%;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

body.dark-theme .mobile-nav-close {
    color: var(--dark-text);
}

/* ====== SERVICE PAGE HERO - STANDARDIZED TO MATCH REFERENCE ====== */
/* Desktop: 70% of viewport height, minimum 500px + 80px header clearance */
.service-hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    margin-top: 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../images/alarm-response-monitoring-services-australia.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

.service-hero-content {
    max-width: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
}

.service-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 25px;
    color: #f0f0f0;
    max-width: 100%;
    line-height: 1.6;
}

/* BREADCRUMB - Standardized to match reference page structure */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: #ffffff;
    margin: 0 5px;
}

/* HERO BUTTONS - Preserving two-button layout but matching reference styling */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* ====== SERVICE DETAILS SECTION ====== */
.service-details {
    padding: 40px 20px;
    background: var(--gray);
}

body.dark-theme .service-details {
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 100%;
    margin: 20px auto 0;
    font-size: 1rem;
    padding: 0 10px;
}

body.dark-theme .section-title p {
    color: #aaa;
}

.details-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.service-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.details-content h2,
.details-content h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.details-content p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

body.dark-theme .details-content p {
    color: #aaa;
}

.benefits-list {
    list-style: none;
    margin: 20px 0;
}

.benefits-list li {
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

body.dark-theme .benefits-list li {
    color: #ccc;
}

.benefits-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--secondary);
    font-size: 1rem;
    background: rgba(241, 70, 36, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== SERVICE FEATURES SECTION ====== */
.service-features {
    padding: 40px 20px;
    background: white;
}

body.dark-theme .service-features {
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: var(--gray);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    width: 100%;
}

body.dark-theme .feature-card {
    background: var(--dark-card);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #2a5ca0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--primary);
    margin-bottom: 10px;
}

body.dark-theme .feature-card h3 {
    color: var(--dark-text);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-card h4,
.assessment-step h4,
.industry-item h4 {
    font-size: clamp(1.1rem, 2.3vw, 1.4rem);
    color: var(--primary);
    margin-bottom: 10px;
}

.executive-protection,
.risk-assessment,
.industries-served {
    padding: 40px 20px;
    background: var(--gray);
}

.executive-protection .section-title,
.risk-assessment .section-title,
.industries-served .section-title {
    margin-bottom: 25px;
}

.executive-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.protection-list {
    list-style: none;
    margin: 20px 0;
}

.protection-list li {
    position: relative;
    padding: 10px 0 10px 34px;
    color: #444;
    line-height: 1.5;
}

.protection-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 11px;
}

.assessment-steps,
.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.assessment-step,
.industry-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--primary);
}

.step-icon,
.industry-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #2a5ca0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.assessment-step p,
.industry-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .executive-container {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .assessment-steps,
    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.dark-theme .feature-card p {
    color: #aaa;
}

/* ====== SECURITY MEASURES SECTION (UNIQUE TO THIS PAGE) ====== */
.security-measures {
    padding: 40px 20px;
    background: white;
}

body.dark-theme .security-measures {
    background: var(--dark-bg);
}

.security-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.security-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}

.security-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.measures-list {
    list-style: none;
    margin: 20px 0;
}

.measures-list li {
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1rem;
    color: #444;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

body.dark-theme .measures-list li {
    color: #ccc;
    border-bottom: 1px solid #444;
}

.measures-list li:last-child {
    border-bottom: none;
}

.measures-list li:before {
    content: '\f0e7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary);
    font-size: 1rem;
}

/* ====== PROCESS SECTION ====== */
.service-process {
    padding: 40px 20px;
    background: var(--gray);
}

body.dark-theme .service-process {
    background: var(--dark-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(56, 113, 193, 0.3);
}

.process-step h3 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--primary);
    margin-bottom: 10px;
}

body.dark-theme .process-step h3 {
    color: var(--dark-text);
}

.process-step p {
    color: #666;
    padding: 0 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

body.dark-theme .process-step p {
    color: #aaa;
}

/* ====== FAQ SECTION ====== */
.faq-section {
    padding: 40px 20px;
    background: white;
}

body.dark-theme .faq-section {
    background: var(--dark-bg);
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.dark-theme .faq-item {
    border-color: #444;
}

.faq-question {
    padding: 20px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

body.dark-theme .faq-question {
    background: var(--dark-card);
}

.faq-question h3 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--primary);
    margin: 0;
    flex: 1;
    text-align: left;
    padding-right: 10px;
}

body.dark-theme .faq-question h3 {
    color: var(--dark-text);
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px;
    background: white;
}

body.dark-theme .faq-answer.active {
    background: var(--dark-card);
}

.faq-answer p {
    color: #555;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

body.dark-theme .faq-answer p {
    color: #aaa;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ====== SERVICE CTA SECTION - STANDARDIZED TO MATCH REFERENCE ====== */
.service-cta {
    padding: 100px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../images/alarm-response-monitoring-services-australia.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.service-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.service-cta p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 40px;
    color: white;
}

.service-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-cta .cta-button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    min-height: 48px;
    min-width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    touch-action: manipulation;
}

.service-cta .cta-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.service-cta .secondary-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    min-height: 48px;
    min-width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    touch-action: manipulation;
}

.service-cta .secondary-button:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ====== CONTACT SECTION ====== */
.contact {
    padding: 40px 20px;
    background: var(--gray);
    position: relative;
}

body.dark-theme .contact {
    background: var(--dark-bg);
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-details a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    display: block;
    word-break: break-word;
}

body.dark-theme .contact-details a {
    color: var(--dark-text);
}

.contact-details a:hover,
.contact-details a:active {
    color: var(--secondary);
}

.contact-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
}

body.dark-theme .contact-form {
    background: var(--dark-card);
}

.contact-form h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--primary);
    margin-bottom: 20px;
}

.internal-links-section {
    padding: 40px 20px;
    background: #eef3fb;
}

body.dark-theme .internal-links-section {
    background: #172234;
}

.internal-links-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.internal-links-section .section-title {
    margin-bottom: 18px;
}

.internal-links-section .section-title p {
    max-width: 820px;
    margin: 0 auto;
}

.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.internal-link-card {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(56, 113, 193, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.35;
    white-space: normal;
    min-width: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.dark-theme .internal-link-card {
    background: var(--dark-card);
    color: var(--dark-text);
    border-color: rgba(230, 63, 35, 0.3);
}

.internal-link-card:hover,
.internal-link-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    border-left-color: var(--secondary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .internal-links-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .internal-links-grid::-webkit-scrollbar {
        height: 6px;
    }

    .internal-link-card {
        flex: 0 0 82%;
        max-width: 82%;
        font-size: 0.92rem;
        text-align: center;
        padding: 14px 16px;
        scroll-snap-align: start;
    }
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

body.dark-theme .form-group label {
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
    color: var(--dark);
    min-height: 48px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea,
body.dark-theme .form-group select {
    background: var(--dark-gray);
    border-color: #444;
    color: var(--dark-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 113, 193, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    margin-top: 10px;
    min-height: 48px;
    touch-action: manipulation;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 70, 36, 0.3);
}

.country-acknowledgement {
    background: #0f235f;
    color: #ffffff;
    padding: 14px 20px;
}

body.dark-theme .country-acknowledgement {
    background: #10255e;
}

.country-acknowledgement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.country-acknowledgement-inner img {
    width: 140px;
    height: auto;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.country-acknowledgement-inner p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: #ffffff;
}

@media (max-width: 768px) {
    .country-acknowledgement {
        padding: 12px 16px;
    }

    .country-acknowledgement-inner {
        align-items: flex-start;
        gap: 12px;
    }

    .country-acknowledgement-inner img {
        width: 104px;
    }

    .country-acknowledgement-inner p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media (max-width: 520px) {
    .country-acknowledgement-inner {
        flex-direction: column;
    }

    .country-acknowledgement-inner img {
        width: 120px;
    }
}

/* ====== RESPONSIVE DESIGN ====== */
/* Tablet (â‰¤992px): 60vh, min 400px */
@media (max-width: 992px) {
    .service-hero {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll;
        margin-top: 80px;
    }

    header {
        padding: 20px 5%;
        height: 80px;
    }

    .logo {
        height: 60px;
    }
}

/* Mobile (â‰¤768px): 50vh, min 350px */
@media (max-width: 768px) {
    header {
        padding: 15px 15px;
        height: 80px;
    }

    .logo {
        height: 50px;
        flex: none;
    }

    .logo img {
        max-height: 70px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 3;
    }

    nav.desktop-nav {
        display: none;
    }

    .header-call-btn {
        order: 2;
        padding: 8px 16px;
        font-size: 0.8rem;
        min-height: 36px;
        min-width: 90px;
        margin-left: auto;
    }

    .mobile-nav {
        display: block;
    }

    .service-hero {
        height: auto;
        min-height: 85vh;
        margin-top: 80px;
        padding: 130px 20px 50px;
        text-align: center;
        background-position: 70% center;
    }

    .service-hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto;
        gap: 14px;
        max-width: 520px;
        margin: 0 auto;
        padding-top: 12px;
    }

    .breadcrumb {
        margin-bottom: 15px;
        font-size: 0.8rem;
        display: block;
        visibility: visible;
    }

    .service-hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin: 10px 0;
    }

    .service-hero p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    /* Hero buttons stack vertically on mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 12px;
    }

    .hero-buttons .cta-button,
    .hero-buttons .secondary-button {
        width: 100%;
        font-size: 0.95rem;
        padding: 12px 20px;
        min-height: 44px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Service CTA Responsive - Standardized to match reference */
    .service-cta .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .service-cta .cta-button,
    .service-cta .secondary-button {
        width: 100%;
    }
}

/* Small mobile (â‰¤480px): 40vh, min 300px */
@media (max-width: 480px) {
    header {
        padding: 10px 10px;
        height: 80px;
    }

    .logo {
        height: 45px;
    }

    .logo img {
        max-height: 65px;
    }

    .header-call-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-height: 34px;
        min-width: 80px;
        margin-right: 5px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        margin-left: 5px;
    }

    .service-hero {
        height: auto;
        min-height: 70vh;
        margin-top: 80px;
        padding: 120px 16px 40px;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .service-hero p {
        font-size: 1rem;
    }

    .theme-button {
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 17px;
    }

    .service-details,
    .service-features,
    .security-measures,
    .service-process,
    .faq-section,
    .service-cta,
    .contact {
        padding: 60px 5%;
    }

    .details-container,
    .security-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .service-image img,
    .security-image img {
        height: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .mobile-menu-btn {
        display: none;
    }

    nav.desktop-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
    }

    nav.desktop-nav ul {
        display: flex;
        list-style: none;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav.desktop-nav ul li a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        font-size: 0.95rem;
        padding: 8px 0;
        transition: color 0.3s;
        position: relative;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }

    .service-hero {
        min-height: 500px;
        margin-top: 80px;
        background-attachment: fixed;
    }

    .service-details,
    .service-features,
    .security-measures,
    .service-process,
    .faq-section,
    .service-cta,
    .contact {
        padding: 80px 5%;
    }

    .service-hero-content {
        max-width: 800px;
    }

    .details-container,
    .security-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .service-image img,
    .security-image img {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .footer-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    nav.desktop-nav ul {
        gap: 30px;
    }

    nav.desktop-nav ul li a {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .footer-container {
        grid-template-columns: repeat(5, minmax(180px, 1fr));
        align-items: start;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .service-hero-content {
        max-width: 900px;
    }
}

/* ====== HERO SIZE NORMALIZATION (ALL PAGES) ====== */
.hero,
.page-hero,
.service-hero,
.contact-hero,
.about-hero,
.blog-hero,
.job-hero {
    height: 70vh !important;
    min-height: 500px !important;
    margin-top: 80px !important;
    padding: 0 5% !important;
    align-items: center !important;
}

@media (max-width: 992px) {
    .hero,
    .page-hero,
    .service-hero,
    .contact-hero,
    .about-hero,
    .blog-hero,
    .job-hero {
        height: 60vh !important;
        min-height: 400px !important;
        margin-top: 80px !important;
        padding: 0 5% !important;
        align-items: center !important;
    }
}

@media (max-width: 768px) {
    .hero,
    .page-hero,
    .service-hero,
    .contact-hero,
    .about-hero,
    .blog-hero,
    .job-hero {
        height: auto !important;
        min-height: 85vh !important;
        margin-top: 80px !important;
        padding: 130px 20px 50px !important;
        text-align: center !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 480px) {
    .hero,
    .page-hero,
    .service-hero,
    .contact-hero,
    .about-hero,
    .blog-hero,
    .job-hero {
        height: auto !important;
        min-height: 85vh !important;
        margin-top: 80px !important;
        padding: 120px 16px 40px !important;
    }
}

/* Print styles */
@media print {
    .theme-button,
    .mobile-menu-btn,
    .service-hero {
        display: none !important;
    }

    .service-hero {
        background: #f5f5f5 !important;
        color: #000 !important;
        height: auto;
        margin-top: 0;
    }

    .service-hero h1 {
        color: #000 !important;
    }
}

/* ====== GLOBAL HEADER LOGO SIZE ====== */
.logo {
    height: 74px;
}

.logo img {
    max-height: 100px;
}

@media (max-width: 768px) {
    .logo {
        height: 62px;
    }

    .logo img {
        max-height: 82px;
    }
}

