/* @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap'); */
:root {
    --primary: #8F0141;
    --primary-light: #8F0141;
    --primary-dark: #8F0141;
    --secondary: #2d8cff;
    --accent: #ffc107;
    --dark: #000000;
    --light: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --main-heading-font: "Playfair Display", "Georgia", "Times New Roman", serif;
    --sub-heading-font: "Lato", "Arial", sans-serif;
    --long-text-font-style: "Roboto", "Segoe UI", sans-serif;

    /* --main-heading-font: "Beausite Classic Trial Light", sans-serif;
    --sub-heading-font: "Manrope", sans-serif;
    --long-text-font-style: "Roboto", "Segoe UI", sans-serif; */
/* 
    --main-heading-font: "Playfair Display", serif;
    --sub-heading-font: "Inter", sans-serif;
    --long-text-font-style: "Inter", sans-serif; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.main-heading-font-style {
    font-family: var(--main-heading-font);
}

.sub-heading-font-style {
    font-family: var(--sub-heading-font);
}

.long-text-font-style {
    font-family: var(--long-text-font-style);
}

html {
    font-family: var(--long-text-font-style);
}

body {
    font-family: var(--long-text-font-style);
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

@media screen and (max-width:555px) {
    h2 {
        font-size: 2rem !important;
    }

}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.751);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0px 10px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

button,
input[type="submit"] {
    font-family: var(--main-heading-font);
}

.cta-button,
.cta-button-outlined {
    font-family: var(--main-heading-font);
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(180, 35, 102, 0.3);
}

.cta-button-outlined {
    background-image: linear-gradient(to bottom, #ffffff 50% 50%, #8f0141 50%) !important;
    background-position: top left !important;
    font-size: 24px;
    padding: 4px 10px;
    color: white;
    border: var(--primary) 2px solid;

}

.cta-button-outlined i {
    color: green !important;
    transition: all .25s ease-in-out;
}

.cta-button-outlined:hover {
    background-position: right bottom !important;

}

.cta-button-outlined:hover i {
    color: whitesmoke !important;
}

.cta-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(180, 35, 102, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(180, 35, 102, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 110px 0 50px;
    padding-top: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    align-items: center;
    width: 100%;
    height: 92vh;
    /* height: 100svh; */
    display: flex;
    justify-content: center;
}


/* .hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s linear infinite;
    z-index: 0;
} */

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-20px, -20px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.search-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    animation: fadeInUp 1s ease 0.4s both;
}

.search-input {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-input input,
.search-input select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-size: 1rem;
}

.search-button {
    font-family: var(--main-heading-font);
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Properties */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    gap: 30px;
    justify-content: center;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
    transform-origin: center;
    transition: all .25s ease-in-out;
}

.property-card:hover .property-image {
    transform: scale(1.1);

}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-content {
    padding: 15px 15px 18px;
}

.property-content h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8F0141;
    margin-bottom: 8px;
    background: rgba(143, 1, 65, 0.06);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.property-address {
    color: var(--gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.property-address i {
    margin-right: 5px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gray-light);
    padding-top: 12px;
    margin-top: 10px;
    font-size: 0;
}

.property-features .feature {
    display: flex;
    gap: 4px;
    align-items: center;
}

.property-features .feature i {
    font-size: 16px;
    color: #8F0141;
}

.property-features .feature span {
    font-size: 0.9rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all .25s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(180, 35, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}


@media only screen and (max-width: 1166px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));

    }
}

@media screen and (max-width:550px) {
    section {
        padding: 80px 0;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    aspect-ratio: 4/4;
    background-size: cover;
    background-position: top center;
}

.member-info {
    padding: 20px;
}

.member-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: var(--primary);
    color: white;
}

