/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Raleway:wght@700;800&display=swap');

/* General Body Styles */
body {
    font-family: 'Corbel', 'Arial', sans-serif;
    color: #343a40;
    background-color: #f8f9fa;
    line-height: 1.6;
    /* padding-top is handled by the div directly after the header */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Corbel', 'Arial', sans-serif;
    font-weight: 700;
    color: #212529;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    font-family: 'Corbel', 'Arial', sans-serif; /* Added for links */
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* --- CONSOLIDATED FIXED HEADER STYLES --- */
.main-fixed-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1050;
    padding: 0;
}

/* Top Row: Email/Phone & Social Icons */
.header-top-row {
    background-color: #eae6e3;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.1rem; /* Font size for email and phone */
    color: #000000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-family: 'Corbel', 'Arial', sans-serif;
}

.header-top-row a {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.header-top-row a:hover {
    color: #007bff !important;
}

/* Spacing for social media icons */
.social-icon-spacing {
    margin-left: 1.5rem;
    margin-right: 0 !important;
    font-size: 1.1rem;
    color: #000000 !important;
}
.social-icon-spacing:hover {
    color: #007bff !important;
}


/* Bottom Row: Brand & Main Navigation */
.header-bottom-row {
    background-color: #ffffff;
    width: 100%;
    height: 92px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

/* Brand Name ("SUKRITI KHANNA") */
.header-brand {
    font-family: 'Corbel', 'Arial', sans-serif;
    font-weight: 350;
    font-size: 2.2rem;
    color: #000000 !important;
    white-space: nowrap;
}

/* Main Navigation (Navbar inside the consolidated header) */
.navbar {
    width: 100%;
    padding: 0 !important;
    background-color: transparent !important;
    height: 100%;
}

.nav-link {
    font-weight: 500;
    color: #495057 !important;
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: 'Corbel', 'Arial', sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: #495057 !important;
    text-decoration: none !important;
}

/* Remove caret icon from dropdown toggles - More aggressive removal */
.nav-link.dropdown-toggle::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    border: none !important;
}


/* Underline effect for nav links (these rules remain, but the width is 0) */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #007bff;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 0;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    animation: fadeIn 0.3s ease-out;
}

.dropdown-item {
    color: #495057;
    padding: 8px 20px;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    font-family: 'Corbel', 'Arial', sans-serif;
    font-weight: 400;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #eae6e3 !important;
    color: #495057 !important;
    text-decoration: none !important;
}

/* --- Main Image Section (Homepage) --- */
/* No specific styles needed here, image is responsive and full-width */

/* --- NEW HOME PAGE SECTIONS --- */
/* "Your Trusted Partner in Real Estate Success" heading */
.trusted-partner-section h2 {
    font-size: 2.8rem;
    font-weight: 350;
    color: #212529;
    padding-top: 30px; /* Space above heading */
    margin-bottom: 0; /* Updated: Ensure no bottom margin on heading */
}

/* Overall section padding for trusted-partner-section */
.trusted-partner-section {
    padding-top: 20px; /* Updated: Reduced top padding for the section */
    padding-bottom: 20px; /* Updated: Reduced bottom padding for the section */
}

/* Working For You Section (Image and Text Column) */
.working-for-you-section {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f9fa; /* Light background for the whole section */
}

/* Styling for the Sukriti profile image */
.sukriti-profile-img {
    width: 100%;
    height: 100%; /* Make image fill the height of its column */
    object-fit: cover; /* Crop image to fit without distortion */
    display: block; /* Ensure no extra space below image */
}

/* Working For You Section (Image and Text Column) */
.working-for-you-section .row {
    display: flex;
    align-items: stretch; /* Ensures columns stretch to max height */
    min-height: 500px; /* Updated: Set a minimum height for the entire row */
    /* This value should ideally be the natural height of your 'suk.webp' image,
       or the desired height you want for this section. */
}

.working-for-you-section .col-md-6 {
    display: flex;
    flex-direction: column;
}

.working-for-you-section .custom-beige-bg {
    background-color: #eae6e3 !important;
    color: #000000;
    padding: 30px;
    border-radius: 15px;
    height: 500px; /* Ensure background fills column height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    overflow-y: auto; /* Updated: Adds a scrollbar if text content overflows this fixed height */
}

