/* Global Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #1E2A38;
}

header {
  background-color: #1E2A38;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
}
/* Header Branding */
.logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo .brand {
  color: #CDA434;
}

.logo .agent-name {
  color: white;
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 500;
}


.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #CDA434;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-list li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #CDA434;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background: linear-gradient(135deg, #ffffff 60%, #f4f4f4);
}

.hero-content {
  flex: 1 1 50%;
  max-width: 550px;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #1E2A38;
  margin-bottom: 10px;
}

.hero-content .highlight {
  color: #CDA434;
}

.hero-content h2 {
  color: #CDA434;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.hero-content p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.hero-image img {
  width: 320px;
  border-radius: 12px;
  border: 4px solid #CDA434;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-caption {
  font-style: italic;
  margin-top: 10px;
  color: #1E2A38;
  font-size: 1rem;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 6%;
  }

  .hero-image img {
    width: 250px;
    margin-top: 20px;
  }

  .hero-caption {
    font-size: 0.95rem;
  }
}


/* Sections */
section {
  padding: 60px 10%;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: auto;
}

.whychoose {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-color: #f8f8f8;
}

.why-img img {
  width: 300px;
  border-radius: 8px;
  border: 3px solid #CDA434;
}

.why-text ul {
  list-style: none;
  text-align: left;
  max-width: 400px;
}

.why-text li {
  padding: 8px 0;
  font-size: 1rem;
}

.cta-button {
  background-color: #CDA434;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #b49130;
}

footer {
  background-color: #1E2A38;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Why Choose Me Section */
.whychoose-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 70px 10%;
  background-color: #ffffff;
}

.whychoose-content {
  flex: 1 1 45%;
  max-width: 500px;
}

.whychoose-content h2 {
  color: #1E2A38;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.whychoose-content p {
  color: #555;
  line-height: 1.6;
  font-size: 1.05rem;
}

.whychoose-image {
  flex: 1 1 50%;
  text-align: center;
}

.whychoose-image img {
  width: 420px; /* Increased size */
  max-width: 100%;
  border-radius: 14px;
  border: 4px solid #CDA434;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.whychoose-image img:hover {
  transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 768px) {
  .whychoose-section {
    flex-direction: column;
    text-align: center;
  }

  .whychoose-image img {
    width: 300px; /* still large but fits mobile */
    margin-top: 25px;
  }
}

/* Insights / Blog Section */
.insights {
  background-color: #f4f4f4;
  padding: 60px 10%;
}

.insights h2 {
  color: #1E2A38;
  margin-bottom: 15px;
}

.insights .intro-text {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #444;
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.blog-card h3 {
  color: #CDA434;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #1E2A38;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: #CDA434;
}

/* Responsive blog cards */
@media (max-width: 768px) {
  .blog-container {
    flex-direction: column;
    align-items: center;
  }

  .blog-card {
    width: 90%;
  }
}
/* Reviews and Feedback Section */
.reviews {
  background-color: #f8f8f8;
  padding: 60px 10%;
  text-align: center;
}

.reviews h2 {
  color: #1E2A38;
  margin-bottom: 30px;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.review-card {
  background-color: #fff;
  border-left: 4px solid #CDA434;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.review-text {
  font-style: italic;
  color: #333;
}

.review-author {
  text-align: right;
  color: #1E2A38;
  font-weight: 600;
  margin-top: 10px;
}

/* Feedback form */
.feedback-form {
  background-color: #1E2A38;
  color: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: auto;
}

.feedback-form h3 {
  color: #CDA434;
  margin-bottom: 20px;
}

.feedback-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feedback-form input,
.feedback-form textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.feedback-form button {
  align-self: center;
  background-color: #CDA434;
  border: none;
  padding: 10px 25px;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feedback-form button:hover {
  background-color: #b49130;
}

/* Responsive feedback & reviews */
@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    width: 90%;
  }

  .feedback-form {
    padding: 25px;
  }
}
/* Feedback Section */
.feedback-section {
  background-color: #f9f9f9;
  padding: 60px 10%;
  text-align: center;
}

.feedback-section h2 {
  color: #1E2A38;
  font-size: 2rem;
  margin-bottom: 10px;
}

.feedback-section p {
  color: #555;
  margin-bottom: 30px;
}

.feedback-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1E2A38; /* dark navy for contrast */
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}


.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #CDA434;
  box-shadow: 0 0 4px rgba(205, 164, 52, 0.4);
}

.feedback-form button {
  display: inline-block;
  margin-top: 10px;
}
/* Google Review Section */
.google-review-section {
  background-color: #f9f9f9;
  padding: 60px 10%;
  text-align: center;
  border-top: 3px solid #CDA434;
}

.google-review-section h2 {
  color: #1E2A38;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.google-review-section p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.google-rating-box {
  background-color: white;
  display: inline-block;
  padding: 25px 40px;
  border-radius: 12px;
  border: 2px solid #CDA434;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stars {
  font-size: 1.6rem;
  color: #CDA434;
  margin-bottom: 10px;
}

.rating-text {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.google-rating-box .cta-button {
  background-color: #CDA434;
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.google-rating-box .cta-button:hover {
  background-color: #b6902b;
}

/* --- Responsive Mobile Navigation (Menu Compression) --- */
@media (max-width: 992px) {
    /* Show the hamburger icon */
    .menu-toggle {
        display: flex;
        z-index: 1001; /* Keep the toggle on top of the dropdown menu */
    }

    /* Ensure logo and toggle are correctly spaced */
    .navbar {
        justify-content: space-between;
    }
    
    /* Hide menu links by default and set up dropdown styling */
    .nav-list {
        display: none;
        flex-direction: column; /* Stack links vertically when visible */
        width: 100%;
        position: absolute;
        top: 60px; /* Aligns dropdown right below the header */
        left: 0;
        background-color: #1E2A38; /* Match header background */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 999;
        text-align: center;
        padding: 0;
    }

    /* Show the menu when the 'active' class is added by JS */
    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
    }

    .nav-list li a {
        display: block; /* Makes the entire block clickable */
        padding: 15px 0;
        color: white;
    }

    /* Hamburger animation for X icon */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}