/* Testimonials */
.testimonials {
    background-color: #000;
    color: white;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title h2::after {
    background-color: var(--accent);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    /*  margin: 0 20px; */
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.links-container .links {
    display: flex;
    column-gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
    align-items: center;

}

.links-container .links>a::before {
    content: '';
    display: block;
    clear: both;
    width: 5px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);

}

.links-container .links>a {
    flex: 1 1 clamp(300px, 50%, 500px);
    border: 1px solid rgba(0, 0, 0, .08);
    padding: 10px;

    position: relative;
}

.links-container .links>a:hover {
    color: var(--primary) !important;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-container .contact-info p {
    padding-bottom: 25px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(180, 35, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

footer .container {
    max-width: 100%;

}

.footer-container {
    display: flex;
    /* display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    justify-content: space-evenly;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-container .footer-column {
    padding: 20px;
    flex: 1 1 clamp(300px, 20%, 400px);
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--main-heading-font);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
    padding-left: 1.2em;
    position: relative;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateY(-2px);
}

.footer-links li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 920px) {
    .header-container {
        flex-direction: column;
        padding: 10px 0;
    }

    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        margin: 0 8px 8px;
    }

    .hero {
        height: 100svh;
        /* padding: 130px 0 40px; */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-text {
        padding: 2rem 2.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-container .contact-info>p {
        margin-bottom: 16px;

    }

    .properties-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .properties-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.team-grid {
    grid-template-columns: repeat(auto-fill, clamp(250px, 1fr, 360px));
}
}

@media (max-width: 600px) {
    .hero {
        height: 100svh;
        padding: 105px 1rem 1.5rem;
        justify-content: flex-start;
    }

    .container {
        padding: 0 10px;
    }

    .hero-text {
        padding: 1.2rem 1rem;
    }

    .hero h1 {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.4rem;
    }

    section {
        padding: 75px 0;
    }

    .property-price {
        font-size: 1.05rem;
        padding: 3px 10px;
    }

    .property-content h3 {
        font-size: 1rem;
    }

    .property-features .feature span {
        font-size: 0.85rem;
    }

    .property-content {
        padding: 12px 12px 15px;
    }

    .property-features {
        padding-top: 8px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 55px 0;
    }

    .property-price {
        font-size: 0.95rem;
        padding: 2px 8px;
    }

    .property-content {
        padding: 10px 10px 12px;
    }

    .property-features {
        padding-top: 6px;
        margin-top: 6px;
    }

    .property-features .feature i {
        font-size: 14px;
    }

    .hero {
        /* padding: 90px 0.5rem 1rem; */
    }

    .hero-text {
        padding: 1rem 0.6rem;
    }

    .hero h1 {
        font-size: 1.55rem;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.3rem;
    }
}

@media (max-width: 360px) {
    .hero {
        /* padding: 80px 0.25rem 0.8rem; */
    }

    .hero-text {
        padding: 0.8rem 0.4rem;
    }

    .hero h1 {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 12px;
        line-height: 1.2rem;
    }

    #submitForm {
        max-width: 100% !important;
    }

    #submitForm input[type="text"] {
        width: 100% !important;
        min-width: unset !important;
        font-size: 0.85rem;
    }

    #submitForm .next-btn {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}



.testimonials-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1s ease-in-out;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

/* --- Final Fix: Prevent <a> styling inside property cards --- */
a.property-link {
    text-decoration: none !important;
    /*  color: inherit !important; */
    display: block !important;
}

a.property-link * {
    text-decoration: none !important;
    /*   color: inherit !important; */
}

a {
    text-decoration: none !important;
    color: inherit !important;
}



/* keep hover lift effect */
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}



/* css for post start here */
/* Grid layout padding */
/* Section Grid Layout */
.custom-post-grid {
    display: flex;

    gap: 40px;
    /* more space between cards */
    padding: 60px 60px;
    /* MORE horizontal padding from both sides */
    margin: 0px auto;
    /* Vertical margin outside the section */
    width: 100%;
    /* Prevents too wide on large screens */
    padding-top: 40px;
    flex-wrap: wrap;
}

/* Post Card Container */
.custom-post-grid .custom-post-item {
    border: 1px solid #e0e0e0;
    padding: 30px;
    /* More internal spacing (vertical & horizontal) */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
}

.custom-post-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Post Image Section */
.custom-post-item .post-image {
    width: 100%;

    aspect-ratio: 16/9;
    /* Increased image height */
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 25px;
}

.custom-post-item .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post Details */
.custom-post-item .post-details {
    flex: 1;
    padding: 0;
}

/* Meta (Date, Categories) */
.custom-post-item .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 12px;
}

/* Title */
.custom-post-item .post-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    line-height: 1.4;
}

.custom-post-item h2 {

    padding-bottom: 20px;
}

.custom-post-item .post-title a {
    text-decoration: none;
    color: inherit;
}

.custom-post-item .post-title a:hover {
    color: var(--primary-dark) !important;
}

/* Excerpt */
.custom-post-item .post-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Link */
.custom-post-item .read-more {
    font-size: 1rem;
    color: var(--primary) !important;
    font-weight: 600;
    text-decoration: none;
}

.custom-post-item .read-more:hover {
    text-decoration: underline;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .custom-post-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .custom-post-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .section-title .custom-post-item {
        width: 100%;
    }

    .section-title .custom-post-item {
        padding: 25px;
    }

    .section-title .custom-post-item .post-image {
        height: 220px;
    }
}

@media screen and (max-width:555px) {
    .custom-post-item h2 {
        font-size: 1.5rem !important;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .custom-post-grid {
        padding: 20px 15px;
        gap: 25px;
    }

    .custom-post-grid .custom-post-item {
        padding: 20px;
    }

    .custom-post-item .post-title {
        font-size: 1.2rem;
    }

    .custom-post-item .post-excerpt {
        font-size: 0.9rem;
    }

    .custom-post-item .read-more {
        font-size: 0.9rem;
    }

    .custom-post-item .post-meta {
        font-size: 0.8rem;
    }

    .latest-news-section-title h2 {
        font-size: 26px !important;
    }
}


@media (max-width: 480px) {
    .custom-post-item .badge {
        font-size: 26px !important;
    }

}


/* Container and section styling */
.property-deals {
    padding: 80px 0;
    background-color: #f8f9fa;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.property-deals::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 84%);
    /* z-index: 1; */

}


.property-deals .container {
    display: flex;
    align-items: center;
}

.property-deals .property-content {
    display: flex;
    width: clamp(300px, 60%, 800px);
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}


.property-deals .property-text {
    flex: 1;
    max-width: 600px;
}

.property-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
}

.feature p {
    font-size: 1rem;
    line-height: 1.5;
}

.property-deals .property-image-best-price {
    flex: 1;
    width: clamp(300px, 100%, 600px);
    aspect-ratio: 16/12;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.property-image-best-price img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 920px) {
    .property-deals>.container {
        flex-direction: column;
    }

    .property-deals>.container .property-content {
        width: 100%;
        flex: 1
    }

    .property-deals>.container .property-image-best-price {
        width: 100%;
        aspect-ratio: 16 /9;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-content {
        flex-direction: column;
        /* text-align: center; */
    }

    .property-text {
        max-width: 100%;

    }

    .property-image-best-price {
        max-width: 100%;
        margin-top: 30px;
    }
}

@media screen and (max-width:555px) {
    .feature {
        flex-direction: column;
    }
}

/* how it work css */

.how-it-works-section {
    background-color: #f9f9f9 !important;
    /* padding: 80px 20px ; */
    text-align: center !important;
    font-family: var(--sub-heading-font) !important;
}

.how-it-works-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.how-title {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    font-weight: bold !important;
    margin-bottom: 50px !important;
}

.how-steps {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px !important;
}

.how-step {
    flex: 1 1 250px !important;
    max-width: 300px !important;
    background-color: #ffffff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.how-step:hover {
    transform: translateY(-5px) !important;
}

.how-icon {
    width: 100px !important;
    height: auto !important;
    margin-bottom: 20px !important;
}

.how-step-title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: var(--primary) !important;
    font-size: 22px !important;
    font-weight: bold !important;
}

.how-description {
    font-size: 1rem !important;
    color: var(--dark) !important;
    line-height: 1.6 !important;
}

.how-button-wrapper {
    margin-top: 50px !important;
}

.how-button {
    font-family: var(--main-heading-font) !important;
    background-color: var(--primary) !important;
    color: #fff !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

.how-button:hover {
    background-color: var(--primary) !important;
}


.how-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}


/* Scoped styles for property-stats-component */
.property-stats {
    /* background-color: #fdf0f5; */
    padding: 100px 0;
}

.property-stats-component {
    text-align: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.property-stats-component .stats-title {
    font-size: 1.8rem !important;
    /* color: #00796b !important; */
    margin-bottom: 30px !important;
}

.property-stats-component .stats-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    padding-top: 50px;
}

.property-stats-component .stat-item {
    background-color: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    padding: 50px 20px 20px 20px !important;
    width: 250px !important;
    text-align: center !important;
    position: relative;
    transition: all .25s ease-in-out;
    margin-top: 32px;

}

.stat-item .text-content {
    padding: 10px;
}

.stat-item .text-content h3 {
    font-size: 24px;
    padding: 5px 5px 15px;
}

.stat-item .text-content .stat-text {
    font-size: 20px;
}

.property-stats .stat-item>i {
    position: absolute;
    font-size: 26px;
    width: 60px;
    height: 60px;
    top: 0;
    left: 50%;
    color: #fff;
    background-color: #8F0141;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    z-index: 2;
}


.property-stats-component .stat-item:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16), 0 16px 32px rgba(0, 0, 0, .2) !important;
}

