/**
 * CONTACT PAGE DESIGN
 * Bhavyam Infotech - Contact Page Specific Styles
 * Created: 2026-01-07
 *
 * This file provides:
 * - Proper form input spacing and alignment
 * - Section overflow fixes
 * - Distinct visual design for contact page
 * - Glass effect integration
 * - Responsive layout improvements
 * - Pleasant color scheme and spacing
 */

/* ===================================
   CONTACT INFO SECTION
   =================================== */

.tj-contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: visible !important;
}

/* Tech mesh overlay for contact info section */
.tj-contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(5, 18, 41, 0.08) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, rgba(5, 18, 41, 0.035) 1px, transparent 1px),
        linear-gradient(to right, rgba(5, 18, 41, 0.035) 1px, transparent 1px),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 79px,
            rgba(196, 115, 0, 0.03) 79px,
            rgba(196, 115, 0, 0.03) 80px
        );
    background-size:
        40px 40px,
        40px 40px,
        40px 40px,
        100% 100%;
    pointer-events: none;
    z-index: 0;
}

.tj-contact-info-section .container {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.tj-contact-info-section .row {
    position: relative;
    z-index: 1;
    row-gap: 30px;
    margin-left: -15px;
    margin-right: -15px;
}

.tj-contact-info-section [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Contact Info Cards - Professional Golden-Brown Pattern */
.contact-info-item {
    background: #7A4D00 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(180, 120, 30, 0.18) !important;
    border-radius: 16px !important;
    padding: 32px 24px 28px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease, border-color 0.5s ease !important;
    margin-bottom: 0;
    height: 100%;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(80, 50, 5, 0.25) !important;
    z-index: 1;
    will-change: transform;
}

/* Background image layer */
.contact-info-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.35 !important;
    filter: brightness(0.75) saturate(0.85) !important;
    z-index: -2 !important;
    display: block !important;
    transition: transform 8s ease !important;
    transform: scale(1.05) !important;
    border-radius: 0 !important;
    pointer-events: none !important;
}

/* Gradient overlay */
.contact-info-item::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background: linear-gradient(170deg, rgba(40,25,5,0.20) 0%, rgba(40,25,5,0.50) 45%, rgba(30,18,3,0.82) 100%) !important;
    z-index: -1 !important;
    display: block !important;
    opacity: 1 !important;
    border-radius: 0 !important;
    transform: none !important;
}

.contact-card-0::before { background-image: url('../images/cards/modern-office.jpg'); }
.contact-card-1::before { background-image: url('../images/cards/business-meeting.jpg'); }
.contact-card-2::before { background-image: url('../images/cards/data-center.jpg'); }

.contact-info-item:hover {
    background: #F7E3CB !important;
    transform: translateY(-10px) !important;
    border-color: rgba(196, 115, 0, 0.30) !important;
    box-shadow: 0 12px 40px rgba(120, 80, 20, 0.20) !important;
    animation: none;
}

.contact-info-item:hover::before {
    opacity: 0 !important;
    transform: scale(1.15);
}

.contact-info-item:hover::after {
    opacity: 0 !important;
}

/* Contact Info Icon */
.contact-info-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C47300 0%, #d4941a 100%) !important;
    border: none !important;
    border-radius: 18px !important;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(196, 115, 0, 0.35);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.contact-info-item:hover .contact-info-icon {
    background: linear-gradient(135deg, #C47300 0%, #d4941a 100%) !important;
    border-color: transparent !important;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(196, 115, 0, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contact-info-icon i {
    font-size: 28px;
    color: #fff !important;
    z-index: 2;
}

.contact-info-item:hover .contact-info-icon i {
    color: #fff !important;
}

/* Contact Info Content */
.contact-info-content {
    margin-top: 14px;
    position: relative;
    z-index: 2;
}

.contact-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 12px;
    font-family: inherit;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.contact-info-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.8;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.contact-info-content p:last-child {
    margin-bottom: 0;
}

/* Contact hover: dark text on light #F7E3CB background */
.contact-info-item:hover .contact-info-title {
    color: #3a1f00 !important;
    text-shadow: none !important;
}

.contact-info-item:hover .contact-info-content p {
    color: #5a3a15 !important;
    text-shadow: none !important;
}

.contact-info-item:hover .contact-info-content a {
    color: #C47300 !important;
}

.contact-info-content a {
    color: #f0c060 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info-content a:hover {
    color: #B9B35A;
    text-decoration: underline;
}

/* ===================================
   CONTACT FORM SECTION
   =================================== */

.tj-contact-form-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: visible !important;
}

/* Tech mesh overlay for contact form section */
.tj-contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(5, 18, 41, 0.08) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, rgba(5, 18, 41, 0.035) 1px, transparent 1px),
        linear-gradient(to right, rgba(5, 18, 41, 0.035) 1px, transparent 1px),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 79px,
            rgba(196, 115, 0, 0.03) 79px,
            rgba(196, 115, 0, 0.03) 80px
        );
    background-size:
        40px 40px,
        40px 40px,
        40px 40px,
        100% 100%;
    pointer-events: none;
    z-index: 0;
}

