/* home.css */
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  width: 100vw;
  background: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Decorative shapes */
.shapes .shape {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
}
.shape1  { width:482px; height:482px; left:-177px;  top:-331px;  background:#964006; }
.shape2  { width:406px; height:406px; left:-139px;  top:-293px;  background:#fff; }
.shape3  { width:482px; height:482px; left:1132px;  top:639px;   background:#964006; }
.shape4  { width:406px; height:406px; left:1170px;  top:677px;   background:#fff; }
.shape7  { width:482px; height:482px; left:-227px;  top:783px;   background:#013583; }
.shape8  { width:406px; height:406px; left:-189px;  top:821px;   background:#fff; }
.shape11 { width:513.48px;height:482px; left:-259px;  top:2948px;  background:#964006; }
.shape12 { width:432.52px;height:406px; left:-218.52px;top:2986px;  background:#fff; }
.shape13 { width:409.48px;height:436px; left:895.89px;top:3130px;  background:#013583; }
.shape14 { width:344.92px;height:367.25px; left:928.17px;top:3164.37px;background:#fff; }

/* Navbar */
.navbar {
  width: 100vw;
  height: 60px;
  background: rgba(235,235,235,0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-left, .nav-right {
  font-size: 20px;
}
.nav-right .phone {
  margin-left: 20px;
}

/* Footer */
.footer {
  width: 100vw;
  height: 60px;
  background: rgba(235,235,235,0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
  margin-top: 60px;
}
.footer-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left, .footer-right {
  font-size: 20px;
}
.footer-right .phone {
  margin-left: 20px;
}
.copyright {
  color: #000;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  margin: 80px auto 0 auto;
  padding: 0 24px;
  min-height: 400px;
  position: relative;
}
.hero .main-title {
  font-size: 3vw;
  font-weight: 500;
  color: #000;
  margin-top: 2vw;
  min-width: 300px;
}
.hero .subtitle {
  font-size: 1.5vw;
  text-decoration: underline;
  color: #000;
  margin: 1vw 0 0 0;
  min-width: 200px;
}
.hero .hero-image {
  width: 100%;
  max-width: 1000px;
  min-height: 400px;
  max-height: 1000px;
  background: url('../src/images/IMG_1435.JPG') center/cover no-repeat;
  border-radius: 16px;
  margin: 40px 0 0 0;
}

/* Loan Options */
.loan-options {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 500px;
  margin: 60px auto 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.loan-options .option {
  display: flex;
  align-items: center;      /* Vertically center icon and text */
  gap: 16px;                /* Optional: consistent spacing */
  min-height: 64px;
}
.loan-options .icon {
  width: 128px;              /* Set to your SVG's intended display size */
  height: 128px;
  display: inline-block;
  border-radius: 8px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;           /* Prevent icon from shrinking */
  margin-right: 0;          /* Use gap instead for spacing */
}

.loan-options h3 {
  margin: 0;
  font-size: 2vw;
  min-width: 180px;
  text-decoration: underline;
  color: #000;
  line-height: 1.2;         /* Helps with vertical alignment */
}

.meet-section {
  width: 100%;
  max-width: 1440px;
  margin: 80px auto 0 auto;
  background: #ededed;
  border-radius: 24px;
  padding: 48px 24px 80px 24px;
  box-sizing: border-box;
  position: relative;
  min-height: 700px; /* Ensures the section is tall enough */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meet-photo-bg {
  width: 100%;
  max-width: 780px;
  height: 560px; /* 520px video + 20px top + 20px bottom */
  background: #691f1f;
  border-radius: 16px;
  margin: 0 auto 24px auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meet-photo {
  width: 100%;
  max-width: 780px;
  height: 520px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  object-fit: cover;
  display: block;
  background: #000;
  margin: 0;
}

/* Responsive adjustments for video and section */
@media (max-width: 900px) {
  .meet-section {
    min-height: 400px;
    padding: 24px 4vw 40px 4vw;
  }
  .meet-photo-bg {
    height: 45vw;
    min-height: 220px;
    max-height: 320px;
  }
  .meet-photo {
    height: 40vw;
    min-height: 200px;
    max-height: 280px;
  }
}

.testimonials {
  width: 100%;
  max-width: 1440px;
  margin: 80px auto 0 auto;
  background: #013583;
  border-radius: 24px;
  padding: 48px 24px 80px 24px;
  box-sizing: border-box;
}

.testimonials h2 {
  font-size: 2.5vw;
  color: #fff;
  margin-bottom: 32px;
}

.testimonials p {
  font-size: 1.5vw;
  line-height: 1.5;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

/* Add to home.css */
.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
  padding: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 40px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-radius: 8px;
  min-width: 200px;
  z-index: 999;
  flex-direction: column;
}

.dropdown-menu a {
  display: block;
  padding: 16px 24px;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu.show {
  display: flex;
}

.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
  padding: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 40px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-radius: 8px;
  min-width: 200px;
  z-index: 999;
  flex-direction: column;
}

.dropdown-menu a {
  display: block;
  padding: 16px 24px;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu.show {
  display: flex;
}

.icon-apply {
  background: url('../src/images/apply_loan_img.svg') center/contain no-repeat;
  width: 128px; 
  height: 128px;
}

.icon-quote {
  background: url('../src/images/loan_qt_img.svg') center/contain no-repeat;
  width: 64px; 
  height: 64px;
}

.icon-refinance {
  background: url('../src/images/loan_info_img.svg') center/contain no-repeat;
  width: 128px; 
  height: 128px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero, .loan-options, .meet-section, .testimonials {
    padding: 0 8vw;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero .hero-image {
    margin-left: 0;
    margin-top: 32px;
    width: 100%;
    min-width: 0;
    min-height: 200px;
    max-width: 100%;
    max-height: 400px;
  }
  .meet-photo {
    width: 100%;
    max-width: 100%;
    height: 40vw;
    max-height: 320px;
    margin: -80px auto 24px auto;
  }
  .meet-circle {
    right: 5vw; top: 60px;
    width: 80px; height: 80px;
  }
  .testimonials h2, .meet-section .section-title {
    font-size: 24px;
  }
  .testimonials p, .hero .subtitle, .loan-options h3, .learn-more {
    font-size: 16px;
  }
  .loan-options {
    padding-bottom: 120px; /* Add extra space at the bottom */
    margin-bottom: 60px;   /* Add extra margin if needed */
  }
  .shapes .shape {
    /* Optionally move shapes further down on small screens */
    top: calc(100% + 40px);
  }
}

/* Responsive circle accent scaling */
@media (max-width: 1200px) {
  .shapes .shape1, .shapes .shape3, .shapes .shape7, .shapes .shape9, .shapes .shape11, .shapes .shape13 {
    width: 32vw;
    height: 32vw;
    min-width: 180px;
    min-height: 180px;
    max-width: 400px;
    max-height: 400px;
  }
  .shapes .shape2, .shapes .shape4, .shapes .shape8, .shapes .shape10, .shapes .shape12, .shapes .shape14 {
    width: 26vw;
    height: 26vw;
    min-width: 120px;
    min-height: 120px;
    max-width: 340px;
    max-height: 340px;
  }
}
@media (max-width: 900px) {
  .shapes .shape1, .shapes .shape3, .shapes .shape7, .shapes .shape9, .shapes .shape11, .shapes .shape13 {
    width: 40vw;
    height: 40vw;
    min-width: 120px;
    min-height: 120px;
    max-width: 260px;
    max-height: 260px;
  }
  .shapes .shape2, .shapes .shape4, .shapes .shape8, .shapes .shape10, .shapes .shape12, .shapes .shape14 {
    width: 32vw;
    height: 32vw;
    min-width: 80px;
    min-height: 80px;
    max-width: 200px;
    max-height: 200px;
  }
}

/* Optional: Hide or fade some shapes on very small screens to reduce crowding */
@media (max-width: 600px) {
  .shapes .shape3, .shapes .shape4, .shapes .shape9, .shapes .shape10, .shapes .shape11, .shapes .shape12, .shapes .shape13, .shapes .shape14 {
    opacity: 0.2;
    pointer-events: none;
  }
}