.stat-text {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    /* color: #004d40 !important; */
}

/* Responsive */
@media (max-width: 768px) {
    .property-stats {
        padding: 70px 0;
    }

    .stats-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
        padding-top: 40px;
    }

    .stat-item {
        width: 85% !important;
        max-width: 350px !important;
    }
}

@media (max-width: 480px) {
    .property-stats {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .property-stats .section-title h2 {
        font-size: 1.5rem;
    }

    .stats-wrapper {
        gap: 20px !important;
        padding-top: 30px;
    }

    .stat-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 40px 15px 15px 15px !important;
    }

    .stat-item .text-content h3 {
        font-size: 20px;
    }

    .stat-item .text-content .stat-text {
        font-size: 16px;
    }
}

/* contanter header media style st */
.header-container .nav-icon-cn {
    display: none;
}

@media screen and (max-width:920px) {
    .header-container {
        padding: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-container .nav-icon-cn {
        display: block;
    }

    .header-container .buton-contents {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        gap: 10px;
    }

    .header-container nav {
        visibility: hidden;
        opacity: 0;
        height: 0;
        width: 0;
        overflow: hidden;
        /* display: none; */
        transform: scale(0);
        /* transition: all .45s ease-in-out; */
    }

    .header-container nav.active {
        position: fixed;
        inset: 0;
        z-index: 999;
        height: 100dvh;
        width: 100%;
        display: block;
        visibility: visible;
        opacity: 1;
        transform: scale(1);
        transform-origin: center center;
        transition: transform .45s ease-in-out, height .45s ease-in-out, opacity .45s ease-in-out;
    }


    .header-container nav ul {
        height: 100%;
        width: 100%;
        /* display:grid;
    place-items: center; */
        flex-direction: column;
        background-color: #000;
        text-align: center;
        margin-top: 0px;

    }

    .header-container nav ul li {
        color: #ffffff;
    }

    .header-container .nav-icon-cn {
        z-index: 999;
        color: black;
    }

    .header-container .nav-icon-cn.ative {
        z-index: 999;
        color: white;
    }
}





/*new services */

/* Root palette must already exist in your project:
:root {
  --primary: #b42366;
  --primary-light: #d43b7f;
  --primary-dark: #8c1a4d;
  --secondary: #2d8cff;
  --accent: #ffc107;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --main-heading-font: "Playfair Display", serif;
  --sub-heading-font: "Lato", sans-serif;
  --long-text-font-style: "Roboto", sans-serif;
}
*/

/* Derived tones for subtle surfaces and shadows */
:root {
    --secondary-50: rgba(45, 140, 255, 0.08);
    /* light blue tint */
    --surface: #ffffff;
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* Section */
.services {
    width: 100%;
    background: var(--surface);
    padding-block: 7.5rem;
    position: relative;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 84%);

    /* z-index: 1; */
}

.services__container {
    max-width: 80rem;
    /* ~1280px */
    margin-inline: auto;
    padding-inline: 0.5rem;
}

.services__split {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    z-index: 9;
    position: relative;
}

@media (min-width: 1024px) {
    .services__split {
        flex-direction: row;
    }
}

.services__media {
    width: 100%;
    max-width: 420px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services__img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .services__img {
        margin-bottom: 0;
    }
}

/* Right content */
.services__content {
    width: 100%;
}

.services__label {
    color: white;
    font: 700 1rem var(--sub-heading-font);
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    background: var(--primary-dark);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
}

.services__title {
    color: whitesmoke;
    font-family: var(--main-heading-font);
    font-weight: 700;
    line-height: 1.2;
    font-size: clamp(1.5rem, 2.2vw + 1rem, 2.5rem);
    margin-bottom: 0.75rem;
}

.services__hr {
    border: 0;
    height: 2px;
    width: 4rem;
    background: var(--primary);
    margin: 0.75rem 0 1rem;
}

/* Cards grid */
.cards {
    display: grid;
    gap: 1.75rem;
    width: 100%;
}

.cards--two {
    grid-template-columns: 1fr;
    margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
    .cards--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cards--three {
    grid-template-columns: 1fr;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .cards--three {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.card {
    position: relative;
    overflow: visible;
    background: white;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card__icon {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card__icon i {
    font-size: 2.25rem;
    color: var(--primary);
}

.card__title {
    color: var(--primary);
    font: 700 1.125rem var(--sub-heading-font);
    font-weight: bold;
    margin-bottom: 0.375rem;
}

.card__text {
    color: var(--dark);
    font: 400 1rem var(--long-text-font-style);
    line-height: 1.7;
}

/* CTA variant */
.card--cta {
    background: var(--primary);
    color: #fff;
    justify-content: center;
}

.card--cta .card__title--cta {
    color: #fff;
    font: 700 1.25rem var(--sub-heading-font);
    margin-bottom: 0.5rem;
}

.card--cta .card__text--cta {
    color: #fff;
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.card__phone {
    font-weight: 800;
    font-size: 1.375rem;
    letter-spacing: 0.02em;
    color: #fff;
}

/* Hover arrow bubble */
.arrow-bubble {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2rem;
    opacity: 0;
    transition: bottom 300ms ease, opacity 300ms ease;
    pointer-events: none;
}

.card:hover .arrow-bubble {
    bottom: -0.5rem;
    opacity: 1;
}

.arrow-bubble__btn {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.arrow-bubble__btn i {
    font-size: 1.125rem;
}

/* CTA arrow colors */
.arrow-bubble--cta .arrow-bubble__btn {
    background: #fff;
    color: var(--primary);
}

/* Animations (converted) */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(26px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s cubic-bezier(.77, -0.44, .37, 1.17);
}

@keyframes cardPop {
    0% {
        transform: scale(0.96);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.card-pop {
    animation: cardPop 1.05s cubic-bezier(.77, -0.44, .37, 1.17);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .card-pop {
        animation: none;
    }
}

/* Keep split side-by-side below 1025px too */
@media (min-width: 900px) {

    /* was 1024px */
    .services__split {
        display: grid;
        /* grid gives precise column control */
        grid-template-columns: clamp(300px, 36vw, 420px) 1fr;
        /* left image track stays neat */
        align-items: start;
        /* top-align image and heading */
        gap: 2.5rem;
    }

    .services__media {
        max-width: none;
    }

    /* let the grid control the width */
    .services__img {
        margin-bottom: 0;
    }

    /* prevent the drop below the image */
    .services__content {
        padding-top: 0;
    }

    /* ensure heading aligns with image top */

    /* Keep two feature cards in a row under the heading at these widths */
    .cards--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Optional: slightly tighten title at mid widths so it fits beside the image cleanly */
@media (min-width: 900px) and (max-width: 1140px) {
    .services__title {
        font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
        line-height: 1.2;
    }
}

/* Flex-based alternative */
@media (min-width: 900px) {
    .services__split {
        flex-direction: row;
        align-items: flex-start;
    }

    .services__img {
        margin-bottom: 0;
    }

    .cards--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .services__media {
        width: 100%;
        max-width: 100%;
    }

}

/* ===== Base (<= 360..899px) ===== */

/* tighter on small screens */
.services__container {
    padding-inline: 1rem;
}

/* safe side gutters */

.services__split {
    display: block;
}

/* stack image then content */
.services__media {
    margin: 0 auto 1.25rem;
    max-width: 640px;
}

.services__img {
    width: 100%;
    height: clamp(220px, 48vw, 340px);
    /* responsive height */
    margin-bottom: 0;
}

.services__content {
    max-width: 740px;
    margin-inline: auto;
}

.services__label {
    margin-bottom: 0.4rem;
}

.services__title {
    font-size: clamp(1.35rem, 3.8vw, 1.9rem);
    line-height: 1.22;
    margin-bottom: 0.6rem;
}

.services__hr {
    margin: 0.6rem 0 1rem;
}

/* Cards: single column by default with compact spacing */
.cards {
    gap: 1.1rem;
}

.cards--two,
.cards--three {
    grid-template-columns: 1fr;
}

.card {
    padding: 1.25rem 1rem;
}

.card__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.75rem;
}

.card__icon i {
    font-size: 1.8rem;
}

.card__title {
    font-size: 1.05rem;
}

.card__text {
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Keep arrow bubble visible but tighter so it doesn't overflow on small screens */
.arrow-bubble {
    bottom: -1.25rem;
}

.card:hover .arrow-bubble {
    bottom: -0.25rem;
}

/* ===== ≥500px ===== */
@media (min-width: 500px) {
    .services__title {
        font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.05rem);
    }

    .cards {
        gap: 1.25rem;
    }

    .cards--three {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 2-up for bottom row */
    .card {
        padding: 1.5rem 1.1rem;
    }
}


/* ===== ≥700px ===== */
@media (min-width: 700px) {
    .services__img {
        height: clamp(260px, 40vw, 360px);
    }

    .cards--two {
        grid-template-columns: repeat(2, 1fr);
    }

    /* keep top row 2-up */
    .cards--three {
        grid-template-columns: repeat(2, 1fr);
    }

    /* bottom stays 2-up */
    .card__icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .card__icon i {
        font-size: 2rem;
    }
}

/* ===== ≥900px (desktop-like alignment retained down from 1024) ===== */
@media (min-width: 900px) {
    .services__split {
        display: grid;
        grid-template-columns: clamp(300px, 36vw, 420px) 1fr;
        align-items: start;
        gap: 2.5rem;
    }

    .services__media {
        max-width: none;
        margin: 0;
    }

    .services__img {
        margin-bottom: 0;
        height: 360px;
    }

    .services__content {
        padding-top: 0;
    }

    .cards--two {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards--three {
        grid-template-columns: repeat(3, 1fr);
    }

    /* if space allows */
}

/* ===== Micro screens (<=360px) safety tweaks ===== */
@media (max-width: 360px) {
    .services__container {
        padding-inline: 0.75rem;
    }

    .services__title {
        font-size: 1.28rem;
    }

    .card {
        padding: 1rem 0.85rem;
    }

    .card__text {
        font-size: 0.95rem;
    }

    .arrow-bubble {
        display: none;
    }

    /* prevent overflow on very small devices */
}

/* Reorder for small screens: heading -> image -> top cards */
@media (max-width: 900px) {
    .services__split {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "title"
            "hr"
            "media"
            "cardsTwo";
        gap: 1rem;
    }

    /* Let content’s children become direct grid items so we can position them */
    .services__content {
        display: contents;
    }

    /* Map each piece to the grid areas above */
    .services__label {
        grid-area: label;
    }

    .services__title {
        grid-area: title;
    }

    .services__hr {
        grid-area: hr;
    }

    .services__media {
        grid-area: media;
    }

    .services__content .cards--two {
        grid-area: cardsTwo;
    }

    /* Spacing tweaks for compact view */
    .services__container {
        padding-inline: 1rem;
    }

    .services__img {
        height: clamp(220px, 48vw, 340px);
        margin: 0;
    }


    .services__label {
        text-align: center;
    }

    .services__title {
        text-align: center;

    }

    .services__hr {
        margin: 0 auto;
    }

    .card--cta {
        grid-column: 1 / 3;
    }

    .cards--two {
        grid-template-columns: repeat(2, 1fr);
    }

    /* keep top feature cards stacked on phones */
}

/* Desktop-like alignment retained from 900px and up (keeps your previous setup) */
@media (min-width: 900px) {
    .services__split {
        display: grid;
        grid-template-columns: clamp(300px, 36vw, 420px) 1fr;
        align-items: start;
        gap: 2.5rem;
    }

    .services__content {
        display: block;
    }





    /* return to normal flow */

}

@media screen and (max-width:500px) {

    .cards--two,
    .cards--three {
        grid-template-columns: 1fr;
    }

    .card--cta {
        grid-column: auto;
    }

    .services {
        padding-block: 4rem;
    }

    .services__container {
        padding-inline: 0.75rem;
    }

    .cards {
        gap: 1rem;
    }

    .card {
        padding: 1.1rem 0.9rem;
    }

    .card__icon {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 0.6rem;
    }

    .card__icon i {
        font-size: 1.5rem;
    }

    .card__title {
        font-size: 1rem;
    }

    .card__text {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .card--cta .card__title--cta {
        font-size: 1.1rem;
    }

    .card__phone {
        font-size: 1.15rem;
    }
}

/* ===== ≥500px ===== */
@media (max-width: 500px) {
    .services__title {
        font-size: 20px !important;
    }
}

/* Overlay behind background image */
.property-deals {
    position: relative;
    color: #fff;
    /* default text color in this section */
    padding: 80px 0;
    /* keep your spacing */
}

.property-deals::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    /* darker overlay for readability */
    z-index: 1;
    /* sits above background image, below content */
    pointer-events: none;
    /* don't block clicks */
}

/* Lift all inner content above the overlay */
.property-deals .container,
.property-deals .property-content,
.property-deals .property-text,
.property-deals .property-image-best-price {
    position: relative;
    z-index: 2;
}

/* Heading and text colors tuned for contrast */
.property-deals .property-text h2 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    margin-bottom: 30px;
}

.property-deals .feature p {
    color: #f1f5f9;
    /* light gray for long text on dark bg */
}

/* Keep brand accent, but ensure visibility on dark bg */
.property-deals .feature i {
    color: #8F0141;
    background-color: #fff;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.3rem;
}

/* Card image remains crisp above overlay */
.property-deals .property-image-best-price {
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Mobile safety: disable fixed background on small devices */
@media (max-width: 768px) {
    .property-deals {
        background-attachment: scroll !important;
    }
}

/* Mobile: icon stays left, title beside it, description wraps below */
@media (max-width: 555px) {
    .property-deals .feature {
        flex-direction: row;
        gap: 10px;
    }

    .property-deals .feature i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-top: 2px;
    }
}


/* new team section content style start */
/* section {
      width: 100%;
      min-height: 100vh;
      background-color: #fafaf9;
      padding: 4rem 2rem; 
    } */

@media (max-width: 768px) {
    section {
        padding: 3rem 1.5rem;
        /* Slightly less padding on tablets */
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 1rem;
        /* ✅ Add padding for small screens */
    }
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .icon-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.icon-wrapper {
    background-color: #8F0141;
    padding: 0.6rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    color: #ffffff;
    font-size: 1.25rem;
}

.section-header span {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: #222;
}

.section-header h2 {
    font-weight: 900;
    font-size: 2rem;
    color: #222;
    line-height: 1.3;
}

/* === GRID === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    /* ✅ Added slight inner padding */
}

/* === CARD === */
.team-card {
    background-color: #fff;
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 270px;
    padding: 1rem 1rem 2rem;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    /* overflow: hidden; */
}

.team-card:hover {
    background-color: var(--primary);
    color: #fff;
}

.social-icons {
    position: absolute;
    left: 1rem;
    top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--primary);
    z-index: 2;
}

.social-icons span {
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons span:hover {
    color: #b42366;
}

.team-card:hover .social-icons span {
    color: #fff;
}

.team-card img {
    border-radius: 0.8rem;
    width: 250px;
    height: 350px;
    object-fit: cover;
    margin-left: 2.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    margin-left: 2.5rem;
}

.team-info h3 {
    font-weight: 700;
    color: inherit;
    margin-bottom: 0.3rem;
}

.team-info p {
    font-weight: 600;
    font-size: 0.9rem;
    color: #b42366;
    transition: color 0.3s;
}

.team-card:hover .team-info p {
    color: #fff;
}

/* === RESPONSIVE FIXES === */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 500px) {
    .section-header h2 {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 20px !important;
    }

    .team-card img {
        width: 200px;
        height: 280px;
        margin-left: 1.5rem;
    }

    .team-info {
        margin-left: 1.5rem;
    }

    .social-icons {
        left: 0.5rem;
        top: 2rem;
        gap: 0.8rem;
    }
}

/* new team section content style end*/

/* Contact section enhancements (scoped) */
#contact {
    /* relies on your global section spacing; override only if needed */
    overflow: hidden;
}

#contact .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 920px) {
    #contact .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Left info card with brand gradient */
#contact .contact-info {
    background: var(--primary);
    color: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

#contact .contact-info h3,
#contact .contact-info h4 {
    color: #ffffff;
}

#contact .contact-info .long-text-font-style {
    color: rgba(255, 255, 255, 0.92);
}

/* Detail items styled for contrast on gradient */
#contact .contact-info .contact-details {
    display: grid;
    gap: 14px;
}

#contact .contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

#contact .contact-info .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    flex: 0 0 44px;
    margin: 0;
}

/* Right form card */
#contact .contact-form {
    background: #ffffff;
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#contact .contact-form form {
    display: grid;
    grid-template-columns: 1fr;
}

/* Inputs follow your base sizes, with enhanced focus */
#contact .contact-form input,
#contact .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 16px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--long-text-font-style);
    color: var(--dark);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#contact .contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(180, 35, 102, 0.15);
}

/* Submit button uses your global .cta-button styles, with minor layout polish */
#contact .contact-form .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    width: 100%;
    max-width: max-content;
}

#contact .contact-form .cta-button i {
    font-size: 1rem;
}

/* Optional: make the button full width on small screens */
@media (max-width: 555px) {
    #contact .contact-form .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Right card container (uses your existing .contact-form wrapper) */
#contact .contact-form {
    background: #ffffff;
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Grid scaffolding to mirror the Tailwind layout */
#contact .form-grid {
    display: grid;
    gap: 16px;
}

#contact .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

#contact .form-row.two {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 555px) {
    #contact .form-row.two {
        grid-template-columns: 1fr;
    }
}

