/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* Contact Hero Section */
.contact-hero {
    padding-top: 170px;
    background: #ffffff;
    position: relative;
    overflow: visible;
    min-height: 700px;
}

.contact-hero .container {
    position: relative;
}

.contact-hero .row {
    position: relative;
    min-height: 600px;
}

/* Image Column */
.contact-image-column {
    position: absolute;
    right: -60px;
    top: 0px;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 2;
    width: 640px;
}

.contact-image-column img {
    width: 640px;
    height: 676px;
    object-fit: contain;
    max-width: none;
}

/* Text Column */
.contact-hero .text-head {
    font-family: "Gotham", sans-serif;
    font-size: 78px;
    line-height: 1.1;
    font-weight: 300;
    color: #303030;
    white-space: normal;
    margin-bottom: 0;
    margin-top: 90px !important;
}

.hero-description {
    color: #6e6e6e;
    font-size: 14px;
    line-height: 30px;
    margin-top: 20px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

/* Contact Tabs */
.contact-tabs {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 3;
}

.contact-tabs-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-tab {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-tab:hover,
.contact-tab.active {
    border-color: #092bf7;
    transform: translateY(-5px);
}

.contact-info-head {
    font-family: "Gotham", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #303030;
    margin-bottom: 10px;
}

.contact-info-text {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #6e6e6e;
    line-height: 1.6;
}

.contact-tab-content {
    display: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-tab-content.active {
    display: block;
}

/* Map Section */
.map-section.container-fluid {
    margin-top: 150px;
}

.map-canvas-container {
    margin-top: -180px;
    position: relative;
    width: 100%;
    height: 500px;
    background: transparent;
    border: 1px solid #DFDCDC;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10;
}

/* Contact Tabs Styling */
.contact-tabs-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 80px;
    border-bottom: 1px solid #DFDCDC;
    gap: 5px;
    padding: 5px 5px 0 5px;
    box-sizing: border-box;
    margin: 0;
}

.contact-tab {
    flex: 1;
    background: #ffffff;
    padding: 20px 15px;
    border: 1px solid #DFDCDC;
    border-bottom: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 6px 6px 0 0;
    margin-top: 5px;
    transform: none !important;
}

.contact-tab.active {
    background: linear-gradient(to bottom, #ffffff, #EBEBEB);
    border-color: #DFDCDC;
    margin-top: 5px;
    transform: none !important;
}

.contact-tab::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid transparent;
    border-radius: 6px 6px 0 0;
    pointer-events: none;
}

.contact-tab.active::before {
    border-color: #DFDCDC;
    border-radius: 6px 6px 0 0;
}

.contact-tab:hover:not(.active) {
    background: rgba(9, 43, 247, 0.02);
}

.contact-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contact-info-head {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    flex-shrink: 0;
    margin-right: 15px;
    min-width: 80px;
}

.contact-info-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    text-align: left;
    flex: 1;
    margin-left: 15px;
}

.contact-tab.active .contact-info-head,
.contact-tab.active .contact-info-text {
    color: #333;
}

/* Map Content Areas */
.map-content-area {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.map-content-area.active {
    display: block;
}

/* Leaflet Map Styling */
.live-map {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    border-radius: 0 0 8px 8px;
    border: 1px solid #DFDCDC;
    box-sizing: border-box;
}

/* Custom Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-family: Arial, sans-serif;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
    font-size: 16px;
    font-family: Arial, sans-serif;
    background-color: #FAFAF9;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #D9F0F0;
    width: 100%;
    margin-top: 150px; /* Keep spacing from map section */
}

.contact-form-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Remove vertical centering and align to top */
.contact-form-section .row.align-items-center {
    align-items: flex-start !important;
}

.contact-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #303030;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.contact-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #6E6E6E;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.contact-form-wrapper {
    max-width: 100%;
}

/* Ensure the text column stays at top */
.contact-text-column {
    align-self: flex-start;
    padding-top: 0;
    margin-bottom: 40px;
}

/* Floating Label Styles */
.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-input {
    width: 100%;
    border: 1px solid #DFDCDC;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #303030;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.floating-input {
    height: 58px;
    padding: 1rem 1rem;
    border: 1px solid #DFDCDC;
    border-radius: 6px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #303030;
    transition: all 0.3s ease;
}

.floating-input:focus {
    outline: none;
    border-color: #092bf7;
    box-shadow: 0 0 0 2px rgba(9, 43, 247, 0.1);
    padding: 1.6rem 1rem 0.4rem 1rem;
}

.floating-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

