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

:root {
    --bg-white: #FFFFFF;
    --bg-navy: #0A1628;
    --bg-light-gray: #F9FAFB;
    --primary-blue: #2563EB;
    --primary-hover: #1D4ED8;
    --text-navy: #0A1628;
    --text-white: #FFFFFF;
    --text-muted: #6B7280;
    --accent-blue: #3B82F6;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    --container-width: 1200px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

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

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.logo-subtext {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-navy);
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-phone {
    font-weight: 600;
    color: var(--text-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-phone:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-blue);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-navy);
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 100px 2rem 4rem;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    /* Only show when active */
    top: 0;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-navy);
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(rgba(10, 22, 40, 0.6), rgba(10, 22, 40, 0.6)), url('assets/hero-technician.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
    animation: fadeUp 1s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.typing-text {
    color: var(--accent-blue);
    border-right: 3px solid var(--accent-blue);
    padding-right: 5px;
    display: inline-block;
    white-space: nowrap;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    animation: pulse 2s infinite;
}

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Icon Row Animation */
.icon-row-wrapper {
    overflow: hidden;
    padding: 4rem 0;
    background: var(--bg-light-gray);
}

.icon-row {
    display: flex;
    gap: 4rem;
    width: max-content;
    padding-left: 100%;
    animation: slideIcons 20s linear infinite;
}

@keyframes slideIcons {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.icon-item svg {
    width: 48px;
    height: 48px;
    fill: var(--text-muted);
    transition: var(--transition);
}

.icon-item:hover svg {
    fill: var(--primary-blue);
    transform: scale(1.2) rotate(10deg);
}

/* Brand Marquee */
.brand-marquee-wrapper {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #F3F4F6;
}

.marquee-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.brand-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.brand-marquee::before,
.brand-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.brand-marquee::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.brand-marquee::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.brand-track {
    display: inline-flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
}

.brand-track span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #D1D5DB;
    transition: var(--transition);
}

.brand-track span:hover {
    color: var(--primary-blue);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Appliance Cards */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.appliance-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.appliance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.appliance-card:hover .card-icon {
    background: var(--primary-blue);
}

.appliance-card:hover .card-icon svg {
    fill: white;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-blue);
}

/* Why Choose Us */
.dark-section {
    background-color: var(--bg-navy);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.floating-wrench {
    position: absolute;
    right: 10%;
    top: 20%;
    width: 200px;
    height: 200px;
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.col-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

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

.choose-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light-gray);
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 350px;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stars {
    color: #FBBF24;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-navy);
}

.testimonial-author {
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: var(--bg-navy);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-form {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.success-message {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #DCFCE7;
    color: #16A34A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    70% {
        transform: scale(0.9);
    }

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

/* Footer */
footer {
    background: var(--bg-navy);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.license-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    color: white;
}

/* Service Areas */
.service-areas {
    background-color: var(--bg-light-gray);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.area-column h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.area-column ul {
    list-style: none;
}

.area-column li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.area-column li::before {
    content: "•";
    color: var(--accent-blue);
}

.area-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

.area-cta a {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
}

.footer-badge {
    color: white;
    font-weight: 600;
    font-size: 0.8125rem;
    opacity: 0.8;
}


/* How It Works */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.15;
    line-height: 1;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-navy);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--primary-blue);
    transition: var(--transition);
}

.faq-icon::before {
    width: 2px;
    height: 100%;
    left: 9px;
    top: 0;
}

.faq-icon::after {
    width: 100%;
    height: 2px;
    left: 0;
    top: 9px;
}

.faq-item.active .faq-icon::before {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Zip Checker */
.zip-checker {
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    max-width: 400px;
}

.zip-checker input {
    padding: 0.875rem 1.5rem;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    width: 100%;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-navy);
    transition: var(--transition);
}

.zip-checker input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.zip-status {
    font-weight: 700;
    font-size: 0.875rem;
    min-height: 1.25rem;
}

.zip-status.success {
    color: #16A34A;
}

.zip-status.error {
    color: #DC2626;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .header-actions .btn-phone,
    .header-actions .btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .btn-phone .phone-number {
        display: none;
    }

    .header-actions {
        gap: 0.75rem;
    }

    .hero {
        padding-top: var(--header-height);
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }
}