/* Fields and labels */
#contact .form-field {
    display: flex;
    flex-direction: column;
}

#contact .form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--sub-heading-font);
}

/* Inputs reuse your base input styles, with refined focus */
#contact .form-field input,
#contact .form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--long-text-font-style);
    color: var(--dark);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#contact .form-field textarea {
    height: 150px;
    resize: vertical;
}

#contact .form-field input:focus,
#contact .form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(180, 35, 102, 0.15);
}

/* Actions row: left checkbox, right buttons */
#contact .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
}

#contact .form-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.95rem;
}

#contact .form-flag input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Buttons use your existing helpers */
#contact .form-buttons {
    display: inline-flex;
    gap: 10px;
}

#contact .cta-button i {
    font-size: 1rem;
}

/* Small note text */
#contact .form-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Honeypot */
#contact .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Card shell (your .contact-form already exists; keep it as the outer wrapper) */
#contact .contact-form {
    background: #ffffff;
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

/* Inner grid */
#contact .right-card {
    display: grid;
    gap: 16px;
}

/* Rows */
#contact .rc-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

#contact .rc-row.rc-two {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 720px) {
    #contact .rc-row.rc-two {
        grid-template-columns: 1fr;
    }
}

/* Fields */
#contact .rc-field {
    display: flex;
    flex-direction: column;
}