.tj-contact-form-section .container {
    position: relative;
    z-index: 1;
}

.tj-contact-form-section .container {
    overflow: visible !important;
}

.tj-contact-form-section .row {
    overflow: visible !important;
}

/* Contact Form Content */
.contact-form-content {
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(196, 115, 0, 0.1);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.1);
    position: relative;
    overflow: visible !important;
}

.contact-form-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #C47300 0%, #B9B35A 100%);
    border-radius: 25px 25px 0 0;
}

/* Contact Form */
.contact-form {
    margin-top: 40px;
}

/* Fix Form Group Spacing - THIS IS THE KEY FIX */
.contact-form .form-group {
    margin-bottom: 25px !important; /* Add proper spacing between inputs */
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

/* Ensure select dropdown form group has higher z-index when open */
.contact-form .form-group:has(.nice-select.open) {
    z-index: 100;
}

.contact-form .row {
    margin-left: -10px;
    margin-right: -10px;
    overflow: visible !important;
}

.contact-form .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
    overflow: visible !important;
}

/* Form Controls - Proper Input Styling */
.contact-form .form-control {
    height: 55px;
    padding: 15px 20px;
    font-size: 15px;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(196, 115, 0, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
    margin-bottom: 0 !important; /* Remove any default margins */
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #C47300;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 20px rgba(196, 115, 0, 0.15),
                inset 0 1px 3px rgba(196, 115, 0, 0.1);
    transform: translateY(-2px);
}

.contact-form .form-control::placeholder {
    color: #999;
    font-size: 14px;
}

/* Textarea Specific */
.contact-form textarea.form-control {
    height: auto;
    min-height: 140px;
    resize: vertical;
    padding-top: 18px;
    line-height: 1.6;
}

/* Nice Select Styling */
.contact-form .nice-select {
    height: 55px;
    line-height: 53px;
    padding: 0 20px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(196, 115, 0, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .nice-select:focus,
.contact-form .nice-select.open {
    border-color: #C47300;
    box-shadow: 0 5px 20px rgba(196, 115, 0, 0.15);
}

.contact-form .nice-select {
    position: relative;
    z-index: 10;
}

.contact-form .nice-select.open {
    z-index: 100;
}

.contact-form .nice-select .list {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    max-height: 300px;
    overflow: visible !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    position: absolute !important;
    width: 100%;
    background: #fff;
    left: 0 !important;
    right: 0 !important;
}

/* Ensure dropdown list items are visible */
.contact-form .nice-select .list .option {
    display: block !important;
    padding: 12px 18px !important;
    line-height: 1.4 !important;
    min-height: auto !important;
}

.contact-form .nice-select .option:hover,
.contact-form .nice-select .option.focus,
.contact-form .nice-select .option.selected.focus {
    background: rgba(196, 115, 0, 0.1);
    color: #C47300;
}

/* Form Button */
.contact-form .tj-btn-primary {
    margin-top: 15px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 200px;
    transition: all 0.4s ease;
}

.contact-form .tj-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 115, 0, 0.3);
}

.contact-form .tj-btn-primary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.contact-form .tj-btn-primary:hover i {
    transform: translateX(5px);
}

/* Validation Feedback */
.contact-form .invalid-feedback {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #dc3545;
    font-weight: 500;
}

.contact-form .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Alert Messages */
.contact-form-content .alert {
    margin-bottom: 25px;
    border-radius: 12px;
    padding: 15px 20px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-content .alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid #28a745;
}

.contact-form-content .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ===================================
   CONTACT ILLUSTRATION
   =================================== */

.contact-illustration-wrapper {
    margin-bottom: 30px;
    overflow: visible !important;
}

.contact-illustration {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(196, 115, 0, 0.05) 0%, rgba(185, 179, 90, 0.05) 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    box-shadow: 0 15px 50px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(196, 115, 0, 0.1);
}

/* Animated circles */
.illustration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: floatCircle 6s ease-in-out infinite;
}

