/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {

        --primary: #162433;
    --secondary: #2F80B7;
    --secondary-light: #5AA9D6;

    --white: #FFFFFF;
    --off-white: #F4F8FA;

    --text: #26343D;
    --muted: #71808A;

    --border: #DDE7EC;

    --accent: #8FC9D9;
    --accent-soft: #EAF5F8;

    --dark-bg: #101B25;

    --heading-font: "Playfair Display", serif;
    --body-font: "DM Sans", sans-serif;

    --transition: all 0.35s ease;

}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    border: 0;
}


/* =====================================================
   PRELOADER
===================================================== */

#preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    background: #bbc4cd;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99999;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* Loader Hide */

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}


/* =====================================================
   LOADER CONTENT
===================================================== */

.loader-content {
    width: 280px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =====================================================
   LOGO
===================================================== */

.loader-logo {
    width: 190px;

    opacity: 0;
    transform: translateY(20px);

    animation: logoReveal 1s ease forwards;
}

.loader-logo img {
    width: 100%;
    height: auto;

    display: block;
    object-fit: contain;
}


/* =====================================================
   PROGRESS BAR
===================================================== */

.loader-progress {
    width: 180px;
    height: 2px;

    margin-top: 25px;

    background: rgba(255, 255, 255, 0.15);

    overflow: hidden;

    position: relative;
}


/* Animated Line */

.loader-progress span {
    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    background: linear-gradient(
        90deg,
        #2F80B7,
        #5AA9D6,
        #8FC9D9
    );

    animation: loadingLine 1.8s ease-in-out forwards;
}


/* =====================================================
   LOADER TEXT
===================================================== */

.loader-text {
    margin-top: 18px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #fff;
    opacity: 0;
    animation: textReveal 1s ease 0.5s forwards;
}


/* =====================================================
   LOGO ANIMATION
===================================================== */

@keyframes logoReveal {

    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =====================================================
   PROGRESS ANIMATION
===================================================== */

@keyframes loadingLine {

    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }

}


/* =====================================================
   TEXT ANIMATION
===================================================== */

@keyframes textReveal {

    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =====================================================
   HEADER
===================================================== */

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;

    transition: var(--transition);
}

.main-header.scrolled {
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 31px;
    letter-spacing: 4px;
    font-weight: 600;
}

.logo-brand {
    display: flex;
    align-items: center;
    width: 90px;
}

.logo-brand img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.navbar-brand span,
.footer-logo span {
    color: var(--secondary);
}

.navbar-brand:hover {
    color: var(--white);
}

.nav-link {
    color: rgb(1 1 1 / 85%) !important;
    font-size: 15px;
    font-weight: 700;
    margin: 0 13px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-light) !important;
}

.dropdown-menu {
    border: 0;
    border-radius: 0;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--off-white);
    color: var(--secondary);
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;

    background: var(--secondary);
    color: var(--white);

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.header-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.navbar-toggler {
    border: 2px solid #fff;
    padding: 8px 10px;
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
     min-height: 100vh;
    margin-bottom: 55px;

    background-image:
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=90");

    background-size: cover;
    background-position: center;

    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.75),
            rgba(0,0,0,0.32),
            rgba(0,0,0,0.15)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--secondary-light);

    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.05;
    max-width: 850px;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--secondary-light);
    display: block;
}

