﻿/* Modern Contact Page - Enhanced */

/* Page Title Area */
.page-title-area {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

    .page-title-area::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(13, 27, 62, 0.95), rgba(26, 43, 74, 0.9));
    }

.page-title-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

    .page-title-content h2 {
        color: #FFFFFF;
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .page-title-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

        .page-title-content ul li {
            color: #FFFFFF;
            font-size: 16px;
        }

            .page-title-content ul li a {
                color: #C9A227;
                transition: all 0.3s ease;
            }

                .page-title-content ul li a:hover {
                    color: #F4D03F;
                }

            .page-title-content ul li.active {
                color: #F4D03F;
            }

            .page-title-content ul li::after {
                content: '/';
                margin: 0 8px;
                color: rgba(255, 255, 255, 0.5);
            }

            .page-title-content ul li:last-child::after {
                display: none;
            }

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Form Wrapper */
.form-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 24px rgba(13, 27, 62, 0.08);
    border: 1px solid #e9ecef;
}

/* Alert Box */
.alert-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 15px;
}

    .alert-box.error {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        border-left: 4px solid #dc3545;
    }

    .alert-box i {
        font-size: 20px;
    }

/* Form Styles */
.contact-form .form-field {
    margin-bottom: 24px;
}

.contact-form label {
/*    display: flex;
*/    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #0D1B3E;
    margin-bottom: 8px;
}

    .contact-form label i {
        font-size: 16px;
        color: #C9A227;
    }

.contact-form .required {
    color: #dc3545;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    color: #0D1B3E;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: #C9A227;
        background: #fffef9;
        box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.08);
    }

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.field-error {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
}

/* Submit Button - Enhanced */
.submit-btn {
    width: auto;
    min-width: 200px;
    background: linear-gradient(135deg, #C9A227 0%, #F4D03F 100%);
    color: #FFFFFF;
    padding: 16px 48px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin: 30px auto 0;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
}

    .submit-btn:hover {
        background: linear-gradient(135deg, #0D1B3E 0%, #1A2B4A 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(13, 27, 62, 0.3);
    }

    .submit-btn i {
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .submit-btn:hover i {
        transform: translateX(4px);
    }

[dir="rtl"] .submit-btn:hover i {
    transform: translateX(-4px);
}

/* Info Sidebar - Simplified Light Design */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #FFFFFF;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    transition: all 0.3s ease;
}

[dir="ltr"] .info-card {
    text-align: left;
}

.info-card:hover {
    border-color: #C9A227;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.1);
    transform: translateX(-4px);
}

[dir="ltr"] .info-card:hover {
    transform: translateX(4px);
}

.info-icon {
    width: 56px;
    height: 56px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(244, 208, 63, 0.1) 100%);
    border-color: #C9A227;
}

.info-icon i {
    font-size: 26px;
    color: #C9A227;
}

.info-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0D1B3E;
    margin: 0 0 6px;
}

.info-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* RTL Support */
[dir="rtl"] .alert-box.error {
    border-left: none;
    border-right: 4px solid #dc3545;
}

[dir="rtl"] .contact-form label {
    flex-direction: row-reverse;
}

[dir="rtl"] .submit-btn {
    flex-direction: row-reverse;
}

