/* Sanitrade Cleaning Services - Homepage Styles */
/* Mobile-First Approach */

/* Hero Section - Mobile-first */
.hero {
    min-height: 100svh; /* Use svh for better mobile browser support */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
    padding: 4rem 0 2rem; /* Account for fixed navbar */
}

@media (min-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 5rem 0 3rem;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--secondary-gold), transparent);
    border-radius: 0 50% 0 50%;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-gold);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 10%;
    right: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 20px;
    bottom: 30%;
    left: 5%;
    animation-delay: -15s;
    transform: rotate(45deg);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 2rem 0; /* Compact on mobile */
}

@media (min-width: 768px) {
    .hero-content {
        padding: 3rem 0;
    }
}

.hero-text {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-text {
        margin-bottom: 3rem;
    }
}

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

@media (min-width: 768px) {
    .hero-badge {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
        margin-bottom: 2rem;
    }
}

.hero-badge i {
    color: var(--primary-gold);
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(1.75rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        margin-bottom: 2rem;
        padding: 0;
    }
}

.hero-subtitle,
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
    margin: 0 auto 2rem;
    line-height: 1.6;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle,
    .hero-description {
        max-width: 700px;
        margin-bottom: 2.5rem;
        padding: 0;
    }
}

.hero-buttons,
.hero-actions {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

@media (min-width: 480px) {
    .hero-buttons,
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .hero-buttons,
    .hero-actions {
        margin-bottom: 3rem;
        padding: 0;
    }
}

/* Hero features list */
.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-highlight i {
    color: var(--primary-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-highlight span {
    font-size: 0.875rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .feature-highlight span {
        font-size: 1rem;
    }
}

.hero-stats {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
    }
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

@media (min-width: 640px) {
    .stat-item {
        min-width: 120px;
    }
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    line-height: 1.3;
}

.hero-scroll,
.scroll-indicator {
    display: none; /* Hidden on mobile to save space */
}

@media (min-width: 768px) {
    .hero-scroll,
    .scroll-indicator {
        display: flex;
    }

    .hero-scroll {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 4;
    }

    .scroll-indicator {
        flex-direction: column;
        align-items: center;
        color: var(--white);
        font-size: 0.875rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .scroll-indicator:hover {
        color: var(--primary-gold);
    }

    .scroll-indicator span {
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .scroll-indicator i,
    .scroll-mouse {
        animation: bounce 2s infinite;
    }

    .scroll-mouse {
        width: 24px;
        height: 36px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        padding-top: 6px;
    }

    .scroll-wheel {
        width: 3px;
        height: 8px;
        background: var(--primary-gold);
        border-radius: 2px;
        animation: scrollWheel 2s infinite;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes scrollWheel {
    0%, 20% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Services Section - Mobile-first */
.services-section,
.services-preview-section {
    padding: 3rem 0;
    background: var(--white);
}

@media (min-width: 768px) {
    .services-section,
    .services-preview-section {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .services-section,
    .services-preview-section {
        padding: 6rem 0;
    }
}

.services-grid,
.services-preview-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
}

@media (min-width: 640px) {
    .services-grid,
    .services-preview-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid,
    .services-preview-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
        gap: 2.5rem;
    }
}

.service-card,
.service-preview-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-card,
    .service-preview-card {
        padding: 2rem;
        border-radius: 1.5rem;
        min-height: 400px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: var(--text-2xl);
    color: var(--black);
}

.service-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
}

.service-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-3);
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.service-features li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: bold;
    margin-right: var(--space-3);
    font-size: var(--text-base);
}

.service-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: var(--space-6);
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-overlay {
    bottom: 0;
}

.service-cta {
    background: var(--black);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.service-cta:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* About Section - Mobile-first */
.about-section,
.why-choose-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

@media (min-width: 768px) {
    .about-section,
    .why-choose-section {
        padding: 5rem 0;
    }
}

.about-content,
.why-choose-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content,
    .why-choose-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-text .section-title {
    text-align: left;
    margin-bottom: var(--space-6);
}

.about-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: var(--text-lg);
    color: var(--black);
}

.feature-content h4 {
    margin-bottom: var(--space-2);
    color: var(--gray-900);
    font-size: var(--text-lg);
}

.feature-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.stats-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 2;
}

.stat-box {
    text-align: center;
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--primary-gold);
    background: var(--white);
}

.stat-box .stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: var(--space-2);
    display: block;
    font-family: var(--font-heading);
}

.stat-box .stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stats-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--gradient-primary);
    color: var(--black);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Areas Section - Mobile-first */
.areas-section,
.service-areas-section {
    padding: 3rem 0;
    background: var(--gradient-dark);
    color: var(--white);
}

@media (min-width: 768px) {
    .areas-section,
    .service-areas-section {
        padding: 5rem 0;
    }
}

.areas-section .section-title,
.service-areas-section .section-title {
    color: var(--white);
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .areas-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.service-areas-grid,
.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .service-areas-grid,
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-areas-grid,
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.area-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: var(--transition);
    text-align: center;
}

@media (min-width: 768px) {
    .area-card {
        padding: 2rem;
    }
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.areas-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.area-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.area-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.area-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.area-icon i {
    font-size: var(--text-lg);
    color: var(--black);
}

.area-info h3 {
    color: var(--white);
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
}

.area-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-3);
    line-height: 1.6;
}

.coverage-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.coverage-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.coverage-text {
    font-size: var(--text-sm);
    color: var(--primary-gold);
    font-weight: 600;
}

