@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Playfair+Display:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: none;
}



:root {
  --white: #F5F5F5;
  /*ORANGE
  --light-orange: #E69E4C;
  --dark-orange: #B84900;
    --cream: #F9F5F1;
 */
  --dark-gray: #1C1F22;
  --black: #030202;


  --blue: #348CC3;
  --navy: #043C5C;
  --must-yellow: #D98410;
  --gray: #AAAAAA;
  /*BLUE*/
    --light-orange: #348CC3;
    --dark-orange: #043C5C;
    --cream: #d7d6e4;

  /*GREEN 
    --light-orange: #588157;
    --dark-orange: #2c4931;
    --cream: #dde9c3;
*/
/*Blue yellow
    --light-orange: #D98410;
    --dark-orange: #043C5C;
    --cream: #F9F5F1;
*/


}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow: none;
  background-color: var(--white);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 13vh;
}

h2 {
  font-family: 'Playfair Display', sans-serif;
  font-size: clamp(3rem, 5vw, 7rem);
  margin: 0;
  font-weight: 500;
}

/* Nav Bar */
nav {
  position: fixed;
  font-family: 'Inter', 'sans-serif';
  top: 0px;
  width: 100%;
  font-size: clamp(0.7rem, 0.8vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 999;
  background-color: var(--white);
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-menu {
  display: none;
}

.nav-desktop-container {
  display: flex;
  margin-left: auto;
}


.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 5vw;
}

.nav-links-desktop a:hover {
  color: #333;
}

nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
}

nav a:not(.contact-btn):hover {
  border-bottom: 2px solid var(--light-orange);
}

.contact-btn {
  background-color: var(--light-orange);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.contact-btn:hover {
  background-color: var(--cream);
  color: var(--white);
}

.nav-menu,
.sidebar {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  flex-direction: column;
  padding: 0.5rem 0;
  padding-bottom: 0.25rem;
}

.dropdown-content a {
  padding: 0.75rem 1.25rem;
  display: block;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-content a:not(:last-child) {
  border-bottom: 1px dotted black;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
  color: #333;
}

.nav-links-desktop .dropdown:hover .dropdown-content {
  display: flex;
}

/* Mobile view adjustments */
@media (max-width: 800px) {

    body {
    overflow-x: hidden;
  }

  .nav-links-desktop,
  .nav-button-desktop {
    display: none;
  }

  .nav-menu {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
  }

  .sidebar .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: 2.5rem;
    font-size: clamp(0.8rem, 1vw, 1.5rem);
  }

  .contact-btn {
    background-color: transparent;
    border: 0px solid white;
    color: var(--white);
    padding: 0rem 0rem;
    border-radius: 0px;
    text-decoration: none;
  }


  .sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    box-sizing: border-box;
    height: 100%;
    background-color: rgba(255, 255, 255);
    padding: 2rem 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 2000;
    font-family: 'Inter', sans-serif;
    color: black;
    text-decoration: none;
  }

  .sidebar.active {
    right: 0 !important;
    display: block !important;
  }

  .close-sidebar {
    background: none;
    border: none;
    color: black;
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    right: 2rem;
    cursor: pointer;
    z-index: 1100;
  }

  .sidebar a {
    color: black;
    text-decoration: none;
    font-weight: 600;
  }

  .sidebar a:hover {
    color: #333;
    text-decoration: none;
  }

  .sidebar .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    text-align: center;
    width: 100%;

  }

  .sidebar .dropdown-content a {
    padding: 0.5rem 0;
    font-size: clamp(0.75rem, 0.75vw, 0.75rem);
    color: #222;
    font-weight: 600;
    margin: 0 auto;
    border: 0px;
  }

  .sidebar .dropdown.open .dropdown-content {
    display: block;
  }

  .sidebar .dropdown-toggle {
    cursor: pointer;
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: none;
}

#overlay.active {
  display: block;
}