.illustration-circle.circle-1 {
    width: 150px;
    height: 150px;
    border-color: rgba(196, 115, 0, 0.3);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.illustration-circle.circle-2 {
    width: 100px;
    height: 100px;
    border-color: rgba(185, 179, 90, 0.3);
    bottom: 25%;
    right: 20%;
    animation-delay: 2s;
}

.illustration-circle.circle-3 {
    width: 80px;
    height: 80px;
    border-color: rgba(196, 115, 0, 0.2);
    top: 60%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

/* Central icon */
.illustration-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #C47300 0%, #B9B35A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(196, 115, 0, 0.3);
    position: relative;
    z-index: 10;
    animation: pulseIcon 3s ease-in-out infinite;
}

.illustration-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #C47300 0%, #B9B35A 100%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    animation: rippleEffect 2s ease-out infinite;
}

.illustration-icon i {
    font-size: 50px;
    color: #ffffff;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Decorative dots */
.illustration-dots {
    position: absolute;
    width: 40px;
    height: 40px;
}

.illustration-dots::before,
.illustration-dots::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #C47300;
    border-radius: 50%;
}

.illustration-dots::before {
    top: 0;
    left: 0;
}

.illustration-dots::after {
    bottom: 0;
    right: 0;
}

.illustration-dots.dots-1 {
    top: 15%;
    right: 15%;
    animation: rotateDots 10s linear infinite;
}

.illustration-dots.dots-2 {
    bottom: 20%;
    left: 10%;
    animation: rotateDots 10s linear infinite reverse;
}

@keyframes rotateDots {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Decorative lines */
.illustration-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 115, 0, 0.5) 50%, transparent 100%);
    animation: slideLine 4s ease-in-out infinite;
}

.illustration-line.line-1 {
    width: 100px;
    top: 30%;
    right: 25%;
    animation-delay: 0s;
}

.illustration-line.line-2 {
    width: 80px;
    bottom: 35%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes slideLine {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(10px);
    }
}

/* Business Hours */
.contact-business-hours {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(196, 115, 0, 0.15);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    position: relative;
    overflow: visible !important;
}

.contact-business-hours h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(196, 115, 0, 0.2);
    position: relative;
}

.contact-business-hours h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C47300 0%, #B9B35A 100%);
}

.business-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.business-hours-list li:last-child {
    border-bottom: none;
}

.business-hours-list li:hover {
    padding-left: 10px;
    background: rgba(196, 115, 0, 0.03);
}

