* {
    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;
    }
}



/* hero section */

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    animation: heroSlider 18s infinite linear;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroSlider 20s infinite linear;
}


@keyframes heroSlider {
    0%   { background-image: url("./image/home3.webp"); }
    33%  { background-image: url("./image/home4.webp"); }
    66%  { background-image: url("./image/home1.webp"); }
    100% { background-image: url("./image/home2.webp"); }
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-section .content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 20px;
}

.hero-section .btn-primary {
    background-color: #0d6efd;
    font-size: 18px;
    border-radius: 30px;
    padding: 10px 28px;
    transition: 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #0048c7;
    transform: scale(1.05);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        height: 90vh;
    }

    .hero-section h1 {
        font-size: 35px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .hero-section .btn-primary {
        font-size: 17px;
        padding: 8px 26px;
    }
}


@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        animation: heroSlider 15s infinite linear; 
    }

    .hero-section h1 {
        font-size: 28px;
        text-align: center;
        padding: 0 10px;
    }

    .hero-section p {
        font-size: 16px;
        text-align: center;
        padding: 0 15px;
    }

    .hero-section .btn-primary {
        font-size: 16px;
        padding: 8px 22px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 75vh;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .hero-section .btn-primary {
        font-size: 14px;
        padding: 6px 18px;
    }
}

/* section why choose us */
.why-choose-us {
    background: linear-gradient(135deg, rgb(10, 2, 46), rgb(3, 3, 62));
    padding: 60px 20px;
    font-family: Arial, sans-serif;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: auto;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.why-choose-us .intro {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-box {
    background: linear-gradient(135deg, rgb(4, 4, 41), rgb(3, 3, 62)) ;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border: 1px solid aqua;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.12);
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: aqua;
}

.feature-box p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}


/* section slider */

.luxury-slider-section {
    padding: 80px 8%;
    background: #f6f6f6;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.luxury-title {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #1e2a47;
}

.luxury-slide {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.luxury-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.luxury-slide:hover {
    transform: scale(1.04);
}

.luxury-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    text-align: left;
}

.luxury-info h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 600;
}

.luxury-info p {
    font-size: 15px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
}

.swiper-pagination-bullet {
    background: #61dff3 !important;
}



/* section latest properties */


.latest-properties {
  background: #f4f4f4;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.latest-properties .container {
  max-width: 1200px;
  margin: 0 auto;
}

.latest-properties .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.property-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.property-image {
  width: 100%;
  height: 250px;
  display: block;
}

.property-info {
  padding: 20px;
}

.property-title {
  font-size: 22px;
  margin: 0 0 10px;
  color: #222;
}

.property-location {
  font-size: 16px;
  color: #777;
  margin-bottom: 8px;
}

.property-details {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.btn-details {
  display: inline-block;
  padding: 10px 20px;
  background: #0056b3;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  border-radius: 4px;
  transition: back 0.3s ease;
}

.btn-details:hover {
  background: #004494;
}

/* 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;
}


/* section about us */

.about-company {
  background: url("./image/commit.webp") no-repeat center center/cover;
  background-attachment: fixed;
  padding: 100px 8%;
  font-family: 'Poppins', sans-serif;
}


.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}


.about-content {
  flex: 1;
  min-width: 320px;
}

.about-content h5 {
  color: #ff7f50;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1e2a47;
  margin-bottom: 15px;
}

.about-content h3 {
  font-size: 20px;
  color: #444;
  margin-bottom: 25px;
}

.about-content .highlight {
  color: #ffb347;
  font-size: 32px;
  font-weight: 700;
}


.about-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}


.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about-points li {
  color: #333;
  margin-bottom: 10px;
  font-size: 16px;
}




.about-image {
  flex: 1;
  min-width: 320px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
  height: 500px;
}

.about-image img:hover {
  transform: scale(1.05);
}


@media (max-width: 992px) {

  .about-company {
    padding: 80px 6%;
    background-attachment: scroll; 
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .about-content h2 {
    font-size: 30px;
  }

  .about-content h3 {
    font-size: 18px;
  }

  .about-image img {
    max-width: 450px;
    height: 400px;
  }
}



@media (max-width: 768px) {

  .about-company {
    padding: 70px 5%;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 15px;
  }

  .about-points li {
    font-size: 15px;
  }

  .about-image img {
    max-width: 400px;
    height: 350px;
  }
}



@media (max-width: 576px) {

  .about-company {
    padding: 60px 4%;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .about-content h3 {
    font-size: 16px;
  }

  .about-content p {
    font-size: 14px;
    text-align: left;
  }

  .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
  }
}


/* section properties details  */

.latest-rent {
    padding: 70px 7%;
    background: url("./image/bg-energy.avif") no-repeat center center/cover;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
}

.rent-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

.rent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.rent-card {
    background: linear-gradient(135deg, aqua, white);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.rent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.rent-img {
    position: relative;
}

.rent-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.rent-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ff7f50;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.rent-info {
    padding: 18px 20px;
}

.rent-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e2a47;
}

.rent-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.rent-location i {
    margin-right: 5px;
    color: #ff7f50;
}

.rent-features {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #444;
}


@media screen and (max-width: 1200px) {
    .rent-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media screen and (max-width: 992px) {
    .rent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media screen and (max-width: 768px) {
    .latest-rent {
        padding: 50px 5%;
    }

    .rent-title {
        font-size: 28px;
    }

    .rent-card img {
        height: 200px;
    }
}


@media screen and (max-width: 576px) {
    .rent-grid {
        grid-template-columns: 1fr;
    }

    .rent-card img {
        height: 180px;
    }

    .rent-features {
        gap: 10px;
        font-size: 13px;
    }
}


@media screen and (max-width: 400px) {
    .rent-info h3 {
        font-size: 16px;
    }

    .rent-location {
        font-size: 13px;
    }

    .rent-tag {
        font-size: 12px;
        padding: 4px 10px;
    }
}



/* section statistics */

.statistics-section {
    background: url("./image/back1.webp") no-repeat center center/cover fixed;
    padding: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 85%;
    margin: auto;
    gap: 30px;
}

.stat-box {
    background: linear-gradient(135deg, rgb(3, 0, 35), rgb(2, 2, 109));
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.stat-box h2 {
    font-size: 42px;
    font-weight: 700;
    color: yellow;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 18px;
    color: white;
    font-weight: 500;
}


@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}




/* 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;
    }
}
