/* ========================================
   CONTACT PAGE - PREMIUM DARK THEME REDESIGN
   ======================================== */

/* ========================================
   CONTACT HERO SECTION - MATCHING OTHER PAGES
   ======================================== */
.contact-hero-modern {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d0d2b 100%);
    overflow: hidden;
    padding: 140px 0 80px;
}

.contact-hero-modern .hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.contact-hero-modern .hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: heroFloat 25s ease-in-out infinite;
}

.contact-hero-modern .hero-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.contact-hero-modern .hero-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    bottom: -100px;
    left: -100px;
    animation-delay: -8s;
}

.contact-hero-modern .hero-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    top: 50%;
    left: 40%;
    animation-delay: -16s;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, -50px) rotate(5deg);
    }

    50% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 20px) rotate(3deg);
    }
}

.contact-hero-modern .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.contact-hero-modern .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-hero-modern .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffd700;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.contact-hero-modern .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.contact-hero-modern .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION HEADER - IMPROVED VISIBILITY
   ======================================== */
.contact-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.contact-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.contact-section-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION - DARK THEME
   ======================================== */
.contact-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0d2b 0%, #1a1a3a 100%);
    overflow: hidden;
}

.contact-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.contact-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -100px;
    right: -100px;
}

.contact-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    bottom: -100px;
    left: -100px;
}

/* Contact Info Cards Container */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Info Card */
.contact-info-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-info-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info-card .icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .icon-box {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.contact-info-card .icon-box i {
    font-size: 1.4rem;
    color: #ffd700;
    transition: all 0.3s ease;
}

.contact-info-card:hover .icon-box i {
    color: #000;
    transform: scale(1.1);
}

.contact-info-card .info-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.contact-info-card .info-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Section Header for Contact */
.contact-section .section-header-modern {
    margin-bottom: 50px;
}

/* Contact Form Container */
.contact-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.contact-form-container:hover {
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Form Input Styling for Dark Theme */
.dark-form .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s ease !important;
}

/* Hide placeholder text to prevent double label appearance */
.dark-form .form-floating>.form-control::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.dark-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15) !important;
    color: #ffffff !important;
}

/* Floating Label styling */
.dark-form .form-floating>label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.dark-form .form-floating>.form-control:focus~label,
.dark-form .form-floating>.form-control:not(:placeholder-shown)~label {
    color: #ffd700;
    background: transparent;
    padding: 0;
    opacity: 1;
    transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
}

/* Radio Buttons Dark Theme */
.dark-form .contact-radio-group label {
    color: rgba(255, 255, 255, 0.7);
}

.dark-form .form-check-label {
    color: rgba(255, 255, 255, 0.7);
}

.dark-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-form .form-check-input:checked {
    background-color: #ffd700;
    border-color: #ffd700;
}

/* Submit Button */
.dark-form .btn-primary {
    width: 100%;
    padding: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffd700, #ff8c00) !important;
    border: none !important;
    border-radius: 15px;
    color: #000 !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-form .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ff8c00, #ffd700) !important;
}

/* Validation Styling - Dark Theme */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #ff6b6b !important;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #00b894 !important;
}

.invalid-feedback {
    color: #ff6b6b;
}

/* ========================================
   MAP SECTION - DARK THEME
   ======================================== */
.map-section {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, #1a1a3a 0%, #0d0d2b 100%);
}

.map-container-modern {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.map-container-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, #1a1a3a, transparent);
    z-index: 2;
    pointer-events: none;
}

.map-container-modern iframe {
    filter: grayscale(100%) invert(92%) contrast(90%);
    transition: filter 0.5s ease;
}

.map-container-modern:hover iframe {
    filter: grayscale(50%) invert(92%) contrast(90%);
}

/* ========================================
   MODAL STYLING - DARK THEME (OVERRIDES)
   ======================================== */
.modal-content {
    background: linear-gradient(135deg, #1a1a3a, #0d0d2b) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
}

.modal-body {
    padding: 3rem;
    text-align: center;
}

.modal-body .spinner-border {
    color: #ffd700 !important;
}

.modal-body .modal-title {
    color: #ffffff;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.7);
}

.success-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.2), rgba(0, 184, 148, 0.1));
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.success-icon i {
    font-size: 2.5rem !important;
    color: #00b894 !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-footer .btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.modal-footer .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    color: #ffffff;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 991.98px) {
    .contact-hero-modern {
        min-height: 40vh;
        padding: 120px 0 60px;
    }

    .contact-hero-modern .hero-title {
        font-size: 2.75rem;
    }

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

    .contact-section-title {
        font-size: 2rem;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-form-container {
        padding: 35px;
        margin-top: 40px;
    }

    .contact-info-card {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-modern {
        min-height: 35vh;
        padding: 100px 0 50px;
    }

    .contact-hero-modern .hero-title {
        font-size: 2.25rem;
    }

    .contact-hero-modern .hero-subtitle {
        font-size: 1rem;
    }

    .contact-hero-modern .hero-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .contact-section-title {
        font-size: 1.75rem;
    }

    .contact-section-subtitle {
        font-size: 1rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-form-container {
        padding: 25px;
    }

    .contact-info-card .icon-box {
        width: 50px;
        height: 50px;
    }

    .contact-info-card .icon-box i {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 2rem;
    }
}