
body {
   font-family:  'Open Sans', sans-serif;
   margin: 0;
}

/* Navigation */
.logo {
  width: 250px; /* Increase the width for a larger logo */
  height: auto; /* Maintain aspect ratio */
  margin-right: 20px; /* Adjust spacing between logo and menu */
  cursor: pointer;
}

.wrap {
    background-color: #ffffff;
    max-width: 100%;
    margin: 100px auto;
    margin-top: 0;
    overflow: hidden;
}

/* Navbar Styling */
.site-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Ensures all items align vertically */
  padding: 10px 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
}


/* Main Menu */
.clicky-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  margin-right: 50px;
}

.clicky-menu li {
  position: relative;
}

/* Main Menu Links */
.clicky-menu a {
  color: #333333; /* Dark gray text */
  font-size: 1rem; /* Keeps text consistent with the larger logo */
  padding: 10px 20px; /* Adjust padding to align with the larger logo */
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.clicky-menu a:hover {
  background-color: #f0f0f0; /* Subtle hover effect */
   color: #0072b5; /* Modern blue hover color */
}

/* Dropdown Submenus */
.clicky-menu ul {
  position: absolute;
   top: 100%;
   left: 0;
   margin-top: 10px;
   padding: 10px 0;
   list-style: none;
   background: #ffffff; /* White background for dropdowns */
   border-radius: 5px;
   box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Subtle shadow for dropdowns */
   visibility: hidden;
   opacity: 0;
   transform: translateY(-10px);
   transition: opacity 0.3s ease, transform 0.3s ease;
   z-index: 1000;
}

.clicky-menu li:hover > ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.clicky-menu ul a {
  color: #333; /* Dark gray text */
  padding: 10px 20px;
  display: block;
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
}

.clicky-menu ul a:hover {
  background-color: #f0f0f0; /* Subtle hover effect for dropdown items */
  color: #0072b5; /* Modern blue hover text */
}

/* Dropdown Arrow Animation */
.clicky-menu svg {
  width: 1rem;
  height: 1rem;
  margin-left: 5px;
  transition: transform 0.3s ease-in-out;
}

.clicky-menu [aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .clicky-menu {
     flex-direction: column;
     align-items: flex-start;
     gap: 10px;
  }

  .clicky-menu ul {
     position: static;
     visibility: visible;
     opacity: 1;
     transform: translateY(0);
     box-shadow: none;
     padding: 5px 0;
  }

  .clicky-menu ul a {
    padding: 10px 15px;
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background-color: #333333;
  transition: all 0.3s ease-in-out;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
     display: flex;
  }

  .clicky-menu {
     display: none;
     flex-direction: column;
     width: 100%;
     background: #ffffff;
     padding: 10px;
  }

  .clicky-menu.show {
     display: flex;
  }
}


/* Home Page */

 .nav-home {
    box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
    font-size: 30px;
    background-color: #333;
    color: #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
 }

 /* .nav-dis h2 {
   font-size: 1.5rem;
   margin-left: 20px;
 }

 .nav-dis h6 {
   font-size: 0.9rem;
   margin-right: 20px;
 }

 .nav-dis p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
    font-size: 10px;
    color: #eee;
    align-items: center;
 } */

/* Carousel Container */
/* .modern-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
  border-radius: 8px; 
} */

/* Track and Slides */
/* .carousel-track-container {
  position: relative;
  overflow: hidden;
  height: 400px; 
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out; 
  position: relative;
}

.carousel-slide {
  min-width: 100%; 
  position: relative; 
  transition: opacity 0.5s ease-in-out; 
  display: flex;
  align-items: center; 
  justify-content: center;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
}

.carousel-slide:not(.current) {
  opacity: 0; 
  pointer-events: none;
}

.carousel-slide.current {
  opacity: 1;
  pointer-events: auto; 
} */

/* Slide Content (Text and Buttons) */
/* .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.slide-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.slide-content button {
  padding: 0.5rem 1rem;
  background-color: #0378d6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease-in-out;
}

.slide-content button:hover {
  background-color: #005bb5;
  transform: scale(1.05);
} */

/* Buttons for Next/Previous */
/* .carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-button:focus {
  outline: none; 
} */

/* Dots for Navigation */
/* .carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.2s;
}

.carousel-dot.current {
  opacity: 1;
  background-color: #0378d6; 
}

.carousel-dot:hover {
  transform: scale(1.2); 
} */

 .desc {
   padding: 30px;
 }

 .desc p{
   font-size: 0.90rem;
   font-weight: bold;
   color: red;
 }
 .desc h1 {
   font-size: 0.90rem;
 }

 .loco {
   margin-left: 30px;
 }

 .loco h1 {
   font-size: 1rem;
   font-weight: bolder;
 }

 .loco p {
   font-size: .85rem;
   font-weight: lighter;
 }

 .quotes {
   padding: 40px;
   display: flex;
   justify-content: center;
   gap: 10rem;
   background-color: #ffffff;
 }
 .home-quote {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: #ededed;
   width: 25rem;
   height: 25rem;
   border-radius: 20px;
   box-shadow: 5px 5px 10px #aaaaaab0;
 }
 
 .business-quote {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: #ededed;
   width: 25rem;
   height: 25rem;
   border-radius: 20px;
   box-shadow: 5px 5px 10px #aaaaaab0;
 }

 .quotes p {
   font-size: small;
   text-align: center;
   margin-left: 30px;
   margin-right: 30px;
 }

 .quote-btn {
   width: 90px;
   height: 28px;
   font-size: small;
   border-radius: 6px;
   border: 1px solid #0478d6;
   background: #0477d600;
   color: #0478d6;
 }

 .quote-btn:hover{
   width: 90px;
   height: 28px;
   font-size: small;
   border-radius: 6px;
   border: 1px solid rgb(201, 201, 201);
   background: #0463b1;
   color: white;
 }
 

 .agent  {
   margin-left: 15%;
   display: flex;
   width: 70%;
   padding: 20px;
   background: #00539a;
   color: #ffffff;
   justify-content: center;
   align-items: center;
   gap: 435px;
   border-radius: 12px;
   margin-bottom: 100px;
   box-shadow: 5px 5px 10px #aaaaaab0;
 }

 .find-agent {
   width: 8rem;
   height: 2rem;
   font-size: small;
   border-radius: 6px;
   border: 1px solid white;
   background: #ffffff00;
   color: #ffffff;
 }

 .find-agent:hover {
   border: 1px solid rgb(216, 216, 216);
   background: #ffffff;
   color: #0365b5;
 }

.container {
   max-width: 1170px;
   margin:auto;
 }

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

 /* About Page */
 .nav-about {
  box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  font-size: 30px;
  background-color: #333;
  color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-container {
  margin-top: 4rem;
  margin-left: 8rem;
  margin-right: 1rem;
}

.about-container h1 {
  border-bottom: 2px solid rgb(232, 232, 232);
  padding-bottom: 1rem;
}

.about-container p{
  width: 76%;
  font-size: larger;

}

.about-ratings {
display: flex;
padding-top: 2rem;

}

.about-logos {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-left: 3rem;
}

.demotech-logo {
  width: 200px; /* Adjust width as needed */
  height: auto; /* Maintain aspect ratio */
  margin-left: 6rem; /* Adjust margin as needed */
  cursor: pointer; /* Show cursor pointer on hover */
}

.ambest-logo {
  width: 200px; /* Adjust width as needed */
  height: auto; /* Maintain aspect ratio */
  margin-left: 6rem; /* Adjust margin as needed */
  cursor: pointer; /* Show cursor pointer on hover */
}

.about-organizations {
  
  display: flex;
  justify-content: flex-start;
  gap: 12rem;
}

.about-organizations img {
  margin-left: 10rem;
   width: 30%;
  height: 30%;
  border: 4px solid #9f9f9f;
}

.about-oh {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.about-oh img{
 width: 120px;
 float: left;
 margin-right: 2rem;
}

.about-oh p {
  font-size: larger;
}

/* Home Insurance  */
.home-insurance-top {
  display: flex;
  padding: 5rem;
}
.nav-home-insurance {
  box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  font-size: 30px;
  background-color: #333;
  color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

table {
  width: 80%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  vertical-align: top;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
  font-size: larger;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}



td[colspan="4"] {
  text-align: center;
  font-style: italic;
  background-color: #f2f2f2;
  font-weight: normal;
}

.contact-agent {
    width: 120px;
    height: 32px;
    font-size: small;
    border-radius: 6px;
    border: 1.5px solid #0478d6;
    background: #0477d600;
    color: #0478d6;
    box-shadow: 2px 2px 4px rgba(0,0,0,.2);
  }
 
.contact-agent:hover {

  font-size: small;
  border-radius: 6px;
  border: 1px solid rgb(201, 201, 201);
  background: #0463b1;
  color: white;
}

/* Business Insurance */

.nav-business-insurance {
  box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  font-size: 30px;
  background-color: #333;
  color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.business-insurance-top {
  display: flex;
  padding: 5rem;
}

/* Agent Portal  */
.nav-portal {
  box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  font-size: 30px;
  background-color: #333;
  color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agent-portal {
  padding: 2rem;
}

/* Agent cards */

.card-container {
  flex: 3;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.card {
  padding: 15px;
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: rgb(0, 69, 124);
  font-weight: 600;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
}

.card-text strong {
  color: #333;
}

/* Map Page */
.map-page {
  height: 100vh;
  display: flex;
}

.map {
  flex: 7;
  height: 100%;  
}


/* FAQ */
.nav-faq {
  box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  font-size: 30px;
  background-color: #333;
  color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

.faq-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.faq-item:hover {
  transform: scale(1.02);
}

.faq-question {
  background-color:  rgb(23, 84, 169);
  color:  #ebebeb;
  padding: 1em 1.5em;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color:  rgb(17, 69, 142);
  color:  #cecccc;
}

.faq-question::after {
  content: '+';
  font-size: 1.5em;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  padding: 0 1.5em;
  font-size: 1em;
}

.faq-answer p {
  margin: 1em 0;
}

.faq-question.active::after {
  content: '-';
}

.faq-question.active + .faq-answer {
  max-height: 500px;
  padding: 1em 1.5em;
}


 /* Privacy Policy Page */
 .nav-privacy {
  box-shadow: inset 0px 1px 11px 3px rgb(0 0 0 / 55%);
  padding: 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  font-size: 30px;
  background-color: #333;
  color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.policy-container {
  margin-top: 4rem;
  margin-left: 8rem;
  margin-right: 1rem;
}

.policy-head {
display: flex;
border-bottom: 2px solid rgb(232, 232, 232);
}

.policy-head-text {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  }
  

.policy-logos {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-left: 3rem;
}

.demotech-logo {
  width: 200px; 
  height: auto; 
  margin-left: 6rem; 
  cursor: pointer; 
}

.ambest-logo {
  width: 200px; 
  height: auto;
  margin-left: 6rem; 
  cursor: pointer; 
}

.policy-terms {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding-top: 2rem;
}

.policy-terms h3 {
  padding-bottom: 1rem;
  border-bottom: 2px solid rgb(232, 232, 232);
}

.about-organizations img {
  margin-left: 10rem;
   width: 30%;
  height: 30%;
  border: 4px solid #9f9f9f;
}

.about-oh {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.about-oh img{
 width: 120px;
 float: left;
 margin-right: 2rem;
}

.about-oh p {
  font-size: larger;
}

/* Footer */
 .footer{
   background-color: #333;
   padding: 70px 0;
   box-shadow: inset 1px 4px 11px 3px rgb(0 0 0 / 70%);
 }
 
 .footer-col{
   width: 25%;
   padding: 0 15px;
 }

 .footer-col ul {
   padding: 0;
   list-style: none;
 }
 .footer-col h4{
   font-size: 18px;
   color: #ffffff;
   text-transform: capitalize;
   margin-bottom: 35px;
   font-weight: 500;
   position: relative;
 }
 .footer-col h4::before{
   content: '';
   position: absolute;
   left:0;
   bottom: -10px;
   background-color: #3c6ffc;
   height: 2px;
   box-sizing: border-box;
   width: 50px;
 }
 .footer-col ul li:not(:last-child){
   margin-bottom: 10px;
 }
 .footer-col ul li a{
   font-size: 16px;
   text-transform: capitalize;
   color: #ffffff;
   text-decoration: none;
   font-weight: 300;
   color: #bbbbbb;
   display: block;
   transition: all 0.3s ease;
 }
 .footer-col ul li a:hover{
   color: #ffffff;
   padding-left: 8px;
 }
 .footer-col .visit-us {
   color: #b9b9b9;
 }

 .footer-col .visit-us p {
   display: flex;
   gap: 10px;
 }

 .footer-col .visit-us p i {
   margin-top: 4px;
 }

 .footer-col .visit-us :hover {
   /* No hover effect for the visit-us link */
   color: #b9b9b9;
   padding-left: 0;
}

 /*responsive*/
 @media(max-width: 767px){
   .footer-col{
     width: 50%;
     margin-bottom: 30px;
 }
 }
 @media(max-width: 574px){
   .footer-col{
     width: 100%;
 }
 }
 
 