/* Base Styles & Design Tokens */
:root {
    --primary: #002b5c;
    /* Dark Navy */
    --accent: #5fc820;
    /* Gold */
    --accent-hover: #4ca318;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-light: #475569;
    --success: #22c55e;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

#quote-form {
    scroll-margin-top: 150px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

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

.accent {
    color: var(--accent);
}

.highlight {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
    width: auto;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(95, 200, 32, 0.39);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 200, 32, 0.45);
}

/* Icons */
.phone-icon {
    width: 20px;
    height: 20px;
}

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

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

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }

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

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

.ring-animation {
    animation: ring 2s infinite;
}

/* Hero Section V2 */
.hero-v2 {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    width: 50%;
    max-width: 650px;
    text-align: left;
    margin: 0;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-v2 .highlight {
    background: linear-gradient(120deg, rgba(95, 200, 32, 0.2) 0%, rgba(95, 200, 32, 0.2) 100%);
    padding: 0 4px;
    text-decoration: none;
}

@keyframes subtle-vibrate {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-1px) rotate(-1deg); }
    20% { transform: translateX(1px) rotate(1deg); }
    30% { transform: translateX(-2px) rotate(0deg); }
    40% { transform: translateX(2px) rotate(1deg); }
    50% { transform: translateX(-1px) rotate(-1deg); }
    60% { transform: translateX(1px) rotate(0deg); }
    70%, 100% { transform: translateX(0); }
}

.vibrate-text {
    display: inline-block;
    animation: subtle-vibrate 2s infinite ease-in-out;
}

@keyframes driveInLeft {
    0% {
        transform: translateX(-120%) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateX(5%) scale(1.02);
        opacity: 1;
    }
    80% {
        transform: translateX(-2%) scale(0.99);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.drive-in {
    animation: driveInLeft 3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-subtext {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    font-weight: 500;
}

.btn-hero {
    font-size: 1.25rem;
    padding: 18px 40px;
}

/* Trust Strip */
.trust-strip {
    background: var(--primary);
    padding: 40px 0;
    color: var(--white);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.trust-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stars {
    color: var(--accent);
    font-size: 1.5rem;
}

.stars.small {
    font-size: 1.1rem;
}

.score {
    font-weight: 700;
    color: var(--text-light);
}

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

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.review-card::before {
    content: "G";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: #4285F4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-quote {
    font-style: italic;
    margin: 20px 0;
    color: var(--text-light);
}

.reviewer {
    font-weight: 700;
    font-size: 0.9rem;
}

.reviews-main-img {
    max-width: 50%;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Services */
.services {
    padding: 80px 0;
}

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

.service-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
}

/* Stats Section */
.stats {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

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

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    color: var(--text-light);
    margin-top: 10px;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* FAQ Section */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    background: #fff;
    border-color: rgba(95, 200, 32, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Area Tags */
.service-areas {
    padding: 40px 0 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-areas h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Team Gallery */
.team-gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.team-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 43, 92, 0.9), transparent);
    padding: 20px;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.team-item:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-item:hover .team-img {
    transform: scale(1.05);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    padding: 40px 0 100px;
    text-align: center;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Sticky Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2000;
    display: none;
    pointer-events: none;
    transform: translateY(150px);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.mobile-cta-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.mobile-cta-bar .btn {
    pointer-events: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-full {
    width: 100%;
}

/* Desktop Floating CTA */
@keyframes attention-wiggle {
    0%, 80% { transform: scale(1) rotate(0); }
    84% { transform: scale(1.05) rotate(-3deg); }
    88% { transform: scale(1.05) rotate(3deg); }
    92% { transform: scale(1.05) rotate(-3deg); }
    96% { transform: scale(1.05) rotate(3deg); }
    100% { transform: scale(1) rotate(0); }
}

.desktop-cta-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 50px;
    display: block;
    animation: attention-wiggle 2.5s infinite ease-in-out;
}

/* Responsive Styles */
@media (max-width: 991px) {

    .grid-4,
    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }

    .focus-bottom-mobile {
        object-position: center bottom !important;
    }

    @keyframes zoomInCenter {
        0% { transform: scale(0.5); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }

    .drive-in {
        animation: zoomInCenter 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-v2 {
        min-height: auto;
        padding: 60px 0 80px;
    }

    .hero-bg-img {
        opacity: 0.3;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.55);
    }

    .hero-content {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .reviews-main-img {
        max-width: 100%;
    }

    .grid-3 {
        gap: 20px;
    }

    .mobile-cta-bar {
        display: block;
    }

    .header-right .status-badge {
        display: none;
    }

    .sticky-header {
        padding: 15px 0;
    }

    .logo-img {
        height: 45px;
    }

    footer {
        padding-bottom: 120px;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}