:root {
    --accent-color: #b89c31; /* The orange/red from the screenshot */
    --bg-dark: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
}

.bg-dark-custom {
    background-color: var(--bg-dark);
}

/* Nav Link Styling */
.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Social Icon Hover */
.social-links a:hover {
    color: var(--accent-color) !important;
}

/* Custom Button Styling */
.cta-btn {
    font-size: 12px;
    letter-spacing: 1px;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* Fixing the dropdown arrow style */
.dropdown-toggle::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078"; /* Chevron down icon */
    border: none;
    font-size: 10px;
    vertical-align: middle;
    margin-left: 5px;
}
/* Hero Section Layout */
.hero-section {
    background-color: var(--bg-dark); /* Same dark as navbar */
    padding-top: 40px;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.7); /* Darkens image to make text pop */
}

/* Text Overlay Positioning */
.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* The Magic "Half-Cut" Overlap */
.features-overlap {
    position: relative;
    margin-top: 0px; /* Pulls the box UP into the image */
    z-index: 10;
    border-radius: 4px;
}

/* Icon Styles */
.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 77, 41, 0.1); /* Light version of your accent color */
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 20px;
    border: 1px solid rgba(255, 77, 41, 0.3);
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-image-container img {
        height: 400px;
    }
    .features-overlap {
        margin-top: -40px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .hero-text-overlay h1 {
        font-size: 24px;
    }
}

/* About Section Styling */
.main-about-img {
    height: 550px;
    width: 100%;
    object-fit: cover;
}

/* Overlapping Box 1: Experience */
.experience-box {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 160px;
    z-index: 2;
}

/* Overlapping Box 2: Happy Faces */
.faces-box {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    z-index: 3;
}

/* Overlapping Avatars */
.ms-n2 {
    margin-left: -10px !important;
}

/* Quote Box Styling */
.quote-box {
    border-left: 4px solid var(--accent-color) !important;
}

.text-accent {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .main-about-img {
        height: 400px;
    }
    .faces-box {
        right: 10px;
    }
    .experience-box {
        left: 10px;
    }
}

/* Categories Section */
.categories-section {
    background-color: #f9f9f9;
}

.wave-line {
    width: 50px;
    height: 3px;
    background: repeating-linear-gradient(
        45deg,
        var(--accent-color),
        var(--accent-color) 5px,
        transparent 5px,
        transparent 10px
    );
}

.category-card {
    transition: all 0.4s ease;
    border: 1px solid #eee;
    cursor: pointer;
    border-radius: 4px;
}

.cat-icon {
    font-size: 35px;
    color: var(--accent-color);
    transition: 0.4s;
}

/* Hover Effect */
.category-card:hover {
    background-color: var(--accent-color) !important;
    transform: translateY(-10px);
}

.category-card:hover h6,
.category-card:hover p,
.category-card:hover .cat-icon {
    color: #fff !important;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .category-card {
        padding: 20px 10px !important;
    }
    .cat-icon {
        font-size: 28px;
    }
}

/* City Cards Styling */
.city-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 350px; /* Height for large cards */
    cursor: pointer;
}

.city-card.small-card {
    height: 250px; /* Height for small cards */
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The floating white info box */
.city-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    transition: transform 0.4s ease;
}

