/* ====================================================================
   Modern Landing Theme - Glassmorphic Enhancement
   Created: 2026-01-31
   Purpose: Modern glassmorphic overlays for Landing area pages
   ==================================================================== */

/* Modern glassmorphic enhancements for landing pages */

/* Dark background for content visibility
   ================================================================== */

body.bg-image {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    min-height: 100vh;
}

body.bg-image::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Banner enhancements
   ================================================================== */

.banner .ban-content {
    background: rgba(40, 40, 60, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.banner .ban-content h1 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner .ban-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Modern Landing Buttons - Dedicated Class
   ================================================================== */

.modern-landing-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

/* Shimmer effect on hover */
.modern-landing-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-landing-btn:hover:before {
    left: 100%;
}

.modern-landing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5) !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

.modern-landing-btn span,
.modern-landing-btn i {
    color: #ffffff !important;
}

.modern-landing-btn:hover span,
.modern-landing-btn:hover i {
    color: #ffffff !important;
}

/* Disable the white circle hover effect from parent theme */
.modern-landing-btn span.bh {
    display: none !important;
}

/* Contact form enhancements - Match Accounts Pages
   ================================================================== */

.contact-from-wrap {
    background: rgba(40, 40, 60, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-from-wrap .form-control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    transition: all 0.3s ease !important;
}

/* Prevent browser autocomplete from changing background */
.contact-from-wrap .form-control:-webkit-autofill,
.contact-from-wrap .form-control:-webkit-autofill:hover,
.contact-from-wrap .form-control:-webkit-autofill:focus,
.contact-from-wrap .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.3) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.3) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.contact-from-wrap .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.contact-from-wrap .form-control:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
}

.contact-from-wrap .form-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

.contact-info-wrap {
    background: rgba(40, 40, 60, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-info-wrap address {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-wrap a {
    color: #ffffff !important;
    font-weight: 500;
}

/* Success/Error badges
   ================================================================== */

.badge-success {
    background: linear-gradient(135deg, rgba(79, 172, 79, 0.2) 0%, rgba(56, 142, 60, 0.15) 100%) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 172, 79, 0.4) !important;
    border-left: 4px solid rgba(79, 172, 79, 0.8) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}

.badge-danger {
    background: linear-gradient(135deg, rgba(220, 75, 75, 0.2) 0%, rgba(200, 50, 50, 0.15) 100%) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 75, 75, 0.4) !important;
    border-left: 4px solid rgba(220, 75, 75, 0.8) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}

/* Section headings
   ================================================================== */

.sec-heading {
    color: #ffffff;
}

.sec-heading .sec-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sec-heading .sec-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Partners section
   ================================================================== */

.partners {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Dark Content Section - For dynamic partial content
   ================================================================== */

.dark-content-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0;
    margin: 40px 0;
}

.dark-content-section .container {
    position: relative;
    z-index: 1;
}

/* Error page
   ================================================================== */

.error-section {
    text-align: center;
}

.error-section .sec-title {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 24px;
}

/* Header enhancements
   ================================================================== */

.header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .logo-image {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.header .page-logo-text {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Footer enhancements
   ================================================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.footer .foo-btm {
    padding: 12px 20px;
    text-align: center;
    font-size: 11px;
}

.footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

/* Responsive adjustments
   ================================================================== */

@media (max-width: 768px) {
    .banner .ban-content {
        padding: 32px 24px;
    }

    .contact-from-wrap,
    .contact-info-wrap {
        padding: 24px;
        margin-bottom: 20px;
    }
}