/* --- CONTACT PAGE HERO SECTION --- */

.contact-hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #ffffff 0%, #f3efff 100%);
    
    /* UPDATE THIS LINE: Changed from '10rem 0 6rem 0' to '10rem 0 2rem 0' */
    padding: 10rem 0 2rem 0; 
    
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Left side gets slightly more room */
    gap: 4rem;
    align-items: center;
}

/* --- Left Side: Text Content --- */

.contact-badge {
    display: inline-block;
    background-color: #eaddff; /* Very soft purple pill */
    color: #6d28d9; /* Deep purple text */
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.contact-hero-text h1 {
    font-size: 4rem;
    color: #0f172a; /* Deep navy/black */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-hero-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 90%;
}

/* --- The White Floating Info Bar --- */

.contact-info-bar {
    background-color: #ffffff;
    padding: 1.2rem 2rem;
    border-radius: 60px; /* Fully rounded pill shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.08); /* Soft purple shadow */
    flex-wrap: nowrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 35px;
    height: 35px;
    background-color: #f3efff;
    color: #6d28d9; /* Purple icons */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-content strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.info-content span {
    color: #64748b;
    font-size: 0.75rem;
}

/* --- Right Side: 3D Image --- */

.contact-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.contact-hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    animation: floatImage 6s ease-in-out infinite; 
    
    /* ADD THIS LINE to make the white background disappear */
    mix-blend-mode: multiply; 
}
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Mobile Responsive Adjustments --- */

@media (max-width: 992px) {
    .contact-hero-inner {
        grid-template-columns: 1fr; /* Stacks layout on tablets */
        text-align: center;
        gap: 3rem;
    }
    
    .contact-hero-text p {
        margin: 0 auto 3rem auto;
    }
    
    .contact-info-bar {
        border-radius: 20px; /* Changes to a rectangle on smaller screens */
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-hero-image img {
        max-width: 400px;
    }
}
/* --- CONTACT FORM & INFO SECTION (Zenith Hub Style) --- */

.contact-details-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.contact-details-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Form gets a bit more space than info */
    gap: 2rem;
}

/* Base Card Styling */
.contact-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Very soft border */
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* Faint shadow */
}

.contact-card h2 {
    font-size: 1.6rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.card-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* --- Form Styling --- */
.zenith-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Inputs with Icons inside */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1.2rem;
    color: #94a3b8; /* Light grey icon */
    font-size: 1rem;
    transition: color 0.3s ease;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem; /* Extra left padding to make room for the icon */
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.input-group textarea {
    resize: vertical;
    padding-top: 1.2rem; /* Aligns text properly at the top */
}

.textarea-group i {
    top: 1.2rem; /* Keeps the pen icon at the top of the textarea */
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #6d28d9; /* Zenith Purple border on focus */
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.input-group input:focus + i,
.input-group textarea:focus + i,
.input-group input:focus ~ i,
.input-group textarea:focus ~ i {
    color: #6d28d9; /* Icon turns purple on focus */
}

/* Purple Send Button */
.btn-purple {
    background-color: #6d28d9; /* Solid purple */
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 0.5rem;
}

.btn-purple:hover {
    background-color: #5b21b6; /* Darker purple */
    transform: translateY(-2px);
}

/* --- Info List Styling --- */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.info-list-item .icon-wrap {
    width: 50px;
    height: 50px;
    background-color: #f3efff; /* Soft purple square */
    color: #6d28d9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-list-item .text-wrap h4 {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.info-list-item .text-wrap p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .contact-details-inner {
        grid-template-columns: 1fr; /* Stacks the form on top of info */
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr; /* Stacks Name and Email inputs on phones */
    }
    
    .contact-card {
        padding: 2rem 1.5rem; /* Shrinks card padding on phones */
    }
}
/* --- INTERACTIVE MAP SECTION --- */

.map-section {
    background-color: #ffffff;
    padding: 0 0 6rem 0; 
}

.map-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Map Background Wrapper */
.map-wrapper {
    width: 100%;
    height: 400px; 
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    
    /* This forces the square Google Map to respect your rounded corners */
    overflow: hidden; 
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .map-wrapper {
        height: 350px; 
    }
}
/* --- FAQ SECTION --- */

.faq-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.faq-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Right side gets slightly more space */
    gap: 5rem;
    align-items: center;
}

/* --- Left Side: 3D Image --- */
.faq-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Removes any white background from your image */
    animation: floatImage 6s ease-in-out infinite; /* Reuses the smooth float from the hero */
}

/* --- Right Side: Content --- */
.faq-content h2 {
    font-size: 2.2rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.faq-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* --- Accordion Styling --- */
.accordion {
    border: 1px solid rgba(0, 0, 0, 0.08); /* Light grey border matching the image */
    border-radius: 12px;
    overflow: hidden; /* Keeps the rounded corners intact */
    background-color: #ffffff;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.accordion-header:hover {
    background-color: #f8fafc; /* Very faint grey on hover */
}

.accordion-header i {
    color: #475569; /* Soft grey for the plus icon */
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Active (Open) State Styling */
.accordion-item.active .accordion-header {
    color: #6d28d9; /* Turns purple when open */
}

.accordion-item.active .accordion-header i {
    color: #6d28d9; /* Icon turns purple */
    transform: rotate(45deg); /* Rotates the + into an X */
}

.accordion-body {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #ffffff;
}

.accordion-body p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding: 0 1.5rem 1.2rem 1.5rem; /* Inner padding for the text */
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .faq-inner {
        grid-template-columns: 1fr; /* Stacks image on top of FAQ on tablets */
        text-align: left;
        gap: 3rem;
    }
    
    .faq-image {
        display: flex;
        justify-content: center;
    }
}
/* --- CALL TO ACTION BANNER SECTION --- */

.cta-banner-section {
    background-color: #ffffff;
    padding: 2rem 0 6rem 0; /* Creates nice spacing above the footer */
}

.cta-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* The Light Purple Pill Container */
.cta-banner-content {
    background-color: #f3efff; 
    border-radius: 20px;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

/* --- Left Side: Pre-Made Icon Block --- */
.cta-icon-block {
    flex-shrink: 0;
    padding: 10px; /* Gives room for the shadow */
}

.icon-background {
    width: 100px;
    height: 100px;
    /* Rich purple gradient to match Zenith Hub */
    background: linear-gradient(135deg, #a78bfa 0%, #6d28d9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Soft glowing shadow */
    box-shadow: 0 12px 30px rgba(109, 40, 217, 0.25);
    /* A playful slight tilt to make it look dynamic */
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.icon-background:hover {
    transform: rotate(0deg) scale(1.05); /* Straightens out and slightly grows on hover */
}

.icon-background i {
    font-size: 3.5rem;
    color: #ffffff;
}

/* --- Middle: Text Content --- */
.cta-text {
    flex: 1; /* Takes up the remaining middle space */
}

.cta-text h3 {
    font-size: 1.8rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.4rem;
    border: none;
    padding: 0;
}

.cta-text p {
    color: #475569;
    font-size: 1.05rem;
    margin: 0;
}

/* --- Right Side: Button Container --- */
.cta-button {
    flex-shrink: 0;
}

/* Link override for the purple button to ensure it looks like a button, not text */
a.btn-purple.cta-link {
    text-decoration: none;
    display: inline-flex;
}

/* --- Mobile Responsive Adjustments --- */
@media (max-width: 850px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 1.5rem;
    }
    
    .cta-icon-block {
        margin: 0 auto; /* Centers the icon on mobile */
    }
    
    .icon-background {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }
    
    .icon-background i {
        font-size: 2.5rem;
    }
}