/* ========== CONTACT PAGE RESPONSIVE STYLES ========== */

/* Hero Section Fix - Stack on mobile */
.hero-split-contact {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2); /* Transparent black */
    backdrop-filter: blur(5px); /* Glass effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 40px;
}



.hero-image-contact {
    flex: 0 0 50%;
    width: 50%;
    min-height: 150px;
    padding: 0;
    overflow: hidden;
    display: flex;
}

.hero-text-contact {
    flex: 0 0 50%;
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    box-sizing: border-box;
}

.hero-image-contact img {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
    object-position: center;
    padding:10px;
}

.hero-text-contact h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 10px 0;
}

/* Fix: Hero section stack on mobile */
@media (max-width: 768px) {
    .hero-split-contact {
        flex-direction: column !important;
        
        border-radius: 8px !important;
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .hero-image-contact,
    .hero-text-contact {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .hero-image-contact {
        min-height: 300px !important;
        order: 1; /* Image first */
    }
    
    .hero-text-contact {
        padding: 30px !important;
        order: 2; /* Text after image */
    }
    
    .hero-text-contact h1 {
        font-size: 2rem !important;
    }
}

/* ========== MAIN CONTACT SECTION ========== */

/* Glass container for contact sections */
.contact-glass-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2); /* Transparent black */
    backdrop-filter: blur(5px); /* Glass effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Card - With Design */
.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-info-card h2 {
    color: #c5a059;
    margin-top: 0;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info-card p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Contact Methods with Design */
.contact-method {
    margin: 30px 0;
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    background: linear-gradient(135deg, #c5a059, #d4b477);
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.contact-details h4 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
    color: #ccc;
    font-size: 1rem;
}

/* Contact Form Card - With Design */
.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-form-card h3 {
    color: #c5a059;
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

/* Form Styles */
.premium-form {
    width: 100%;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: #c5a059;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

.premium-form textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #c5a059, #d4b477);
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #d4b477, #e5c895);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* ========== "WHAT TO EXPECT" SECTION FIX ========== */
.expectations-section {
    
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2); /* Transparent black */
    backdrop-filter: blur(5px); /* Glass effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.expectations-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.expectations-container h3 {
    color: #c5a059;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* FIX: 3 columns on desktop, 1 on mobile */
.expectations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .expectations-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

.expectation-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.expectation-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 160, 89, 0.2);
    transform: translateY(-5px);
}

.expectation-item i {
    color: #c5a059;
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.expectation-item h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.expectation-item p {
    color: #bbb;
    line-height: 1.6;
}

/* ========== MOBILE RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
    /* Glass container adjustments for mobile */
    .contact-glass-container {
        padding: 20px !important;
        margin: 20px auto !important;
        border-radius: 10px !important;
        background: rgba(0, 0, 0, 0.9) !important; /* Darker on mobile for readability */
    }
    
    /* Stack grid on mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Contact Info Card - Better mobile design */
    .contact-info-card {
        padding: 25px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    .contact-info-card h2 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }
    
    .contact-info-card p {
        text-align: center !important;
        font-size: 1rem !important;
    }
    
    /* Contact Methods on mobile */
    .contact-method {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
        margin: 20px 0 !important;
    }
    
    .contact-icon {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Form Card - Better mobile design */
    .contact-form-card {
        padding: 25px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    .contact-form-card h3 {
        font-size: 1.5rem !important;
        text-align: center !important;
    }
    
    /* Form row stack on mobile */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Form inputs on mobile */
    .premium-form input,
    .premium-form textarea {
        padding: 14px !important;
        border-radius: 8px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    /* Submit button on mobile */
    .submit-btn {
        padding: 16px !important;
        font-size: 15px !important;
    }
    
    /* Expectations section on mobile */
    .expectations-section {
        
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .expectations-grid {
        gap: 20px !important;
    }
    
    .expectation-item {
        padding: 25px 20px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 992px) {
    .contact-grid {
        gap: 40px !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 30px !important;
    }
    
    .expectations-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on tablet */
    }
}

/* Large Desktop adjustments */
@media (min-width: 1200px) {
    .contact-glass-container {
        padding: 50px !important;
    }
    
    .contact-grid {
        gap: 80px !important;
    }
}

/* ========== FIX MOBILE OVERFLOW ========== */
/* ========== FIX CARD ALIGNMENT INSIDE CONTAINER ========== */
@media (max-width: 768px) {
    /* First, make sure the glass container itself is centered */
    .contact-glass-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Center children horizontally */
        justify-content: center !important; /* Center children vertically */
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix the grid to take full width and center content */
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Center grid items */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 25px !important;
    }
    
    /* Center the cards themselves */
    .contact-info-card,
    .contact-form-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important; /* Center the cards */
        padding: 25px !important;
        box-sizing: border-box !important;
        display: block !important;
        text-align: left !important;
    }
    
    /* If the cards still stick to right, use transform to center */
    .contact-info-card {
        transform: translateX(0) !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }
    
    .contact-form-card {
        transform: translateX(0) !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }
    
    /* Make sure form elements are centered within the cards */
    .premium-form {
        width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

.lazy-blur {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: blur(20px) ;
    transition: filter 0.5s ease;
}

.lazy-blur.loaded {
    filter: blur(0) ;
}
