/* MX合同会社 - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* Color Palette - Purple Theme */
    --primary-purple: #6B46C1;
    --purple-dark: #553C9A;
    --purple-light: #8B5CF6;
    --purple-accent: #A78BFA;
    --purple-gradient: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Typography */
    --font-japanese: 'Noto Sans JP', sans-serif;
    --font-english: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* Base Styles */
body {
    font-family: var(--font-japanese);
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header Styles */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.header {
    padding: 1rem 0;
}

.header-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

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

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 20px;
    background: var(--purple-gradient);
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    position: relative;
    color: var(--gray-800);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-list a:hover {
    color: var(--primary-purple);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-gradient);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Image Slideshow */
.image-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(107, 70, 193, 0.3) 0%, 
        rgba(139, 92, 246, 0.3) 50%,
        rgba(107, 70, 193, 0.4) 100%);
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--purple-gradient);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

/* Ensure consistent button sizes on desktop */
@media (min-width: 769px) {
    .hero-cta .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 220px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Desktop contact method items - horizontal layout with center alignment */
    .contact-method-item {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .contact-method-content {
        text-align: center;
    }
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--purple-gradient);
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Home page services grid (1 row layout) */
.services-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--purple-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Modern Service Cards */
.service-card-modern {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.service-icon-modern {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 20px;
}

.service-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.service-description-modern {
    color: var(--white);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-purple);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-link:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Service-specific backgrounds */
.service-exterior {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/exterior.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-carport {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/carport.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-tile {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/tile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-reform {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/reform.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

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

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    min-width: 280px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-single-card {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
    border: 1px solid var(--gray-200);
}

.contact-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-card-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.contact-card-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.contact-method-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.contact-method-icon img {
    width: 24px;
    height: 24px;
}

.contact-method-content {
    flex: 1;
}

.contact-method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

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

.contact-link:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.contact-services-info {
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--white);
}

.contact-services-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.services-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services-column p {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.4;
    padding-left: 0.5rem;
}

.contact-company-info {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    text-align: center;
}

.contact-company-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.contact-company-info p {
    margin: 0.5rem 0;
    color: var(--gray-700);
    line-height: 1.5;
}

.emergency-note {
    color: var(--primary-purple) !important;
    font-weight: 600;
}

.contact-cta {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: transparent;
    padding: 0;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--purple-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

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

/* Footer */
.footer-container {
    background: var(--gray-900);
    color: var(--white);
    margin-top: 4rem;
}

.footer {
    padding: 3rem 0 1rem;
}

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

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--purple-light);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--purple-light);
}

.contact-info .contact-label {
    color: var(--purple-light);
    font-weight: 500;
}

.contact-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--gray-300);
}

.contact-info a {
    color: var(--gray-300);
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--purple-light);
    text-decoration: underline;
}

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray-800);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid var(--gray-700);
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
}

.footer-legal {
    color: var(--gray-400);
}

/* Responsive Design */
/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 8px 8px;
        z-index: 1000;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-list li {
        margin: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--gray-800);
        transition: var(--transition);
    }

    .nav-list a:hover {
        background: var(--gray-100);
        color: var(--primary-purple);
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    /* Tablet button styles */
    .btn {
        padding: 0.9375rem 1.875rem;
        font-size: 0.975rem;
        min-width: 200px;
        justify-content: center;
        text-align: center;
    }

    /* Tablet service card styles */
    .service-card-modern {
        min-height: 320px;
    }

    .service-content {
        padding: 1.375rem;
    }

    .service-description-modern {
        font-size: 0.925rem;
        line-height: 1.55;
    }

    .service-title-modern {
        font-size: 1.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
        padding: 2rem;
        font-size: 1.05rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .contact-item div:last-child {
        flex: 1;
        min-width: 0;
    }

    .contact-item p,
    .contact-item a {
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .contact-info {
        padding: 0;
        margin-top: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        min-width: auto;
        padding: 2rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid-home {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-modern {
        min-height: 280px;
    }

    .service-content {
        padding: 1.25rem;
    }

    .service-description-modern {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .service-title-modern {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    /* Mobile about section styles */
    .about-content {
        gap: 1.5rem;
    }

    .about-text {
        text-align: center;
        padding: 1.5rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-text p {
        margin-bottom: 1.25rem;
    }

    .about-image {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-section.company-info,
    .footer-section.contact-methods {
        grid-column: 1 / -1;
    }
    
    .contact-buttons {
        grid-template-columns: 1fr;
    }

    /* Mobile styles for new contact card */
    .contact-single-card {
        padding: 1.5rem;
        margin: 1rem;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-method-item {
        padding: 1rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .contact-method-icon {
        width: 40px;
        height: 40px;
    }

    .contact-method-icon img {
        width: 20px;
        height: 20px;
    }

    .contact-services-info {
        padding: 1.5rem;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .services-column {
        gap: 0.5rem;
    }

    .contact-company-info {
        padding: 1rem;
        text-align: center;
    }
}

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

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

    .section-title {
        font-size: 1.8rem;
    }

    /* Mobile button styles */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }

    .hero-cta {
        gap: 0.75rem;
        width: 100%;
        align-items: center;
    }

    /* Extra mobile styles for contact card */
    .contact-single-card {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .contact-card-header h3 {
        font-size: 1.5rem;
    }

    .contact-card-header p {
        font-size: 1rem;
    }

    .contact-method-item {
        padding: 0.75rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-method-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-services-info h4 {
        font-size: 1.1rem;
    }

    .services-column p {
        font-size: 0.9rem;
        text-align: center;
        padding-left: 0;
    }

    .contact-company-info {
        padding: 0.75rem;
        text-align: center;
    }

    .contact-company-info h4 {
        font-size: 1rem;
    }

    .contact-company-info p {
        font-size: 0.9rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

.text-purple {
    color: var(--primary-purple);
}

.bg-gradient {
    background: var(--purple-gradient);
    color: var(--white);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}