/* 
    Contact Page Styles
    ========================================================================== */

/* Disable global theme effect for contact page sections */
body::after {
    display: none !important;
}

body {
    background-color: #ffffff !important; /* Force clean white background for non-banner sections */
    color: #112d11 !important; /* Ensure readable text color */
}

.contact-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('assets/contact-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    z-index: 905;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(17, 45, 17, 0.4) 0%,
        rgba(17, 45, 17, 0.7) 100%
    );
    z-index: 1;
}

.contact-banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 5%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 192, 17, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(242, 192, 17, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-yellow);
    margin-bottom: 25px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out forwards;
}

.contact-banner h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.contact-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}



/* Quick Actions Section */
.quick-actions {
    padding: 80px 5%;
    background: #f4f7f4; /* Section 1: Subtle Mint Green */
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.badge {
    display: inline-block;
    background: #f4f7f4;
    color: #2d5a27;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #112d11;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.action-card {
    background: #faf7f2;
    padding: 40px 25px;
    border-radius: 24px;
    border: 1px solid rgba(17, 45, 17, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 45, 17, 0.08);
    border-color: var(--accent-yellow);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-yellow);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.action-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    background: #f4f7f4;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #2d5a27;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(17, 45, 17, 0.04);
}

.action-card:hover .icon-wrapper {
    background: var(--accent-yellow);
    color: #112d11;
    transform: rotate(10deg) scale(1.1);
}

.icon-wrapper i, .icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.action-card h3 {
    font-size: 1.4rem;
    color: #112d11;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 5px;
    display: none; /* Hide by default */
}

.form-group.error .error-msg {
    display: block !important; /* Show only when error class is present */
}

.terms-check.error .error-msg {
    display: block !important;
}

.action-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 500;
}

.action-link {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 10px 22px;
    background: linear-gradient(135deg, #0a1a0a 0%, #112d11 49%, #f2c011 51%, #d9ac0d 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.action-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.8s;
}

.action-link:hover {
    background-position: 100% 0%;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 192, 17, 0.3);
}

.action-link:hover::before {
    left: 150%;
}

.action-link i, .action-link svg {
    width: 20px;
    height: 20px;
}


/* Contact Main Section */
.contact-main {
    padding: 80px 5%;
    background: #f6f4f2; /* Section 2: Clean White for the Form */
}

.contact-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-card {
    background: #faf7f2;
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
    border: 1px solid rgba(17, 45, 17, 0.05);
}

.contact-form-card h2 {
    font-size: 2.2rem;
    color: #112d11;
    margin-bottom: 35px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #112d11;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e8eee8;
    border-radius: 12px;
    font-size: 1rem;
    background: #fbf9f6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #112d11;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(242, 192, 17, 0.1);
}

.phone-input {
    display: flex;
    gap: 12px;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7f4;
    padding: 0 18px;
    border: 1px solid #e8eee8;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #112d11;
    white-space: nowrap;
}

.country-code img {
    width: 20px;
    border-radius: 2px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: #f9fbf9;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #edf2ed;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    font-weight: 600;
}

.check-item input {
    width: 20px;
    height: 20px;
    accent-color: #2d5a27;
    cursor: pointer;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 30px;
    cursor: pointer;
    font-weight: 600;
}

.terms-check a {
    color: #2d5a27;
    text-decoration: underline;
}

.btn-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(135deg, #0a1a0a 0%, #112d11 49%, #f2c011 51%, #d9ac0d 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    color: white !important;
    padding: 18px;
    border: none;
    border-radius: 2px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.8s;
}

.btn-submit:hover {
    background-position: 100% 0%;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(242, 192, 17, 0.4);
}

.btn-submit:hover::before {
    left: 150%;
}

