:root {
    --primary-color: #0056b3;
    --secondary-color: #ff3300;
    /* Bright Red/Orange */
    --accent-color: #ff9900;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 100px;
    /* Space for fixed header */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Sticky Navigation */
header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 100px;
    /* Taller header */
    display: flex;
    align-items: center;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Super Prominent Call Button */
.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.4rem;
    transition: var(--transition);
    animation: heartBeat 1.5s infinite;
    box-shadow: 0 5px 15px rgba(255, 51, 0, 0.4);
    text-transform: uppercase;
}

.header-phone:hover {
    background: #cc2900;
    transform: scale(1.05);
}

.header-phone i {
    animation: ring 2s ease infinite;
    font-size: 1.6rem;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    70% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero_locksmith.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 51, 0, 0.4);
    animation: pulse-animation 2s infinite;
}

.btn-primary:hover {
    background: #e62e00;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Common Section Styles */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Gallery Grid (Fixed 3 Columns) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

/* Benefits / Why Us */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.1);
    padding: 15px;
    border-radius: 50%;
}

/* Process Section */
.steps {
    padding: 100px 0;
    background: var(--white);
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    counter-reset: step-counter;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(255, 51, 0, 0.3);
}

/* Huge Content & FAQ */
.district-seo-content {
    max-width: 900px;
    margin: 60px auto !important;
    padding: 50px !important;
    font-size: 1.1rem;
    line-height: 1.8;
}

.district-seo-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    margin-top: 40px;
}

.district-seo-content h3 {
    font-size: 1.6rem;
    color: #444;
    margin-bottom: 20px;
    margin-top: 30px;
}

.district-seo-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.district-seo-content li {
    list-style-type: check;
    margin-bottom: 12px;
}

.district-seo-content li::marker {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* FAQ Expanded */
.faq-expanded {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-item {
    background: var(--white);
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Service Areas Grid */
.areas {
    padding: 80px 0;
    background: #1a1a1a;
    color: var(--white);
}

.area-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    padding: 12px 25px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    transition: var(--transition);
}

.area-badge:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Most Searched Keywords Section */
.keywords-section {
    padding: 60px 0;
    background: var(--light-bg);
    text-align: center;
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.keyword-item {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: #555;
    transition: var(--transition);
    border: 1px solid #eee;
}

.keyword-item:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    width: 50px;
    text-align: center;
}

.contact-info-item {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    text-align: center;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
}

.float-btn {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    animation: whatsapp-pulse 3s infinite;
}

.btn-call {
    background-color: var(--secondary-color);
    animation: pulse-animation 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 51, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 0, 0);
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .header-phone {
        display: none;
        /* Hide top button on tablets/mobile, use floating instead */
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        transform: translateY(-200%);
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .district-seo-content {
        padding: 25px !important;
        margin: 30px auto !important;
    }

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

    .float-btn {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    /* Ensure sticky header doesn't eat screen */
    header {
        height: 80px;
    }

    body {
        padding-top: 80px;
    }

    .nav-links {
        top: 80px;
    }

    /* Mobile Grid Override */
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* URGENT FIX: Max width 400px for all feature/gallery images */
.gallery-item img,
.service-card img,
.feature-item img {
    max-width: 400px !important;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;

    /* Mobile Grid Override - Appended */
    @media (max-width: 768px) {
        .services-grid {
            grid-template-columns: 1fr !important;
        }

        .gallery-grid {
            grid-template-columns: repeat(2, 1fr) !important;
        }

        .keywords-grid {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }