body {
    font-family: "Roboto Flex", sans-serif;
    margin: 0;
    padding: 0;
    margin-top: 240px;
  }
  
header {
  background: #eaeaea;
  background: linear-gradient(315deg, rgb(33, 127, 210) 0%, rgb(34, 102, 162) 60%, )rgb(50, 37, 102) 100%;
  color: white;
  padding:10px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.name-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: fit-content;
  width: fit-content;
  margin: auto;
  transition: transform 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#google_translate_element {
  position: fixed;
  top: 20px;
  right: 10px;
  z-index: 1000;
}

.goog-te-gadget {
  font-size: 14px;
  font-family: sans-serif;
}

h1 {
  margin: 10px;
  text-align: center;
}
h1 img {
  height: 150px;
  transition: size 0.3s ease-in-out;
}

.scrolled header {
  transform: translateY(-30px);
}

.scrolled .name-container {
  transform: scale(0.7);
}

ul {
  list-style-type: none;
  display: flex;
  text-align: center;
}

li {
  font-family: "Roboto Flex", sans-serif;
  list-style-type: none;
}

a {
  color: white;
  text-decoration: none;
}

.nav-container {
  margin-top: -30px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 50px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

nav {
  display: flex;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
}

.nav-menu a {
  padding: 10px;
  border: 2px solid white;
  background-color: #392686;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
  width: 170px;
}

.nav-menu a:hover {
  background-color: white;
  color: #392686;
}

#dropdown-btn {
  cursor: pointer;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #392686;
  border: 2px solid white;
  border-radius: 3px;
  display: none;
  flex-direction: column;
  min-width: 170px;
  padding: 0px 0;
  z-index: 999;
  margin-top: -5px;
}

.dropdown li {
  list-style: none;
}

.dropdown a {
  border: none;
  border-radius: 0;
  display: block;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown a:hover {
  background-color: white;
  color: #392686;
}

.dropdown.open {
  display: flex;
  flex: 1;
}

.mobile-nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: #392686;
  z-index: 999;
  padding: 20px 0;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-nav-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-dropdown {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: #4b3494;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  align-items: center;
  padding: 0;
  margin: 0;
}

.mobile-dropdown.open {
  display: flex;
}

.mobile-dropdown li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mobile-dropdown ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu a,
.mobile-dropdown a {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 18px;
  text-align: center;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  border: none;
}

.mobile-nav-menu a:hover,
.mobile-dropdown a:hover {
  background-color: white;
  color: #392686;
}

.menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  color: #ffffff;
  font-size: 18px;
  height: 40px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  padding: 10px;
  border: 2px solid white;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  width: 100px;
}

.menu-toggle:hover {
  background-color: #ffffff;
}

