/* Contact Page Styles */
.contact-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 70%, rgba(0, 188, 212, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(38, 198, 218, 0.4) 0%, transparent 50%);
    z-index: 1;
}

.contact-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.85) 0%, rgba(26, 54, 93, 0.9) 100%);
    z-index: 1;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-hero .hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-hero .hero-description {
    font-size: 1.4rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="3" fill="rgba(0,188,212,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Form Container */
.form-container {
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.15);
    border: 2px solid rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
}


.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    border: 2px solid rgba(0, 188, 212, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
    transform: translateY(-2px);
}

.form-group i {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
}

.form-group textarea + i {
    top: 3.5rem;
    transform: none;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::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;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

/* Contact Info */
.contact-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    text-align: center;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 188, 212, 0.1);
    border: 2px solid rgba(0, 188, 212, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.05), transparent);
    transition: left 0.6s;
}



.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
}

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

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Quick Contact */
.quick-contact {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&h=400&q=80');
    background-size: cover;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

.quick-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.quick-contact-text {
    text-align: center;
}

.quick-contact-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem 3rem;
    border-radius: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
}

.phone-number:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.4);
}

.phone-number i {
    font-size: 2rem;
}

.quick-contact-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.quick-contact-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 188, 212, 0.2), transparent);
    z-index: 2;
}

.quick-contact-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.quick-contact-image:hover img {
    transform: scale(1.05);
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="map-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M0 12.5 L12.5 0 L25 12.5 L12.5 25 Z" fill="none" stroke="rgba(0,188,212,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23map-pattern)"/></svg>');
    z-index: 1;
}

.map-section .container {
    position: relative;
    z-index: 2;
}

.map-container {
    background: var(--white);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.15);
    border: 2px solid rgba(0, 188, 212, 0.1);
    margin-top: 3rem;
}

.map-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0, 188, 212, 0.1) 100%);
    border-radius: 20px;
    border: 2px dashed rgba(0, 188, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.map-placeholder h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Contact Hero Mobile */
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }

    .contact-hero .hero-description {
        font-size: 1.1rem;
    }

    .contact-hero .hero-content {
        padding: 1rem;
    }

    /* Contact Form Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-container {
        padding: 2.5rem 2rem;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem 1.2rem 1rem 3rem;
    }

    .form-group i {
        left: 1rem;
    }

    .submit-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    /* Contact Info Mobile */
    .contact-info h3 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .info-content h4 {
        font-size: 1.2rem;
    }

    .info-content p {
        font-size: 1rem;
    }

    /* Quick Contact Mobile */
    .quick-contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .quick-contact-text h3 {
        font-size: 2rem;
    }

    .phone-number {
        padding: 1.5rem 2rem;
        font-size: 1.5rem;
    }

    .phone-number i {
        font-size: 1.8rem;
    }

    /* Map Mobile */
    .map-container {
        padding: 2.5rem 2rem;
    }

    .map-placeholder {
        padding: 3rem 1.5rem;
    }

    .map-placeholder i {
        font-size: 3rem;
    }

    .map-placeholder h4 {
        font-size: 1.5rem;
    }

    .map-placeholder p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero .hero-title {
        font-size: 2rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .quick-contact-text h3 {
        font-size: 1.8rem;
    }

    .phone-number {
        padding: 1.2rem 1.5rem;
        font-size: 1.3rem;
        flex-direction: column;
        gap: 1rem;
    }

    .map-container {
        padding: 2rem 1.5rem;
    }

    .map-placeholder {
        padding: 2rem 1rem;
    }
}
