/* 
* Custom fixes for domain.com as per client requests
*/

/* 1. Hero section - text and button centered but shifted left */
.hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 700px;
    transform: translateX(-50px); /* Shift slightly left */
}

/* 2. About section - title centered, content in two columns with image lower */
.about-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.about-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: var(--space-xs) auto 0;
    border-radius: var(--radius-sm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    align-items: flex-start; /* Move image lower */
}

.about-image {
    margin-top: 20px; /* Push image down a bit */
}

.about-content h2 {
    display: none; /* Hide the h2 in the content since we moved it above grid */
}

/* 3. Why Choose Us section - center all content with only middle items */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Change to 2 columns */
    gap: var(--space-md);
    max-width: 800px; /* Limit width for center alignment */
    margin: 0 auto; /* Center the grid */
}

/* 4. Contact section - Google map integration */
.google-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: var(--radius-md);
}

/* Make contact phone and email black */
.contact-section .contact-item a {
    color: #000000;
}

/* 5. Footer layout - four columns in a single row */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--space-md) !important;
    margin-bottom: var(--space-lg);
}

/* Make legal links and contact info properly display as separate columns */
.footer-col.legal-links,
.footer-col.contact-info {
    margin-top: 0;
}

.footer-col h4 {
    margin-bottom: 20px;
}

/* Adjust company info column to be less wide */
.footer-col.company-info {
    padding-right: 10px;
}

.company-desc {
    font-size: 0.85rem;
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on tablet */
        row-gap: var(--space-lg) !important;
    }
}

@media (max-width: 768px) {
    .hero-content {
        transform: translateX(0); /* Reset shift on mobile */
    }
    
    .about-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    
    .benefits-grid {
        grid-template-columns: 1fr; /* One column on mobile */
    }
    
    .footer-content {
        grid-template-columns: 1fr !important; /* Stack on mobile */
    }
}
