/* =====================================================
   Contact Us Page - Modern & Responsive Styles
   ===================================================== */

/* Main Contact Section */
.ed-contact-main {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
}

.ed-contact-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

/* Contact Wrapper */
.ed-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

/* Form Container */
.ed-contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.ed-contact-form-container:hover {
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Form Title and Subtitle */
.ed-form-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2d2d2d;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.ed-form-subtitle {
    font-size: 15px;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 35px;
    line-height: 1.6;
    font-family: var(--title-font);
}

/* Form Styles */
.ed-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Form Group */
.ed-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Form Inputs */
.ed-form-input,
.ed-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    letter-spacing: 1px;
    font-size: 15px;
    font-family: var(--title-font);
    color: #2d2d2d;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    outline: none;
}

.ed-form-input::placeholder,
.ed-form-textarea::placeholder {
    color: #999;
}

.ed-form-input:focus,
.ed-form-textarea:focus {
    border-color: #007bff;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.ed-form-input.error,
.ed-form-textarea.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.ed-form-input.success,
.ed-form-textarea.success {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.ed-form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--title-font);
}

/* Error Message */
.ed-error-message {
    font-size: 12px;
    color: #dc3545;
    letter-spacing: 1px;
    margin-top: 6px;
    display: none;
    animation: slideDown 0.3s ease-out;
    font-weight: 500;
}

.ed-error-message.show {
    display: block;
}

/* CAPTCHA Styles */
.ed-captcha-group {
    gap: 15px;
}

.ed-captcha-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.ed-captcha-display {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.ed-captcha-code {
    font-size: 24px;
    font-weight: bold;
    color: #2d2d2d;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
    user-select: none;
    min-width: 120px;
}

.ed-captcha-refresh {
    background: linear-gradient(135deg, #ffb200 0%, #e73a8c 100%);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ed-captcha-refresh:hover {
    transform: rotate(180deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.ed-captcha-input {
    text-transform: none;
    letter-spacing: 2px;
}

/* Submit Button */
.ed-submit-group {
    padding-top: 10px;
}

.ed-submit-btn {
    background: linear-gradient(135deg, #ffb200 0%, #e73a8c 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    letter-spacing: 1px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-family: var(--title-font);
    width: 100%;
}

.ed-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.ed-submit-btn:active {
    transform: translateY(-1px);
}

.ed-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info Container */
.ed-contact-info-container {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* Info Title */
.ed-info-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2d2d2d;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.ed-info-subtitle {
    font-size: 15px;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 35px;
    line-height: 1.6;
    font-family: var(--title-font);
}

/* Info Items */
.ed-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.ed-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ed-info-item:hover {
    padding-left: 10px;
}

/* Info Icon */
.ed-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffb200 0%, #e73a8c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ed-info-item:hover .ed-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Info Content */
.ed-info-content {
    flex: 1;
}

.ed-info-label {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #2d2d2d;
    margin-bottom: 5px;
    font-family: var(--title-font);
}

.ed-info-text {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
    line-height: 1.6;
    margin: 0;
    font-family: var(--title-font);
}

.ed-info-text a {
    color: #666;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.ed-info-text a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Social Links */
.ed-social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.ed-social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d00ec;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ed-social-link:hover {
    background: linear-gradient(135deg, #ffb200 0%, #e73a8c 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Google Map Section */
.ed-map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
}

.ed-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

.ed-map-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.ed-map-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease-out;
}

.ed-map-title {
    font-size: 36px;
    font-weight: 700;
    color: #2d2d2d;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.ed-map-subtitle {
    font-size: 15px;
    color: #666;
    letter-spacing: 1px;
    line-height: 1.6;
    font-family: var(--title-font);
}

.ed-map-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.1s both;
    position: relative;
    border: 4px solid white;
}

.ed-map-container:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
}

.ed-map-container iframe {
    border-radius: 12px;
    display: block;
    width: 100%;
    height: 100%;
}

/* Alert Notification Styles */
.ed-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 18px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--title-font);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.4s ease-out;
    z-index: 9999;
    max-width: 400px;
}

.ed-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ed-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ed-alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.ed-alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ed-alert-close:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ed-contact-main {
        padding: 60px 0;
    }

    .ed-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ed-contact-form-container,
    .ed-contact-info-container {
        padding: 35px 25px;
    }

    .ed-form-title,
    .ed-info-title {
        font-size: 26px;
    }

    .ed-form-group {
        gap: 12px;
    }

    .ed-form-input,
    .ed-form-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .ed-info-item {
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .ed-info-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .ed-captcha-code {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .ed-submit-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .ed-map-section {
        padding: 60px 0;
    }

    .ed-map-header {
        margin-bottom: 40px;
    }

    .ed-map-title {
        font-size: 28px;
    }

    .ed-map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .ed-contact-main {
        padding: 40px 0;
    }

    .ed-contact-form-container,
    .ed-contact-info-container {
        padding: 25px 15px;
    }

    .ed-form-title,
    .ed-info-title {
        font-size: 22px;
    }

    .ed-form-subtitle,
    .ed-info-subtitle {
        font-size: 13px;
    }

    .ed-form-input,
    .ed-form-textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .ed-form-group {
        gap: 10px;
    }

    .ed-info-item {
        flex-direction: column;
        gap: 10px;
    }

    .ed-info-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .ed-captcha-display {
        flex-direction: column;
        gap: 8px;
    }

    .ed-captcha-code {
        font-size: 18px;
        letter-spacing: 2px;
        min-width: auto;
    }

    .ed-captcha-refresh {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .ed-social-links {
        gap: 10px;
    }

    .ed-social-link {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .ed-alert {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
    }

    .ed-map-section {
        padding: 40px 0;
    }

    .ed-map-header {
        margin-bottom: 30px;
    }

    .ed-map-title {
        font-size: 20px;
    }

    .ed-map-subtitle {
        font-size: 12px;
    }

    .ed-map-container {
        height: 250px;
        border: 2px solid white;
    }
}