.city-info {
    background: white;
    padding: 15px 25px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.city-info h5 {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Hover Effects */
.city-card:hover img {
    transform: scale(1.1);
}

.city-card:hover .city-overlay {
    transform: translateY(-5px);
}

.city-card:hover .city-info {
    background-color: var(--accent-color);
}

.city-card:hover .city-info h5,
.city-card:hover .city-info p {
    color: white !important;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .city-card { height: 250px; }
    .city-card.small-card { height: 200px; }
    .city-info { padding: 10px; }
}

/* Property Cards Styling */
.property-card {
    border-radius: 4px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.prop-img {
    height: 250px;
    overflow: hidden;
}

.prop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.border-dotted {
    border-top-style: dotted !important;
    border-top-width: 2px !important;
    border-color: #eee !important;
}

.btn-outline-accent {
    color: var(--accent-color);
    border-color: #ddd;
}

.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* Hover Effects */
.property-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.property-card:hover .prop-img img {
    transform: scale(1.1);
}

.property-card:hover .prop-footer {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

/* Why Choose Us Section */
.why-choose-us .bg-dark {
    background-color: #1a1a1a !important; /* Match your header dark */
}

.agent-wrapper {
    position: relative;
    margin-top: -120px; /* This creates the overlap with the section above */
    z-index: 5;
}

.agent-img {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.agent-quote {
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 20px;
    z-index: 6;
}

/* Checkmark Icon Circles */
.feature-icon-circle {
    min-width: 45px;
    height: 45px;
    background-color: rgba(255, 77, 41, 0.15);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

/* Feature Item Hover Effect */
.feature-item {
    transition: 0.3s;
}

.feature-item:hover .feature-icon-circle {
    background-color: var(--accent-color);
}

/* Responsive Overlap Adjustments */
@media (max-width: 991px) {
    .agent-wrapper {
        margin-top: -80px;
        text-align: center;
    }
    .agent-quote {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: -20px;
    }
    .why-choose-us {
        margin-top: 100px;
    }
}

/* Stats Bar Styling */
.stats-bar {
    background-color: #1a1a1a !important;
}

.counter::after {
    content: '+';
}

/* Add '%' specifically to the first counter */
.col-md-3:first-child .counter::after {
    content: '%';
}

/* Logo Marquee Styling */
.logo-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-content img {
    height: 35px;
    margin: 0 40px;
    filter: brightness(0) invert(1); /* Makes logos white to stand out on orange */
    opacity: 0.9;
}

/* Animation */
@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Stop on Hover */
.logo-marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* Tablet Borders */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(255,255,255,0.1);
    }
}

/* Blog Card Styling */
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
}

.blog-img-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Floating Date Badge */
.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 15px;
    text-align: center;
    line-height: 1;
    border-radius: 4px;
    z-index: 2;
}

/* Card Titles and Links */
.blog-title {
    transition: color 0.3s ease;
    cursor: pointer;
    line-height: 1.4;
}

.read-more-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

/* Image & Card Hover Animations */
.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.1) rotate(2deg);
}

.blog-card:hover .blog-title {
    color: var(--accent-color);
}

.blog-card:hover .read-more-link {
    color: var(--accent-color);
}

/* Editorial Grid Layout */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 25px;
}

.featured-post {
    grid-row: span 2;
}

.post-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.post-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Eye-Catchy Overlay Animation */
.post-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.post-category {
    background: var(--accent-color);
    color: white;
    width: fit-content;
    padding: 5px 15px;
    font-size: 12px;
    text-uppercase;
    border-radius: 50px;
    margin-bottom: 15px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.post-title {
    color: white;
    font-weight: 700;
    transition: transform 0.4s ease;
}

.featured-post .post-title { font-size: 2rem; }
.side-post .post-title { font-size: 1.2rem; }

.post-footer {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot { width: 5px; height: 5px; background: var(--accent-color); border-radius: 50%; }

/* Hover States */
.post-wrapper:hover img {
    transform: scale(1.15);
}

.post-wrapper:hover .post-overlay {
    background: linear-gradient(to top, rgba(255, 77, 41, 0.6) 0%, transparent 100%);
}

.post-wrapper:hover .post-category {
    transform: translateY(0);
    opacity: 1;
}

/* Creative Outline Text Effect */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px #222;
}

/* Button Styling */
.creative-btn {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    padding-bottom: 5px;
}

.creative-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.creative-btn:hover::after { width: 100%; }

/* Mobile View */
@media (max-width: 991px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 400px 300px 300px;
    }
}

