/* ===== GOOGLE FONT RESET ===== */

:root {
  /* Brand Colors */
  --primary-blue: #0d3aa5;
  --primary-green: #35d02a;
  --primary-orange: #ff6b00;

  /* Neutral Colors */
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;

  /* Effects */
  --radius: 20px;
  --radius-sm: 12px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);

  --transition: 0.35s ease;

  --gradient: linear-gradient(135deg, #0d3aa5 0%, #35d02a 100%);
}

/* ===== RESET ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 15px 32px;

  border: none;
  outline: none;

  font-size: 1rem;
  font-weight: 600;

  cursor: pointer;

  border-radius: 50px;

  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(239, 239, 239, 0.856);
  backdrop-filter: blur(18px);
  border-radius: 60px;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 35px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--primary-blue);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO ===== */

.hero {
  height: 100vh;
  background: url("../images/house3.jpg") center center/cover;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 750px;
}

.hero-tag {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* ===== TRUSTED SECTION ===== */

.trusted {
  background: white;
  padding: 60px 0;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 30px;

  text-align: center;
}

.trusted-grid h3 {
  font-size: 2rem;
  color: var(--primary-blue);
}

.trusted-grid p {
  color: var(--gray);
}

/* ===== ABOUT ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.about-image img {
  border-radius: var(--radius);

  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

  margin-top: 30px;
}

.box {
  background: white;

  padding: 25px;

  border-radius: var(--radius-sm);

  box-shadow: var(--shadow);
}

.box i {
  font-size: 1.5rem;

  color: var(--primary-green);

  margin-bottom: 15px;
}

/* ===== FEATURES ===== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.feature-card {
  background: white;

  padding: 40px 30px;

  text-align: center;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 3rem;

  color: var(--primary-green);

  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* PROPERTY FILTER STYLING */

.property-filter {
  padding: 30px 0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  background: #e5e7eb;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
}

/* PROPERTY SECTION  */

.properties {
  background: #f8fafc;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.property-card img {
  height: 250px;
  object-fit: cover;
}

.property-content {
  padding: 25px;
}

.price {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.property-content h3 {
  margin-bottom: 10px;
}

.property-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.property-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.view-btn {
  width: 100%;
  padding: 14px;
  border: none;
  cursor: pointer;
  background: var(--primary-blue);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.view-btn:hover {
  background: var(--primary-green);
}

/* =====================================
   MODAL
===================================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  animation: modalOpen 0.4s ease;
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content img {
  height: 350px;
  object-fit: cover;
}

.modal-body {
  padding: 25px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: white;
  z-index: 10;
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(51, 204, 51, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 25px;
}

.service-card h3 {
  margin-bottom: 20px;
  color: var(--primary-blue);
  font-size: 1.3rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  margin-top: 25px;
  color: var(--gray);
  line-height: 1.5;
}

.service-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-green);
}

/* =====================================
   TESTIMONIALS
===================================== */

.testimonials {
  background: var(--dark);
  color: white;
}

.testimonial-slider {
  max-width: 800px;
  margin: auto;
  position: relative;
}

.testimonial {
  display: none;
  text-align: center;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.testimonial p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial h4 {
  color: var(--primary-green);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  CONTACT  */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-grid h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}
.contact-grid p {
  color: var(--gray);
  margin-bottom: 30px;
  margin-top: 20px;
}

.contact-details {
  margin-top: 30px;
}

.contact-details li {
  margin-bottom: 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  font-size: 1.2rem;
  font-weight: 500;
}

.contact-details i {
  color: var(--primary-green);
  font-size: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(13, 58, 165, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form select {
  cursor: pointer;
}

/* =====================================
   GOOGLE MAP
===================================== */

.map-section {
  height: 450px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================================
   FOOTER
===================================== */

.footer {
  background: #081120;
  color: white;
  padding: 30px 0;
  text-align: center;
}

/* =====================================
   WHATSAPP BUTTON
===================================== */

.whatsapp-btn {
  position: fixed;

  right: 25px;
  bottom: 25px;

  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #25d366;
  color: white;

  font-size: 30px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

  z-index: 999;

  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* =====================================
   BACK TO TOP
===================================== */

#topBtn {
  position: fixed;

  bottom: 100px;
  right: 25px;

  width: 50px;
  height: 50px;

  border: none;

  cursor: pointer;

  background: var(--primary-blue);

  color: white;

  border-radius: 50%;

  display: none;

  z-index: 999;
}

#topBtn.show {
  display: block;
}

/* =====================================
   SCROLL ANIMATION
===================================== */

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .navbar {
    padding: 15px 20px;
  }

  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background: white;

    flex-direction: column;

    padding: 20px;

    display: none;

    border-radius: 20px;

    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-boxes {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trusted-grid {
    grid-template-columns: 1fr 1fr;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-features {
    flex-direction: column;
    gap: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .modal-content img {
    height: 250px;
  }
}

/* =====================================
   SMALL PHONES
===================================== */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 50px;
  }

  .whatsapp-btn {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }
}

/* Active Navigation Link */

.nav-menu a.active {
  color: var(--primary-green);
  font-weight: 600;
}
