/* ==============================================================================
   EMG v3.0 — HIGH-IMPACT INDUSTRIAL & AEROSPACE STYLESHEET
   With Dynamic Hero Slider & Animation Engine
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --red: #dc2626;
    --red-hover: #b91c1c;
    --orange: #ea580c;
    --orange-light: #f97316;
    --blue: #1e3a8a;
    --blue-dark: #0f172a;
    
    /* Backgrounds & Canvas */
    --bg-white: #ffffff;
    --bg-paper: #f8fafc;
    --bg-paper-alt: #f1f5f9;
    --navy-dark: #0e0f12;
    --navy-card: #16171a;
    --navy-footer: #0c0d0f;

    /* Borders */
    --border-light: #e2e8f0;
    --border-dark: #23252b;

    /* Text */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Typography */
    --font-heading: 'Oswald', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Layout & Radii */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --container: 1200px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   KEYFRAME & SCROLL REVEAL ANIMATIONS (UP, DOWN, LEFT, RIGHT, SCALE)
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-45px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(45px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomInBg {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Base Scroll Reveal Classes */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal,
.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.92);
}

/* Active / In-View States */
.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger Delays for Grid Children */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* --------------------------------------------------------------------------
   TYPOGRAPHY & TAGS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--red);
}

.tag-white {
    color: var(--text-white);
    border-bottom-color: var(--red);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-red {
    background-color: var(--red);
    color: var(--text-white);
    border-color: var(--red);
}

.btn-red:hover {
    background-color: var(--red-hover);
    border-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.btn-dark {
    background-color: var(--blue-dark);
    color: var(--text-white);
    border-color: var(--blue-dark);
}

.btn-dark:hover {
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border-light);
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    border-color: var(--red);
    background-color: var(--red);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-wrap:hover img {
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: var(--transition);
}

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

.main-nav a.active {
    color: var(--red);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--bg-paper);
}

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

.dropdown-item-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.dropdown-item-title i {
    color: var(--red);
    font-size: 0.9rem;
}

.dropdown-item-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    font-family: var(--font-body);
    text-transform: none;
}

.dropdown-item:hover {
    background-color: var(--bg-paper);
}

.dropdown-item:hover .dropdown-item-title {
    color: var(--red);
}

.nav-cta {
    background-color: var(--red) !important;
    color: var(--text-white) !important;
    padding: 0.55rem 1.35rem !important;
    border-radius: var(--radius-sm);
    animation: pulseRed 2.5s infinite;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--red-hover) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* --------------------------------------------------------------------------
   DYNAMIC HERO SLIDER COMPONENT
   -------------------------------------------------------------------------- */
.hero-slider-wrap {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 640px;
    background-color: var(--navy-dark);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.04);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Slide Background Overlays */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(14, 15, 18, 0.72), rgba(14, 15, 18, 0.72));
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero-slide.active .hero-slide-tag {
    animation: fadeInDown 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active h1,
.hero-slide.active .hero-slide-heading {
    animation: fadeInUp 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide-heading {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.hero-slide.active p {
    animation: fadeInUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-actions {
    animation: fadeInUp 0.8s 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide h1 {
    color: var(--text-white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slide p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.25rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.slider-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    width: 32px;
    background: var(--red);
}

/* --------------------------------------------------------------------------
   PAGE HERO (INNER PAGES)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    background-color: var(--blue-dark);
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../assets/images/h1_hero1.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 5rem 0 4rem;
}

.page-hero h1 {
    color: var(--text-white);
    margin: 0.5rem 0 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    font-size: 1.05rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--red);
}

/* --------------------------------------------------------------------------
   ABOUT SECTION WITH RED EXPERIENCE BADGE
   -------------------------------------------------------------------------- */
.about-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-split-image {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Signature Red Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: var(--red);
    color: var(--text-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
    display: flex;
    flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    min-width: 170px;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.badge-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   CATEGORY & SERVICE CARDS (DRONE STYLE)
   -------------------------------------------------------------------------- */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.drone-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.drone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.09);
    border-color: var(--red);
}

.drone-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-paper);
}

.drone-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.drone-card:hover .drone-card-img {
    transform: scale(1.07);
}

.drone-card-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.drone-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    transition: var(--transition);
}

.drone-card:hover .drone-card-body h3 {
    color: var(--red);
}

.drone-card-body p {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--red);
}

.card-link-arrow i {
    transition: var(--transition);
}

.drone-card:hover .card-link-arrow i {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   STEPPER & CAPABILITIES (TWO-COLUMN TIMELINE)
   -------------------------------------------------------------------------- */
.capabilities-section {
    padding: 6rem 0;
    background-color: var(--bg-paper);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
}

.capabilities-stepper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.stepper-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.stepper-badge {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--orange);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
    transition: var(--transition);
}

.stepper-item:hover .stepper-badge {
    transform: scale(1.1);
    background-color: var(--red);
}

.stepper-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.stepper-content p {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

.stepper-sublist {
    margin-top: 0.5rem;
}

.stepper-sublist li {
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.3rem;
}

.stepper-sublist li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   EFFICIENCY SPLIT SECTION
   -------------------------------------------------------------------------- */
.efficiency-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    background-color: var(--bg-white);
}

.efficiency-image {
    background-image: url('../assets/images/services5a.png');
    background-size: cover;
    background-position: center;
    min-height: 380px;
}

.efficiency-content {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-paper-alt);
}

/* --------------------------------------------------------------------------
   GALLERY GRID (3-COLUMN RESPONSIVE SHOWCASE)
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: var(--bg-paper);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   FEATURE CHECKLIST & BULLET LIST ALIGNMENT
   -------------------------------------------------------------------------- */
.feature-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
}

