*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', dmsans-serif;
  font-size: 15px;
}
body{
  min-height: 100vh;
}

nav {
    height: 15vh;
    background-color: #fff;
    padding: 10px;
    box-shadow: inset 3px 3px 3px 3px #004343;
    position: relative; 
  }
/*
  .navbar__logo {
    color: #00434361;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    justify-self: flex-start;
    align-items: center;
    list-style: none;
  }
*/

  nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
  }
  
  nav li{
  height: 50px;
  }

  nav a{
    color: #004343;
    text-align: center;
    text-decoration: none;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .navbar__links:hover {
    color: #00434361;
    transition: all 0.3s ease;
  }

  
  nav li:first-child{
    margin-right: auto;
  }

  .navbar__item.dropdown {
    position: sticky;
  }

  .dropdown-menu {
    display: none;
    position: sticky;
    background-color: #004343;
    min-width: 200px;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .dropdown-menu li a {
    color: #ffffff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-weight: 200;
  }
  
  .dropdown-menu li a:hover {
    background-color: #03665b;
  }
  
  .navbar__item.dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav__links a {
    text-decoration: none;
    padding: 0px 10px;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #004343;
    height: 100%;
    width: 100%;
    text-align: left;
    background-color: #fff;
  }

  .nav-links li a:hover {
    color: #ffffff;
    transition: all 0.3s ease;
  }

  .sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 1000;
    background-color: #ffffff82;
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 10px #00434361 ;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .sidebar li{
    width: 100%;
  }

  .sidebar a{
    width: 100%;
  }

  .menu-button {
    display: none;
  }

  @media (max-width: 800px){
    .hideOnMobile{
      display: none;
    }

    .menu-button{
     display: block; 
    }
  }

  @media(max-width: 600px){
    .sidebar{
      width: 100%;
      height: 100vh;

    }
  }

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

@media screen and (max-width: 768px) {
  .navbar__logo {
    position: relative;
    top: 0px;
  }

  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: -1;
  }

  header h1 {
    font-size: 4rem;
    flex-direction: column;
    display: flex;
  }

  header h2 {
    font-size: 4rem;
    flex-direction: column;
  }
  
  .block {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    flex: 1 1 100%;
    text-align: center;
    word-break: break-word;
    padding: 16px;
    align-items: center;
  }

  
  .block img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    object-position: right;
    border-radius: 10px;
    margin-right: 20px;
    inline-size: auto;
    border-radius: 12px;
    margin-bottom: 0%;
    align-items: center;
    justify-content: center;
    display: block;
    margin-left: left;
    flex-shrink: 0;
  }

  .container {
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
  }

  .block-content {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #004343;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
    margin: 10px 0;
  }
}

