* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.header {
    width: 100%;
    background: #0d1625;
    padding: 15px 5%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    height: 80px;
}


.header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo img {
    width: 150px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #00aaff;
}


.loginbtn {
    background: #007bff;
    border: none;
    padding: 3px 18px;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.loginbtn:hover {
    background: #005fcc;
    transform: scale(1.05);
}


.menu-icon {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}

.dropdown-menu {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: auto !important;
}


.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}


.dropdown:hover .dropdown-menu {
  display: block;
}


.dropdown-menu li a {
  color: #fff; 
  padding: 5px 0 !important;
  display: block;
  text-decoration: none;
  background: transparent !important;
}

.dropdown-menu li a:hover {
  color: #0db2ff;
  background: transparent !important;
}


@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: -600px; 
        left: 0;
        width: 100%;
        background: #0d1625;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 0 30px 0;
        transition: 0.4s ease;
        box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
    }

    .nav-links.active {
        top: 60px; 
    }

    .nav-links li a {
        font-size: 18px;
    }

    .loginbtn {
        font-size: 18px;
        padding: 10px 28px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 130px;
    }

    .nav-links li a {
        font-size: 17px;
    }
}


/* section hero */

.hero2 {
  height: 100vh;
  background: url("./image/family-villa.webp") no-repeat center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 650px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}


/* section featured property */


.featured-properties {
  padding: 80px 5%;
  background: #f8f9fa;
  text-align: center;
}

.section-title h2 {
  font-size: 36px;     
  margin-bottom: 10px;
}

.section-title p {
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
}

.propertys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.propertys-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.propertys-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.propertys-img {
  position: relative;
}

.propertys-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff7a00;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 5px;
}

.badge.rent {
  background: #007aff;
}

.propertys-info {
  padding: 20px;
  text-align: left;
}

.propertys-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.location {
  color: #666;
  margin-bottom: 12px;
  font-size: 14px;
}

.details {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #444;
}

.price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ff7a00;
}

.view-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #ff7a00;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.view-btn:hover {
  background: #e06200;
}



@media (max-width: 1200px) {
  .section-title h2 {
    font-size: 32px;
  }
}


@media (max-width: 992px) {
  .featured-properties {
    padding: 60px 4%;
  }

  .property-img img {
    height: 200px;
  }

  .section-title h2 {
    font-size: 30px;
  }
}


@media (max-width: 768px) {
  .section-title h2 {
    font-size: 26px;
  }

  .property-info h3 {
    font-size: 18px;
  }

  .price {
    font-size: 20px;
  }

  .property-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}


@media (max-width: 576px) {
  .featured-properties {
    padding: 50px 3%;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 14px;
  }

  .property-img img {
    height: 180px;
  }

  .property-card {
    border-radius: 12px;
  }

  .details {
    font-size: 13px;
  }

  .view-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

@media (max-width: 400px) {
  .section-title h2 {
    font-size: 22px;
  }

  .property-info h3 {
    font-size: 16px;
  }

  .property-img img {
    height: 160px;
  }
}



.why-choose {
  padding: 80px 5%;
  background: linear-gradient(135deg, aqua, blue, aqua, blue,aqua);
  text-align: center;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-box {
  background: linear-gradient(135deg, aqua,rgb(120, 234, 139));
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #ff7a00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-box p {
  font-size: 14px;
  color: #666;
}



@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .why-choose {
    padding: 60px 3%;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .feature-box {
    padding: 25px 18px;
  }
}


/* section stat */

.stats-section {
    width: 100%;
    padding: 80px 60px;
    background: #f8f8f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 40px;
    align-items: center;
}

.stats-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.stat-box h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    display: inline-block;
}

.unit {
    font-size: 30px;
    margin-left: 6px;
    font-weight: 600;
    color: #444;
}

.stat-box p {
    margin-top: 10px;
    font-size: 18px;
    color: #222;
    font-weight: 500;
}

.stat-box .desc {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

.stats-right img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}



@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-right img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .stats-left {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 25px;
    }

    .stat-box h2 {
        font-size: 32px;
    }

    .unit {
        font-size: 24px;
    }
}


/* section property showcase */

.property-showcase {
    width: 100%;
    padding: 80px 50px;
    background: #f5f5f5;
}

.property-grid {
    display: grid;
    grid-template-columns: 600px auto;
    gap: 30px;
    align-items: stretch;
}


.property-left {
    position: relative;
    width: 100%;
    height: 700px;
}

.property-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.left-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
}


.property-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.property-card {
    position: relative;
    height: 330px;
    overflow: hidden;
    border-radius: 14px;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease-in-out;
}


.property-card:hover img {
    transform: scale(1.1);
}


.property-info {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    transition: 0.3s ease-in-out;
}

.property-card:hover .property-info {
    bottom: 0;
}


@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-left {
        height: 500px;
    }

    .property-right {
        grid-template-columns: 1fr 1fr;
    }

    .property-card {
        height: 280px;
    }
}


@media (max-width: 768px) {
    .property-showcase {
        padding: 60px 30px;
    }

    .property-right {
        grid-template-columns: 1fr;
    }

    .property-left {
        height: 400px;
    }

    .property-card {
        height: 260px;
    }
}



@media (max-width: 480px) {
    .property-showcase {
        padding: 40px 20px;
    }

    .property-left {
        height: 300px;
    }

    .left-overlay {
        padding: 15px 18px;
    }

    .property-card {
        height: 220px;
    }

    .property-info {
        padding: 15px;
    }
}



/* section agent */


.agent-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgb(237, 242, 104),aqua, rgb(237, 242, 104));
    font-family: Arial, sans-serif;
}

.agent-section .container {
    max-width: 1200px;
    margin: auto;
}

.agent-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.agent-card {
    text-align: center;
    background: linear-gradient(135deg, pink, aqua);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.agent-card:hover {
    transform: translateY(-6px);
}

.agent-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.agent-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s ease;
}

.agent-card:hover img {
    filter: brightness(70%);
}


.social-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: 0.4s ease;
}

.social-icons a {
    background: #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #0077b6;
    color: #fff;
}

.agent-card:hover .social-icons {
    opacity: 1;
}

.agent-card h3 {
    font-size: 22px;
    margin-top: 15px;
    color: #222;
}

.agent-card p {
    color: #777;
    margin-top: 5px;
}


/* Footer Section */
.footer {
    background: #0d1b2a;
    color: #ffffff;
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 8%;
}

/* About Section */
.footer-about {
    flex: 1;
    min-width: 260px;
}

.footer-about img {
    width: 160px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    color: #dfe6ee;
    max-width: 320px;
}


.footer h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffcc66;
    font-weight: 600;
}


.footer-links,
.footer-support {
    flex: 1;
    min-width: 200px;
}

.footer-links ul,
.footer-support ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-support li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
    color: #dfe6ee;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-support a:hover {
    color: #ffcc66;
    padding-left: 5px;
}


.footer-contact {
    flex: 1;
    min-width: 260px;
}

.footer-contact p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #dfe6ee;
}

.social-icon {
    margin-top: 10px;
}

.social-icon a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color:  #dfe6ee;
    background: rgba(13, 6, 230, 0.1);
    padding: 10px 12px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.social-icon a:hover {
    background: #ffcc66;
    color: #0d1b2a;
}


.footer-bottom {
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    background: #0a1622;
    font-size: 14px;
    color: #c8d2dc;
}

.footer-bottom p {
    margin: 0;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-about p {
        max-width: 100%;
    }

    .social-icon a {
        margin: 0 8px;
    }
}