/* How It Works Styling */
.process-card {
    transition: all 0.4s ease;
    border-radius: 4px;
    z-index: 1;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color); /* The orange outline look */
    line-height: 1;
    opacity: 0.6;
    transition: 0.4s;
}

.border-top-dotted {
    border-top: 1px dotted #dee2e6;
}

.wave-separator {
    width: 60%;
    height: 1px;
    border-top: 1px dotted #dee2e6;
    margin: 0 auto;
}

/* Animation & Hover Effects */
.process-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.process-card:hover .step-number {
    opacity: 1;
    transform: scale(1.1);
    color: var(--accent-color); /* Fills in on hover */
    -webkit-text-stroke: 1px var(--accent-color);
}

.process-card:hover h5 {
    color: var(--accent-color);
}

/* FAQ Accordion Styling */
.custom-faq .accordion-button {
    background-color: transparent;
    color: #444;
    padding: 20px 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.custom-faq .accordion-button:not(.collapsed) {
    color: var(--accent-color);
    box-shadow: none;
}

.custom-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.border-top-dotted {
    border-top: 1px dotted #ddd !important;
}

/* Overlapping Image Magic */
.faq-img-wrapper {
    position: relative;
    z-index: 20;
    margin-bottom: -150px; /* This pulls the image down into the footer/next section */
}

.faq-house-img {
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.2));
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.faq-house-img:hover {
    transform: translateY(-10px);
}



@media (max-width: 991px) {
    .faq-img-wrapper {
        margin-bottom: -80px;
        margin-top: 30px;
    }
}

/* Carousel Specific Customization */
.testimonial-glass-card .carousel-indicators {
    bottom: 20px;
}

.testimonial-glass-card .carousel-indicators [button] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    margin: 0 5px;
    opacity: 0.3;
}

.testimonial-glass-card .carousel-indicators .active {
    opacity: 1;
    width: 30px; /* Stretches active dot */
    border-radius: 10px;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* Ensure smooth transition between slides */
.carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}
/* Floating Avatars */
.floating-avatar {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 1;
    animation: floatMove 6s ease-in-out infinite;
}

.avatar-1 { top: 20%; left: 10%; width: 60px; height: 60px; animation-delay: 0s; }
.avatar-2 { top: 15%; right: 15%; width: 90px; height: 90px; animation-delay: 2s; }
.avatar-3 { bottom: 20%; left: 15%; width: 80px; height: 80px; animation-delay: 4s; }

/* Floating Background Glows */
.testi-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: -100px;
    left: -100px;
    opacity: 0.15;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: #555;
    bottom: -150px;
    right: -100px;
    opacity: 0.1;
}

/* Animations */
@keyframes floatMove {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.testimonial-glass-card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 77, 41, 0.4);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Footer Styles */
.footer-main {
    background-color: #0c0d0f !important; /* Deepest dark for bottom section */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-links i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

.social-icons a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* Floating Scroll Top Button */
.scroll-top {
    position: absolute;
    bottom: 25px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-top:hover {
    background-color: white;
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Decorative underline for Brand Email */
.footer-main a.h5:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

@media (max-width: 991px) {
    .footer-main {
        text-align: center;
    }
    .footer-links a:hover {
        padding-left: 0;
    }
    .contact-info .d-flex {
        justify-content: center;
    }
}


/* City Filter Buttons */
.btn-city {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    transition: all 0.3s ease;
}

.btn-city:hover, .btn-city.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Project Card Styling */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.project-img-wrap {
    height: 180px;
    overflow: hidden;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Large Number Overlay */
.card-number {
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    -webkit-text-stroke: 1px rgba(0,0,0,0.1); /* Adds a subtle outline to the number */
}

/* Horizontal Scroll Arrow Placeholder */
.scroll-arrow-right {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 5;
    cursor: pointer;
}

@media (max-width: 991px) {
    .scroll-arrow-right { display: none; }
    .card-number { font-size: 4rem; }
}