*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Poppins",sans-serif;
    color: #1d1d1d;
    background: linear-gradient(135deg, #D8E8DF, #7DA995);
}

a{
    text-decoration: none;
    color: inherit;
}

/*=====navbar=====*/
.navbar{
    height: 80px;
    padding: 0.9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #12372A;
}

.logo{
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D5AD62;
}

.logo span{
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D5AD62;
    color: #12372A;
    border-radius: 8px;
}

.navbar nav{
    display: flex;
    gap: 35px;
}

.navbar nav a{
    font-size: 17px;
    color: #ffffff;
    transition: 0.3s;
}

.navbar nav a:hover,
.navbar nav .active{
    text-decoration: underline;
    color: #D5AD62;
}

.nav-buttons{
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn{
    display: inline;
    padding: 10px 20px;
    background: #125436;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.login-btn:hover{
    background: #c89b3c;
    color: #ffffff;
}

.admin-btn{
    display: inline-block;
    padding: 10px 18px;
    background: #c89b3c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.admin-btn:hover{
    background: #183b2b;
    color: #ffffff;
}

/* ===== hero =====*/

.hero{
    min-height:500px;
    padding: 100px 7% 150px;
    position: relative;
    color: white;
    overflow: visible;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== animated hero background ===== */

.hero::before{
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../images/hero.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    animation: heroSlider 16s infinite;
    z-index: -2;
}

/* =====dark overlay===== */

.hero::after{
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(10, 35, 25, 0.60);
    z-index: -1;
}

/* =====image animation=====*/

@keyframes heroSlider{
    0%{
        background-image: url("../images/hero.jpeg");
    }

    25%{
        background-image: url(../images/hero\ 1.jpeg);
    }

    50%{
        background-image: url(../images/hero\ 2.jpeg);
    }

    75%{
        background-image: url(../images/hero\ 3.jpeg);
    }

    100%{
        background-image: url(../images/hero.jpeg);
    }
}

.hero-content{
    max-width: 650px;
}

.hero-small{
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #d5ad62;
}

.hero h1{
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #eeeeee;
}

.hero h1 span{
    color: #d5ad62;
}

.hero-text{
    max-width: 570px;
    line-height: 1.8;
    color: #eeeeee;
    margin-bottom: 30px;
}

.hero-btn{
    display: inline-block;
    padding: 14px 27px;
    text-decoration: underline;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-btn:hover{
    color: #d5ad62;
    transform: translateY(-2px);
}

/* ===== search ===== */

.search-box{
    position: absolute;
    bottom: -65px;
    left: 7%;
    right: 7%;
    background: #ffffff;
    padding: 25px 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    color: #222;
    z-index: 10;
}

.search-item{
    flex: 1;
}

.search-item label{
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.search-item input,
.search-item select{
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 16px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.search-btn{
    height: 45px;
    padding: 0 32px;
    border: none;
    background: #183b2b;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
}

/* ===== featured ===== */

.featured{
    padding: 130px 7% 90px;
}

.section-heading{
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
}

.section-label{
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #d5ad62;
}

.section-heading h2{
    font-size: 34px;
}

.view-all{
    color: #183b2b;
    font-weight: 600;
    font-size: 14px;
}

.view-all:hover{
    text-decoration: underline;
    color: #d5ad62;
}

.featured{
    padding: 130px 7% 90px;
}

.property-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 25px;
    width: 100%;
}

.property-card{
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.property-image{
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.property-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: 0.4s;
}

.property-card:hover .property-image img{
    transform: scale(1.05);
}

.sale-tag,
.rent-tag{
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 10px;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
}

.sale-tag{
    background: #d5ad62;
}

.rent-tag{
    background: #b28b43;
}

.property-info{
    padding: 22px;
}

.property-info h3{
    font-size: 18px;
    margin-bottom: 8px;
}

.loaction{
    color: #777;
    font-size: 13px;
    margin-bottom: 15px;
}

.property-info h4{
    color: #183b2b;
    font-size: 19px;
    margin-bottom: 15px;
}

.property-details{
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #777;
    padding-bottom: 18px;
    text-align: center;
    padding: 11px;
    border: 1px solid #183b2b;
    color: #183b2b;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.details-btn:hover{
    text-decoration: underline;
    color: #183b2b;
}

/* =====property types ===== */

.property-type{
    padding: 90px 7%;
    background: #f7f7f7;
}

.centered{
    display: block;
    text-align: center;
}

.centered > p:last-child{
    color: #777;
    font-size: 14px;
}

.types-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.type-card{
    background: white;
    padding: 35px 25px;
    text-align: center;
    border-radius: 8px;
    transition: 0.3s;
}

.type-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.type-icon{
    font-size: 40px;
    margin-bottom: 15px;
}

.type-card p{
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

/* ===== stats ===== */

.stats{
    padding: 65px 7%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    background: #183b2b;
    color: white;
}

.stats h2{
    font-size: 35px;
    color: #d5ad62;
}

.stats p{
    font-size: 13px;
    color: #ddd;
}

/* ===== cta ===== */

.cta{
    margin: 90px 7%;
    padding: 75px;
    background: #f0ede5;
    border-radius: 10px;
}

.cta h2{
    max-width: 600px;
    font-size: 38px;
    margin-bottom: 15px;
}

.cta p{
    color: #666;
    margin-bottom: 25px;
}

/* ===== footer ===== */

.footer{
    background: #10291e;
    color: white;
    padding: 60px 5% ;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr 1fr;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px 0 35px;
    align-items: start;
}

/* Footer About Section */
.footer-about {
    max-width: 400px;
}

.footer-about h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: black;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    color: black;
    margin-bottom: 10px;
}

/* Footer Links Section */
.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: black;
}

.footer-links a {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    margin-bottom: 10px;
    margin-top: 12px;
}

.footer-links a {
    text-decoration: underline;
    color: rgb(66, 95, 61);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F4A64E;
}

/* Footer Contact Section */
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: black;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    color: black;
    margin-bottom: 5px;
    overflow-wrap: anywhere;
}

.footer-content{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand p{
    color: black;
    font-size: 13px;
    max-width: 270px;
    margin-top: 15px;
    line-height: 1.7;
}

.footer-column{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3{
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-column p{
    color: black;
    font-size: 12px;
}

.footer-column a{
    color: rgb(66, 95, 61);
    font-size: 12px;
    text-decoration: underline;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    color: #D5AD62;
    font-size: 22px;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #12372A;
    transform: translateY(-4px);
}

/* Original Social Media Brand Colors */
.social-icons a {
    font-size: 24px;
    text-decoration: none;
    transition: 0.3s ease;
}

/* Facebook */
.social-icons a[aria-label="Facebook"] {
    color: #1877F2;
}

/* Instagram */
.social-icons a[aria-label="Instagram"] {
    color: #E4405F;
}

/* TikTok */
.social-icons a[aria-label="TikTok"] {
    color: #000000;
}

/* WhatsApp */
.social-icons a[aria-label="WhatsApp"] {
    color: #25D366;
}

/* YouTube */
.social-icons a[aria-label="YouTube"] {
    color: #FF0000;
}

/* X */
.social-icons a[aria-label="X"] {
    color: #000000;
}

/* Hover Effect */
.social-icons a:hover {
    transform: translateY(-4px);
    opacity: 0.75;
}

.copyright{
    margin-top: 50px;
    padding-top: 18px 20px;
    border-top: 1px solid #315043;
    background: #102f24;
    border-radius: 1px;
    text-align: center;
    color: #ffffff;
    font-size: 13px;
}

@media (max-width: 600px){
    .nav-buttons .login-btn {
    display: inline-block;
}

.hero h1 {
    font-size: 36px;
}

.search-box {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 90%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 30px auto;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

.search-item {
    flex: 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.search-item input,
.search-item select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.featured {
    padding-top: 70px;
}

.section-heading {
    display: block;
}

.view-all {
    display: block;
    margin-top: 10px;
}

.property-grid,
.types-grid,
.stats {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.stats {
    gap: 30px;
}

.cta {
    margin: 50px 5%;
    padding: 40px 25px;
}

.cta h2 {
    font-size: 28px;
}

.footer-content {
    grid-template-columns: 1fr;
}
}

/*=====properties page=====*/

.properties-hero{
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 70px 7%;

    background: linear-gradient(
        rgba(18, 55, 42, 0.88),
        rgba(18, 55, 42, 0.88)
    ),
    url("../images/hero.jpeg");
    background-size: cover;
    background-position: center;

    color: white;
}

.properties-hero-content{
    max-width: 700px;
}

.properties-hero .section-label{
    color: #d5ad62;
}

.properties-hero h1{
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.properties-hero-content > p:last-child{
    color: #eeeeee;
    line-height: 1.8;
    max-width: 600px;
}

/* =====search===== */

.properties-search{
    padding: 0 7%;
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

.filter-box{
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
    gap: 18px;
    align-items: end;
}

.filter-item label{
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.filter-box input,
.filter-item select{
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid#ddd;
    border-radius: 20px;
    outline: none;
    background: white;
    color: #333;
    font-family: inherit;
    font-size: 12px;
}

.filter-box input:focus,
.filter-item select:focus{
    border-color: #183b2b;
}

.property-search-btn{
    height: 46px;
    padding: 0 25px;
    border: none;
    border-radius: 20px;
    background: #183b2b;
    color: white;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}

.property-search-btn:hover{
    background: #10291e;
}

/*=====properties section=====*/

.properties-section{
    padding: 90px 7%;
}

.properties-heading{
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
}

.properties-heading h2{
    font-size: 32px;
}

.property-count{
    color: #777;
    font-size: 13px;
}

/*=====property list=====*/

.properties-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/*=====property card=====*/

.properties-list .property-card{
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5pxp 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.properties-list .property-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/*=====property image=====*/

.properties-list .property-image{
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.properties-list .property-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: 0.4s;
}

.properties-list .property-card:hover

.property-image img {

    transform: scale(1.04);

}

/* PROPERTY INFO */

.properties-list .property-info {

    padding: 22px;

}

.properties-list .property-info h3 {

    font-size: 17px;

    margin-bottom: 8px;

}

.properties-list .location {

    color: #777;

    font-size: 12px;

    margin-bottom: 14px;

}

.properties-list .property-info h4 {

    color: #183b2b;

    font-size: 18px;

    margin-bottom: 15px;

}

.properties-list .property-details {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    padding-bottom: 18px;

    border-bottom: 1px solid #eee;

    color: #777;

    font-size: 11px;

}

/* DETAILS BUTTON */

.properties-list .details-btn {

    display: block;

    margin-top: 18px;

    padding: 11px;

    text-align: center;

    border: 1px solid #183b2b;

    border-radius: 4px;

    color: #183b2b;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s;

}

.properties-list .details-btn:hover {

    background: #183b2b;

    color: white;

}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .filter-box {

        grid-template-columns: 1fr 1fr;

    }

    .property-search-btn {

        width: 100%;

    }

    .properties-list {

        grid-template-columns: 1fr 1fr;

    }

}

@media (max-width: 650px) {

    .properties-hero {

        min-height: 300px;

        padding: 60px 5%;

    }

    .properties-hero h1 {

        font-size: 34px;

    }

    .property-search {

        padding: 0 5%;

    }

    .filter-box {

        grid-template-columns: 1fr;

    }

    .properties-section {

        padding: 70px 5%;

    }

    .properties-heading {

        display: block;

    }

    .property-count {

        margin-top: 10px;

    }

    .properties-list {

        grid-template-columns: 1fr;
    }

}

/* =====
   ABOUT PAGE
===== */

.about-hero {
    min-height: 360px;
    padding: 80px 7%;
    display: flex;
    align-items: center;
    position: relative;

    background:
        linear-gradient(rgba(18, 55, 42, 0.82), rgba(18, 55, 42, 0.82)),
        url("../images/about.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

.about-hero-content {
    max-width: 700px;
}

.about-hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 10px 0 20px;
}

.about-hero p:not(.section-label) {
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
}


/* ABOUT INTRO */

.about-intro {
    padding: 100px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.about-text h2 {
    font-size: 38px;
    color: #12372A;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* MISSION */

.mission-section {
    padding: 80px 7%;
    background: #f7f7f5;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.07);

    transition: 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-8px);
}

.mission-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.mission-card h3 {
    color: #12372A;
    font-size: 21px;
    margin-bottom: 15px;
}

.mission-card p {
    color: #666;
    line-height: 1.7;
}


/* WHY US */

.why-us {
    padding: 100px 7%;
}

.why-us-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.why-us-heading h2 {
    font-size: 38px;
    color: #12372A;
    margin: 10px 0 15px;
}

.why-us-heading p:not(.section-label) {
    color: #666;
    line-height: 1.7;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    padding: 30px 25px;
    border: 1px solid #eeeeee;
    border-radius: 12px;

    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.why-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.why-card h3 {
    color: #12372A;
    margin-bottom: 12px;
}

.why-card p {
    color: #666;
    line-height: 1.7;
}


/* ABOUT CTA */

.about-cta {
    padding: 90px 7%;
    background: #12372A;
    text-align: center;
    color: white;
}

.about-cta h2 {
    font-size: 38px;
    margin: 10px 0 15px;
}

.about-cta p:not(.section-label) {
    color: #dddddd;
    line-height: 1.7;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: #d5ad62;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;

    transition: 0.3s ease;
}

.cta-button:hover {
    background: #000000;
    transform: translateY(-2px);
}


/* ABOUT RESPONSIVE */

@media (max-width: 1000px) {

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-section {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .about-hero {
        min-height: 300px;
    }

    .about-hero h1 {
        font-size: 34px;
    }

    .about-intro {
        padding: 70px 6%;
    }

    .about-text h2 {
        font-size: 30px;
    }

    .about-image img {
        height: 320px;
    }

    .why-us {
        padding: 70px 6%;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .about-cta h2 {
        font-size: 30px;
    }

}


/* ================================
   CONTACT PAGE
================================ */

.contact-hero {
    min-height: 350px;
    padding: 80px 7%;
    display: flex;
    align-items: center;
    position: relative;

    background:
        linear-gradient(rgba(18, 55, 42, 0.85), rgba(18, 55, 42, 0.85)),
        url("../images/about.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

.contact-hero-content {
    max-width: 700px;
}

.contact-hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 10px 0 20px;
}

.contact-hero p:not(.section-label) {
    color: #eeeeee;
    line-height: 1.8;
}


/* CONTACT SECTION */

.contact-section {
    padding: 100px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-info h2 {
    color: #12372A;
    font-size: 36px;
    line-height: 1.3;
    margin: 10px 0 20px;
}

.contact-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f1e8;
    border-radius: 50%;

    font-size: 22px;
}

.contact-item h3 {
    color: #12372A;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    margin: 0;
}


/* CONTACT FORM */

.contact-form-box {
    background: #f8f8f6;
    padding: 40px;
    border-radius: 12px;
}

.contact-form-box h2 {
    color: #12372A;
    margin-bottom: 10px;
}

.contact-form-box > p {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #ddd;
    border-radius: 6px;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;

    outline: none;
    box-sizing: border-box;

    background: white;

    transition: 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b28b43;
}

.contact-submit {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 6px;

    background: #12372A;
    color: white;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.contact-submit:hover {
    background: #b28b43;
}


/* MAP */

.map-section {
    padding: 80px 7%;
    background: #f7f7f5;
}

.map-heading {
    text-align: center;
    margin-bottom: 35px;
}

.map-heading h2 {
    color: #12372A;
    font-size: 36px;
    margin-top: 10px;
}

.map-placeholder {
    height: 350px;
    border-radius: 12px;

    background:
        linear-gradient(
            rgba(18, 55, 42, 0.08),
            rgba(18, 55, 42, 0.08)
        );

    border: 1px solid #ddd;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.map-placeholder span {
    font-size: 45px;
}

.map-placeholder h3 {
    color: #12372A;
    margin: 10px 0;
}

.map-placeholder p {
    color: #666;
}


/* CONTACT CTA */

.contact-cta {
    padding: 90px 7%;
    background: #12372A;

    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 38px;
    margin: 10px 0 15px;
}

.contact-cta p:not(.section-label) {
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .contact-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}


@media (max-width: 650px) {

    .contact-hero {
        min-height: 300px;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-section {
        padding: 70px 6%;
    }

    .contact-info h2 {
        font-size: 30px;
    }

    .contact-form-box {
        padding: 25px;
    }

    .map-section {
        padding: 70px 6%;
    }

    .map-heading h2 {
        font-size: 30px;
    }

    .contact-cta h2 {
        font-size: 30px;
    }

}


/* ================================
   LOGIN & SIGNUP PAGES
================================ */

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;

     background: #0e3c19;
}


/* LEFT IMAGE */

.auth-image {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 60px;
}

.auth-overlay {
    max-width: 520px;
    color: white;
}

.auth-brand {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 80px;
}

.auth-brand span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #d5ad62;
    color: white;

    border-radius: 50%;

    margin-right: 10px;

    font-size: 14px;
}

.auth-overlay h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.auth-overlay p {
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
}


/* RIGHT SIDE */

.auth-container {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;
    background: linear-gradient(rgba(18, 55, 42, 0.35),
    rgba(18, 55, 42, 0.35)
    ),
    url("../images/login\ image.jpeg") center / cover no-repeat;
}

.auth-box {
    width: 100%;
    max-width: 500px;
}

.back-home {
    display: inline-block;

    color: #ffffff;
    text-decoration: none;

    font-size: 14px;

    margin-bottom: 45px;

    transition: 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.back-home:hover {
    color: #D5AD62;
}

.auth-box h2 {
    color: white;
    font-size: 34px;
    margin: 8px 0 10px;
}

.auth-subtitle {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}


/* INPUTS */

.auth-input {
    margin-bottom: 18px;
}

.auth-input label {
    display: block;

    color: white;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 7px;
}

.auth-input input {
    width: 100%;

    padding: 14px 15px;

    box-sizing: border-box;

    border: 1px solid #ddd;
    border-radius: 6px;

    outline: none;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;

    transition: 0.3s ease;
}

.auth-input input:focus {
    border-color: #b28b43;
    box-shadow: 0 0 0 3px rgba(178, 139, 67, 0.08);
}


/* BUTTON */

.auth-button {
    width: 100%;

    padding: 15px;

    margin-top: 8px;

    border: none;
    border-radius: 6px;

    background: #12372A;
    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.auth-button:hover {
    background: #b28b43;
}


/* LOGIN LINK */

.auth-switch {
    text-align: center;

    color: white;

    font-size: 14px;

    margin-top: 25px;
}

.auth-switch a {
    color: white;

    font-weight: 600;

    text-decoration: none;
}

.auth-switch a:hover {
    color: #b28b43;
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 850px) {

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-image {
        display: none;
    }

    .auth-container {
        min-height: 100vh;
        padding: 35px 25px;
    }

    .auth-box {
        max-width: 500px;
    }

}

/* ================================
   LOGIN OPTIONS
================================ */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 5px 0 22px;

    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;

    color: white;

    cursor: pointer;
}

.remember-me input {
    accent-color: #12372A;
    cursor: pointer;
}

.forgot-password {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* SIGNUP FORM MESSAGE */

.form-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ================================
   ADMIN DASHBOARD
================================ */

.admin-body {
    margin: 0;
    background: #f5f6f4;
    font-family: 'Poppins', sans-serif;
    color: #333;
}


/* SIDEBAR */

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;

    width: 250px;
    height: 100vh;

    background: #12372A;
    color: white;

    display: flex;
    flex-direction: column;

    z-index: 100;
}

.admin-logo {
    padding: 30px 25px;

    font-size: 18px;
    font-weight: 600;

    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-logo span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #d5ad62;

    border-radius: 50%;

    margin-right: 8px;

    font-size: 13px;
}

.admin-nav {
    padding: 25px 15px;
}

.admin-nav a,
.admin-sidebar-bottom a {
    display: block;

    padding: 13px 15px;

    margin-bottom: 8px;

    color: #ddd;

    text-decoration: none;

    border-radius: 6px;

    font-size: 14px;

    transition: 0.3s ease;
}

.admin-nav a:hover,
.admin-sidebar-bottom a:hover,
.admin-nav .admin-active {
    background: rgba(213,173,98,0.15);
    color: #d5ad62;
}

.admin-sidebar-bottom {
    margin-top: auto;
    padding: 20px 15px;

    border-top: 1px solid rgba(255,255,255,0.1);
}


/* MAIN */

.admin-main {
    margin-left: 250px;
    padding: 30px 40px;
}


/* TOP BAR */

.admin-topbar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.admin-small-title {
    color: #b28b43;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    margin: 0 0 5px;
}

.admin-topbar h1 {
    color: #12372A;

    font-size: 32px;

    margin: 0;
}

.admin-profile {
    display: flex;

    align-items: center;

    gap: 12px;
}

.admin-avatar {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: #d5ad62;
    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 600;
}

.admin-profile strong {
    display: block;

    color: #12372A;

    font-size: 14px;
}

.admin-profile small {
    color: #777;
}


/* WELCOME */

.admin-welcome {
    background: #12372A;

    padding: 30px;

    border-radius: 10px;

    color: white;

    margin-bottom: 30px;
}

.admin-welcome h2 {
    margin: 0 0 8px;

    font-size: 23px;
}

.admin-welcome p {
    margin: 0;

    color: #ddd;

    font-size: 14px;
}


/* STATISTICS */

.admin-stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 40px;
}

.admin-stat-card {
    background: white;

    padding: 25px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.admin-stat-icon {
    width: 48px;
    height: 48px;

    border-radius: 8px;

    background: #f5f1e8;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;
}

.admin-stat-card p {
    margin: 0;

    color: #777;

    font-size: 13px;
}

.admin-stat-card h2 {
    margin: 4px 0 0;

    color: #12372A;

    font-size: 25px;
}


/* SECTIONS */

.admin-section {
    margin-bottom: 40px;
}

.admin-section-header {
    margin-bottom: 20px;
}

.admin-section-header h2 {
    margin: 0;

    color: #12372A;
}


/* ACTIONS */

.admin-actions {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.admin-action-card {
    background: white;

    padding: 25px;

    border-radius: 10px;

    display: flex;

    gap: 18px;

    text-decoration: none;

    border: 1px solid #eee;

    transition: 0.3s ease;
}

.admin-action-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.admin-action-card > span {
    font-size: 28px;
}

.admin-action-card h3 {
    color: #12372A;

    margin: 0 0 5px;

    font-size: 16px;
}

.admin-action-card p {
    color: #777;

    margin: 0;

    font-size: 13px;
}


/* EMPTY */

.admin-empty {
    background: white;

    padding: 50px;

    text-align: center;

    border-radius: 10px;

    border: 1px solid #eee;
}

.admin-empty div {
    font-size: 40px;

    margin-bottom: 10px;
}

.admin-empty h3 {
    color: #12372A;

    margin-bottom: 5px;
}

.admin-empty p {
    color: #777;

    font-size: 14px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 800px) {

    .admin-sidebar {
        width: 210px;
    }

    .admin-main {
        margin-left: 210px;
        padding: 25px;
    }

    .admin-actions {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .admin-sidebar {
        position: relative;

        width: 100%;
        height: auto;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }

}

/* =========================================
   PROPERTY DETAILS PAGE
========================================= */

.property-details-page {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 25px;
}

.back-to-properties {
    display: inline-block;
    margin-bottom: 25px;
    color: #12372A;
    text-decoration: none;
    font-weight: 600;
}

.back-to-properties:hover {
    color: #b28b43;
}


/* =========================================
   PROPERTY GALLERY
========================================= */

.property-gallery {
    margin-bottom: 45px;
}

.main-property-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    background: #eee;
}

.main-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.details-sale-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #d5ad62;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================
   IMAGE THUMBNAILS
========================================= */

.property-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.property-thumbnail {
    width: 100px;
    height: 75px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    flex-shrink: 0;
}

.property-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-thumbnail.active {
    border-color: #d5ad62;
}


/* =========================================
   PROPERTY CONTENT
========================================= */

.property-details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 45px;
    align-items: start;
}


.property-details-main h1 {
    font-size: 38px;
    color: #12372A;
    margin: 8px 0 12px;
    line-height: 1.2;
}

.details-location {
    color: #777;
    font-size: 15px;
    margin-bottom: 15px;
}

.details-price {
    font-size: 30px;
    font-weight: 700;
    color: #b28b43;
    margin-bottom: 25px;
}

.details-price span {
    font-size: 15px;
    color: #777;
    font-weight: 400;
}


/* =========================================
   PROPERTY STATS
========================================= */

.details-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.detail-stat {
    min-width: 120px;
    padding: 18px;
    background: #f7f7f5;
    border-radius: 10px;
    text-align: center;
}

.detail-stat strong {
    display: block;
    font-size: 22px;
    color: #12372A;
    margin-bottom: 5px;
}

.detail-stat span {
    font-size: 13px;
    color: #777;
}


/* =========================================
   DESCRIPTION
========================================= */

.property-description {
    margin-bottom: 35px;
}

.property-description h2,
.property-features h2 {
    color: #12372A;
    font-size: 23px;
    margin-bottom: 12px;
}

.property-description p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}


/* =========================================
   FEATURES
========================================= */

.property-features {
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    padding: 12px 15px;
    background: #f7f7f5;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
}

.feature-item::first-letter {
    color: #b28b43;
}


/* =========================================
   ACTION CARD
========================================= */

.property-action-card {
    background: #12372A;
    color: white;
    padding: 30px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
}

.property-action-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.property-action-card p {
    color: #e5e5e5;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 25px;
}

.property-action-button,
.property-payment-button {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 7px;
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.property-action-button {
    background: #d5ad62;
    color: white;
    margin-bottom: 12px;
}

.property-action-button:hover {
    background: #b28b43;
}

.property-payment-button {
    border: 1px solid #d5ad62;
    background: transparent;
    color: #d5ad62;
}

.property-payment-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.property-action-card small {
    display: block;
    margin-top: 15px;
    color: #ccc;
    line-height: 1.5;
    font-size: 11px;
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 800px) {

    .property-details-page {
        margin-top: 90px;
    }

    .main-property-image {
        height: 350px;
    }

    .property-details-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .property-action-card {
        position: static;
    }

    .property-details-main h1 {
        font-size: 30px;
    }

    .details-stats {
        flex-wrap: wrap;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .main-property-image {
        height: 260px;
    }

    .property-details-page {
        padding: 0 15px;
    }

    .property-details-main h1 {
        font-size: 25px;
    }

    .details-price {
        font-size: 25px;
    }

    .detail-stat {
        min-width: 90px;
        padding: 12px;
    }

}

/*=====admin user table=====*/

.admin-users-table{
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.admin-users-table th{
    background: #183b2b;
    color: #ffffff;
    padding: 15px 18px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.admin-users-table td{
    padding: 14px 18px;
    border-bottom: 1px solid #eeeeee;
    color: #333333;
    font-size: 14px;
}

.admin-users-table tbody tr:nth-child(even){
    background: #f8f8f8;
}

.admin-users-table tbody tr:hover{
    background: #f3f0e8;
}

.admin-users-table th:first-child,
.admin-users-table td:first-child{
    text-align: center;
}

.admin-table-btn{
    display: inline-block;
    padding: 7px 12px;
    margin-right: 5px;
    background: #183b2b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: 0.3s ease;
}

.admin-table-btn:hover{
    background: #c89b3c;
    color: #ffffff;
}

/* =================================
   USER DETAILS PAGE
================================= */

.user-details-card {
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.user-detail-row {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
}

.user-detail-row:last-child {
    border-bottom: none;
}

.user-detail-row strong {
    width: 180px;
    color: #183b2b;
    font-size: 14px;
    font-weight: 600;
}

.user-detail-row span {
    color: #444444;
    font-size: 14px;
    font-weight: 400;
}

.user-detail-row:first-child span {
    background: #f3f0e8;
    color: #183b2b;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 600;
}


/* Back to Users button */

.user-details-card + div {
    margin-top: 25px;
}

.user-details-card + div .admin-table-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #183b2b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s ease;
}

.user-details-card + div .admin-table-btn:hover {
    background: #c89b3c;
    color: #ffffff;
}

/* =================================
   EDIT USER PAGE
================================= */

.user-edit-card {
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.user-edit-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.user-edit-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-edit-field label {
    color: #183b2b;
    font-size: 14px;
    font-weight: 600;
}

.user-edit-field input,
.user-edit-field select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
    box-sizing: border-box;
}

.user-edit-field input:focus,
.user-edit-field select:focus {
    border-color: #c89b3c;
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.12);
}

.user-edit-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.user-save-btn {
    padding: 10px 20px;
    border: none;
    background: #183b2b;
    color: #ffffff;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.user-save-btn:hover {
    background: #c89b3c;
}

.user-edit-error {
    max-width: 850px;
    padding: 12px 15px;
    margin-top: 20px;
    background: #fbeaea;
    color: #a33a3a;
    border-radius: 6px;
    font-size: 13px;
}

/* =================================
   DELETE USER CONFIRMATION
================================= */

.delete-confirm-card {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.delete-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.delete-confirm-card h2 {
    margin: 8px 0 10px;
    color: #183b2b;
    font-size: 28px;
}

.delete-confirm-text {
    color: #666666;
    font-size: 14px;
    margin-bottom: 25px;
}

.delete-user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    margin-bottom: 25px;
    background: #f8f8f8;
    border-radius: 8px;
}

.delete-user-info strong {
    color: #183b2b;
    font-size: 16px;
}

.delete-user-info span {
    color: #666666;
    font-size: 13px;
}

.delete-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.delete-confirm-actions .admin-table-btn {
    padding: 10px 20px;
}

.delete-confirm-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #b33a3a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s ease;
}

.delete-confirm-btn:hover {
    background: #8f2929;
    color: #ffffff;
}

/* =================================
   ADMIN PROPERTY DETAILS
================================= */

.admin-property-image {
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.admin-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-size: 14px;
}

.property-details-admin-card {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.property-admin-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 18px 25px;
    border-bottom: 1px solid #eeeeee;
}

.property-admin-row strong {
    color: #183b2b;
    font-size: 14px;
}

.property-admin-row span {
    color: #555555;
    font-size: 14px;
}

.property-admin-description {
    padding: 22px 25px;
    border-bottom: 1px solid #eeeeee;
}

.property-admin-description strong {
    display: block;
    color: #183b2b;
    font-size: 14px;
    margin-bottom: 10px;
}

.property-admin-description p {
    color: #555555;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.property-admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

@media (max-width: 700px) {

    .admin-property-image {
        height: 280px;
    }

    .property-admin-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .property-admin-actions {
        flex-direction: column;
    }

}

/* ================================
   ADMIN EDIT PROPERTY FORM
================================ */

.admin-form-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin-top: 25px;
}

.admin-form-group {
    margin-bottom: 22px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #183b2b;
    font-size: 14px;
    font-weight: 600;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    background: #ffffff;
    color: #333333;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s ease;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    border-color: #c89b3c;
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.12);
}

.admin-form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.admin-save-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #c89b3c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.admin-save-btn:hover {
    background: #183b2b;
}

.admin-message {
    padding: 14px 18px;
    border-radius: 7px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.admin-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.admin-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}


/* MOBILE */

@media (max-width: 768px) {

    .navbar{
        height: auto;
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar nav{
        flex-wrap: wrap;
        gap: 15px; 
    }

    .navbar nav a{
        font-size: 14px;
    }

    .nav-buttons{
        flex-wrap: wrap;
        gap: 8px;
    }

    .admin-form-card {
        padding: 20px;
    }

    .admin-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* ================================
   EDIT PROPERTY IMAGES
================================ */

.property-edit-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 12px;
}

.property-edit-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: visible;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-edit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .property-edit-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .property-edit-images {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* ADMIN PAYMENTS                */
/* ============================= */

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.admin-page-header h1 {
    color: #183b2b;
    margin: 0;
}

.admin-page-header p {
    color: #666666;
    margin-top: 6px;
}

.admin-payments-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.admin-payments-table th {
    background: #183b2b;
    color: #ffffff;
    padding: 15px 14px;
    text-align: left;
    font-size: 13px;
}

.admin-payments-table td {
    padding: 14px;
    border-bottom: 1px solid #eeeeee;
    color: #333333;
    font-size: 13px;
}

.admin-payments-table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.admin-payments-table tbody tr:hover {
    background: #f3f0e8;
}

.payment-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.payment-status.pending {
    background: #fff3cd;
    color: #856404;
}

.payment-status.paid {
    background: #d4edda;
    color: #155724;
}

.payment-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.payment-status.cancelled {
    background: #e2e3e5;
    color: #383d41;
}

.no-payments {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-payments h3 {
    color: #183b2b;
    margin-bottom: 10px;
}

.no-payments p {
    color: #666666;
}

.payment-reference {
    font-family: monospace;
    font-size: 12px;
}

.payment-amount {
    font-weight: 600;
    color: #183b2b;
}

@media (max-width: 1000px) {

    .admin-payments-table {
        display: block;
        overflow-x: auto;
    }

}

/* ============================= */
/* USER PAYMENT PAGE             */
/* ============================= */

.payment-page {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background: #f7f7f5;
}

.payment-card {
    width: 100%;
    max-width: 700px;
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.payment-card h1 {
    color: #183b2b;
    text-align: center;
    margin-bottom: 10px;
}

.payment-intro {
    text-align: center;
    color: #666666;
    margin-bottom: 30px;
}

.payment-property {
    background: #f3f0e8;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.payment-property h2 {
    color: #183b2b;
    margin-bottom: 12px;
}

.payment-property p {
    color: #555555;
    margin: 8px 0;
}

.payment-amount-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #183b2b;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.payment-amount-box span {
    font-size: 15px;
}

.payment-amount-box strong {
    color: #c89b3c;
    font-size: 22px;
}

.payment-notice {
    background: #f9f9f9;
    border-left: 4px solid #c89b3c;
    padding: 15px 18px;
    margin-bottom: 25px;
}

.payment-notice p {
    color: #555555;
    margin: 5px 0;
}

.payment-card .property-payment-button {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 7px;
    background: #c89b3c;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.payment-card .property-payment-button:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.payment-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #183b2b;
    text-decoration: none;
    font-weight: 500;
}

.payment-back-link:hover {
    color: #c89b3c;
}

/* ===== ADMIN SETTINGS ===== */

.settings-section {
    margin-top: 30px;
}

.settings-section h2 {
    color: #183b2b;
    margin-bottom: 8px;
}

.settings-section > p {
    color: #666666;
    margin-bottom: 25px;
}

.settings-card {
    width: 100%;
    max-width: 700px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5px;
    border-bottom: 1px solid #eeeeee;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item span {
    color: #777777;
    font-size: 14px;
}

.settings-item strong {
    color: #183b2b;
    font-size: 15px;
}

.settings-form-group {
    margin-bottom: 20px;
}

.settings-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #183b2b;
    font-size: 14px;
    font-weight: 600;
}

.settings-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.settings-form-group input:focus {
    border-color: #c89b3c;
}

.settings-button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 7px;
    background: #183b2b;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.settings-button:hover {
    background: #c89b3c;
}

/* ==============================
   MY PAYMENTS PAGE
================================ */

.my-payments-header {
    margin-bottom: 15px;
}

.my-payments-header h1 {
    color: #183b2b;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.my-payments-header span {
    display: block;
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}

.my-payments-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.my-payments-table th {
    background: #183b2b;
    color: #ffffff;
    padding: 15px 18px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.my-payments-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #eeeeee;
    color: #333333;
    font-size: 14px;
}

.my-payments-table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.my-payments-table tbody tr:hover {
    background: #f3f0e8;
}

.my-payments-table th:first-child,
.my-payments-table td:first-child {
    text-align: center;
}

.payment-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payment-status.paid {
    background: #d4edda;
    color: #155724;
}

.payment-status.pending {
    background: #fff3cd;
    color: #856404;
}

.payment-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.payment-status.cancelled {
    background: #e2e3e5;
    color: #383d41;
}

/* =========================
   FORGOT PASSWORD PAGE
========================= */

.forgot-password-page {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: #f7f7f5;
}

.forgot-password-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.forgot-password-card h1 {
    color: #183b2b;
    text-align: center;
    font-size: 30px;
    margin: 0 0 10px;
}

.forgot-password-intro {
    color: #666666;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.forgot-password-card form {
    display: flex;
    flex-direction: column;
}

.forgot-password-card label {
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.forgot-password-card input[type="email"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.forgot-password-card input[type="email"]:focus {
    border-color: #c89b3c;
}

.forgot-password-card button {
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    border: none;
    border-radius: 7px;
    background: #183b2b;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.forgot-password-card button:hover {
    background: #c89b3c;
}

.forgot-password-message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 7px;
    background: #f3f0e8;
    color: #555555;
    font-size: 14px;
}

.back-to-login {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #183b2b;
    font-size: 14px;
    text-decoration: none;
}

.back-to-login:hover {
    color: #c89b3c;
}


/* =========================
   RECENT ACTIVITY
========================= */

.recent-activity-list {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.recent-activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    border-bottom: 1px solid #eeeeee;
}

.recent-activity-item:last-child {
    border-bottom: none;
}

.recent-activity-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f0e8;
    border-radius: 10px;
    font-size: 20px;
}

.recent-activity-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.recent-activity-content strong {
    color: #183b2b;
    font-size: 14px;
}

.recent-activity-content span {
    color: #444444;
    font-size: 14px;
}

.recent-activity-content small {
    color: #888888;
    font-size: 12px;
    margin-left: auto;
}

/* =========================
   CONTACT FORM MESSAGE
========================= */

.contact-form-message {
    padding: 12px 15px;
    margin: 20px 0;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==============================
   TERMS & CONDITIONS PAGE
   ============================== */

.legal-page {
    background: #f7f7f7;
    padding: 60px 20px;
    min-height: calc(100vh - 80px);
}

.legal-container {
    max-width: 950px;
    margin: 0 auto;
    background: #ffffff;
    padding: 45px 55px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.legal-container h1 {
    color: #183b2b;
    font-size: 34px;
    margin-bottom: 15px;
}

.legal-intro {
    color: #666666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    color: #183b2b;
    font-size: 20px;
    margin-bottom: 10px;
}

.legal-section p {
    color: #555555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 25px;
    margin-top: 10px;
}

.legal-section li {
    color: #555555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 7px;
}

.legal-section a {
    color: #c89b3c;
    font-weight: 600;
}

.legal-updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
    color: #888888;
    font-size: 13px;
}


/* Mobile */

@media (max-width: 768px) {

    .legal-page {
        padding: 30px 15px;
    }

    .legal-container {
        padding: 30px 22px;
    }

    .legal-container h1 {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 18px;
    }

}

/* TERMS POPUP */
.terms-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.terms-popup-box {
    width: 100%;
    max-width: 550px;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.terms-popup-box h2 {
    color: #183b2b;
    margin-bottom: 15px;
}

.terms-popup-box p {
    color: #555555;
    line-height: 1.7;
}

.terms-popup-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.terms-popup-links a {
    color: #c89b3c;
    font-weight: 600;
}

.terms-popup-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

.terms-popup-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

#declineTerms {
    background: #eeeeee;
    color: #333333;
}

#acceptTerms {
    background: #183b2b;
    color: #ffffff;
}

