/* Contact Us Page Specific Styles */

/* Hero Banner (Same gradient base as about, but potentially unique image/height) */
.contact-hero {
    position: relative;
    height: 300px;
    /* Consistent compact height */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a0525 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Abstract tech or connection image */
    background-image: url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.contact-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Info Grid Section */
.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
    margin-top: -60px;
    /* Overlap effect if desired, or keep separate. Let's keep separate for clean look, or use negative margin for card float effect. */
    padding-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.info-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: transform 0.3s ease;
    border-bottom: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Lift shadow */
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(240, 124, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.info-card:hover .icon-circle {
    background: var(--accent-color);
    color: #fff;
    transform: rotateY(180deg);
    /* Playful interaction */
}

.info-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-card p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.info-card .map-link {
    display: inline-block;
    font-size: 14px;
    margin-top: 4px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background: #fff;
}

.form-map-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.form-wrapper {
    padding-right: 20px;
}

.form-header h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.form-header p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

/* Modern Form Styling */
.clean-form .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

/* Floating Labels Logic */
.floating-group input,
.floating-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 12px;
    /* Softer corners */
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    /* Subtle inner depth */
}

.floating-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 5px;
}

.floating-group input:focus,
.floating-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.1);
}

/* Float label when focused or has content (placeholder not shown) */
.floating-group input:focus~label,
.floating-group input:not(:placeholder-shown)~label,
.floating-group textarea:focus~label,
.floating-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Premium Card Shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Checkbox Styling */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    margin-top: -5px;
}

.form-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.form-checkbox-group label {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox-group a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.form-checkbox-group a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(240, 124, 36, 0.2);
    /* Button shadow */
    transition: all 0.3s ease;
}

.btn-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(240, 124, 36, 0.3);
}

/* Map Wrapper Enhanced */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    transition: transform 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    /* Interactive feel */
}

.map-frame {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-hero {
        height: 220px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-map-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .map-wrapper {
        min-height: 400px;
    }

    .clean-form .input-row {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding-right: 0;
    }
}