.hero-content p {
    max-width: 600px;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 25px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary-custom {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary-custom:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-custom {
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
}


/* =====================================================
   PROPERTY SEARCH
===================================================== */

.hero-search-wrapper {
    position: absolute;
    bottom: -55px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.property-search {
   background: var(--white);
    color: var(--text);

    display: flex;
    align-items: center;

    padding: 10px;

    border-radius: 2px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

.search-item {
    flex: 1;
    padding: 12px 22px;
    border-right: 1px solid var(--border);
}

.search-item > span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.search-item div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-item i {
    color: var(--secondary);
}

.search-item strong {
    font-size: 14px;
}

.search-btn {
    height: 65px;
    padding: 0 28px;

    background: var(--primary);
    color: var(--white);

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.search-btn:hover {
    background: var(--secondary);
}


/* =====================================================
   COMMON SECTION
===================================================== */

.section-padding {
    padding: 110px 0;
}

.section-tag {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    display: inline-block;
    margin-bottom: 15px;
}

.section-heading h2,
.about-content h2,
.why-content h2 {
    font-family: var(--heading-font);
    color: var(--primary);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.15;
}

.section-heading h2 span,
.about-content h2 span,
.why-content h2 span {
    color: var(--secondary);
}

.section-heading p {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--muted);
    line-height: 1.8;
}


/* =====================================================
   STATS
===================================================== */

.stats-section {
    background: var(--primary);
    color: var(--white);
}

.stat-box {
    text-align: center;
    padding: 35px 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-box h3 {
    font-family: var(--heading-font);
    font-size: 42px;
    margin-bottom: 5px;
}

.stat-box p {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}


/* =====================================================
   ABOUT
===================================================== */

.about-images {
    position: relative;
    min-height: 580px;
}

.about-main-image {
    width: 78%;
    height: 520px;
    overflow: hidden;
}

.about-main-image img,
.about-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-small-image {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 43%;
    height: 260px;

    border: 10px solid var(--white);
}

.experience-badge {
    position: absolute;
    left: 0;
    bottom: 40px;

    background: var(--secondary);
    color: var(--white);

    padding: 22px 28px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.experience-badge strong {
    font-family: var(--heading-font);
    font-size: 40px;
}

.experience-badge span {
    font-size: 12px;
    line-height: 1.5;
}

.about-content .lead-text {
    font-size: 17px;
    color: var(--text);
    margin-top: 25px;
}

.about-content > p {
    color: var(--muted);
    line-height: 1.8;
}

.about-features {
    margin: 25px 0;
}

.about-features div {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.about-features i {
    color: var(--secondary);
}

.text-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.text-link:hover {
    color: var(--secondary);
}


/* =====================================================
   PROPERTIES
===================================================== */

.properties-section {
    background: var(--off-white);
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
}

.view-all {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all:hover {
    color: var(--secondary);
}

.property-card {
    background: var(--white);
    transition: var(--transition);
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.property-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.06);
}

.property-status {
    position: absolute;
    top: 18px;
    left: 18px;

    background: var(--white);
    color: var(--primary);

    padding: 8px 13px;

    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-price {
    position: absolute;
    bottom: 0;
    right: 0;

    background: var(--primary);
    color: var(--white);

    padding: 13px 20px;

    font-size: 15px;
    font-weight: 700;
}

.property-content {
    padding: 25px;
}

.property-type {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.property-content h3 {
    font-family: var(--heading-font);
    font-size: 24px;
    margin: 8px 0;
}

.property-content > p {
    color: var(--muted);
    font-size: 13px;
}

.property-content > p i {
    color: var(--secondary);
}

.property-details {
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 18px;
}

.property-details span {
    color: var(--muted);
    font-size: 11px;
}

.property-details i {
    color: var(--secondary);
}


/* =====================================================
   SERVICES
===================================================== */

.services-section {
    background: var(--white);
}

.service-card {
    height: 100%;
    border: 1px solid var(--border);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--secondary);
}

.featured-service {
    background: var(--primary);
    color: var(--white);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;

    font-family: var(--heading-font);
    font-size: 22px;
    color: var(--secondary);
}

.service-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(185,149,91,0.12);
    color: var(--secondary);

    font-size: 25px;
    margin-bottom: 28px;
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 27px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.featured-service p {
    color: rgba(255,255,255,0.6);
}

.service-card a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;

    display: inline-flex;
    gap: 10px;
    margin-top: 15px;
}

.featured-service a {
    color: var(--secondary-light);
}


/* =====================================================
   WHY
===================================================== */

.why-section {
    background: var(--off-white);
}

.why-content p {
    color: var(--muted);
    line-height: 1.8;
    margin: 25px 0 30px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
}

.why-item {
    background: var(--white);
    padding: 35px;
}

.why-item > i {
    color: var(--secondary);
    font-size: 30px;
    margin-bottom: 20px;
    display: block;
}

.why-item h4 {
    font-family: var(--heading-font);
    font-size: 21px;
    margin-bottom: 10px;
}

.why-item p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   TESTIMONIAL
===================================================== */

.testimonial-section {
    background: var(--primary);
    color: var(--white);
}

.testimonial-section .section-heading h2 {
    color: var(--white);
}

.testimonial-card {
    max-width: 850px;
    margin: 45px auto 0;
    text-align: center;
}

.quote-icon {
    color: var(--secondary);
    font-size: 45px;
}

.testimonial-card > p {
    font-family: var(--heading-font);
    font-size: 25px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.client-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info h5 {
    margin: 0;
    font-size: 14px;
}

.client-info span {
    color: var(--secondary-light);
    font-size: 11px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;

    top: 50%;
    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,0.25);
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary);
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    background: var(--white);
    padding: 80px 0;
}

.cta-box {
    background:
        linear-gradient(
            110deg,
            rgba(23,23,23,1),
            rgba(39,35,28,1)
        );

    padding: 60px;
    color: var(--white);
}

.cta-box span {
    color: var(--secondary-light);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.cta-box h2 {
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 48px);
    margin: 12px 0 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: var(--secondary);
    color: var(--white);

    padding: 16px 22px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--white);
    color: var(--primary);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-logo {
    background: var(--white);
    display: inline-flex;
    align-items: center;
    width: 160px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer p {
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    font-size: 13px;
    margin-top: 20px;
}

.footer h5 {
    font-family: var(--heading-font);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer li {
    margin-bottom: 12px;
}

.footer li a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    transition: var(--transition);
}

.footer li a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.social-links a {
    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,255,255,0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.contact-list li {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    display: flex;
    gap: 10px;
}

.contact-list i {
    color: var(--secondary);
}

.footer-bottom {
    margin-top: 60px;
    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,0.1);

    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-left: 20px;
}


/* =====================================================
   FLOATING BUTTONS
===================================================== */

.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 25px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    z-index: 999;
}

.floating-buttons a,
.floating-buttons button {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    box-shadow: 0 5px 20px rgba(0,0,0,0.18);

    transition: var(--transition);
}

.floating-call {
    background: var(--primary);
}

.floating-whatsapp {
    background: #25d366;
}

.floating-top {
    background: var(--secondary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.floating-top.show {
    opacity: 1;
    visibility: visible;
}

.floating-buttons a:hover,
.floating-buttons button:hover {
    transform: translateY(-4px);
}