header {
  position: relative;
  background-image: url('images/an image that would depict personal insurance.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 67, 67, 0.612);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  background-color: rgba(26, 25, 25, 0.76);
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;
  color: #ffffff;
  
}

.container {
  max-width: 100%;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 20px;
 }

header h1 {
  color: #ffffff;
  font-size: 40px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  margin-top: 30px;
  padding-top: 70px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-weight: 800;
  z-index: 1;
}

header h2 {
  z-index: 1;
}
header p {
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 600px;
  font-style: italic;
  display: centerspace;
  margin: 20px auto;
  z-index: 1;
}

.block {
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 25px 24px;
  margin-bottom: 2rem;
  transition: transform 0.5s ease;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  color: #004343;
  font-family: Arial, Helvetica, sans-serif;
  align-items: center;
  border: 1px solid #cbd5e1;
  padding: 20px;
  width: 100%;
  gap: 100px;
  flex: 2 2 35%;
  flex-wrap: wrap;
  margin: 1rem auto;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;
}

.block h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #004343;
  font-weight: bold;
  font-style: italic;
  margin-top: 0;
}
.block p {
  font-size: 16px;
  color: #004343;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}
.block p {
  font-size: 16px;
  color: #004343;
  line-height: 1.5;
  margin: 0;
}

.block-content {
  display: flex;
  flex-direction: column;
  color: #004343;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  }

.block:hover {
  transform: translateY(-5px);
  background-color: #ffffff;
}

.back-link {
  display: flex;
  margin-top: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
  text-align: center;
  justify-content: center;
}

.back-button {
  color: #004343;
  display: inline-block;
  padding: 12px 24px;
  color: #004343;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
  width: auto;
  cursor: pointer;
  white-space: wrap;
  text-align: center;
}

.back-button:hover {
  background-color: #ffffff;
}

.footer {
  background-color: #004343;
  text-align: top;
  padding: 20px;
  color: #00434361;
  padding: 40px 20px;
  font-size: 16px;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  gap: 20px;
  align-items: center;
  padding: 40px 20px 20px;
  height: 100%;
  background-color: #004343;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 200px;
  text-align: left;
}

.footer-section h3 {
  font-size: 16px;
  margin-top: auto;
  margin-bottom: 10px;
  color: #ffffff;
  border-bottom: 2px solid #59adde;
  padding-bottom: 5px;
}

.footer-section p {
  font-size: 14px;
  color: #e6f9ff;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  transition: color 0.3s ease;
  text-decoration: underline;
}
.footer-section li {
  margin-bottom: 14px;
  text-decoration: underline;
}

.footer-section a {
  color: #e6f9ff;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: inline-block;
}
.footer-section a:hover {
  transition: color 0.3s ease;
  color: antiquewhite;
  text-decoration: underline;
}

.social-media-links {
  justify-content: left;
  padding: 0;
  display: flex;
  gap: 40px;
  margin-top: 10px;
}

.social-media-links-icons a {
  color: #f0f0f0;
  font-size: 24px;
  margin-right: 10px;
  transition: color 0.3s transform 0.3s;
}

.social-media-links-icons a:hover {
  color: #59adde;
  transform: scale(1.2);
}

.footer-note {
  margin-top: 20px;
  font-size: 13px;
  color: #004343;
  text-align: center;
  justify-content: center;
}

.top-navbar {
  background-color: #025151d0;
  color: whitesmoke;
  padding: 5px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  width: 100%;
  position: relative;
}
 
span {
  color: whitesmoke;
  padding: 10px;
  font-size: smaller;
  justify-content: center;

}

.top-navbar a {
  text-decoration: none;
  color: aqua;
  font-size: smaller;
  text-decoration: underline;
}
.top-navbar a:hover {
  color: wheat;
}

.top-navbar .quote-btn {
  padding: 10px 20px;
  background-color: #fff;
  color: #004343;
  border: #0ddede;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.top-navbar .quote-btn:hover {
  color: wheat;
}
.social-icons a {
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 12px;
  display: inline-flex; 
  color: rgba(255, 166, 0, 0.744);
  font-size: 24px;
  padding: 3px;
}

.social-icons a:hover {
  color: rgba(229, 223, 212, 0.744);
}

.social-icons {
  margin-right: auto;
  padding: 5px 5px;
}

@media (max-width: 600px) {
  .top-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: none;
    flex-wrap: wrap;
    position: relative;
    padding: 5px;
  }
}

.insurance-navbar {
  background-color: #004343;
  color: whitesmoke;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  padding: 0;
  height: 10vh;
  display: flex;
}

.insurance-navbar .container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin-right: auto;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.insurance-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
}

.insurance-navbar a,
.dropdown-button {
  margin-right: auto;
  margin: 0 0;
  text-decoration: none;
  color: whitesmoke;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  font-weight: normal;
}

.insurance-navbar a:hover,
.dropdown-button:hover {
  text-decoration: underline;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px; 
  right: 150px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.partners-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.partners-row {
  display: flex;
  flex-wrap: nowrap;          
  overflow-x: auto;           
  gap: 30px;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.partner {
  flex: 0 0 auto;
  width: 150px;
  height: 100px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  box-sizing: border-box;
}

.partner:hover {
  transform: scale(1.05);
}

.partner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

  .scroll-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 2rem;
}

.card-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
}

.card {
  min-width: 250px;
  flex: 0 0 auto;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

  .card-scroll::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 auto;
    min-width: 250px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    scroll-snap-align: start;
    text-align: center;
  }

  .card i {
    font-size: 2rem;
    color: #004343;
    margin-bottom: 1rem;
  }

  .card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #004343;
  }

  .card p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
  }

  .card a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
  }

  .card a:hover {
    text-decoration: underline;
  }

  .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0, 67, 67, 0.8);
    color: white;
    border: none;
    padding: 0.5rem;
    z-index: 999;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
  }

  .scroll-arrow.left {
    left: 10px;
  }

  .scroll-arrow.right {
    right: 10px;
  }

  .scroll-arrow:hover {
    background: #003b3b;
  }

  @keyframes autoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Adjust based on content */
}

.card-scroll.auto-scroll {
  animation: autoScroll 30s linear infinite;
}





