/* ============================================
   EDRONA LMS - Contact Page Styles
   ============================================ */

/* Contact Section */
.contact-section {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Page Header */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Wrapper */
.contact-wrapper {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 95, 122, 0.12);
}

/* Contact Info Side */
.contact-info {
    flex: 0 0 380px;
    background: var(--gradient-hero);
    padding: 45px 40px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.contact-info > .contact-info-content > p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.contact-info-text h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.contact-info-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: #fff;
}

/* Social Links */
.contact-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-social h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Floating Shapes */
.contact-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-shape-1 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: -80px;
}

.contact-shape-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: -40px;
}

/* Contact Form Side */
.contact-form-wrapper {
    flex: 1;
    padding: 45px 50px;
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
}

/* Form Styles */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.contact-form .form-row .form-group {
    margin-bottom: 0;
}

.contact-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-color);
    background: #fff;
    transition: all 0.3s ease;
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
    color: #a0aec0;
}

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

.contact-form .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    padding: 14px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 95, 122, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Map Section */
.map-section {
    padding: 0 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(26, 95, 122, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

/* FAQ Quick Section */
.faq-quick {
    padding: 60px 0;
    background: #fff;
}

.faq-quick-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-quick-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.faq-quick-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.faq-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 95, 122, 0.1);
}

.faq-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.faq-card-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.faq-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.faq-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .contact-section {
        padding: 100px 0 50px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info {
        flex: none;
        padding: 35px 30px;
    }

    .contact-form-wrapper {
        padding: 35px 30px;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-row .form-group {
        margin-bottom: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper iframe {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 90px 0 40px;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }

    .contact-info {
        padding: 30px 24px;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .contact-info-item {
        gap: 12px;
    }

    .contact-info-icon {
        width: 42px;
        height: 42px;
    }
}