#contact .rc-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--sub-heading-font);
}

/* Inputs + Textarea (tinted background like screenshot) */
#contact .rc-field input,
#contact .rc-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--long-text-font-style);
    color: var(--dark);
    background: #fde9f1;
    /* fallback tint */
    background: color-mix(in srgb, var(--primary) 9%, white);
    /* modern tint */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#contact .rc-field textarea {
    min-height: 180px;
    resize: vertical;
}

#contact .rc-field input::placeholder,
#contact .rc-field textarea::placeholder {
    color: color-mix(in srgb, var(--primary) 45%, white);
}

/* Focus ring in your primary color */
#contact .rc-field input:focus,
#contact .rc-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
    background: #fff;
}

/* Actions row */
#contact .rc-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

@media (max-width: 600px) {
    #contact .rc-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Checkbox + label */
#contact .rc-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.95rem;
}

#contact .rc-flag input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Buttons */
#contact .rc-buttons {
    display: inline-flex;
    gap: 10px;
}

#contact .btn-outline {
    padding: 10px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    background: #ffffff;
    color: var(--dark);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#contact .btn-outline:hover {
    background: var(--light);
}

#contact .btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 28%, transparent);
    transition: filter 0.2s ease, transform 0.02s ease-in;
}

#contact .btn-gradient:hover {
    filter: brightness(1.03);
}