.working-for-you-section h3 {
    font-size: 2rem;
    font-weight: 500;
    color: #000000; /* Black heading on beige background */
    text-align: center; /* Center align heading */
    font-family: 'Corbel', 'Arial', sans-serif; /* Applied Corbel */
}

.working-for-you-section p.lead {
    font-size: 1.1rem;
    color: #000000; /* Black text on beige background */
    text-align: center; /* Center align body text */
    font-family: 'Corbel', 'Arial', sans-serif; /* Applied Corbel */
}

.meet-sukriti-btn {
    background-color: #000000 !important; /* Black button background */
    border-color: #000000 !important; /* Black border */
    color: #ffffff !important; /* White text */
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    display: block; /* Make button full width of its container on small screens */
    margin: 20px auto 0 auto; /* Center button horizontally */
    max-width: 200px; /* Limit button width */
    font-family: 'Corbel', 'Arial', sans-serif;
    text-decoration: none !important; /* Added: Remove underline on hover */
}

.meet-sukriti-btn:hover {
    background-color: #b18d2f !important; /* New hover color */
    border-color: #b18d2f !important; /* New border color on hover */
    color: #ffffff !important; /* White text on hover */
    text-decoration: none !important; /* Added: Ensure no underline on hover */
}

/* --- ABOUT PAGE SPECIFIC STYLES --- */
/* Adjust these styles to ensure proper alignment and spacing for the about-your-partner.html page */
.about-content-section .row {
    display: flex;
    align-items: stretch; /* Ensures columns in this row stretch to the same height */
}

.about-content-section .col-md-5,
.about-content-section .col-md-7 {
    display: flex; /* Make the columns themselves flex containers */
    flex-direction: column; /* Stack content vertically within the column */
}

.about-profile-img {
    width: 100%;
    height: 100%; /* Make image fill the height of its parent column */
    object-fit: cover; /* Crop image to fit without distortion */
    display: block; /* Remove any default inline-block spacing issues */
}

.about-content-section p {
    font-family: 'Corbel', 'Arial', sans-serif; /* Ensure Corbel is applied to paragraphs */
    margin-bottom: 1rem; /* Keep existing spacing */
}

/* Ensure the heading section has proper spacing */
.about-heading-section {
    padding-top: 60px; /* Adjust as needed to clear fixed header */
    padding-bottom: 20px;
}

.about-page-heading {
    font-size: 2.8rem; /* Adjust font size as needed */
    font-weight: 350;
    color: #212529;
}

/* --- FOOTER STYLES --- */
.site-footer {
    font-family: 'Corbel', 'Arial', sans-serif;
    color: #000000;
}

/* Footer Section One (Beige) */
.footer-section-one {
    background-color: #eae6e3;
    padding-top: 50px;
    padding-bottom: 50px;
    height: 216px;
    display: flex;
    align-items: center;
}

.footer-section-one .footer-heading {
    font-family: 'Corbel', 'Arial', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-section-one p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-family: 'Corbel', 'Arial', sans-serif;
}

