/* Base Styles and Variables */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #4285f4;
    --accent-color: #fbbc04;
    --text-dark: #202124;
    --text-light: #5f6368;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

/* Common Classes */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: #ffffff;
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #ffffff;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: 0;
}

.hamburger::after {
    bottom: 0;
}

/* Navigation States */
.nav-hidden {
    transform: translateY(-100%);
    background-color: #ffffff;
}

.nav-visible {
    transform: translateY(0);
    background-color: #ffffff;
}

.navbar,
.nav-container,
.nav-links,
.nav-hidden,
.nav-visible {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: transform 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.nav-logo {
    height: 50px; /* Adjust this value based on your logo size */
    width: auto;
    object-fit: contain;
}

/* Mobile adjustments for logo */
@media (max-width: 768px) {
    .nav-logo {
        height: 40px; /* Slightly smaller on mobile */
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
        position: relative;
    }
    
    .navbar {
        background: #ffffff;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding-top: 80px;
        flex-direction: column;
        justify-content: flex-start;
        background-color: #ffffff;
        z-index: 990;
        
        /* Hide by default */
        opacity: 0;
        pointer-events: none;
        transform: translateX(100%);
        transition: all 0.3s ease;
    }

    /* Show when active */
    .nav-links.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }
    
    .nav-links.show ~ .hamburger::before {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-links.show ~ .hamburger span {
        opacity: 0;
    }

    .nav-links.show ~ .hamburger::after {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }
    
    /* Prevent body scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100%;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/crew.jpg');  /* Replace with your crew image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

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

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 3;
    margin-top: 60px; /* Added margin to push content down */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Alert Banner */
.alert {
    position: absolute;
    top: 120px; /* Increased top spacing */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
    white-space: nowrap;
    width: auto;
    max-width: 90%;
}

.alert-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Stats Container */
.stats-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 20px;
    margin-top: 3rem;
    z-index: 3;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
    opacity: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-background {
        background-position: center center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        margin-top: 80px; /* Increased margin on mobile */
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .alert {
        top: 100px;
        padding: 0.8rem 1.5rem;
        text-align: center;
        white-space: normal;
        width: 90%;
        font-size: 0.9rem;
    }
}

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

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

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: var(--background-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.service-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, 
        rgba(26, 115, 232, 0.1), 
        transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s, height 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.service-card:hover::before {
    width: 200px;
    height: 200px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-light);
    transition: var(--transition);
}

.service-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-features li:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

.service-btn {
    margin-top: 2rem;
    width: 100%;
}

/* Button Styles */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Project Showcase Section */
.projects {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: var(--background-light);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.project-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.image-comparison-slider::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
}

.image-comparison-slider::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
}

.project-image.before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.project-duration {
    color: var(--primary-color);
    font-weight: 500;
}

/* Process Timeline Section */
.process {
    padding: 6rem 2rem;
    background: var(--background-light);
    position: relative;
}

.timeline {
    max-width: 800px;
    margin: 4rem auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-color) 10%,
        var(--primary-color) 90%,
        transparent
    );
}

.timeline-item {
    margin: 3rem 0;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.3s);
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-number {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-number {
    left: -60px;
}

.timeline-info {
    position: relative;
}

.timeline-info h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 1rem;
}

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

    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }

    .timeline-number {
        left: -20px !important;
        right: auto !important;
    }
}