#contact .btn-gradient:active {
    transform: translateY(1px);
}

/* Small note */
#contact .rc-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 2px;
}

/* Honeypot field (spam trap) */
#contact .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 480px) {
    #contact .section-title h2 {
        font-size: 1.5rem;
    }

    #contact .section-title p {
        font-size: 0.9rem;
    }

    #contact .contact-container {
        gap: 30px;
    }

    #contact .contact-info {
        padding: 20px;
    }

    #contact .contact-info h3 {
        font-size: 1.2rem;
    }

    #contact .contact-info .contact-item {
        flex-direction: column;
        align-items: center;
    }

    #contact .contact-info .contact-item h4 {
        font-size: 14px;
        text-align: center;
    }

    #contact .contact-info .contact-item p {
        font-size: clamp(12px, 1.8vw, 1em);
        text-align: center;
    }

    #contact .contact-info .contact-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 1rem;
        margin-bottom: 6px;
    }

    #contact .contact-info .contact-details {
        gap: 12px;
    }

    #contact {
        padding: 50px 0;
    }

    #contact .section-title {
        margin-bottom: 30px;
    }

    #contact .contact-form {
        padding: 16px;
    }

    #contact .rc-field input,
    #contact .rc-field textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    #contact .rc-field textarea {
        min-height: 120px;
    }

    #contact .rc-label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    #contact .right-card {
        gap: 12px;
    }

    #contact .rc-row {
        gap: 12px;
    }
}