/* HOMEPAGE */
/* Hero Section */
.hero {
  height: 90vh;
  width: 100%;
  background: url('media/insurance-stockpic.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  height: 90vh;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero>*:not(.hero-overlay) {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 5rem);
  color: var(--white);
  margin: 0px;
  margin-top: 20vh;
  letter-spacing: 1.5px;
}

.hero h4 {
  color: var(--white);
  font-family: 'Inter', serif;
  font-size: clamp(1rem, 2vw, 3rem);
  margin-top: -0.5vh;
  margin-bottom: 4vh;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 2vw;
}

.hero a {
  text-decoration: none;
  color: var(--black);
  background-color: var(--white);
  border-radius: 15px;
  padding: 0.65rem 1rem;
  font-family: 'Playfair Display', sans-serif;
  font-size: clamp(0.75rem, 1.25vw, 2rem);
  font-weight: 400;
}

/* Benefits Bar */
.benefits {
  height: auto;
  background-color: var(--light-orange);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.benefit {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.2rem;
  flex: 1;
}

.benefits div:not(:last-child) {
  border-right: 3px solid var(--white);
}

.benefit img {
  width: 50px;
  margin: 0rem 0.3rem;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--black);
  margin-left: 1vw;
}

.benefit-text p {
  margin: 0;
}

.benefit-text p:nth-child(1) {
  font-size: clamp(0.75rem, 1.5vw, 1.5rem);
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.benefit-text p:nth-child(2) {
  font-size: clamp(0.5rem, 1vw, 1rem);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

@media (max-width: 750px) {
  .benefit {
    flex-direction: column;
  }

  .benefit p {
    margin: 0 auto;
    text-align: center;
  }

  .benefit img {
    width: 30px;
    margin-bottom: 8px;
  }

  .benefit-text p:nth-child(1) {
    margin-bottom: 5px;
  }
}

/* Choose Us Section */
.choose-us {
  height: auto;
  background-color: var(--white);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 0vh;
}

.choose-us .left {
  width: 45vw;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.choose-us .right {
  width: 50vw;
  display: flex;
  gap: 2vw;
  padding: 1rem;
}

.section-tag {
  border-radius: 40px;
  width: fit-content;
  border: 2px solid var(--dark-orange);
  color: var(--dark-orange);
  display: flex;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  margin-bottom: 1.5vh;
  font-size: clamp(0.75rem, 1vw, 1.5rem);
}

.section-tag p {
  padding: 0px;
  margin: 0px;
}

.choose-us h2 {
  font-weight: bold;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.choose-us p {
  font-size: clamp(0.75rem, 1vw, 1.5rem);
  
}

.choose-us .statistic {
  border-radius: 20px;
  color: var(--dark-orange);
  border: 2px solid var(--dark-orange);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statistic h4 {
  font-size: clamp(1rem, 4vw, 5rem);
  font-weight: bold;
  letter-spacing: 1.5px;
  margin: 0px;
}

.statistic p {
  margin: 0px;
  width: 60%;
  text-align: center;
}

@media (max-width: 768px) {
  .choose-us {
    flex-direction: column;
    justify-content: center;
    margin: 2vh 0px;
    padding: 4vh 3vw;
  }

  .choose-us .left {
    width: 92%;
    padding: 0px;
  }

  .choose-us .right {
    width: 92%;
    padding: 0px;
    align-items: center;
    justify-content: space-between;
    margin: 2vh 0vh;
  }

  .statistic {
    width: 47%;
  }

}

/* Types of Services */
.insurance-types {
  padding: 7vh 5vw;
  background-color: var(--cream);
  text-align: center;
}

.insurance-types .heading {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insurance-types .section-tag p {
  margin: 0;
}

.insurance-types .section-tag {
  margin-bottom: 0px;
}

.toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 4vw;
  margin-bottom: 2rem;
  margin-left: 2vw;
}

.toggle-buttons div {
  padding: 0rem 0.2rem;
  background-color: transparent;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: clamp(1rem, 2vw, 2.5rem);
  letter-spacing: 1px;
}

.toggle-buttons div.active {
  border-bottom: 4px solid var(--dark-orange);
}

.cards {
  display: none;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cards.active {
  display: flex;
}

.cards.insurances .card {
  width: calc(33.333% - 1rem);
}

.cards.investments .card {
  width: calc(50% - 1rem);
}

.card {
  background-color: #f3f3f3;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  border: 2px solid var(--dark-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .img-border {
  border: 0px solid black;
  aspect-ratio: 1/1;
  width: fit-content;
  border-radius: 20px;
  padding: 0.2rem 0.4rem;
  margin-bottom: 1vh;
}

.card img {
  width: 3vw;
  min-width: 20px;
}

.card p {
  margin: 0px;
}

.card .name {
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin-bottom: 0.5rem;
}

.card .description {
  font-size: clamp(0.75rem, 0.9vw, 1.5rem);
  font-weight: 400;
}

@media (max-width: 768px) {

  .cards.insurances .card,
  .cards.investments .card {
    width: 45%;
  }

  .toggle-buttons {
    gap: 0.75rem;
  }
}

/* Why Get Insurance */
.get-insurance {
  align-items: flex-end;
  text-align: justify;
}

.why-insurance {
  padding: 5vh 3vw;
}

/* Reviews */

.reviews {
  display: flex;
  background-color: var(--cream);
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  margin-bottom: 8vh;
  padding: 6vh 0vh;
}

.reviews .section-tag {
  margin-bottom: 4vh;
}

.reviews-content {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4vh;
}

.reviews-track {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews-row {
  display: flex;
  gap: 5vw;
  width: max-content;
  will-change: transform;
  justify-content: flex-start;
  height: auto;
}

.review {
  flex: 0 0 auto;
  height: auto;
  width: 30vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: white;
  border-radius: 15px;
  transition: transform 0.3s ease;
  padding: 2% 3%;
}

.review:hover {
  transform: scale(1.03);
}

.reviews-row:hover {
  animation-play-state: paused;
}

.star {
  color: gold;
}

.review-text {
  font-size: clamp(0.7rem, 1.2vw, 1.4rem);
  margin: 0px;
  margin-top: 1.5vh;
  margin-bottom: 0.5vh;
}

.review-name {
  color: #333;
  margin-bottom: auto;
  font-size: clamp(0.7rem, 1vw, 1rem);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 800px) {
  .review {
    width: 50vw;
  }
}

/* Why Get Insurance */
@media (max-width: 768px) {
  .why-insurance {
    flex-direction: column-reverse;
  }
}



/* Contact Us Form */
/* Contact Us Section */
#contact-us {
  display: flex;
  flex-wrap: wrap;
  margin-top: none;
  gap: 4rem;
  padding: 2vh 8vw;
  padding-bottom: 8vh;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  align-items: center;
  justify-content: center;
}

.contact-left {
  flex: 2 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-left .reason {
  font-family: 'Playfair Display';
  font-size: clamp(1rem, 1.5vw, 2rem);
  margin-bottom: 5vh;
  max-width: 300px;
  text-align: center;
}


.contact-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 7vw;
  row-gap: 2vw;
}

.contact-reason {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-reason p {
  font-size: clamp(0.75rem, 1vw, 1.5rem);
  text-align: center;
}

.contact-reason img {
  width: clamp(50px, 8vw, 80px);
  height: auto;
  max-width: 100%;
  display: block;
}


.contact-right h2 {
  font-family: 'Playfair Display', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.contact-right p {
  font-size: clamp(0.75rem, 1vw, 1.5rem);
  color: var(--gray);
  max-width: 50ch;
}

.contact-right {
  flex: 1 1 40%;
  min-width: 280px;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--gray);
  background-color: var(--cream);
  border-radius: 4px;
  font-size: 1rem;
  color: white;
  resize: vertical;
}

.form-submit button {
  padding: 0.5rem 1.5rem;
  background-color: var(--cream);
  color: black;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.form-submit button:hover {
  background-color: white;
}


@media (max-width: 900px) {
  #contact-section {
    padding: 0 7vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    height: auto;
    padding-bottom: 5vh;
  }
}

/* Why Get Insurance */
@media (max-width: 768px) {
  .why-insurance {
    flex-direction: column-reverse;
  }
}


/* Contact Us Form */
/* Contact Us Section */
#contact-us {
  display: flex;
  flex-wrap: wrap;
  margin-top: none;
  gap: 4rem;
  padding: 2vh 8vw;
  padding-bottom: 8vh;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  align-items: center;
  justify-content: center;
}

.contact-left {
  flex: 2 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-left .reason {
  font-family: 'Playfair Display';
  font-size: clamp(1rem, 1.5vw, 2rem);
  margin-bottom: 5vh;
  max-width: 300px;
  text-align: center;
}


.contact-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 7vw;
  row-gap: 2vw;
}

.contact-reason {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-reason p {
  font-size: clamp(0.75rem, 1vw, 1.5rem);
}


.contact-right h2 {
  font-family: 'Playfair Display', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.contact-right p {
  font-size: clamp(0.75rem, 1vw, 1.5rem);
  color: var(--gray);
  max-width: 50ch;
}

.contact-right {
  flex: 1 1 40%;
  min-width: 280px;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--gray);
  background-color: var(--cream);
  border-radius: 4px;
  font-size: 1rem;
  color: white;
  resize: vertical;
}

.form-submit button {
  padding: 0.5rem 1.5rem;
  background-color: var(--cream);
  color: var(--black);
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.form-submit button:hover {
  background-color: white;
}

.contact-form select {
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--gray);
  background-color: var(--cream);
  border-radius: 4px;
  font-size: 0.6rem;
  color: var(--black); 
  font-family: 'Inter', sans-serif;
  appearance: none; 
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--black);}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg fill='%23000' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.contact-form input[type="file"] {
  padding: 0.5rem 0.5rem;
  border: 1px solid var(--gray);
  background-color: var(--cream);
  border-radius: 4px;
  font-size: 0.6rem;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.contact-form input[type="file"]::-webkit-file-upload-button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray);
  background-color: var(--cream);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  cursor: pointer;
}

.contact-form input[type="file"]:focus {
  outline: none;
  border-color: var(--black);
}


@media (max-width: 900px) {
  #contact-section {
    padding: 0 7vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    height: auto;
    padding-bottom: 5vh;
  }
}

/*Generic About Section*/

.badge {
  display: inline-block;
  border: 2px solid var(--dark-orange);
  color: var(--dark-orange);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 1rem;
  margin-top: 2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;

}

.insurance-top {
  display: flex;
  padding-left: 2rem;
  padding-right: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.insurance-text {
  flex: 1 1 55%;
}

.insurance-text h2 {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  margin: 0 0 1rem;
}

.insurance-text p {
  font-size: clamp(0.75rem, 1vw, 1.25rem);
  line-height: 1.6;
  color: var(--black);
}

.insurance-image-wrapper {
  position: relative;
  flex: 1 1 35%;
  max-width: 300px;
  margin-right: 3rem;
}

.insurance-image-wrapper img {
  width: 100%;
  border-radius: 1rem;
  position: relative;
  z-index: 2;
}

.insurance-image-wrapper .image-outline {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--dark-orange);
  border-radius: 1rem;
  z-index: 1;
}

@media (max-width: 700px) {
  .insurance-image-wrapper img {
    margin: 0 auto;
  }
}

/*Footer*/
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
  padding-top: 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  border-bottom: 1px solid #444;
  padding-bottom: 2rem;
}

.footer-left {
  flex: 1 1 250px;
  padding-left: 4rem;

}

.footer-left h2 {
  font-family: 'Playfair Display', sans-serif;
  font-size: 2rem;
  margin: 4;
  line-height: 1.2;
}

.footer-left p {
  font-family: 'Inter', sans-serif;
  margin: 0.5rem 0 0;
}

.footer-columns {
  display: flex;
  flex: 3 1 600px;
  flex-wrap: nowrap;
  padding-right: 8rem;
  justify-content: space-between;
  align-items: stretch!important;
  gap: 3rem;
  padding-left: 4rem;
  

}



.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
}



.footer-col i {
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-col a,
.footer-col span {
  color: var(--white);
  text-decoration: none;
  line-height: 1.4;
}


.footer-col a:hover {
  text-decoration: underline;
}

.address-block {
  align-items: flex-start!important;
}

.address-list {
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 0.70rem;
  color: #ccc;
  padding-left: 2rem;
  padding-right: 2rem;
  line-height: 1.4;
}

@media (max-width: 768px) {

  /* Left section centered */
  .footer-left {
    flex: 1 1 100%;
    padding: 0;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-left h2 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
  }

  .footer-left p {
    font-family: 'Inter', sans-serif;
    margin: 0.5rem 0 0;
  }

  /* Columns container */
  .footer-columns {
    display: flex;
    flex-wrap: nowrap;             
    justify-content: center;       /* center all columns */
    gap: 1.5rem;                  /* space between columns */
    padding-left: 1.5rem;
    padding-right: 2.5rem;
  }

  /* Columns themselves */
  .footer-col {
    flex: 1 1 0;                  /* equal width for all columns */
    min-width: 0;                 
    word-wrap: break-word;        
  }

  /* Make links/text wrap properly */
  .footer-col a,
  .footer-col span {
    white-space: normal;
    overflow-wrap: break-word;
  }
}




  
  


/*Developer Bar*/
.developer-bar {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 0.6rem 1rem;
  font-family: 'Aleo', sans-serif;
}

.developer-bar a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.developer-bar a:hover {
  color: #bbb;
}

/*Orange Bar -- importance/about/our mission*/

.importance-bar {
  background-color: var(--light-orange);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 3rem;
  padding: 4vw 2vw;
}

.importance-title {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  flex: 0 0 auto;
  margin-right: 2rem;
  margin-left: 1rem;
  color: var(--black);
}


.importance-text {
  flex: 1 1 60%;
  font-size: clamp(0.75rem, 1vw, 1.25rem);
  color: var(--black);
  line-height: 1.5;
}

@media(max-width: 768px) {
  .importance-text {
    margin: 2vh 5vw;
  }

  .importance-title {
    margin: 1vh 5vw;
  }
}

/*FAQ*/
.faq-section {
  background-color: white;
  padding: 3vh 4rem;
  padding-bottom: 6vh;
  font-family: 'Inter', sans-serif;
  color: black;
}

.faq-section h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vh;
  margin-bottom: 2rem;

}

.faq-title {
  font-family: 'Playfair Display', sans-serif;
  font-weight: bold;
  margin: 0;
}


.faq-item {
  margin-bottom: 4.5vh;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: var(--light-orange);
  border: 2px solid var(--light-orange);
  padding: 1rem;
  font-size: clamp(0.75rem, 1.2vw, 1.5rem);
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
}

.faq-question .arrow {
  float: right;
  transition: transform 0.3s ease;
}

.faq-answer {
  background-color: #fff;
  border: 1px solid var(--light-orange);
  border-top: none;
  padding: 0rem 1rem;
  font-size: clamp(0.75rem, 1vw, 1.5rem);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0.25rem;
}


.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .arrow {
  transform: rotate(180deg);
}

.centered-badge {
  display: inline-block;
  border: 2px solid var(--dark-orange);
  color: var(--dark-orange);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 1.25rem;
  border-radius: 999px;
  margin: 2rem auto 1rem;
  text-align: center;
}

.badge-container {
  text-align: center;
}





@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}






/* Quote Form Styling */
.quote-form {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  width: 90%;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 0.8rem;
  width: 100%;
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form button {
  background-color: var(--dark-orange);
  color: var(--white);
  padding: 0.75rem;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.quote-form button:hover {
  background-color: var(--gray);
}

.quote-form .consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  line-height: 1.4;
  color: var(--black);
}

.quote-form .consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--dark-orange);
}

/* Partners Section */
.partners {
  background-color: white;
  height: 30vh;
  padding: 4vh 0;
  margin: 2rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.partners h2{
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-left: 4vw;
  padding-right: 3vw;
}

.partners .section-title{
  border-right: 2px solid lightgray;
  height: 25vh;
  display: flex;
  align-items: center;
}

.partners-container {
  width: 70vw;
  overflow: hidden;
  position: relative;
  background-color: white;
  padding: 1rem 0;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scroll-partners 30s linear infinite;
  width: calc(200% + 6rem);
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-track img {
  height: 60px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.partners-track img:hover {
  transform: scale(1.05);
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partners-container {
    width: 95vw;
  }
  
  .partners-track {
    gap: 2rem;
  }
  
  .partners-track img {
    height: 40px;
    max-width: 80px;
  }
}

/*Join Us Page */

.components-section {
  background-color: var(--cream);
  padding: 4vh 5vw;
  padding-bottom: 12vh;
  margin-bottom: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: var(--black);
}

.components-heading {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: clamp(1.5rem, 2.25vw, 2.5rem);
  margin: 0rem 0 2rem;
}

.components-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.component-tile {
  border: 2px solid var(--dark-orange);
  border-radius: 8px;
  padding: 1rem 1rem;
  width: 360px;
  background-color: #fff;
  box-sizing: border-box;
  text-align: center;
}

.component-icon {
  font-size: 2.5rem;
  color: var(--dark-orange);
}

.component-tile h3 {
  font-weight: bold;
  font-size: clamp(1rem, 1.75vw, 1.75rem);
  margin-top: 0.5vh;
}

.component-tile img {
  width: 25%;
  margin: 0px;
}

.component-tile p {
  font-size: clamp(0.75rem, 1vw, 1.25rem);
  line-height: 1.5;
}


/* Future Section */
.future-work {
  background-color: var(--cream);
  padding: 2vh;
  padding-left: 3rem;
  padding-bottom: 2rem;
}

.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.future-text h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  max-width: 22ch; 
  line-height: 1.2; 
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 2rem;
}

.future-text p {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.future-btn {
  display: inline-block;
  background: var(--light-orange); 
  color: black;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.future-btn:hover {
  background: var(--gray);
}

.future-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.future-media img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.future-card {
  background: #123a77;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.future-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.future-image-wrapper {
  position: relative;
  flex: 1 1 35%;
  max-width: 300px;
  margin-left: 12rem;
}

.future-image-wrapper img {
  width: 100%;
  border-radius: 1rem;
  position: relative;
  z-index: 2;
}

.future-image-wrapper .image-outline {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--dark-orange);
  border-radius: 1rem;
  z-index: 1;
}


/* Purpose Section */
.purpose-career {
  background-color: var(--cream);
  text-align: center;
  padding: 8vh 5vw;
}

.purpose-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 1rem;
}

.purpose-content p {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 2rem;
}

.purpose-btn {
  display: inline-block;
  background: var(--light-orange); 
  color: black;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.purpose-btn:hover {
  background: var(--gray);
}

.future-media {
  display: flex;              /* use flex instead of grid */
  justify-content: center;    /* center horizontally */
  align-items: center;        /* center vertically */
}

.future-media img {
  width: 100%;                /* take full column width */
  max-width: 500px;           /* but don’t stretch too big */
  height: auto;               /* keep aspect ratio */
  border-radius: 12px;
  object-fit: cover;
}
