/* Hero Section Overlay - Increase opacity for better text visibility */
#landing-section .overlay {
    background-color: rgba(0, 0, 0, 0.60) !important;
}

/* Location Cards Enhanced Styles */
.location-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.location-card:hover::before {
    opacity: 1;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
    border-color: #667eea;
}

.location-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.location-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.location-card:hover .location-overlay {
    opacity: 1;
}

.location-card:hover .location-overlay-content {
    opacity: 1 !important;
}

.location-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.location-icon {
    transition: transform 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.1) rotate(5deg);
}

.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.location-card:hover .price-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.location-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.location-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.location-btn:hover::before {
    width: 300px;
    height: 300px;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.location-btn span {
    position: relative;
    z-index: 1;
}

.location-btn:hover i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.location-card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.location-card:hover .location-card-border {
    transform: scaleX(1);
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Enhanced Section Title */
.fs-2hx.position-relative::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Hero Form Styles */
.hero-form-container {
    width: 100%;
    max-width: 450px;
}

.hero-form-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-form-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-form-card>* {
    position: relative;
    z-index: 1;
}

.hero-form-card h3 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-form-card .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-form {
    margin-top: 1.5rem;
}

.form-group-icon {
    position: relative;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #667eea;
    font-size: 1.25rem;
    z-index: 2;
    pointer-events: none;
}

.input-icon-wrapper .form-control {
    padding-left: 3rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1rem;
    height: 56px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.input-icon-wrapper .form-control:focus {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    outline: none;
}

.input-icon-wrapper .form-control::placeholder {
    color: #999;
    font-weight: 400;
}

.hero-form-btn {
    border-radius: 12px;
    height: 56px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.hero-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 87, 108, 0.5);
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.hero-form-btn:active {
    transform: translateY(0);
}

.hero-form-gradient-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
            #f093fb 0%,
            #f5576c 25%,
            #4facfe 50%,
            #00f2fe 75%,
            #f093fb 100%);
    background-size: 200% 100%;
    animation: gradient-slide 3s ease infinite;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .hero-form-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .input-icon-wrapper .form-control {
        height: 50px;
        font-size: 0.95rem;
    }

    .hero-form-btn {
        height: 50px;
        font-size: 1rem;
    }
}

/* Sticky form - always visible, no conditions */
.sticky-callback-form {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(0) !important;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%) 1;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* WhatsApp icon should be above sticky form */
.whatsapp-icon {
    z-index: 1001 !important;
}

.sticky-quote-form-wrapper {
    padding: 1.5rem 0;
}

.sticky-quote-form-wrapper .form-control {
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sticky-quote-form-wrapper .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.sticky-quote-form-wrapper .form-control:hover {
    border-color: #c3cfe2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Add padding to body when sticky form is visible to prevent content overlap */
body.sticky-form-active {
    padding-bottom: 100px;
}

@media (max-width: 991px) {
    .sticky-quote-form-wrapper {
        padding: 1rem 0;
    }

    .sticky-quote-form-wrapper h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .sticky-quote-form-wrapper form {
        flex-direction: column;
    }

    .sticky-quote-form-wrapper form>div {
        width: 100%;
        min-width: 100% !important;
    }

    body.sticky-form-active {
        padding-bottom: 250px;
    }
}

@media (max-width: 576px) {
    .sticky-quote-form-wrapper {
        padding: 0.75rem 0;
    }

    .sticky-quote-form-wrapper h3 {
        font-size: 1.25rem !important;
    }

    .sticky-quote-form-wrapper .form-control {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .sticky-quote-form-wrapper .btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

#sticky-callback-form.hidden {
    display: none !important;
}

/* Hide sticky form on mobile devices (below 768px) */
@media (max-width: 767px) {
    .sticky-callback-form {
        display: none !important;
    }

    body.sticky-form-active {
        padding-bottom: 0 !important;
    }
}

/* Mobile-only Request Callback Button */
.mobile-callback-btn {
    display: none;
}

@media (max-width: 767px) {
    .mobile-callback-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        width: calc(100% - 40px);
        max-width: 400px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
        from {
            transform: translateX(-50%) translateY(100px);
            opacity: 0;
        }
        to {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
    }
}

