/* ============================================
   CONTACT PAGE - CUSTOM STYLES
   Compact design with minimal white space
   ============================================ */

/* Reduce hero section padding */
.about-hero-unique {
    padding: 4rem 0 2rem !important;
}

/* Reduce section padding */
.services-premium {
    padding: 2.5rem 0 !important;
}

/* Contact Form Grid */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Contact Form Card - More Compact & Attractive */
.contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
    position: relative;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group-contact {
    display: flex;
    flex-direction: column;
}

.form-label-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-label-contact i {
    color: var(--primary);
    font-size: 0.85rem;
}

.form-control-contact {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: white;
}

.form-control-contact:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.form-control-contact::placeholder {
    color: #94a3b8;
}

textarea.form-control-contact {
    resize: vertical;
    min-height: 100px;
}

/* Attractive Submit Button */
.btn-submit-contact {
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-submit-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit-contact:hover::before {
    left: 100%;
}

.btn-submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-submit-contact:active {
    transform: translateY(-1px);
}

/* Contact Info Sidebar - More Compact */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card-contact {
    background: white;
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.info-card-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.info-card-contact h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.info-card-contact>p {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.info-item:hover .info-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.info-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Social Links - More Attractive */
.social-links-contact {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.social-link:hover i {
    color: white;
}

/* Map Section - Reduced Spacing */
.map-section-contact {
    padding: 2.5rem 0;
    background: #fafbfc;
}

.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    margin-top: 2rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Reduce FAQ section spacing */
.how-it-works-section {
    padding: 2.5rem 0 !important;
}

/* Reduce section header margins */
.section-header-premium {
    margin-bottom: 2.5rem !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-sidebar {
        order: -1;
    }

    .info-card-contact {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .services-premium {
        padding: 3rem 0 !important;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .map-wrapper {
        height: 350px;
        border-radius: 16px;
    }

    .map-section-contact {
        padding: 2.5rem 0;
    }

    .how-it-works-section {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 1.5rem 1rem;
    }

    .info-card-contact {
        padding: 1.5rem;
    }

    .info-items {
        gap: 1.25rem;
    }

    .social-links-contact {
        flex-wrap: wrap;
    }
}