.business-hours-list .day {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.business-hours-list .time {
    color: #666;
    font-size: 14px;
}

/* ===================================
   MAP SECTION
   =================================== */

.tj-map-section {
    padding: 0;
    overflow: visible !important;
    position: relative;
}

.map-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

/* ===================================
   SECTION OVERFLOW FIXES
   =================================== */

/* Remove all unwanted scrollbars from contact page sections */
.tj-contact-info-section,
.tj-contact-form-section,
.tj-map-section {
    overflow: visible !important;
}

.tj-contact-info-section .container,
.tj-contact-form-section .container,
.tj-map-section .container,
.tj-map-section .container-fluid {
    overflow: visible !important;
}

.tj-contact-info-section .row,
.tj-contact-form-section .row,
.tj-map-section .row {
    overflow: visible !important;
}

.tj-contact-info-section [class*="col-"],
.tj-contact-form-section [class*="col-"],
.tj-map-section [class*="col-"] {
    overflow: visible !important;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1199px) {
    .contact-form-content {
        padding: 40px 30px;
    }

    .contact-info-item {
        padding: 35px 25px;
    }
}

@media (max-width: 991px) {
    .tj-contact-info-section {
        padding: 60px 0;
    }

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

    .contact-form-content {
        padding: 35px 25px;
        margin-bottom: 40px;
    }

    .contact-illustration-wrapper {
        margin-bottom: 25px;
    }

    .contact-illustration {
        height: 350px;
    }

    .tj-contact-info-section .row {
        row-gap: 25px;
    }

    .contact-info-item {
        margin-bottom: 0;
    }

    .contact-info-icon {
        width: 70px;
        height: 70px;
    }

    .contact-info-icon i {
        font-size: 28px;
    }

    /* Ensure proper spacing on mobile */
    .contact-form .form-group {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 767px) {
    .tj-contact-info-section {
        padding: 50px 0;
    }

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

    .contact-form-content {
        padding: 30px 20px;
    }

    .tj-contact-info-section .row {
        row-gap: 20px;
    }

    .contact-info-item {
        padding: 30px 20px;
        margin-bottom: 0;
    }

    .contact-form .row > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    .contact-form .form-control {
        height: 50px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .contact-form textarea.form-control {
        min-height: 120px;
    }

    .contact-form .nice-select {
        height: 50px;
        line-height: 48px;
        font-size: 14px;
    }

    .contact-form .tj-btn-primary {
        width: 100%;
        padding: 14px 30px;
        font-size: 15px;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .contact-business-hours {
        padding: 25px 20px;
    }

    .contact-illustration {
        height: 300px;
    }

    .illustration-icon {
        width: 100px;
        height: 100px;
    }

    .illustration-icon i {
        font-size: 40px;
    }

    .illustration-circle.circle-1 {
        width: 120px;
        height: 120px;
    }

    .illustration-circle.circle-2 {
        width: 80px;
        height: 80px;
    }

    .illustration-circle.circle-3 {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 575px) {
    .contact-info-title {
        font-size: 18px;
    }

    .contact-info-content p {
        font-size: 14px;
    }

    .contact-form-content::before {
        height: 4px;
    }

    .business-hours-list .day,
    .business-hours-list .time {
        font-size: 13px;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus states for form elements */
.contact-form .form-control:focus,
.contact-form .nice-select:focus {
    outline: 2px solid #C47300;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .contact-info-item,
    .contact-info-icon,
    .contact-form .form-control,
    .contact-form .tj-btn-primary {
        transition: none !important;
    }

    .contact-info-item:hover .contact-info-icon {
        transform: scale(1.05) !important;
    }

    /* Disable illustration animations */
    .illustration-circle,
    .illustration-icon,
    .illustration-dots,
    .illustration-line {
        animation: none !important;
    }

    .illustration-icon::before {
        animation: none !important;
        opacity: 0.2;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .contact-form,
    .map-wrapper {
        display: none;
    }

    .contact-info-item,
    .contact-business-hours {
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* ===================================
   GLASS EFFECT COMPATIBILITY
   =================================== */

/* Ensure contact page works with glassmorphism system */
.contact-info-item.glass-effect {
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.contact-form-content.glass-effect {
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.contact-business-hours.glass-effect {
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

/* ===================================
   MICRO-INTERACTIONS COMPATIBILITY
   =================================== */

/* Add 3D micro-interactions to contact cards */
.contact-info-item.micro-3d {
    transform-style: preserve-3d;
}

.contact-info-item.micro-3d .contact-info-icon {
    transform: translateZ(20px);
}

.contact-info-item.micro-3d:hover .contact-info-icon {
    transform: translateZ(30px) rotateY(360deg) scale(1.1);
}

.contact-info-item.micro-3d .contact-info-content {
    transform: translateZ(10px);
}

/* ===================================
   CONTACT FORM AJAX ALERTS
   =================================== */
#form-alerts {
    margin-bottom: 25px;
}

#form-alerts .alert {
    border-radius: 12px;
    border: none;
    padding: 20px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#form-alerts .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

#form-alerts .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

#form-alerts .alert-success i,
#form-alerts .alert-danger i {
    font-size: 28px;
}

#form-alerts .alert strong {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

#form-alerts .alert ul {
    margin-top: 10px;
    margin-bottom: 0;
}

#form-alerts .alert .btn-close {
    opacity: 0.5;
    top: 15px;
    right: 15px;
}

#form-alerts .alert .btn-close:hover {
    opacity: 1;
}

/* Submit Button Loading State */
#submitBtn {
    position: relative;
    min-width: 180px;
}

#submitBtn .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#submitBtn:disabled {
    opacity: 0.8;
    cursor: wait;
}

/* Form validation feedback */
.contact-form .invalid-feedback {
    display: block;
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
    padding-left: 5px;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: none;
}

.contact-form .form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.15) !important;
}
