/* home.css */

/* ─── 1. Global Flex Layout ─── */
html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;

  /* make the page a column flex container */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* allow <main> to fill remaining space */
main {
  flex: 1 0 auto;
}

/* ─── 2. Footer Auto-Push Down ─── */
footer {
  margin-top: auto;           /* push footer to bottom when content is short */
  width: 100%;
  background: #e0e0e0;
  display: flex;
  justify-content: center;
  padding: 20px 40px;
  box-sizing: border-box;
}

.footer-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── 3. Fluid Sections & Typography ─── */

/* Hero Section */
.hero {
  margin: clamp(1rem, 5vw, 3rem) auto 0;
  padding: clamp(1rem, 5vw, 3rem);
  max-width: 1200px;
}
.hero .main-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 500;
  color: #000;
  margin-top: 2vw;
  min-width: 300px;
}
.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  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/2025KevinFlanneryHeadshot.png') center/cover no-repeat;
  border-radius: 16px;
  margin: 40px 0 0 0;
}

/* Loan Options */
.loan-options {
  margin: clamp(1rem, 5vw, 3rem) auto 0;
  padding: clamp(1rem, 5vw, 3rem);
  max-width: 500px;
  position: relative;
  z-index: 2;
}
.loan-options .option {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.loan-options .icon {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
}
.loan-options h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  min-width: 180px;
  text-decoration: underline;
  color: #000;
  line-height: 1.2;
}

/* Meet Kevin Section */
.meet-section {
  margin: clamp(1rem, 5vw, 3rem) auto 0;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem);
  max-width: 1440px;
  background: #f0f0f0;
  border-radius: 24px;
  box-sizing: border-box;
  position: relative;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);  /* same as .testimonials h2 */
  color: #000;                            /* black text */
  margin-bottom: clamp(1rem, 2vw, 2rem)
}
.meet-photo-bg {
  width: 100%;
  max-width: 780px;
  height: 560px;
  background: #060505;
  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;
  object-fit: cover;
  display: block;
  background: #000;
  margin: 0;
}

/* Testimonials */
.testimonials {
  margin: clamp(1rem, 5vw, 3rem) auto 0;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem);
  max-width: 1440px;
  background: #c8d0dc;
  border-radius: 24px;
  box-sizing: border-box;
  z-index: 1;
}
.testimonials h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #000000;
  margin-bottom: 32px;
  text-align: center;
  width: 100%;
}
.testimonials p {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.5;
  color: #000000;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}
/* ─── Mortgage Tips Section Styles ─── */

/* 1. Container */
.mortgage-tips {
  margin: clamp(2rem, 6vw, 4rem) auto;
  padding: clamp(2rem, 6vw, 4rem);
  max-width: 1200px;
  background: #f9f9f9;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  position: relative;
}

/* 2. Section Title */
.mortgage-tips .tips-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #000000;
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

/* 3. Tips Content Layout */
.mortgage-tips .tips-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 2rem);
  position: relative;
}

/* 4. Accent Boxes */
.mortgage-tips .accent-box {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 12px;
  color: #000000;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 5. Paragraph Blocks */
.mortgage-tips .tips-content p {
  /* background-color: #fff; */
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 12px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
}


/* 7. Call-to-Action Box */
.mortgage-tips .tips-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  background-color: #fff;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  font-size: clamp(1rem, 2vw, 1.25rem);
}


/* ─── 4. Decorative Shapes (unchanged) ─── */
.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; right:-200px; top:639px;  background:#964006; }
.shape4  { width:406px; height:406px; right:-170px; 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; right:-200px; top:3130px; background:#013583; }
.shape14 { width:344.92px; height:367.25px; right:-170px; top:3164.37px; background:#f0eeee; }

/* ─── 5. Navbar & Dropdown (unchanged) ─── */
.navbar {
  width: 100%;
  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;
}
.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
  padding: 0;
}

.dropdown-menu {
  display: none;
  position: fixed;      /* ← make it stick to the viewport */
  top: 60px;            /* same offset below your sticky header */
  left: 40px;           /* adjust as needed to line up under “Menu” */
  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;
}


/* ─── 6. Icons (unchanged) ─── */
.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; }

/* ─── 7. Mobile-First Media Queries ─── */
@media (min-width: 600px) {
  /* Tablet & up tweaks */
  .meet-section { min-height: 600px; }
  .testimonials p { font-size: clamp(1rem, 1.2vw, 1.5rem); }
}

@media (min-width: 900px) {
  /* Desktop & up tweaks */
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero .hero-image {
    max-height: 600px;
  }
  .meet-photo-bg {
    height: 40vw;
    min-height: 220px;
    max-height: 320px;
  }
  .meet-photo {
    height: 40vw;
    min-height: 200px;
    max-height: 280px;
  }
  /* adjust shapes further if desired */
}