.areas-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-visualization {
    position: relative;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.map-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.region-highlight {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.region-highlight:hover {
    transform: scale(1.1);
}

.region-highlight.virginia {
    top: 20%;
    left: 20%;
}

.region-highlight.maryland {
    top: 30%;
    right: 15%;
}

.region-highlight.dc {
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.region-dot {
    width: 15px;
    height: 15px;
    background: var(--primary-gold);
    border-radius: 50%;
    margin-bottom: var(--space-2);
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.region-label {
    font-size: var(--text-xs);
    color: var(--white);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.coverage-radius {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Testimonials Section - Mobile-first */
.testimonials-section {
    padding: 3rem 0;
    background: var(--white);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 5rem 0;
    }
}

.testimonials-container,
.testimonials-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonial-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonial-track {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.testimonial-card:hover::before {
    opacity: 0.05;
}

.testimonial-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
}

.stars {
    display: flex;
    gap: var(--space-1);
}

.stars i {
    color: var(--primary-gold);
    font-size: var(--text-lg);
}

.testimonial-icon {
    font-size: var(--text-2xl);
    color: var(--primary-gold);
    opacity: 0.3;
}

.testimonial-content {
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    font-size: var(--text-lg);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: var(--text-lg);
    color: var(--black);
}

.author-info h4 {
    margin-bottom: var(--space-1);
    color: var(--gray-900);
    font-size: var(--text-base);
}

.author-info span {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active,
.nav-dot:hover {
    background: var(--primary-gold);
    transform: scale(1.2);
}

/* Contact Section / CTA Section - Mobile-first */
.contact-section,
.home-cta-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

@media (min-width: 768px) {
    .contact-section,
    .home-cta-section {
        padding: 5rem 0;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

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

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

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

@media (min-width: 640px) {
    .cta-assurance {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

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

@media (min-width: 640px) {
    .assurance-item {
        flex-direction: row;
        text-align: left;
    }
}

.contact-methods {
    display: grid;
    gap: var(--space-6);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-method:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: var(--text-lg);
    color: var(--black);
}

.method-info h4 {
    margin-bottom: var(--space-2);
    color: var(--gray-900);
    font-size: var(--text-lg);
}

.method-info a {
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.method-info a:hover {
    color: var(--secondary-gold);
}

.method-info p {
    color: var(--gray-600);
    margin: var(--space-1) 0 0;
    font-size: var(--text-sm);
}

.contact-form-container {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: grid;
    gap: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem; /* Touch-friendly */
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
    min-height: 44px; /* Minimum touch target */
    width: 100%;
}

@media (min-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

.form-submit {
    justify-self: start;
    margin-top: var(--space-4);
}

/* Footer - Mobile-first */
.footer {
    background: var(--gray-900);
    color: var(--white);
}

.footer-top,
.footer-main {
    padding: 3rem 0 2rem;
}

@media (min-width: 768px) {
    .footer-top,
    .footer-main {
        padding: 4rem 0 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-top,
    .footer-main {
        padding: 5rem 0 4rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-weight: 700;
    font-size: var(--text-xl);
}

.footer-logo .logo-image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
}

.footer-logo .logo-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

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

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--black);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-400);
}

.contact-item i {
    color: var(--primary-gold);
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--gray-400);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-800);
}

@media (min-width: 768px) {
    .footer-bottom {
        padding: 2rem 0;
    }
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 1.5rem;
    }
}

.footer-badges,
.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-badges,
    .footer-certifications {
        justify-content: flex-end;
    }
}

.badge,
.cert-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.footer-legal p {
    color: var(--gray-400);
    margin: 0;
    font-size: var(--text-sm);
}

.legal-links {
    display: flex;
    gap: var(--space-4);
}

.legal-links a {
    color: var(--gray-400);
    font-size: var(--text-sm);
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary-gold);
}

.footer-certifications {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-bg-image,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.75rem;
}

@media (min-width: 768px) {
    .service-image img {
        height: 250px;
    }
}

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

/* Legacy responsive refinements (transitioning from max-width to min-width) */
@media (min-width: 1025px) {
    /* Desktop-specific enhancements */
    .service-card:hover,
    .testimonial-card:hover {
        transform: translateY(-8px);
    }
}

/* Below 1024px refinements */
@media (max-width: 1024px) {
    .hero-stats {
        gap: var(--space-6);
        padding: var(--space-4) var(--space-6);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-6);
    }
    
    .about-content,
    .areas-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .areas-visual {
        order: -1;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-6);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-content {
        padding: var(--space-6) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        min-height: 400px;
    }
    
    .features-list {
        gap: var(--space-4);
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .areas-list {
        gap: var(--space-6);
    }
    
    .area-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .map-visualization {
        width: 300px;
        height: 300px;
    }
    
    .map-container {
        width: 200px;
        height: 200px;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: var(--space-6);
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .contact-methods {
        gap: var(--space-4);
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
        padding: var(--space-4);
    }
    
    .contact-form-container {
        padding: var(--space-6);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .footer-logo .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .footer-section {
        text-align: center;
        padding: var(--space-4);
    }
    
    .footer-section .contact-info {
        align-items: center;
        gap: var(--space-4);
    }
    
    .footer-section .contact-item {
        justify-content: center;
        text-align: center;
        gap: var(--space-3);
    }
    
    .footer-section h4 {
        margin-bottom: var(--space-4);
        font-size: var(--text-lg);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .service-card {
        padding: var(--space-6);
        min-height: 350px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .stats-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .map-visualization {
        width: 250px;
        height: 250px;
    }
    
    .testimonial-card {
        padding: var(--space-4);
    }
    
    .contact-method {
        padding: var(--space-4);
    }
    
    .contact-form-container {
        padding: var(--space-4);
    }
    
    .footer-certifications {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }
    
    .footer-logo .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .footer-section .contact-info {
        gap: var(--space-4);
    }
    
    .footer-section .contact-item {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    
    .footer-section .contact-item i {
        margin-bottom: var(--space-1);
    }
}