#submitForm {
    max-width: 90%;
    margin: 0 auto;
}

:root {
    --motion-duration: .9s;
    --motion-ease: cubic-bezier(.22, .61, .36, 1);
    /* luxurious ease */
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .parallax-slow {
        transition: none !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }
}

/* Base reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px) scale(.98);
    filter: saturate(.9) blur(.2px);
    will-change: transform, opacity, filter;
    transition:
        transform var(--motion-duration) var(--motion-ease),
        opacity var(--motion-duration) var(--motion-ease),
        filter var(--motion-duration) var(--motion-ease);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Variants */
.reveal.fade {
    transform: none;
}

.reveal.fade-up {
    transform: translateY(24px);
}

.reveal.slide-left {
    transform: translateX(72px);
}

.reveal.slide-right {
    transform: translateX(-72px);
}

.reveal.scale {
    transform: scale(.975);
}

.reveal.in-view.fade,
.reveal.in-view.fade-up,
.reveal.in-view.slide-left,
.reveal.in-view.slide-right,
.reveal.in-view.scale {
    transform: none;
}

/* Optional parallax accent */
.parallax-slow {
    will-change: transform;
    transform: translateY(0);
    transition: transform .6s ease-out;
}

/* === PAGINATION THEME === */
.mt-12 nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.mt-12 nav a,
.mt-12 nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #333;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mt-12 nav a:hover {
    background: rgba(143, 1, 65, 0.08);
    border-color: #8F0141;
    color: #8F0141;
}

