/* ============================================
   Contact Us Page - Modern Styling
   ============================================ */

/* Page Banner Section */
.contact-page-banner {
    position: relative;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    margin-bottom: 60px;
}

.contact-page-banner::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,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.banner-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-page-banner h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.95;
    color: #fff;
}

.banner-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    color: #fff;
}

.banner-description p {
    color: #fff;
}

/* Banner Decorative Elements */
.banner-decoration {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.banner-decoration-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.banner-decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.banner-decoration-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 0 0 50px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.contact-method-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #10b981;
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    transition: transform 0.3s ease;
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-method-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.contact-method-card p {
    font-size: 14px;
    color: #718096;
    margin-bottom: 15px;
}

.contact-method-card a {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method-card a:hover {
    color: #047857;
}

.social-links-inline {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-links-inline a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links-inline a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Main Contact Section */
.contact-main-section {
    padding: 0 0 60px;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.card-header-custom {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
}

.card-header-custom i {
    font-size: 48px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.card-header-custom h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.card-header-custom p {
    font-size: 15px;
    color: #718096;
    margin: 0;
}

/* Alert Messages */
.alert-custom {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-custom i {
    font-size: 20px;
}

/* Form Labels */
.form-label-custom {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-label-custom i {
    color: #10b981;
    margin-right: 5px;
}

.required-star {
    color: #e53e3e;
    margin-left: 3px;
}

/* Modern Form Controls */
.form-control-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    color: #2d3748;
}

.form-control-modern:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-modern::placeholder {
    color: #a0aec0;
}

select.form-control-modern {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23667eea" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

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

/* Error Messages */
.error-message {
    display: none;
    color: #e53e3e;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

.error-message:before {
    content: "⚠ ";
    margin-right: 4px;
}

.error-message:not(:empty) {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input field with error */
.form-control-modern.error,
input.form-control-modern:invalid:not(:placeholder-shown),
textarea.form-control-modern:invalid:not(:placeholder-shown),
select.form-control-modern:invalid {
    border-color: #fc8181;
    background-color: #fff5f5;
}

.form-control-modern.success,
input.form-control-modern:valid:not(:placeholder-shown),
textarea.form-control-modern:valid:not(:placeholder-shown) {
    border-color: #68d391;
}

/* Alert styles for main messages */
.alert-custom {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.4s ease-out;
}

.alert-custom i {
    font-size: 20px;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-success i {
    color: #22c55e;
}

.alert-danger {
    background: #fff5f5;
    color: #991b1b;
    border: 1px solid #feb2b2;
}

.alert-danger i {
    color: #ef4444;
}

/* Captcha Group */
.captcha-group {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.captcha-display-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #10b981;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.captcha-label {
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-label i {
    color: #10b981;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 15px;
}

.captcha-refresh-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.captcha-refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.captcha-refresh-btn i {
    transition: transform 0.3s ease;
}

.captcha-refresh-btn:hover i {
    transform: rotate(180deg);
}

.captcha-input-wrapper {
    margin-top: 15px;
}

/* Submit Button */
.form-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit-modern i {
    font-size: 18px;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    position: sticky;
    top: 20px;
}

.info-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 15px;
    color: #fff;
}

.info-header i {
    font-size: 42px;
    margin-bottom: 15px;
}

.info-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.info-header p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    color: #fff;
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    gap: 20px;
}

.info-card:hover {
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    border-color: #10b981;
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.info-content p {
    font-size: 14px;
    color: #718096;
    margin: 0;
    line-height: 1.6;
}

.info-content p.contact-emails {
    position: relative;
    left: 45px;
    top: 15px;
}

.contact-link {
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.contact-link:hover {
    color: #047857;
}

.contact-link i {
    font-size: 16px;
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #10b981;
}

.highlight-card .info-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .contact-page-banner h1 {
        font-size: 42px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .contact-form-card {
        padding: 35px;
    }
}

@media (max-width: 991px) {
    .contact-page-banner {
        padding: 60px 0 40px;
    }

    .contact-page-banner h1 {
        font-size: 36px;
    }

    .banner-icon {
        font-size: 48px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .contact-methods-section {
        padding: 0 0 40px;
    }

    .contact-method-card {
        padding: 30px 20px;
    }

    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .contact-info-sidebar {
        position: static;
        margin-top: 30px;
    }

    .info-card {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .contact-page-banner {
        padding: 50px 0 30px;
        margin-bottom: 40px;
    }

    .contact-page-banner h1 {
        font-size: 30px;
    }

    .banner-icon {
        font-size: 40px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .banner-description {
        font-size: 14px;
    }

    .contact-methods-section {
        padding: 0 0 30px;
        margin-bottom: 30px;
    }

    .contact-method-card {
        margin-bottom: 20px;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

    .card-header-custom {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .card-header-custom h2 {
        font-size: 24px;
    }

    .card-header-custom i {
        font-size: 40px;
    }

    .captcha-display-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .btn-submit-modern {
        width: 100%;
        justify-content: center;
    }

    .info-header {
        padding: 25px 15px;
    }

    .info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .contact-page-banner h1 {
        font-size: 26px;
    }

    .banner-icon {
        font-size: 36px;
    }

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

    .contact-form-card {
        padding: 20px 15px;
    }

    .card-header-custom h2 {
        font-size: 20px;
    }

    .form-control-modern {
        padding: 10px 14px;
        font-size: 14px;
    }

    .captcha-code {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .btn-submit-modern {
        padding: 12px 30px;
        font-size: 15px;
    }

    .info-header h2 {
        font-size: 20px;
    }

    .info-content h3 {
        font-size: 16px;
    }
}