/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --mamba-green: #99ff00;
    --mamba-dark: #000000;
    --mamba-gray: #111111;
    --mamba-light: #f8f8f8;
    --mamba-accent: #ff3b30;
    --mamba-text: #ffffff;
    --mamba-text-secondary: #cccccc;
    --whatsapp-green: #25D366;
    --linkedin-blue: #0077B5;
    --form-bg: #1a1a1a;
    --input-bg: #222222;
    --input-border: #333333;
}

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

@keyframes logoGlow {
    0%, 100% { filter: brightness(1.08) drop-shadow(0 0 4px rgba(153, 255, 0, 0.5)); }
    50% { filter: brightness(1.2) drop-shadow(0 0 8px rgba(153, 255, 0, 0.7)); }
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--mamba-text);
    background: var(--mamba-dark);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--mamba-green);
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}
h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
}
h3 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-bottom: 0.5rem;
}
h4 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
}
h5 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--mamba-text);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
}

strong {
    color: var(--mamba-green);
    font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: clamp(12px, 3vw, 14px) clamp(20px, 4vw, 35px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    box-shadow: 0 0 15px rgba(153, 255, 0, 0.3);
}

.btn-primary {
    background: var(--mamba-green);
    color: var(--mamba-dark);
}

.btn-primary:hover {
    background: #88dd00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(153, 255, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--mamba-text);
    border: 2px solid var(--mamba-green);
}

.btn-secondary:hover {
    background: var(--mamba-green);
    color: var(--mamba-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(153, 255, 0, 0.5);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp-green);
    color: white;
    border-radius: 50px;
    padding: 18px 35px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatWhatsApp 3s ease-in-out infinite;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: 220px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
    background: #128C7E;
}

.whatsapp-float:active {
    transform: translateY(0) scale(0.98);
}

.whatsapp-desktop {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-mobile {
    display: none;
    align-items: center;
    justify-content: center;
}

.whatsapp-float i {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-float span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    font-size: 1.2rem;
}

/* Floating animation */
@keyframes floatWhatsApp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float:hover {
    animation: none;
}

/* Pulse animation for attention */
@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: floatWhatsApp 3s ease-in-out infinite, pulseWhatsApp 2s infinite;
}

/* ===== COLORED TEXT SPANS ===== */
.here-green, .you-green, .join-green, .tribe-green {
    color: var(--mamba-green);
}
.for-white, .hash-white, .the-white {
    color: #ffffff;
}

/* ===== HAMBURGER MENU - MOBILE ONLY ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    width: 35px;
    height: 35px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--mamba-green);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ===== MOBILE MENU - FIXED FOR SAMSUNG/ANDROID ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: var(--mamba-dark);
    z-index: 1001;
    transition: transform 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    padding-top: 0;
    transform: translateX(100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mamba Logo in Mobile Menu - Larger */
.mobile-logo {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 2px solid var(--mamba-green);
    background: rgba(0, 0, 0, 0.9);
}

.mobile-logo-image {
    height: 85px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.mobile-nav {
    list-style: none;
    padding: 20px;
}

.mobile-link {
    display: block;
    padding: 16px 0;
    color: var(--mamba-text);
    text-decoration: none;
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid rgba(153, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--mamba-green);
    background: transparent;
    padding-left: 0;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(153, 255, 0, 0.5);
}

/* ===== BODY SCROLL LOCK FIXES ===== */
body.menu-open {
    overflow: hidden !important;
}

/* Make sure mobile menu closes properly */
.mobile-menu {
    transition: transform 0.3s ease !important;
}

/* ===== HEADER ===== */
.header {
    background: rgba(0, 0, 0, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--mamba-green);
    padding: 0;
    backdrop-filter: blur(8px);
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

/* Logo - Larger for desktop */
.logo {
    flex-shrink: 0;
    margin-right: 18px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo-image {
    height: clamp(75px, 12vw, 100px);
    width: auto;
    max-width: min(320px, 45vw);
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(153, 255, 0, 0.08));
    animation: logoGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Mobile header center text - hidden on desktop */
.mobile-header-center {
    display: none;
}

/* Navigation Container - Optimized for desktop */
.nav-menu-container {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nav-menu {
    display: flex;
    gap: clamp(4px, 1vw, 8px);
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-shrink: 1;
}

/* Navigation Links - Slightly bigger font, clean hover */
.nav-link {
    color: var(--mamba-text);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.84rem, 1.3vw, 0.98rem);
    transition: all 0.3s ease;
    padding: 7px 8px;
    position: relative;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1px;
    border-radius: 3px;
}

.nav-link:hover {
    color: var(--mamba-green);
    background: transparent;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(153, 255, 0, 0.5);
}

.nav-link.active {
    color: var(--mamba-green);
    background: transparent;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    width: calc(100% - 16px);
    height: 2px;
    background: var(--mamba-green);
    bottom: -8px;
    left: 8px;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
    min-height: min(820px, calc(100vh - 110px));
    padding: clamp(28px, 4vw, 56px) 0 clamp(54px, 7vw, 92px);
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
        url('contacthero.jpg');
    background-size: cover;
    background-position: center;
    background-position-y: 30%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 3vw, 32px);
    align-items: center;
    justify-items: center;
}

.hero-copy {
    max-width: 1200px;
    text-align: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto 12px;
    padding: 8px 12px;
    color: var(--mamba-green);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 1px solid rgba(153, 255, 0, 0.38);
    background: rgba(153, 255, 0, 0.09);
    border-radius: 999px;
    box-shadow: 0 0 25px rgba(153, 255, 0, 0.12);
}

.contact-hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.4rem);
    color: #fff;
    margin: 0 auto 24px;
    font-weight: 700;
    line-height: .97;
    letter-spacing: .02em;
    text-align: center;
    text-transform: uppercase;
    max-width: 760px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.contact-hero p {
    max-width: 790px;
    margin: 0 auto 30px;
    color: #b8c1b8;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== CONTACT FORMS SECTION ===== */
.contact-forms-section {
    padding: clamp(60px, 10vw, 80px) 0;
    background: var(--mamba-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 4vw, 40px);
    align-items: stretch;
}

.form-container {
    background: var(--form-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(153, 255, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 900px; /* Increased to accommodate taller textareas */
}

.form-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-container:hover {
    border-color: var(--mamba-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(153, 255, 0, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.form-icon {
    width: 70px;
    height: 70px;
    background: rgba(153, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-icon i {
    color: var(--mamba-green);
    font-size: 2rem;
}

.form-header h2 {
    color: var(--mamba-green);
    margin-bottom: 10px;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.form-subtitle {
    color: var(--mamba-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

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

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

.form-group label {
    color: var(--mamba-text);
    font-weight: 600;
    font-size: 0.95rem;
}
/* RED ASTERISK REMOVED */

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    color: var(--mamba-text);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mamba-green);
    box-shadow: 0 0 0 2px rgba(153, 255, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--mamba-text-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    flex: 1;
}

/* ===== ADJUST QUOTE & TRAINING TEXTAREA HEIGHT TO ALIGN BUTTONS ===== */
/* Increase this value to push buttons lower, decrease to raise them */
@media (min-width: 1025px) {
    .contact-grid .form-container:nth-child(1) textarea,
    .contact-grid .form-container:nth-child(3) textarea {
        min-height: 292px; /* Adjust this number until buttons align perfectly */
    }
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2399ff00' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.file-upload {
    margin-top: 10px;
    flex-shrink: 0;
}

.file-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    color: var(--mamba-text);
    cursor: pointer;
}

.file-upload small {
    display: block;
    margin-top: 5px;
    color: var(--mamba-text-secondary);
    font-size: 0.8rem;
}

.form-submit {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.form-submit i {
    margin-right: 8px;
}

.form-submit[aria-busy="true"] {
    opacity: 0.75;
    cursor: wait;
}

.form-feedback {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-feedback--pending {
    color: var(--mamba-text-secondary);
    border: 1px solid var(--input-border);
    background: var(--input-bg);
}

.form-feedback--success {
    color: var(--mamba-green);
    border: 1px solid var(--mamba-green);
    background: rgba(153, 255, 0, 0.08);
}

.form-feedback--error {
    color: var(--mamba-accent);
    border: 1px solid var(--mamba-accent);
    background: rgba(255, 59, 48, 0.08);
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: clamp(60px, 10vw, 80px) 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border-top: 2px solid var(--mamba-green);
    border-bottom: 2px solid var(--mamba-green);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 60px);
}

.contact-details {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-details.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    color: var(--mamba-green);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.contact-header .subtitle {
    color: var(--mamba-text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.contact-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(153, 255, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(153, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--mamba-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(153, 255, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(153, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--mamba-green);
    font-size: 1.5rem;
}

.contact-content h3 {
    color: var(--mamba-green);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-number,
.contact-email,
.contact-address {
    color: var(--mamba-text);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-number a,
.contact-email a {
    color: var(--mamba-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-number a:hover,
.contact-email a:hover {
    color: var(--mamba-green);
    text-decoration: underline;
}

.contact-description {
    color: var(--mamba-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.map-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-header {
    margin-bottom: 30px;
}

.map-header h2 {
    color: var(--mamba-green);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.map-header .subtitle {
    color: var(--mamba-text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.map-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(153, 255, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
    border: none;
}

.map-instructions {
    padding: 15px 20px;
    background: rgba(153, 255, 0, 0.05);
    border-top: 1px solid rgba(153, 255, 0, 0.1);
}

.map-instructions p {
    margin: 0;
    color: var(--mamba-text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-instructions i {
    color: var(--mamba-green);
}

.emergency-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(255, 59, 48, 0.05));
    border-radius: 10px;
    border: 2px solid rgba(255, 59, 48, 0.3);
}

.emergency-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 59, 48, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emergency-icon i {
    color: var(--mamba-accent);
    font-size: 1.8rem;
}

.emergency-content h3 {
    color: var(--mamba-accent);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.emergency-number a {
    color: var(--mamba-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.emergency-number a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.emergency-content p {
    margin: 0;
    color: var(--mamba-text-secondary);
    font-size: 0.95rem;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    background: linear-gradient(135deg, var(--mamba-gray) 0%, var(--mamba-dark) 100%);
    padding: clamp(60px, 10vw, 80px) 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--mamba-text);
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.contact-cta h2 span {
    color: var(--mamba-green);
}

.contact-cta p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--mamba-text);
    margin: 0 auto 30px;
    max-width: 700px;
}

/* ===== CONTACT CTA BUTTONS FIX ===== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(14px, 3vw, 16px) clamp(25px, 4vw, 35px);
    font-size: clamp(1rem, 2vw, 1.1rem);
    min-width: 180px;
    flex: 1;
    max-width: 220px;
}

.cta-buttons .btn i {
    font-size: 1.2em;
    flex-shrink: 0;
}

/* Make sure contact-cta section has proper spacing */
.contact-cta > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== FLOAT UP ANIMATION ===== */
.float-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.float-on-scroll.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* STAGGER ANIMATIONS */
.form-container.float-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.form-container.float-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.form-container.float-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* ===== FOOTER ===== */
.footer {
    background: var(--mamba-gray);
    padding: clamp(40px, 8vw, 60px) 0 30px;
    border-top: 4px solid var(--mamba-green);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: 40px;
}

.footer-logo-image {
    height: clamp(95px, 14vw, 130px);
    width: auto;
    max-width: min(360px, 50vw);
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    line-height: 1.6;
    color: var(--mamba-text);
}

.social-media {
    margin: clamp(15px, 4vw, 25px) 0;
}

.social-media h4 {
    color: var(--mamba-green);
    margin-bottom: 15px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

/* SOCIAL MEDIA ICONS - ALWAYS IN ONE LINE */
.social-icons {
    display: flex;
    gap: clamp(8px, 1.5vw, 12px);
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.social-icons::-webkit-scrollbar {
    display: none;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.3rem);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.facebook:hover {
    background: #166FE5;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}



.social-icon.x-logo {
    background: #000000;
    position: relative;
}

.social-icon.x-logo:hover {
    background: #333333;
}

.x-logo-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.youtube:hover {
    background: #CC0000;
}

/* LinkedIn icon styles */
.social-icon.linkedin {
    background: var(--linkedin-blue);
}

.social-icon.linkedin:hover {
    background: #005582;
}

.tribe-footer {
    margin-top: clamp(15px, 4vw, 25px);
}

/* Tribe badge styled exactly like AR */
.tribe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(153, 255, 0, 0.1);
    color: var(--mamba-green);
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(153, 255, 0, 0.3);
}

.tribe-badge i {
    font-size: 1.2rem;
    margin-right: 5px;
}

.tribe-footer p {
    color: var(--mamba-text);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

.tribe-footer p .footer-phone {
    color: var(--mamba-green);
    text-decoration: none;
    white-space: nowrap;
}

.footer-services h4,
.footer-contact h4,
.footer-resources h4 {
    color: var(--mamba-green);
    margin-bottom: 20px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.footer-services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.footer-services li {
    margin-bottom: 8px;
}

.footer-services a {
    color: var(--mamba-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    line-height: 1.4;
    display: block;
    padding: 2px 0;
}

.footer-services a:hover {
    color: var(--mamba-green);
    text-decoration: underline;
    transform: translateX(3px);
    text-shadow: 0 0 10px rgba(153, 255, 0, 0.3);
}

.footer-contact-info {
    margin-top: 10px;
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--mamba-text);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.5;
    word-wrap: break-word;
}

.footer-contact-info p .footer-phone {
    color: var(--mamba-text);
    text-decoration: none;
    white-space: nowrap;
}

.footer-contact-info i {
    color: var(--mamba-green);
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== FOOTER RESOURCES SECTION ===== */
.footer-resources ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.footer-resources li {
    margin-bottom: 8px;
}

.footer-resources a {
    color: var(--mamba-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    line-height: 1.4;
    display: block;
    padding: 2px 0;
}

.footer-resources a:hover {
    color: var(--mamba-green);
    text-decoration: underline;
    transform: translateX(3px);
    text-shadow: 0 0 10px rgba(153, 255, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-bottom p {
    color: var(--mamba-text);
    margin: 5px 0;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    line-height: 1.5;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-links a {
    color: var(--mamba-text);
    text-decoration: none;
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--mamba-green);
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(153, 255, 0, 0.3);
}

/* =========================================== */
/* ========== RESPONSIVE DESIGN ========== */
/* =========================================== */

/* DESKTOP: Show normal header, hide hamburger (1025px and above) */
@media (min-width: 1025px) {
    .hamburger {
        display: none;
    }

    .nav-menu-container {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-header-center {
        display: none;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .whatsapp-desktop {
        display: flex;
    }

    .whatsapp-mobile {
        display: none;
    }

    .social-icons {
        overflow-x: visible;
        justify-content: flex-start;
    }
}

/* TABLET & MOBILE: Show hamburger, hide normal header (1024px and below) */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        order: 1;
        z-index: 10002;
    }

    .mobile-header-center {
        display: none; /* Already hidden, kept for safety */
    }

    .logo {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        padding: 10px 0;
    }

    .nav-menu-container {
        display: none;
    }

    .logo-image {
        height: 85px;
        max-width: 260px;
    }

    .mobile-logo-image {
        height: 85px;
        max-width: 260px;
    }

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

    .form-container {
        min-height: auto;
        height: auto;
    }

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

    .contact-hero {
        padding: 50px 0 36px;
        min-height: auto;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-services ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-contact-info p {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 10px;
    }

    .whatsapp-desktop {
        display: none;
    }

    .whatsapp-mobile {
        display: flex;
    }

    .whatsapp-float {
        padding: 18px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        bottom: 25px;
        right: 25px;
        min-width: auto;
    }

    .whatsapp-float i {
        font-size: 2.5rem;
    }
}

/* LARGE PHONES (600px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        padding: 15px 0;
    }

    .logo-image {
        height: 75px;
        max-width: 220px;
    }

    .mobile-logo-image {
        height: 75px;
        max-width: 220px;
    }

    .contact-hero {
        padding: 24px 0 40px;
        min-height: auto;
    }
    
    .contact-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.7rem);
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .form-container {
        padding: 25px;
    }

    .form-icon {
        width: 60px;
        height: 60px;
    }

    .form-icon i {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .emergency-contact {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-cta h2 {
        font-size: 1.8rem;
    }

    .contact-cta p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo-image {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand p,
    .tribe-footer p,
    .footer-contact-info p,
    .footer-services a,
    .footer-resources a {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        gap: 12px;
        overflow-x: auto;
        padding: 5px 0;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .footer-services ul,
    .footer-resources ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-contact-info p {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }

    .footer-contact-info i {
        margin-top: 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links a {
        display: block;
        margin: 0;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
}

/* MEDIUM PHONES (425px - 599px) */
@media (max-width: 599px) and (min-width: 425px) {
    .container {
        padding: 0 12px;
    }

    .logo {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        padding: 18px 0;
    }

    .logo-image {
        height: 70px;
        max-width: 200px;
    }

    .mobile-logo-image {
        height: 70px;
        max-width: 200px;
    }

    .contact-hero {
        padding: 10px 0 32px;
        min-height: auto;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

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

    .form-container {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }

    .contact-cta h2 {
        font-size: 1.6rem;
    }

    .social-icons {
        gap: 10px;
        justify-content: center;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 60px;
        height: 60px;
        padding: 15px;
    }

    .whatsapp-float i {
        font-size: 2rem;
    }
}

/* SMALL PHONES (375px - 424px) */
@media (max-width: 424px) and (min-width: 375px) {
    .logo {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        padding: 20px 0;
    }

    .logo-image {
        height: 65px;
        max-width: 180px;
    }

    .mobile-logo-image {
        height: 65px;
        max-width: 180px;
    }

    .contact-hero {
        padding: 8px 0 30px;
        min-height: auto;
    }

    .contact-hero h1 {
        font-size: 1.6rem;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .contact-header h2,
    .map-header h2 {
        font-size: 1.4rem;
    }

    .emergency-number {
        font-size: 1.3rem;
    }

    .social-icons {
        gap: 8px;
        justify-content: center;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

/* VERY SMALL PHONES (under 375px) */
@media (max-width: 374px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        padding: 22px 0;
    }

    .logo-image {
        height: 60px;
        max-width: 160px;
    }

    .mobile-logo-image {
        height: 60px;
        max-width: 160px;
    }

    .contact-hero {
        padding: 6px 0 28px;
        min-height: auto;
    }

    .contact-hero h1 {
        font-size: 1.4rem;
    }

    .contact-hero p {
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .form-container {
        padding: 18px;
    }

    .form-header h2 {
        font-size: 1.2rem;
    }

    .contact-cta h2 {
        font-size: 1.4rem;
    }

    .footer-content {
        gap: 25px;
    }

    .social-icons {
        gap: 6px;
        justify-content: center;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .footer-services ul,
    .footer-resources ul {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-contact-info p {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 5px;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .whatsapp-float {
        bottom: 10px;
        right: 10px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float i {
        font-size: 1.8rem;
    }
}

/* ===== HAMBURGER ANIMATION ===== */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== BODY SCROLL LOCK ===== */
body.menu-open {
    overflow: hidden;
}

/* ===== IMAGE OPTIMIZATION ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .form-container:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .contact-item:hover {
        transform: none;
    }

    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link {
        padding: 12px 10px;
    }

    .mobile-link {
        padding: 16px 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .float-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .whatsapp-float {
        animation: none;
    }

    .form-container:hover {
        transform: none;
    }
}

/* ===== SAFE AREA INSETS FOR NOTCHED DEVICES ===== */
@supports (padding: max(0px)) {
    .header,
    .container,
    .mobile-nav {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .contact-hero {
        padding-top: max(80px, env(safe-area-inset-top));
    }

    .whatsapp-float {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* ===== SAMSUNG NUCLEAR FIXES ===== */
#mobileMenu {
    transform: translateX(100%) !important;
    -webkit-transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    visibility: hidden !important;
    opacity: 0 !important;
    right: 0 !important;
    left: auto !important;
}

#mobileMenu.active {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

* {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent !important;
}

.whatsapp-float {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
}

@supports (-webkit-touch-callout: none) {
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .mobile-menu {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .mobile-menu.active {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    * {
        -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
    }
}
/* Global button hover readability fix */
.btn:hover {
    text-shadow: none !important;
}

.btn-primary:hover {
    color: var(--mamba-dark) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28) !important;
}

.btn-secondary:hover {
    color: var(--mamba-dark) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28) !important;
}

/* ===== MOBILE HERO OVERRIDES - ALL HEROES CONSISTENT ===== */
@media (max-width: 1024px) {
    .contact-hero {
        padding: 50px 0 36px !important;
        min-height: auto !important;
    }
    .contact-hero h1 {
        font-size: 2.2rem !important;
    }
}
@media (max-width: 767px) {
    .contact-hero {
        padding: 24px 0 40px !important;
        min-height: auto !important;
    }
    .contact-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.7rem) !important;
    }
}
@media (max-width: 599px) and (min-width: 425px) {
    .contact-hero {
        padding: 10px 0 32px !important;
        min-height: auto !important;
    }
    .contact-hero h1 {
        font-size: 1.8rem !important;
    }
}
@media (max-width: 424px) and (min-width: 375px) {
    .contact-hero {
        padding: 8px 0 30px !important;
        min-height: auto !important;
    }
    .contact-hero h1 {
        font-size: 1.6rem !important;
    }
}
@media (max-width: 374px) {
    .contact-hero {
        padding: 6px 0 28px !important;
        min-height: auto !important;
    }
    .contact-hero h1 {
        font-size: 1.4rem !important;
    }
}

/* ===== UNIFIED SERVICE PAGE HERO ===== */
.armed-response-hero,
.contact-hero {
    min-height: min(820px, calc(100vh - 110px)) !important;
    padding: clamp(40px, 5vw, 64px) 0 clamp(58px, 7vw, 92px) !important;
    display: flex !important;
    align-items: center !important;
}

.armed-response-hero .hero-grid,
.contact-hero .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    align-items: center !important;
}

.armed-response-hero .hero-copy,
.contact-hero .hero-copy {
    max-width: 980px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.armed-response-hero .hero-kicker,
.contact-hero .hero-kicker {
    margin: 0 auto 12px !important;
}

.armed-response-hero h1,
.contact-hero h1 {
    max-width: 800px !important;
    margin: 0 auto 24px !important;
    color: #fff !important;
    font-size: clamp(3rem, 5.2vw, 5.4rem) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    line-height: .97 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.armed-response-hero p,
.armed-response-hero .hero-lead,
.contact-hero p,
.contact-hero .hero-lead {
    max-width: 790px !important;
    margin: 0 auto 30px !important;
    color: #b8c1b8 !important;
    font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
    line-height: 1.75 !important;
}

.armed-response-hero .hero-buttons,
.contact-hero .hero-buttons {
    justify-content: center !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    .armed-response-hero,
    .contact-hero {
        min-height: auto !important;
        padding: 40px 0 28px !important;
        align-items: flex-start !important;
    }

    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: clamp(2.4rem, 8vw, 4.2rem) !important;
    }
}

@media (max-width: 767px) {
    .armed-response-hero,
    .contact-hero {
        min-height: auto !important;
        padding: 14px 0 22px !important;
        align-items: flex-start !important;
    }

    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: 2rem !important;
        margin-bottom: 18px !important;
    }

    .armed-response-hero p,
    .armed-response-hero .hero-lead,
    .contact-hero p,
    .contact-hero .hero-lead {
        font-size: 1rem !important;
        line-height: 1.65 !important;
    }
}

@media (max-width: 424px) {
    .armed-response-hero,
    .contact-hero {
        min-height: auto !important;
        padding: 10px 0 20px !important;
        align-items: flex-start !important;
    }

    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: clamp(1.9rem, 10.5vw, 2.75rem) !important;
    }
}

/* Keep phone hero heights identical even when button wrapping differs. */
@media (max-width: 767px) {
    .armed-response-hero,
    .contact-hero {
        min-height: auto !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 767px) {
    .armed-response-hero,
    .contact-hero {
        padding-top: 14px !important;
        padding-bottom: 32px !important;
        align-items: flex-start !important;
    }

    .armed-response-hero .hero-grid,
    .contact-hero .hero-grid {
        gap: 16px !important;
    }

    .armed-response-hero .hero-kicker,
    .contact-hero .hero-kicker {
        margin-bottom: 10px !important;
    }

    .armed-response-hero h1,
    .contact-hero h1 {
        margin-bottom: 18px !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .armed-response-hero p,
    .armed-response-hero .hero-lead,
    .contact-hero p,
    .contact-hero .hero-lead {
        margin-bottom: 24px !important;
        color: #b8c1b8 !important;
    }

    .armed-response-hero .hero-buttons,
    .contact-hero .hero-buttons {
        gap: 12px !important;
    }

    .armed-response-hero .hero-buttons .btn,
    .contact-hero .hero-buttons .btn {
        padding: 11px 16px !important;
        font-size: 0.8rem !important;
        border-radius: 50px !important;
        text-transform: uppercase !important;
        letter-spacing: .07em !important;
        font-weight: 800 !important;
    }
}

@media (max-width: 424px) {
    .armed-response-hero,
    .contact-hero {
        padding-top: 10px !important;
        padding-bottom: 30px !important;
        align-items: flex-start !important;
    }
}

.armed-response-hero .hero-copy,
.contact-hero .hero-copy,
.armed-response-hero .hero-kicker,
.contact-hero .hero-kicker,
.armed-response-hero h1,
.contact-hero h1,
.armed-response-hero p,
.armed-response-hero .hero-lead,
.contact-hero p,
.contact-hero .hero-lead,
.armed-response-hero .hero-buttons,
.contact-hero .hero-buttons,
.armed-response-hero .hero-buttons .btn,
.contact-hero .hero-buttons .btn {
    will-change: transform, opacity;
    animation: heroFloatUp 1100ms cubic-bezier(.22, 1, .36, 1) both;
}

.armed-response-hero .hero-kicker,
.contact-hero .hero-kicker {
    animation-delay: 80ms;
}

.armed-response-hero h1,
.contact-hero h1 {
    animation-delay: 160ms;
}

.armed-response-hero p,
.armed-response-hero .hero-lead,
.contact-hero p,
.contact-hero .hero-lead {
    animation-delay: 260ms;
}

.armed-response-hero .hero-buttons,
.contact-hero .hero-buttons {
    animation-delay: 360ms;
}

.armed-response-hero .hero-buttons .btn,
.contact-hero .hero-buttons .btn {
    animation-delay: 420ms;
}

@keyframes heroFloatUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@media (prefers-reduced-motion: reduce) {
    .armed-response-hero .hero-copy,
    .contact-hero .hero-copy,
    .armed-response-hero .hero-kicker,
    .contact-hero .hero-kicker,
    .armed-response-hero h1,
    .contact-hero h1,
    .armed-response-hero p,
    .armed-response-hero .hero-lead,
    .contact-hero p,
    .contact-hero .hero-lead,
    .armed-response-hero .hero-buttons,
    .contact-hero .hero-buttons,
    .armed-response-hero .hero-buttons .btn,
    .contact-hero .hero-buttons .btn {
        animation: none;
    }
}

/* ===== FINAL MOBILE HERO OVERRIDES ===== */
@media (max-width: 767px) {
    .armed-response-hero,
    .contact-hero {
        padding: 40px 0 30px !important;
        min-height: auto !important;
        align-items: flex-start !important;
    }
    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: 2rem !important;
    }
}
@media (max-width: 599px) and (min-width: 425px) {
    .armed-response-hero,
    .contact-hero {
        padding: 32px 0 28px !important;
        min-height: auto !important;
        align-items: flex-start !important;
    }
    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: 1.8rem !important;
    }
}
@media (max-width: 424px) and (min-width: 375px) {
    .armed-response-hero,
    .contact-hero {
        padding: 28px 0 24px !important;
        min-height: auto !important;
        align-items: flex-start !important;
    }
    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: 1.6rem !important;
    }
}
@media (max-width: 374px) {
    .armed-response-hero,
    .contact-hero {
        padding: 24px 0 22px !important;
        min-height: auto !important;
        align-items: flex-start !important;
    }
    .armed-response-hero h1,
    .contact-hero h1 {
        font-size: 1.4rem !important;
    }
}

/* ===== FULL-WIDTH SEARCH BAR ===== */
.site-search-bar {
    background: #111;
    border-bottom: 2px solid var(--mamba-green);
    padding: 14px 0 18px;
    position: relative;
    z-index: 1001;
}
.site-search-form {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 2px solid rgba(153,255,0,0.3);
    border-radius: 50px;
    padding: 10px 20px;
    gap: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-search-form:focus-within {
    border-color: var(--mamba-green);
    box-shadow: 0 0 20px rgba(153,255,0,0.15);
}
.site-search-icon { color: var(--mamba-green); font-size: 1.1rem; flex-shrink: 0; }
.site-search-input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 1rem; font-family: "Open Sans", sans-serif; }
.site-search-input::placeholder { color: rgba(255,255,255,0.4); }
.site-search-clear { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer; font-size: 0.9rem; padding: 4px 6px; line-height: 1; transition: color 0.2s; display: none; }
.site-search-clear.visible { display: block; }
.site-search-clear:hover { color: var(--mamba-green); }
.site-search-results { position: absolute; top: 100%; left: 0; right: 0; background: #111; border: 1px solid rgba(153,255,0,0.2); border-top: none; border-radius: 0 0 14px 14px; max-height: 400px; overflow-y: auto; display: none; z-index: 1100; box-shadow: 0 12px 40px rgba(0,0,0,0.7); }
.site-search-results.open { display: block; }
.site-search-results .search-result-item { display: flex; align-items: center; gap: 12px; padding: 14px 20px; text-decoration: none; color: #fff; transition: background 0.2s; border-bottom: 1px solid rgba(255,255,255,0.05); }
.site-search-results .search-result-item:last-child { border-bottom: none; }
.site-search-results .search-result-item:hover, .site-search-results .search-result-item.highlighted { background: rgba(153,255,0,0.08); }
.site-search-results .search-result-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(153,255,0,0.1); display: flex; align-items: center; justify-content: center; color: var(--mamba-green); font-size: 0.85rem; flex-shrink: 0; }
.site-search-results .search-result-text { min-width: 0; }
.site-search-results .search-result-title { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-search-results .search-result-title mark { background: rgba(153,255,0,0.25); color: var(--mamba-green); border-radius: 2px; padding: 0 2px; }
.site-search-results .search-result-section { font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.site-search-results .search-hint { padding: 24px 20px; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.9rem; }
.site-search-results .search-hint i { display: block; font-size: 1.5rem; margin-bottom: 8px; color: rgba(153,255,0,0.3); }

/* ===== INSTAGRAM FEED ===== */
.instagram-feed-section { padding: 60px 0; background: #0a0a0a; }
.instagram-feed-section .section-header h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.instagram-feed-section .section-header h2 i { color: #E1306C; margin-right: 8px; }
.instagram-feed-section .section-subtitle { color: var(--mamba-text-secondary); font-size: 1rem; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.ig-card { display: block; border-radius: 12px; overflow: hidden; background: #1a1a1a; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ig-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(225,48,108,0.2); }
.ig-card-header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ig-card-avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #E1306C; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9rem; flex-shrink: 0; }
.ig-card-username { color: #fff; font-weight: 600; font-size: 0.85rem; font-family: 'Montserrat', sans-serif; }
.ig-card-image { width: 100%; display: block; }
.ig-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s ease;
}
.ig-card:hover .ig-card-link {
    color: #E1306C;
}

.instagram-cta { text-align: center; margin-top: 40px; }
.instagram-cta .btn-primary { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border: none; color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.instagram-cta .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(225,48,108,0.4); color: #fff; }
@media (max-width: 767px) { .site-search-bar { padding: 8px 0; } .site-search-form { padding: 8px 14px; border-radius: 50px; } .site-search-input { font-size: 16px; } .site-search-results { max-height: 60vh; border-radius: 0; } .instagram-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (min-width: 768px) and (max-width: 1024px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); } }

.winner-block { text-align: center; padding: 30px 0 10px; }
.winner-image { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.winner-caption { color: var(--mamba-green); font-weight: 600; font-size: 1.1rem; margin-top: 12px; font-family: 'Montserrat', sans-serif; }