.feature-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.feature-check-item i {
    color: var(--red);
    font-size: 1.05rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-check-item .item-text {
    flex: 1;
}

.feature-check-item strong {
    color: var(--text-main);
    font-weight: 700;
    margin-right: 0.3rem;
}

/* --------------------------------------------------------------------------
   STATS COUNTER BAR
   -------------------------------------------------------------------------- */
.stats-bar {
    padding: 3.5rem 0;
    background-color: var(--blue-dark);
    color: var(--text-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item-drone {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item-drone:last-child {
    border-right: none;
}

.stat-number-drone {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label-drone {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.faq-btn:hover {
    color: var(--red);
}

.faq-btn i {
    color: var(--red);
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FORMS & CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg-paper);
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-detail-item i {
    font-size: 1.25rem;
    color: var(--red);
    margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-drone {
    padding: 5rem 0;
    background-color: var(--blue-dark);
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../assets/images/visit_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    text-align: center;
}

.cta-drone h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-drone p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--navy-footer);
    background-image: linear-gradient(rgba(12, 13, 15, 0.94), rgba(12, 13, 15, 0.94)), url('../assets/images/footer-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding-top: 5rem;
    border-top: 3px solid var(--red);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-dark);
}

.footer-brand img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--navy-card);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.footer-socials a:hover {
    background-color: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}

.footer-col h5 {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--red);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-col a:hover {
    color: var(--red);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--red);
    margin-top: 0.2rem;
}

.footer-bottom {
    padding: 1.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--red);
}

/* --------------------------------------------------------------------------
   FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.floating-whatsapp {
    background-color: #25D366;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.back-to-top {
    background-color: var(--blue-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--red);
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   LEGAL / POPIA PAGES CARD
   -------------------------------------------------------------------------- */
.legal-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.legal-card h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.4rem;
}

.legal-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-card li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.legal-highlight-box {
    background: var(--bg-paper);
    border-left: 4px solid var(--red);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .efficiency-section {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .main-nav.open {
        display: flex;
    }
    .nav-dropdown {
        width: 100%;
    }
    .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .nav-dropdown > a i.fa-chevron-down {
        transition: transform 0.3s ease;
    }
    .nav-dropdown.active > a i.fa-chevron-down {
        transform: rotate(180deg);
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 0.75rem;
        background: var(--bg-paper);
        margin-top: 0.5rem;
        border-left: 2px solid var(--red);
    }
    .dropdown-menu.open {
        display: block;
    }
    .cards-grid-4,
    .cards-grid-3 {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .stat-item-drone {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .slider-arrow {
        display: none;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .efficiency-content {
        padding: 3rem 1.5rem;
    }
    .legal-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
    .hero-slide-content h1 {
        font-size: 2.15rem;
    }
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-btn-group,
    .cta-drone div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
    }
    .floating-actions {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