.footer-section-one .footer-link {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section-one .footer-link:hover {
    color: #007bff !important;
    text-decoration: underline;
}

.footer-section-one .footer-social-link {
    font-size: 1.5rem;
    color: #000000 !important;
    transition: color 0.2s ease;
}

.footer-section-one .footer-social-link:hover {
    color: #007bff !important;
}

.footer-section-one .footer-logo {
    max-width: 150px;
    height: auto;
}

/* Footer Section Two (Black) */
.footer-section-two {
    background-color: #000000;
    color: #f8f9fa;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.85rem;
    font-family: 'Corbel', 'Arial', sans-serif;
}

.footer-section-two .footer-disclaimer {
    max-width: 800px;
    margin: 0 auto;
}

.footer-section-two .footer-mls-logo {
    max-height: 40px;
    width: auto;
}

/* New banner styles */
.page-banner {
    background-color: #f0f0f0; /* Light gray background */
    color: #343a40; /* Dark text for contrast */
    text-align: left; /* Left align the text */
}

.banner-heading {
    font-size: 2.5rem;
    font-weight: 350; /* Changed from 700 to 350 */
    margin-bottom: 0;
    font-family: 'Corbel', 'Arial', sans-serif;
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Adjust for smaller desktops and tablets */
    .trusted-partner-section h2 {
        font-size: 2rem;
    }
    .working-for-you-section .custom-beige-bg {
        text-align: center !important; /* Ensure text is centered on smaller screens */
    }
    .working-for-you-section h3,
    .working-for-you-section p.lead {
        text-align: center !important; /* Ensure text is centered on smaller screens */
    }
    .meet-sukriti-btn {
        margin-left: auto;
        margin-right: auto; /* Re-center button on smaller screens */
    }

    /* Header adjustments for smaller screens */
    .header-brand {
        font-size: 1.8rem;
    }

    .main-fixed-header .container-fluid {
        flex-direction: column;
        align-items: flex-start !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* Top Row (Email/Phone & Social) responsive */
    .header-top-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .header-top-row .contact-info {
        margin-bottom: 10px;
    }
    .header-top-row .social-icons {
        margin-top: 5px;
    }
    .header-top-row a,
    .header-top-row span {
        margin: 0 10px;
    }


    /* Bottom Row (Brand & Nav) responsive */
    .header-bottom-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    .header-brand {
        margin-bottom: 10px;
    }

    /* Navbar toggler and collapse behavior */
    .navbar {
        width: 100%;
        height: auto;
    }
    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
        align-self: flex-end;
    }
    .navbar-collapse {
        order: 2;
        width: 100%;
        text-align: left;
        background-color: #f8f9fa;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 8px;
    }
    .navbar-nav {
        width: 100%;
    }
    .navbar-nav .nav-item {
        margin: 0;
        padding: 5px 0;
    }
    .navbar-nav .nav-link {
        padding-left: 15px;
    }
    .nav-link::after {
        left: 15px;
        transform: translateX(0);
        width: calc(100% - 30px);
    }
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        border-top: 1px solid #eee;
        border-radius: 0;
        padding-left: 20px;
    }
    .dropdown-item {
        padding-left: 20px;
    }

    /* Adjust body padding-top based on mobile header height */
    body {
        padding-top: 200px;
    }
    
    /* Forms */
    .form-label {
        font-family: 'Corbel', 'Arial', sans-serif; /* Applied Corbel */
        font-weight: 600;
        color: #495057;
    }

    .form-control, .form-select {
        border-radius: 8px;
        padding: 10px 15px;
        border: 1px solid #ced4da;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
        font-family: 'Corbel', 'Arial', sans-serif; /* Applied Corbel */
    }

    .form-control:focus, .form-select:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    }

    .btn {
        border-radius: 8px;
        font-weight: 600;
        padding: 10px 20px;
        font-family: 'Corbel', 'Arial', sans-serif; /* Applied Corbel */
    }

}


@media (max-width: 768px) { /* Adjustments for tablets and mobiles */
    .hero-section .carousel-item img {
        height: 450px;
    }
    .hero-section .carousel-caption {
        padding: 20px;
    }
    .hero-section .carousel-caption h5 {
        font-size: 1.8rem;
    }
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
    .hero-section .btn-lg {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) { /* Small mobile devices */
    .trusted-partner-section h2 {
        font-size: 1.8rem;
    }
    .working-for-you-section .custom-beige-bg {
        padding: 20px;
    }
    .working-for-you-section p.lead {
        font-size: 1rem;
    }

    .hero-section .carousel-item img {
        height: 350px;
    }
    .hero-section .carousel-caption h5 {
        font-size: 1.5rem;
    }
    .hero-section .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    .hero-section .btn-lg {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    /* Further adjustments for very small screens */
    .header-top-row .contact-info a,
    .header-top-row .contact-info span {
        font-size: 0.75rem;
    }
    .social-icon-link {
        font-size: 0.9rem;
    }
    body {
        padding-top: 220px;
    }
}
/* Keep desktop hover menus connected to their triggers. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .navbar .dropdown-menu { margin-top: 0; }
}