/* Floating effect */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0.4rem;
    left: 1rem;
    font-size: 12px;
    color: #092bf7;
    font-weight: 500;
}

/* Textarea specific styles */
.form-floating textarea.floating-input {
    height: 120px;
    min-height: 120px;
    padding: 1.6rem 1rem 1rem 1rem;
    resize: vertical;
}

.form-floating textarea.floating-input:focus {
    padding: 2rem 1rem 1rem 1rem;
}

.form-floating textarea.floating-input:focus ~ .floating-label,
.form-floating textarea.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0.4rem;
}

/* Error states */
.floating-input.is-invalid {
    border-color: #dc3545;
}

.floating-input.is-invalid ~ .floating-label {
    color: #dc3545;
}

.floating-input.is-invalid:focus ~ .floating-label {
    color: #dc3545;
}

/* Fixed Button Styling */
.btn-send {
    background: #092bf7 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 16px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    margin-top: 10px;
}

.btn-send:hover {
    background: #071fcc !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 43, 247, 0.3);
}

.contact-success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    border: 1px solid #c3e6cb;
}

/* FAQ Section - NO SPACING from Contact Form */
.faq-section {
    padding: 80px 0;
    background: #F5F5F5;
    width: 100%;
    margin-top: 0; /* REMOVED spacing from contact section */
}

.faq-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Remove vertical centering and align to top */
.faq-section .row.align-items-center {
    align-items: flex-start !important;
}

.faq-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #303030;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.faq-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #6E6E6E;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Ensure the text column stays at top */
.faq-text-column {
    align-self: flex-start;
    padding-top: 0;
    margin-bottom: 40px;
}

/* FAQ Accordion Styles */
.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #DFDCDC;
    margin-bottom: 0;
}

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question span:first-child {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #303030;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #092bf7;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question:hover {
    background-color: rgba(9, 43, 247, 0.02);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #6E6E6E;
    line-height: 1.6;
    margin: 0;
    padding: 0 0 20px 0;
}

/* FAQ Item Active State */
.faq-item.active .faq-question {
    background-color: rgba(9, 43, 247, 0.02);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 10px #999;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
    .contact-image-column {
        right: -20px;
        width: 500px;
    }
    
    .contact-image-column img {
        width: 500px;
        height: auto;
    }
    
    .contact-text-column {
        padding-top: 350px;
    }
}

@media (max-width: 992px) {
    .contact-image-column {
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        justify-content: center;
        margin-top: 40px;
    }
    
    .contact-image-column img {
        width: 100%;
        max-width: 450px;
        height: auto;
    }
    
    .contact-text-column {
        padding-top: 0;
        margin-bottom: 0;
    }
    
    .faq-text-column {
        padding-top: 0;
        margin-bottom: 0;
    }
    
    .contact-tabs {
        margin-top: 0;
    }
    
    /* Ensure top alignment on tablet */
    .contact-form-section .row.align-items-center {
        align-items: flex-start !important;
    }
    
    .faq-section .row.align-items-center {
        align-items: flex-start !important;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .contact-tabs-container {
        flex-direction: column;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .faq-section {
        padding: 60px 0;
        margin-top: 0; /* Ensure no spacing on mobile too */
    }
    
    .contact-title {
        font-size: 32px;
        text-align: center;
    }
    
    .faq-title {
        font-size: 32px;
        text-align: center;
    }
    
    .contact-description {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .faq-description {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .form-group {
        text-align: left;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Ensure top alignment on mobile */
    .contact-form-section .row.align-items-center {
        align-items: flex-start !important;
    }
    
    .faq-section .row.align-items-center {
        align-items: flex-start !important;
    }
    
    .faq-question {
        padding: 16px 0;
    }
    
    .faq-question span:first-child {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding-top: 100px;
    }
    
    .contact-tab {
        padding: 20px;
    }
    
    .contact-info-head {
        font-size: 20px;
    }
    
    .contact-form-title {
        font-size: 28px;
    }
    
    .contact-form-description {
        font-size: 14px;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-description {
        font-size: 14px;
    }
    
    .faq-question span:first-child {
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    .floating-input {
        height: 52px;
        padding: 0.875rem 1rem;
        font-size: 14px;
    }
    
    .floating-input:focus {
        padding: 1.4rem 1rem 0.3rem 1rem;
    }
    
    .floating-label {
        font-size: 14px;
        top: 0.875rem;
    }
    
    .floating-input:focus ~ .floating-label,
    .floating-input:not(:placeholder-shown) ~ .floating-label {
        font-size: 11px;
        top: 0.3rem;
    }
}