/* Excel Empire - Rebuilt from Framer Template */
/* Color Palette based on extracted colors */

:root {
    /* Primary Colors */
    --primary-blue: #1d5bcf;
    --primary-blue-dark: #184aa8;
    --primary-blue-light: #f0f4fa;

    /* Neutral Colors */
    --black: #000000;
    --white: #ffffff;
    --gray-dark: #444444;
    --gray-medium: #919191;
    --gray-light: #dddddd;
    --gray-lighter: #999999;

    /* Accent */
    --gold: #ffc966;

    /* Overlays */
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-medium: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(0, 0, 0, 0.4);
    --overlay-white: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-primary: 'Figtree', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1240px;
    --section-padding: 100px;
    --gap-large: 60px;
    --gap-medium: 30px;
    --gap-small: 15px;

    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 15px;
    --radius-large: 25px;
    --radius-full: 50px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1 {
    font-family: var(--font-primary);
    font-size: clamp(40px, 6vw, 84px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-primary);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-family: var(--font-primary);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.4;
}

h5 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

h6 {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    font-family: var(--font-secondary);
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--black);
    border-color: var(--black);
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 24px;
    width: auto;
}

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

.nav-link {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/your-trusted-partner-for-home-repairs.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-large);
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--gap-small);
}

.main-image {
    grid-row: span 2;
    border-radius: var(--radius-medium);
    object-fit: cover;
    height: 100%;
}

.grid-image {
    border-radius: var(--radius-medium);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.problem-content h2 {
    margin-bottom: 30px;
}

.problem-content p {
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background-color: var(--primary-blue-light);
}

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

/* Built By Section */
.built-by-section {
    padding: 80px 0;
    text-align: center;
}

/* Approach Section */
.approach-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-large);
    align-items: start;
}

.approach-content {
    padding-top: 20px;
}

.approach-content p {
    margin-bottom: 30px;
}

/* Services Section */
.services-section {
    padding: var(--section-padding) 0;
    background-color: var(--primary-blue-light);
}

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

.service-card {
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.service-title {
    position: relative;
    z-index: 1;
    color: var(--white);
    margin-bottom: 10px;
}

.service-marquee {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.faq-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    padding: 25px 0;
}

.faq-question {
    margin-bottom: 15px;
    cursor: pointer;
}

.faq-answer {
    color: var(--gray-dark);
}

/* About Section */
.about-section {
    padding: var(--section-padding) 0;
    background-color: var(--primary-blue-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-large);
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-medium);
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.about-stat h2 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.about-stat p {
    font-size: 14px;
    color: var(--gray-medium);
}

/* Process Section */
.process-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.process-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.process-header h2 {
    margin-bottom: 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-large);
}

.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 20px;
}

.process-step h4 {
    margin-bottom: 15px;
}

.process-step p {
    margin-bottom: 20px;
    font-size: 16px;
}

.step-link {
    color: var(--primary-blue);
    font-weight: 500;
}

.step-link:hover {
    text-decoration: underline;
}

/* Phone CTA */
.phone-cta {
    padding: 60px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

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

.phone-content h2 {
    font-size: 24px;
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: var(--radius-full);
}

.phone-number:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
    overflow: hidden;
}

.testimonials-title {
    margin-bottom: 50px;
}

.testimonials-slider {
    overflow: hidden;
    margin: 0 -30px;
    padding: 0 30px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 350px;
    padding: 30px;
    background-color: var(--primary-blue-light);
    border-radius: var(--radius-medium);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--gray-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 2px;
}

/* Blog Section */
.blog-section {
    padding: var(--section-padding) 0;
    background-color: var(--primary-blue-light);
}

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--gap-medium);
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card.featured .blog-image img {
    height: 300px;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 12px;
    color: var(--gray-medium);
    display: block;
    margin-bottom: 10px;
}

.blog-content h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.blog-link {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--gap-large);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-blue);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-medium);
}

.footer-column h5 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .problem-grid,
    .approach-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .blog-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 810px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links,
    .header .btn {
        display: none;
    }

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

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .cta-content,
    .phone-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

    .blog-card.featured {
        grid-column: span 1;
    }

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

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

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

    .main-image {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .container {
        padding: 0 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .blog-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
