/* Global Resets & Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
}
:root {
  --primary-blue: #013267; /* or #0B3871 if you prefer */
  --light-blue: #1a4d8c;
  --text-dark: #1a2b3c;
}

/* HEADER */
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--primary-blue);
  color: #fff;
  border-bottom: 1px solid #5A839A;
}
.logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.logo .background {
  width: 100px;
  height: 100px;
  background-color: #5A839A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  max-width: 70%;
  height: auto;
}
.text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 15px;
}
.text p {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}
.text small {
  font-size: 12px;
  color: #FFFFFF;
  text-align: left;
}
.middle-logo {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.middle-logo img {
  width: 120px;
  height: auto;
}
.company-subtitle {
  font-size: 25px;
  font-weight: bold;
  color: #FFFFFF;
  margin-top: 8px;
  text-align: center;
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 20px;
  width: 100%;
}
.contact .name {
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
}
.contact .info {
  font-size: 14px;
  color: #E6E6E6;
  margin: 2px 0;
}
.contact .info a {
  color: #A8DADC;
  text-decoration: none;
}

/* NAVIGATION */
.nav-container {
  background: var(--light-blue);
  padding: 0.5rem 0;
}
.nav-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 2rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* MAIN CONTENT */
.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.left-section h1 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.left-section h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}
.features-list {
  list-style: none;
  margin: 2rem 0;
}
.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: start;
  gap: 1rem;
  color: var(--text-dark);
}
.features-list li:before {
  content: "•";
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}
.cta-button {
  display: inline-block;
  background: #0b57d0;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background: var(--light-blue);
}

/* FORM SECTION */
.mortgage-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mortgage-form h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.option-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.option-button {
  padding: 1rem;
  border: none;
  border-radius: 4px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 1rem;
}
.option-button:hover {
  background: #e9ecef;
}
.next-button {
  background: var(--primary-blue);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.next-button:hover {
  background: var(--light-blue);
}

/* FOOTER */
footer {
  background: #013267;
  color: white;
  padding: 4rem 2rem 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #cccccc;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

/* MEDIA QUERIES */
@media (min-width: 768px) {
  .header {
    flex-wrap: nowrap;
    flex-direction: row;
  }
  .logo {
    margin-bottom: 0;
  }
  .contact {
    align-items: flex-end;
    width: auto;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
  }
}

/* Updated Header styles with bright blue theme */


.logo .text {
  color: white;
}

.logo .text small {
  color: rgba(255, 255, 255, 0.9);
}
.logo .background {
    width: 170px;
    height: 80px;
    background-color: #1c9ce3;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
}


    .main-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      padding: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .left-section {
      background: white;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .left-section:hover {
      transform: translateY(-5px);
    }

    .features-list li {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
      padding: 0.5rem;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .features-list li i {
      margin-right: 1rem;
      color: #3498db;
      font-size: 1.2rem;
    }

    .features-list li:hover {
      background: #f8f9fa;
      transform: translateX(10px);
    }

    .cta-button {
      display: inline-flex;
      align-items: center;
      padding: 1rem 2rem;
      background: #3498db;
      color: white;
      text-decoration: none;
      border-radius: 6px;
      transition: all 0.3s ease;
      font-weight: bold;
    }

    .cta-button:hover {
      background: #2980b9;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(52,152,219,0.3);
    }

    .cta-button i {
      margin-left: 0.5rem;
    }