@media (max-width: 480px) {
    .project-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* Reviews Section */
.reviews {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.reviews-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.review-content {
    position: relative;
    padding-top: 1rem;
}

.review-content::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-name {
    color: var(--primary-color);
    font-weight: 600;
}

.author-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 2rem;
    background: var(--background-light);
    position: relative;
}

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

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

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

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    transition: var(--transition);
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Areas We Serve Section */
.areas {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.areas-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.area-column {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.area-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.area-column h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.area-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.area-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.area-list li::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
}

.area-list li:hover::before {
    left: 0;
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .faq-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 1.5rem;
    }

    .area-column {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-text {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Quick Contact Banner */
.quick-contact {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.quick-contact-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quick-contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

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

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseGradient {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Final Responsive Adjustments */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-card {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }

    .quick-contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }

    .quick-contact {
        padding: 3rem 1.5rem;
    }
}

/* Bug Fixes and Performance Optimizations */
section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: auto;
    width: 100%;
    position: relative;
}

.animate-on-scroll {
    opacity: 1;
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

/* Error Message Styling */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc3545;
}

.form-group.valid input,
.form-group.valid textarea,
.form-group.valid select {
    border-color: #28a745;
}

/* Notification Styling */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--card-shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: #28a745;
    color: var(--white);
}

.notification.error {
    background: #dc3545;
    color: var(--white);
}




/* Service Detail Sections */
.service-detail {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.service-image-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.service-detail:nth-child(even) {
    background: var(--background-light);
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.service-detail-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.detail-subtitle {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.detail-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Process Steps */
.service-process {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.service-process h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.process-steps {
    display: grid;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
}

.step-number {
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
}

.step-circle {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Additional Features */
.additional-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
}

.feature-column {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.feature-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Call to Action */
.service-cta {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    color: var(--white);
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.service-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }

    .additional-features {
        grid-template-columns: 1fr;
    }

    .service-cta {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image.before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

.image-comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.image-comparison-slider::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
}

.image-comparison-slider::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .project-image-container {
        height: 300px;
    }

    .process-step {
        gap: 1rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
    }

    .step-number {
        font-size: 1rem;
    }
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc3545;
}

.form-group.valid input,
.form-group.valid textarea,
.form-group.valid select {
    border-color: #28a745;
}

.form-status {
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--background-light);
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-error-message {
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.debug-info {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    font-family: monospace;
    font-size: 12px;
}

/* Add these styles to your styles.css file */

.form-error-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 5px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-error-message a {
    color: #721c24;
    text-decoration: underline;
    font-weight: bold;
}

.form-error-message a:hover {
    text-decoration: none;
}

.form-status {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 5px;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Notification enhancements */
.notification {
    z-index: 10000;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: 500;
}

.notification.success {
    background: #28a745;
    color: white;
}

.notification.error {
    background: #dc3545;
    color: white;
}

.financing {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

/* Partnership Banner */
.financing-partnership {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--card-shadow);
}

.partnership-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.partnership-content h3 {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    color: var(--white);
}

.partnership-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.partnership-logo {
    height: 60px;
    width: auto;
    border-radius: 10px;
    background: var(--white);
    padding: 5px;
}

.partnership-plus {
    font-size: 2rem;
    font-weight: bold;
}

/* Main Grid Layout */
.financing-main-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Financing Highlights */
.financing-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--background-light);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text h4 {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.highlight-text p {
    margin: 0;
    color: var(--text-light);
}

/* Financing Steps */
.financing-steps {
    margin-top: 2rem;
}

.financing-steps h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.financing-steps-container {
    display: flex;
    gap: 1.5rem;
}

.financing-step {
    flex: 1;
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.financing-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content {
    text-align: center;
    padding-top: 1rem;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Financing Calculator */
.financing-cta-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.financing-calculator {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.financing-calculator h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.calculator-example {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.calculator-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.calculator-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.calc-label {
    font-weight: 500;
    color: var(--text-dark);
}

.calc-value {
    font-weight: 700;
    color: var(--primary-color);
}

.calculator-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* Application CTA */
.financing-application {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.application-content {
    flex: 1;
}

.application-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.application-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.application-buttons {
    display: flex;
    gap: 1rem;
}

.application-buttons .btn {
    flex: 1;
    text-align: center;
}

.qr-container {
    text-align: center;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    max-width: 120px;
}

.qr-code {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.qr-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Testimonial */
.financing-testimonial {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    margin-top: 3rem;
    box-shadow: var(--card-shadow);
}

.testimonial-content {
    position: relative;
    padding-left: 3rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -1.5rem;
    left: 0;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-quote {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .financing-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .financing-steps-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .financing-application {
        flex-direction: column;
    }
    
    .qr-container {
        max-width: 100%;
    }
    
    .application-buttons {
        flex-direction: column;
    }
    
    .partnership-logo-container {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding-left: 0;
    }
    
    .testimonial-content::before {
        top: -2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .testimonial-author {
        text-align: center;
        display: block;
    }
}