/* Contact Page Layout */
.contact-hero {
    padding: 53px 0;
    background: #f4f7f0;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

@media (min-width: 993px) {
    .contact-hero-grid {
        grid-template-columns: 1fr 1.1fr;
        align-items: center;
    }
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 10% 5% auto;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at center, rgba(81, 166, 103, 0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.contact-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-card-title {
    color: #2e7d32;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-head .icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-head .icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.contact-head h4 {
    font-size: 1rem;
    color: #2e7d32;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-head p {
    margin: 0;
    color: #555;
    line-height: 1.4;
    font-size: 0.9rem;
}

.contact-head p a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-head p a:hover {
    color: #2e7d32;
}

.contact-social-media {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.contact-social-media h4 {
    font-size: 0.95rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #2e7d32;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #2e7d32;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}


.social-icon {
    display: flex;
    gap: 12px;
}

.social-icon a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #2e7d32;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon a:hover {
    background: #2e7d32;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.contact-form-panel {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    color: #333;
    margin-top: 0;
}

.contact-form-panel h2 {
    color: #2e7d32;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: normal;
    text-shadow: none;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.contact-form-panel form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form-panel .row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    border-radius: 6px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #333;
    background: #fdfdfd;
    transition: all 0.3s ease;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    outline: none;
    border-color: #2e7d32;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.contact-form-panel textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-panel .cta-button {
    width: 100%;
    padding: 14px 22px;
    border-radius: 8px;
    border: none;
    background: #2e7d32;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-form-panel .cta-button:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

/* Map & Reviews Section */
.contact-map-section {
    padding: 60px 0;
}

.map-reviews-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    min-height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.google-reviews-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.review-header-top {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.review-badge {
    width: 40px;
    height: 40px;
    background: #f0f6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285f4;
    font-size: 1.2rem;
}

.review-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-score {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.review-stars-row {
    color: #fbbc05;
}

.review-count {
    font-size: 0.9rem;
    color: #777;
}

.review-list {
    padding: 20px 0;
    flex-grow: 1;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-stars-sm {
    color: #fbbc05;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
}

.review-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
}

.review-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.fb-blue {
    background-color: #4285f4;
}

.purple {
    background-color: #8e44ad;
}

.green {
    background-color: #27ae60;
}

.orange {
    background-color: #f39c12;
}

.reviewer-name {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.view-all-reviews {
    display: block;
    text-align: center;
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    padding-top: 15px;
}

.view-all-reviews i {
    transition: transform 0.3s ease;
}

.view-all-reviews.expanded i {
    transform: rotate(180deg);
}

/* CONTACT PAGE RESPONSIVE
============================================= */
@media (max-width: 992px) {
    .contact-hero {
        margin-top: 100px;
    }

    .contact-hero-grid {
        grid-template-columns: 1fr;
        /* Force single column on tablet/mobile */
        gap: 30px;
    }

    .contact-details {
        margin-bottom: 20px;
        text-align: left;
    }

    .contact-card-title {
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }

    .contact-form-panel {
        padding: 40px 30px;
    }

    .contact-head {
        justify-content: flex-start;
        text-align: left;
    }

    .contact-social-media h4 {
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }
    .social-icon {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        margin-top: 110px;
    }

    .map-reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .review-header-top {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .review-summary {
        align-items: center;
    }

    .contact-head p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        margin-top: 80px;
    }

    .contact-form-panel {
        padding: 30px 20px;
    }

    .contact-form-panel .row.two-cols {
        grid-template-columns: 1fr;
    }
}