.mt-12 nav span[aria-current="page"] {
    background: #8F0141;
    border-color: #8F0141;
    color: #fff;
}

.mt-12 nav span:not([aria-current="page"]) {
    color: #999;
    border-color: transparent;
    cursor: default;
}

/* ====================================
   FONT FAMILY CONSISTENCY
   Applies correct heading/body fonts to
   property pages & home components
   ==================================== */

/* --- Single Property Page --- */
.sp-title-wrapper h1 {
    font-family: var(--main-heading-font);
}

.sp-title-wrapper h2 {
    font-family: var(--long-text-font-style);
    font-weight: 400;
}

.sp-section-title {
    font-family: var(--sub-heading-font);
}

.sp-contact-header {
    font-family: var(--sub-heading-font);
}

.sp-form-title {
    font-family: var(--sub-heading-font);
}

.sp-price-wrapper p {
    font-family: var(--main-heading-font);
}

/* --- All Properties Page --- */
.page-title h2 {
    font-family: var(--sub-heading-font);
}

/* --- Header Navigation --- */
header nav a {
    font-family: var(--main-heading-font);
}

/* --- Home Components: missing font classes --- */
.property-card h3 {
    font-family: var(--sub-heading-font);
}

.team-card h3 {
    font-family: var(--sub-heading-font);
}

.team-card p {
    font-family: var(--long-text-font-style);
}

.testimonial-author h4 {
    font-family: var(--sub-heading-font);
}

.testimonial-author p {
    font-family: var(--long-text-font-style);
}

.contact-container h3,
.contact-container h4 {
    font-family: var(--sub-heading-font);
}

.custom-post-item .post-excerpt {
    font-family: var(--long-text-font-style);
}