/* --- CONTACT PAGE STYLES --- */

/* Contact Hero */
/* Contact Hero */
.contact-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background-color: var(--color-bg);
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1600&auto=format&fit=crop');
    /* Interior shot */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    overflow: hidden;
    color: white;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 28, 20, 0.7);
    /* Dark brown overlay */
    backdrop-filter: blur(3px);
}

.contact-title {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    color: white;
}

.contact-divider {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto 2rem;
}

.contact-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    opacity: 0;
    z-index: -1;
    transform: scale(0.9);
    transition: all 0.4s ease;
    border-radius: 8px;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent !important;
    color: white;
}

.info-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.info-card:hover .icon,
.info-card:hover h3,
.info-card:hover p,
.info-card:hover a {
    color: white !important;
}

/* Status Badge */
.status-badge {
    transition: all 0.3s ease;
}

.info-card:hover .status-badge {
    background: white !important;
    color: var(--color-accent) !important;
}



.info-card:hover #status-badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Map Section */
.map-form-section {
    position: relative;
    padding: 0 !important;
    /* Override global section padding to remove gap */
}

/* Contact Form */
.contact-form .form-group {
    position: relative;
    padding-top: 1rem;
}


.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100% !important;
    padding: 1.5rem 0 0.5rem 0 !important;
    /* Identical padding */
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    outline: none !important;
    resize: none !important;
    /* Disable resize to keep it looking like a field */
    font-family: inherit !important;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-bottom-color: var(--color-accent) !important;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    transition: opacity 0.3s ease;
    transform: translateY(2px);
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-group input:focus::placeholder,
.contact-form .form-group textarea:focus::placeholder {
    opacity: 0.5;
}

/* Autofill Fix - Prevent White Background */
.contact-form .form-group input:-webkit-autofill,
.contact-form .form-group input:-webkit-autofill:hover,
.contact-form .form-group input:-webkit-autofill:focus,
.contact-form .form-group textarea:-webkit-autofill,
.contact-form .form-group textarea:-webkit-autofill:hover,
.contact-form .form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Decorative Circle Animation */
@keyframes floatCircle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.contact-hero div[style*="border-radius: 50%"] {
    animation: floatCircle 10s ease-in-out infinite;
}

/* Checkbox Styling */
/* Checkbox Styling */
.checkbox-group {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem !important;
    align-items: center;
    /* Center alignment */
}

.checkbox-group input[type='checkbox'] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    /* Prevent shrinking */
    min-height: 20px !important;
    flex-shrink: 0 !important;
    /* Prevent flex squashing */
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 0 !important;
    /* Square shape */
    background: transparent;
    cursor: pointer;
    position: relative;
    margin: 0 !important;
    /* Reset margin */
    padding: 0 !important;
}

.checkbox-group input[type='checkbox']:checked {
    background: var(--color-accent);
    border-color: var(--color-accent) !important;
}

.checkbox-group input[type='checkbox']:checked::after {
    content: '\2714';
    /* Heavy Check Mark */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* SUCCESS MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy pop */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #e6f4ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #1e8e3e;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.6s 0.3s forwards ease-out;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.modal-box h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.modal-box p {
    color: #666;
    margin-bottom: 2rem;
}

.modal-close-btn {
    background: var(--color-text-main);
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}