/*[dir="rtl"] .info-card {
    flex-direction: row-reverse;
}
*/
/* Responsive Design */
@media (max-width: 991px) {
    .info-sidebar {
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-title-content h2 {
        font-size: 32px;
    }

    .form-wrapper {
        padding: 35px 25px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .info-sidebar {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
        padding: 18px 40px;
    }
}

@media (max-width: 576px) {
    .page-title-area {
        padding: 60px 0;
    }

    .page-title-content h2 {
        font-size: 26px;
    }

    .form-wrapper {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    [dir="rtl"] .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-card:hover {
        transform: translateY(-4px);
    }

    [dir="ltr"] .info-card:hover {
        transform: translateY(-4px);
    }

    .submit-btn {
        padding: 16px 40px;
        font-size: 16px;
    }
}


 
/* Enhanced Success Page */
/* Success Hero */
.success-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D1B3E 0%, #1A2B4A 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.success-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.success-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.success-wrapper {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 60px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 100px rgba(201, 162, 39, 0.1);
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Animation */
.success-animation {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
}

.success-circle {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.4);
}

    .success-circle i {
        font-size: 70px;
        color: #FFFFFF;
        animation: iconRotate 0.6s ease 0.3s both;
    }

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconRotate {
    from {
        transform: rotate(-180deg) scale(0);
        opacity: 0;
    }

    to {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

.success-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    border: 3px solid #28a745;
    border-radius: 50%;
    animation: rippleEffect 2.5s ease-out infinite;
    opacity: 0;
}

    .success-ripple.ripple-2 {
        animation-delay: 0.8s;
    }

    .success-ripple.ripple-3 {
        animation-delay: 1.6s;
    }

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Success Content */
.success-content {
    text-align: center;
}

    .success-content h1 {
        font-size: 40px;
        font-weight: 700;
        color: #0D1B3E;
        margin: 0 0 16px;
        animation: fadeInDown 0.6s ease 0.4s both;
    }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-desc {
    font-size: 17px;
    color: #666;
    margin: 0 0 40px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reference Card */
.reference-card {
    background: linear-gradient(135deg, #0D1B3E 0%, #1A2B4A 100%);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease 0.6s both;
    box-shadow: 0 10px 30px rgba(13, 27, 62, 0.4);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C9A227 0%, #F4D03F 50%, #C9A227 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.reference-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .reference-header i {
        font-size: 20px;
        color: #F4D03F;
        animation: pulse 2s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.reference-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .reference-body:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: scale(1.02);
    }

.reference-num {
    font-size: 28px;
    font-weight: 700;
    color: #F4D03F;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(244, 208, 63, 0.3);
}

.copy-btn {
    width: 44px;
    height: 44px;
    background: rgba(201, 162, 39, 0.2);
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

 
/* Enhanced Success Page - Matching Contact Page Style */
/* Page Title Area */
.page-title-area {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

.page-title-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.95), rgba(26, 43, 74, 0.9));
}

.page-title-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

    .page-title-content h2 {
        color: #FFFFFF;
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .page-title-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

        .page-title-content ul li {
            color: #FFFFFF;
            font-size: 16px;
        }

            .page-title-content ul li a {
                color: #C9A227;
                transition: all 0.3s ease;
            }

                .page-title-content ul li a:hover {
                    color: #F4D03F;
                }

            .page-title-content ul li.active {
                color: #F4D03F;
            }

            .page-title-content ul li::after {
                content: '/';
                margin: 0 8px;
                color: rgba(255, 255, 255, 0.5);
            }

            .page-title-content ul li:last-child::after {
                display: none;
            }

/* Container */
.Contactcontainer {
    width: 100%;
    max-width: 1140px;
    padding: 0 15px;
    margin: 0 auto;
}

/* Success Section */
.success-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.success-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px 50px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(13, 27, 62, 0.08);
    border: 1px solid #e9ecef;
    text-align: center;
}

/* Success Icon */
.success-icon-wrapper {
    margin-bottom: 30px;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
}

    .success-checkmark i {
        font-size: 56px;
        color: #FFFFFF;
    }

/* Success Content */
.success-card h1 {
    font-size: 36px;
    font-weight: 700;
    color: #0D1B3E;
    margin: 0 0 16px;
}

.success-message {
    font-size: 17px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 40px;
}

/* Reference Card */
.reference-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
}

.reference-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

    .reference-header i {
        font-size: 18px;
        color: #C9A227;
    }

.reference-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 12px;
}

.reference-number {
    font-size: 24px;
    font-weight: 700;
    color: #0D1B3E;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.copy-btn {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .copy-btn:hover {
        background: #C9A227;
        border-color: #C9A227;
        color: #ffffff;
    }

    .copy-btn i {
        font-size: 16px;
    }

.reference-note {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Steps Section */
.steps-section {
    text-align: right;
    margin-bottom: 40px;
}

[dir="ltr"] .steps-section {
    text-align: left;
}

.steps-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0D1B3E;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C9A227;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .steps-list li {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 14px 0;
        border-bottom: 1px solid #e9ecef;
    }

        .steps-list li:last-child {
            border-bottom: none;
        }

[dir="rtl"] .steps-list li {
    flex-direction: row-reverse;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(244, 208, 63, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .step-icon i {
        font-size: 20px;
        color: #C9A227;
    }

.step-text {
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    text-align: right;
}

[dir="ltr"] .step-text {
    text-align: left;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .btn i {
        font-size: 18px;
    }

.btn-primary {
    background: linear-gradient(135deg, #C9A227 0%, #F4D03F 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.25);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #0D1B3E 0%, #1A2B4A 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(13, 27, 62, 0.3);
    }

.btn-secondary {
    background: #ffffff;
    color: #0D1B3E;
    border-color: #0D1B3E;
}

    .btn-secondary:hover {
        background: #0D1B3E;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* Redirect Timer */
.redirect-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
}

    .redirect-timer i {
        font-size: 18px;
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.redirect-timer strong {
    color: #0D1B3E;
    font-weight: 700;
}

/* RTL Support */
[dir="rtl"] .reference-body {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .redirect-timer {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title-content h2 {
        font-size: 32px;
    }

    .success-section {
        padding: 60px 0;
    }

    .success-card {
        padding: 40px 30px;
    }

    .success-checkmark {
        width: 80px;
        height: 80px;
    }

        .success-checkmark i {
            font-size: 48px;
        }

    .success-card h1 {
        font-size: 28px;
    }

    .success-message {
        font-size: 16px;
    }

    .reference-number {
        font-size: 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .page-title-area {
        padding: 60px 0;
    }

    .page-title-content h2 {
        font-size: 26px;
    }

    .success-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .success-checkmark {
        width: 70px;
        height: 70px;
    }

        .success-checkmark i {
            font-size: 42px;
        }

    .success-card h1 {
        font-size: 24px;
    }

    .reference-card {
        padding: 20px;
    }

    .reference-number {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
    }

        .step-icon i {
            font-size: 18px;
        }

    .step-text {
        font-size: 14px;
    }

    .redirect-timer {
        font-size: 13px;
        padding: 10px 16px;
    }
}

 