.menu-toggle:hover .arrow {
  filter: brightness(0) saturate(100%) invert(11%) sepia(39%) saturate(7498%) hue-rotate(251deg) brightness(93%) contrast(90%);
  transition: filter 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

h1 {
  display: block;
  margin-left: -10px;
}


.scrolled header {
  transform: translateY(-40px);
}

.breakup {
  background-color: #eaeaea;
  padding: 10px;
}

.hero {
  margin: 40px auto;
  font-size: 32px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 65vw;
  justify-content: space-between;
  align-items: center;
  font-family: "Oswald", sans-serif;
}

.hero-emph {
  background: linear-gradient(315deg, rgb(50, 37, 102) 0%, rgb(34, 102, 162) 60%, rgb(33, 127, 210) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-text-2 {
  text-indent: 40px;
}

.hero-text-3 {
  text-indent: 80px;
}

.medicare-card-example {
  box-shadow: 10px 10px 5px rgba(192, 193, 207, 1);
  max-height: 255px;
  width: 410px;
  max-width: 90%;
  background-color: transparent;
  border-radius: 5px;
}

.home-p1 {
  font-size: 48px;
  font-weight: normal;
  color: #392686;
  text-align: center;
  margin: 100px;
  font-family: "Oswald", sans-serif;
}

.consult-btn-container {
  margin: 40px;
  text-align: center;
}

.consult-btn {
  display: block;
  font-size: 24px;
  background: linear-gradient(315deg, rgb(50, 37, 102) 0%, rgb(34, 102, 162) 60%, rgb(33, 127, 210) 100%);
  background-color: #392686;
  border-radius: 5px;
  border: #ffffff solid 2px;
  padding: 20px;
  color: white;
  font-weight: normal;
  box-shadow: 10px 10px 5px rgba(5, 7, 31, 0.192);
  transition: background-color 0.3s, color 0.3s;
}


.consult-btn:hover {
  color:#392686;
  background: linear-gradient(#ffffff);
  background-color: #ffffff;
}

.subcontainer-contact {
  color:#392686;
  font-size: 24px;
  margin: 20px 20px;
  text-align: center;
}

.home-service-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 90%;
  margin: 40px auto;
  position: relative;
}

.service-container {
  position: relative;
  height: 250px;
  width: 350px;
  border-radius: 5px;
  border: 2px solid #392686;
  background-color: #ffffff;
  box-shadow: 10px 10px 5px rgba(192, 193, 207, 1);
  text-align: center;
  font-size: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  cursor: pointer;
  --text-color: #392686;
  color: var(--text-color);
  overflow: hidden;
}

.service-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(315deg, rgb(50, 37, 102) 0%, rgb(34, 102, 162) 60%, rgb(33, 127, 210) 100%); 
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: inherit;
  z-index: -1;
}

.service-container:hover {
  transform: scale(1.2);
  color: #ffffff;
}

.service-container:hover::before {
  opacity: 1;
}

.covered-cal-logo {
  width: 102px;
  height: 125px;
  margin-top: -10px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(29%) saturate(5156%) hue-rotate(240deg) brightness(86%) contrast(101%);
  transition: filter 0.3s ease-in-out;
}
.medicare-card-icon {
  width: 177px;
  height: 123px;
  margin-top: -10px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(29%) saturate(5156%) hue-rotate(240deg) brightness(86%) contrast(101%);
  transition: filter 0.3s ease-in-out;
}

.life-insurance-icon {
  width: 125px;
  height: 125px;
  margin-top: -10;
  filter: brightness(0) saturate(100%) invert(18%) sepia(29%) saturate(5156%) hue-rotate(240deg) brightness(86%) contrast(101%);
  transition: filter 0.3s ease-in-out;
}

.service-container:hover .covered-cal-logo {
  filter: none;
}

.service-container:hover .medicare-card-icon {
  filter: none;
}

.service-container:hover .life-insurance-icon {
  filter: none;
}

.home-p2 {
  margin: 40px auto;
  padding: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  width: 70%;

  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-p2c1, .home-p2c2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-p2c1 {
  text-align: center;
}

.home-p2c2 {
  text-align: right;
  font-size: 20px;
  margin: auto 20px;
}

.home-portrait {    
  width: 350px;
  height: 350px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.portrait-title {
  font-weight: bold;
  color: #392686;
  font-size: 32px;
}

.portrait-subhead {
  font-weight: bold;
  font-style: italic;
  color: #392686;
  font-size: 16px;
}

.portrait-aux {
  font-weight: bold;
  font-size: 16px;
}

.portrait-title, .portrait-subhead, .portrait-aux {
  margin: 5px;
  text-align: right;
}

.row {
  display: flex;
  flex-direction: row;
}

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


html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.heading {
  font-family: "Oswald", sans-serif;
}

.body-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.body-divider::before,
.body-divider::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: #392686;
  max-width: 1000px;
}

.medicare-disclaimer {
  font-size: 20px;
  color: #ffffffa3;
  text-align: center;
  margin: 20px auto;
  padding: 0 20px;
}

.event-calendar {
  display: flex;
  margin: 20px auto;
  width: fit-content;
}

.scheduling-calendar {
  display: flex;
  margin: 20px auto;
  width: 90%;
}

footer {
  background: rgb(57,38,134);
  background: linear-gradient(315deg, rgb(50, 37, 102) 0%, rgb(34, 102, 162) 60%, rgb(33, 127, 210) 100%);
  color: white;
  text-align: center;
  padding: 1rem;
  max-width: 100%;
}

.social-media-links a{
  margin: 0 10px;
  display: inline-block;
}

.social-media-links a:hover {
  opacity: 50%;
  size: 80%;
}

.socials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 30px auto;
}

.socials-container::before,
.socials-container::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ffffff;
  max-width: 600px;
}

.footer-info-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 80%;
  margin: 0 auto;
}

.footer-info {
  width:fit-content;
  text-align: center;
}

.footer-contact-shelf
{
  display: flex;
  flex-direction: column;
  gap: 3px;
}


.footer-link:hover {
  opacity: 50%;
}

/* contact page styles ----------------------------------------------------------------------------------*/
.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: auto;
  padding: 15px;
  border-radius: 5px;
  border: 2px solid #392686;
  box-shadow: 10px 10px 5px rgba(192, 193, 207, 1);
  text-align: center;
}