.btn-submit i, .btn-submit svg {
    width: 20px;
    height: 20px;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-header h2 {
    font-size: 2rem;
    color: #112d11;
    margin-bottom: 10px;
    font-weight: 800;
}

.info-card {
    background: #f8f9f8;
    padding: 25px;
    border-radius: 18px;
    display: flex;
    gap: 20px;
    border: 1px solid #edf2ed;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--accent-yellow);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5a27;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1.1rem;
    color: #112d11;
    margin-bottom: 5px;
}

.info-details p {
    font-size: 1rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-details span {
    font-size: 0.85rem;
    color: #777;
}

/* Exclusive Services Section */
.exclusive-services {
    padding: 80px 5%;
    background: #fcf9ee; /* Section 3: Subtle Warm Sand */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-image {
    position: relative;
    height: 350px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transition: all 0.5s ease;
}

.service-card:hover .service-overlay {
    padding-bottom: 40px;
}

.service-details-hover {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    overflow: hidden;
}

.service-card:hover .service-details-hover {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
}

.service-details-hover p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a1a0a 0%, #112d11 49%, #f2c011 51%, #d9ac0d 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 2px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: none;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.8s;
}

.service-btn:hover {
    background-position: 100% 0%;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 192, 17, 0.3);
}

.service-btn:hover::before {
    left: 150%;
}

.service-overlay h3 {
    font-size: 1.8rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

/* Professional Responsive Overrides */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        height: 70vh;
        min-height: 500px;
        padding-top: 60px;
        align-items: flex-start;
        display: flex;
        justify-content: center;
    }

    .contact-banner h1 {
        font-size: 3.2rem;
        letter-spacing: -1px;
    }

    .contact-banner p {
        font-size: 1.25rem;
        padding: 0 5%;
    }

    .contact-form-card {
        padding: 40px 20px !important;
        border-radius: 28px !important;
        margin: 0 5px !important; /* 5px Left and Right Cover */
        width: calc(100% - 10px) !important;
        background: #ffffff !important;
        box-shadow: 0 20px 50px rgba(17, 45, 17, 0.08) !important;
        border: 1px solid rgba(17, 45, 17, 0.06) !important;
    }

    .contact-form-card h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        color: #112d11;
        font-weight: 800;
        text-align: center;
    }

    .inquiry-form .form-row {
        grid-template-columns: 1fr !important; /* Force stack all rows */
        gap: 0;
    }

    .form-group {
        margin-bottom: 22px;
    }

    .form-group label {
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        color: #2d5a27 !important;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .form-group input, 
    .form-group textarea {
        padding: 14px 18px !important;
        font-size: 1rem !important;
        background: #f8faf8 !important; /* Soft green tint for better look */
        border: 1.5px solid #eef2ee !important;
        border-radius: 14px !important;
    }

    .form-group input:focus {
        background: #ffffff !important;
        border-color: var(--accent-yellow) !important;
        box-shadow: 0 0 0 4px rgba(242, 192, 17, 0.15) !important;
    }

    .btn-submit {
        padding: 16px;
        font-size: 1rem;
    }

    .phone-input {
        flex-direction: column;
        gap: 8px;
    }

    .country-code {
        width: 100%;
        height: 48px;
        justify-content: center;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .contact-info-column {
        padding: 0 5px; /* 5px Left and Right Cover for info cards */
    }

    .info-card {
        padding: 20px;
        border-radius: 20px;
    }

    .exclusive-services {
        padding: 60px 0 !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 5px;
    }

    .service-image {
        height: 250px;
    }

    /* Quick Actions Mobile */
    .quick-actions {
        padding: 60px 0 !important;
    }

    .actions-grid {
        padding: 0 5px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .action-card {
        padding: 35px 20px;
        border-radius: 24px;
        margin: 0 5px !important;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        height: 65vh;
        padding-top: 50px;
    }

    .contact-banner h1 {
        font-size: 2.8rem;
    }

    .contact-form-card h2 {
        font-size: 1.5rem;
    }
}

/* Mobile S - 320px Final Polish */
@media (max-width: 320px) {
    .contact-form-card, .action-card, .info-card {
        padding: 20px 15px !important;
    }
}
