/* Global Styles */
:root {
    --primary-color: #1e293b;
    /* Dark Slate for text/headings */
    --brand-red: #dc2626;
    /* Strong Red - Main Action/Emergency */
    --brand-yellow: #facc15;
    /* Strong Yellow - Accent/Attention */
    --brand-green: #16a34a;
    /* Green - Details/Success */

    --secondary-color: var(--brand-red);
    /* Alias for buttons etc */
    --secondary-hover: #b91c1c;

    --text-color: #334155;
    --background-light: #fef2f2;
    /* Very light red tint for bg */
    --white: #ffffff;
    --border-color: #e5e7eb;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 0.75rem;
    --transition: all 0.3s ease;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--primary-color);
    font-weight: 800;
    /* Bolder for industrial look */
    line-height: 1.2;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    /* More impactful */
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    /* Larger buttons */
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--white);
    border: 2px solid var(--brand-red);
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 4px solid var(--brand-yellow);
    /* Yellow accent border */
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo .letter-n {
    color: var(--brand-green);
}

.logo .letter-j {
    color: var(--brand-yellow);
}

.logo span.rest {
    color: var(--primary-color);
}


.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-list a:hover {
    color: var(--brand-red);
}

.header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.header-phones span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-phones i {
    color: var(--brand-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
    border-left: 5px solid var(--brand-red);
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--brand-red);
}

.mobile-nav-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-list a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    /* Extra padding for fixed header */
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
    overflow: hidden;
    position: relative;
}

/* Add a visual band */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #fefce8;
    z-index: 0;
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Emergency Badge */
.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-red);
    /* Solid red for impact */
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.hero-tag {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn-outline {
    margin-left: 0;
}

.trust-indicators {
    margin-top: 3rem;
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.trust-item i {
    color: var(--brand-green);
    font-size: 1.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-brand-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--brand-yellow);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Services */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-bottom: 4px solid transparent;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--brand-red);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #fef2f2;
    color: var(--brand-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--brand-red);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0;
}

/* About */
.about {
    background-color: #f8fafc;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--brand-yellow);
    border-radius: var(--radius);
    z-index: 0;
}

.about-img-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--brand-green);
}

.features-list i {
    color: var(--white);
    background-color: var(--brand-green);
    border-radius: 50%;
    padding: 4px;
}

/* Contact */
.contact {
    background-color: #111827;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(45deg,
            var(--brand-yellow),
            var(--brand-yellow) 10px,
            #111827 10px,
            #111827 20px);
}

.contact h2,
.contact h3 {
    color: var(--white);
}

.contact p {
    color: #9ca3af;
}

.contact-methods {
    margin-top: 2.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius);
}

.method i {
    color: var(--brand-yellow);
    font-size: 2rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    color: var(--text-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-yellow);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.2);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #000;
    color: #94a3b8;
    padding: 3rem 0;
    border-top: 4px solid var(--brand-red);
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--brand-yellow);
}

/* Animation Classes (Kept for compatibility) */
.reveal {
    opacity: 1;
    /* Force visible in this theme */
    transform: none;
}

/* Media Queries */
@media (max-width: 968px) {
    h1 {
        font-size: 2rem;
    }

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding-top: 9rem;
    }

    .hero::before {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav {
        display: none;
    }

    .header-phones {
        display: none;
    }

    /* Hide header phones on mobile, show in menu or just use buttons */
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }
}