/* STYLES FOR CONTACT US PAGE (contact-us-style.css)
  ======================================================
  - Contains all custom styles from your file.
  - Contains styles for the hero header and breadcrumbs.
*/

/* Hero Header (from inline style and dynamic CSS) */
.sabbi-page-header {
    background-image: url(https://eu-images.contentstack.com/v3/assets/bltaec35894448c7261/blt4671ca308e2552b0/67a0a128bb4e5eae49d11f5e/Contact_Us.jpg);
    background-color: #333; /* Fallback */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.sabbi-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.sabbi-page-header .page-title {
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    line-height: 40px;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    text-transform: uppercase;
}

/* Breadcrumbs (from dynamic CSS) */
.auth-breadcrumb-wrap {
    background-color: #EDF2F6;
    font-family: "Open Sans", sans-serif;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.breadcrumb {
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
.sabbi-breadcrumb {
    color: #000000;
}
.sabbi-breadcrumb li {
    display: inline-block;
}
.sabbi-breadcrumb li a {
    color: #000000;
    text-decoration: none;
}
.sabbi-breadcrumb li a:hover {
    color: #DB3243;
}
.sabbi-breadcrumb > li > span.separator {
    color: #000;
    margin: 0 8px;
}

/* Page Content Styles */
:root {
    --primary-color: #DB3243;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    /* This pushes all content down to prevent overlap
      with a sticky/fixed header.
    */
    padding-top: 80px; 
}

/* NEW: Main content wrapper */
.contact-main-content {
    max-width: 1200px;
    margin: 2rem auto; /* Desktop margins */
    padding: 0 1rem; /* Desktop padding */
}


/* Main Container Styles */
.contact-container-0004 {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

/* Hero Section */
.hero-section-0004 {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-hero-title-0004 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
}

.contact-hero-subtitle-0004 {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid-0004 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Contact Information */
.contact-info-section-0004 {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-title-0004 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

.contact-info-list-0004 {
    list-style: none;
    padding: 0;
}

.contact-info-item-0004 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff5f5;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.contact-info-item-0004::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: 0.5s;
}

.contact-info-item-0004:hover::before {
    left: 100%;
}

.contact-info-item-0004:hover {
    transform: translateX(10px) translateY(-5px);
    background: #fff;
    box-shadow: 0 8px 25px rgba(219, 50, 67, 0.15);
}

.contact-info-icon-0004 {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(219, 50, 67, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.contact-info-item-0004:hover .contact-info-icon-0004 {
    transform: scale(1.1) rotate(360deg);
    background: var(--primary-color);
    color: #fff;
}

.contact-info-text-0004 {
    flex: 1;
}

.contact-info-label-0004 {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: Montserrat, sans-serif;
}

.contact-info-value-0004 {
    color: #666;
}

.contact-info-value-0004 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value-0004 a:hover {
    color: #b82a38;
}

/* Contact Form */
.contact-form-section-0004 {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-0004 {
    display: grid;
    gap: 1.5rem;
}

.form-group-0004 {
    display: grid;
    gap: 0.5rem;
}

.form-label-0004 {
    color: #333;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

.form-input-0004 {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.form-input-0004:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(219, 50, 67, 0.1);
    transform: translateY(-2px);
}

.form-textarea-0004 {
    min-height: 150px;
    resize: vertical;
}

.submit-btn-0004 {
    background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn-0004::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: 0.5s;
}

.submit-btn-0004:hover::before {
    left: 100%;
}

.submit-btn-0004:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(219, 50, 67, 0.3);
}

/* Map Section */
.map-section-0004 {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-section-0004:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.map-container-0004 {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid #f8f9fa;
}

.map-container-0004::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(219, 50, 67, 0.1),
        transparent
    );
    pointer-events: none;
}

.map-overlay-0004 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    max-width: 300px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container-0004:hover .map-overlay-0004 {
    transform: translateY(0);
    opacity: 1;
}

.map-overlay-title-0004 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Montserrat, sans-serif;
}

.map-overlay-address-0004 {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-overlay-address-0004 i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* WhatsApp Button */
.whatsapp-btn-0004 {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-btn-0004 i {
    text-decoration: none;
}

.whatsapp-btn-0004:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Loading Animation for Form Submission */
.submit-btn-0004.loading {
    position: relative;
    pointer-events: none;
    color: transparent; /* Hide text */
}

.submit-btn-0004.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message Animation */
.success-message-0004 {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #4CAF50;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.success-message-0004.show {
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-main-content {
        margin: 1rem;
        padding: 0;
    }

    .contact-container-0004 {
        padding: 0;
    }

    .contact-grid-0004 {
        grid-template-columns: 1fr;
    }

    .contact-hero-0004 {
        padding: 2rem;
    }

    .contact-hero-title-0004 {
        font-size: 2rem;
    }
    
    .contact-info-section-0004,
    .contact-form-section-0004,
    .map-section-0004 {
        padding: 1.5rem;
    }

    .map-container-0004 {
        height: 300px;
    }

    .map-overlay-0004 {
        opacity: 1;
        transform: translateY(0);
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        max-width: 100%;
    }
}

/* Animation Classes (CSS-only) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

.contact-info-item-0004.fade-in:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item-0004.fade-in:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item-0004.fade-in:nth-child(3) { animation-delay: 0.3s; }
.contact-info-item-0004.fade-in:nth-child(4) { animation-delay: 0.4s; }


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}