.contact-title {
  display: block;
  font-size: 48px;
  color: #392686;
  margin: 80px auto;
  text-align: center;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.contact-info, .hours-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.contact-heading, .hours-heading {
  color: #392686;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.contact-info p, .hours-info p {
  font-size: 20px;
  text-align: center;
  margin: 10px auto;
}

.map-container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.map-embed {
  display: inline-block;
  margin: 20px;
  padding: 15px;
  text-align: center;
}

/* Service Page Styles -------------------------------------------------------------------------------------------------------- */

.service-page-title {
  font-size: 64px;
  color: #392686;
  margin: 40px auto;
  text-align: center;
}

.service-page-subtitle {
  font-size: 32px;
  color: #392686;
  margin: 40px auto;
  text-align: center;
}

.service-section-title {
  font-size: 48px;
  color: #392686;
  margin: 40px auto;
  text-align: center;
  font-family: "Oswald", sans-serif;
}

.service-section {
  justify-content: center;
  text-align: center;
}

.service-subsection-title {
  font-size: 32px;
  margin: 20px auto;
  text-align: center;
  font-family: "Oswald", sans-serif;
}

.service-subsection {
  max-width: 33%;
}

.service-info {
  margin: 20px auto;
  text-align: center;
  max-width: 70%;
  font-size: 20px;
}

.decorative-image {
  display: flex;
  margin: 20px auto;
  max-width: 40%;
  align-items: center;
}

.service-image {
  max-height: 250px;
  margin: 20px auto;
  text-align: center;
  display: flex;
  filter: brightness(0) saturate(100%) invert(18%) sepia(29%) saturate(5156%) hue-rotate(240deg) brightness(86%) contrast(101%);
}

.countdown {
  margin: 10px auto;
  color: #392686;
  text-align: center;
  font-size: 48px;
}

.countdown-container {
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 10px 10px 5px rgba(192, 193, 207, 1);
  max-width: 60%;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #392686;
  font-size: 32px;
  border: 2px solid #392686;
}

/*About Page Styles ----------------------------------------------------------------------------------------------------- */

.container {
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 10px 10px 5px rgba(192, 193, 207, 1);
  max-width: 80%;
  display: flex;
  flex-direction: column;
  border: 2px solid #392686;
}

.fancy-container {
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 10px 10px 5px rgba(192, 193, 207, 1);
  max-width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid #392686;
  background: linear-gradient(315deg, rgb(50, 37, 102) 0%, rgb(34, 102, 162) 60%, rgb(33, 127, 210) 100%);
}

.fancy-sub-container {
  display: flex;
  flex-direction: column;
  background-color: #ffffff94;
  border: none;
  border-radius: 5px;
  padding: 20px;
  margin: 20px auto;
  max-width: 90%;
  max-height: fit-content;
  justify-content: center;
  text-align: center;
}

.fancy-sub-container p {
  font-size: 28px;
  margin: 10px auto;
  text-align: center;
  max-width: fit-content;
  display: flex;
}

.fancy-sub-container a {
  margin: 15px;
}

.why-subgroup {
  display: flex;
  flex-direction: row;
  margin: 18px auto;
  text-align: center;
  justify-content: center;
}

.commitment {
  text-align: center;
  font-size: 20px;
  margin: 20px auto;
}

.reasons {
  text-align: center;
  max-width: 300px;
  font-size: 20px;
  margin: 20px;
}

.review {
  width: 300px;
  font-size: 20px;
  text-align: center;
}

.sitemap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 80px;
}

.stars {
  max-width: 325px;
  margin: 10px;
}

.sitemap-list a{
  color:#392686;
  font-size: 18px;
}

.sitemap-list a:hover{
  opacity: 0.5;
}

.rows {
  display: flex;
  flex-direction: row;
}

/*Small Display Adjustments --------------------------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .rows-to-columns {
    flex-direction: column;
    align-items: center;
  }

  .columns-to-rows {
    flex-direction: row;
  }

  .home-p1 {
    font-size: 32px;
    width: 80%;
    margin: 100px auto;
  }

  .home-p2c2 {
    text-align: center;
    font-size: 18px;
    margin: auto 5px;
  }

  .hero {
    font-size: 28px;
    gap: 10px;
    margin: 20px auto;
  }
  .hero-text-2 {
    text-indent: 0px;
  }
  .hero-text-3 {
    text-indent: 0%;
  }

  .event-calendar {
    width: 95vw;
  }

  .consult-btn-container {
    margin: 10px;
    text-align: center;
  }
  
  .decorative-image {
    max-width: 80%;
  }

  .footer-info-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 95%;
    margin: 0 auto;
  }

  .fancy-sub-container p {
    font-size: 32px;
  }

  .service-subsection {
    max-width: 80%;
  }

  .medicare-disclaimer {
    font-size: 12px;
  }

  .review {
    max-width: 90%;
  }
}