/* Insurance Center Group Modern Homepage */

body {
  background: #ffffff;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2933;
  background: #ffffff;
}

a {
  text-decoration: none;
}

.header-phone {
  color: #79a94b;
  font-size: 24px;
  font-weight: 900;
  margin-left: 24px;
  text-decoration: none;
}

.header-phone i {
  color: #79a94b;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    max-height: 78px;
    width: auto;
}

.agency-title {
    line-height: 1;
}

.agency-name {
    font-size: 28px;
    font-weight: 800;
    color: #0b2f4f;
    letter-spacing: 1px;
}

.agency-name-second {
    font-size: 28px;
    font-weight: 300;
    color: #0b2f4f;
    letter-spacing: 1px;
}

.since-row {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.since-line {
    flex: 1;
    height: 2px;
    background: #d9d9d9;
}

.since-text {
    color: #79a94b;
    font-style: italic;
    font-weight: 700;
    padding: 0 12px;
    white-space: nowrap;
}

/* Header */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-dropdown {
  display: inline-block;
}

.quote-dropdown .dropdown-menu {
  min-width: 220px;
  border-radius: 12px;
  padding: 8px 0;
}

.quote-dropdown .dropdown-item {
  font-weight: 700;
  padding: 10px 18px;
}

.quote-dropdown .dropdown-item:hover {
  background: #79a94b;
  color: #ffffff;
}

/* SUBMENU */

.dropdown-menu {
  border-radius: 8px;
  border: 1px solid #d5dbe3;
  padding: 6px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.dropdown-item {
  font-weight: 700;
  color: #0b2f4f;
  padding: 8px 18px;
}

.dropdown-item:hover {
  background: #79a94b;
  color: #ffffff;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
}

.dropdown-submenu .dropdown-menu .dropdown-item {
    padding-left: 35px;
    font-size: 0.95rem;
}

.submenu-arrow {
    float: right;
    transition: transform .2s ease;
}

.dropdown-submenu .dropdown-menu.show + .submenu-arrow {
    transform: rotate(90deg);
}

.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #d5dbe3;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    padding: 8px 0;
    list-style: none;
    margin: 0;
	border-radius: 8px;
}

.dropdown-submenu:hover .submenu {
    display: block;
}

.submenu .dropdown-item {
    white-space: nowrap;
}

.top-header {
  background: #ffffff;
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-logo {
    max-height: 90px;
    width: auto;
}

.navbar {
  padding: 0;
}

.navbar-nav .nav-link {
  color: #0b2f4f;
  font-weight: 600;
  padding: 10px 13px;
}

.navbar-nav .nav-link:hover {
  color: #2f6f4e;
}

/* Hero */

.hero-section {
  min-height: 560px;
  background:
    linear-gradient(rgba(4, 24, 43, 0.62), rgba(4, 24, 43, 0.62)),
    url("../images/hero-courthouse.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
}

.hero-section .row {
	justify-content: flex-start;
}
.hero-section h1 {
  color: #ffffff;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  max-width: 760px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.hero-section h1 span {
  color: #79a94b;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
}

.hero-section h1 span::before,
.hero-section h1 span::after {
  content: "";
  height: 4px;
  background: #79a94b;
}

.hero-section h1 span::before {
  flex: .35;
  margin-right: 14px;
}

.hero-section h1 span::after {
  flex: .35;
  margin-left: 14px;
}

.hero-content {
	text-align: left;
	margin-left: 0;
	margin-right: auto;
    max-width: 760px;
	padding-left: 10px;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 22px;
  max-width: 700px;
  margin-bottom: 32px;
}

.hero-buttons {
	text-align: left;
	display: block;
}
.hero-buttons .btn {
  display: inline-block;
  text-align: left;
  margin-right: 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 700;
}

.hero-buttons .btn-primary {
  background: #2f6f4e;
  border-color: #2f6f4e;
  color: #ffffff;
}

.btn-primary:hover {
  background: #255c40;
  border-color: #255c40;
}

.btn-outline-light:hover {
  color: #0b2f4f;
}

/* Trust Bar */

.trust-bar {
  background: #0b2f4f;
  color: #ffffff;
  padding: 30px 0;
}

.trust-item {
  padding: 10px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  font-size: 34px;
  color: #79a94b;
  margin-bottom: 12px;
}

.trust-item h5 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 0;
  color: #e4edf5;
}

@media (max-width: 767px) {
  
  .agency-title {
	display: none;	
	}
	
  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 22px 10px;
  }

  .trust-item:last-child {
    border-bottom: none;
  }
}

/* Carrier Strip */
.carrier-strip {
    background: #ffffff;
    padding: 50px 0;
    text-align: center;
    border-bottom: thin solid #C8C6C6;
}

.carrier-strip h3 {
    color: #0b2f4f;
    font-weight: 700;
    margin-bottom: 35px;
}

.carrier-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.carrier-logos img {
    max-height: 50px;
	width: auto;
    opacity: .85;
    transition: .3s;
}

.carrier-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Mockup Style Insurance Cards */

.insurance-section {
  padding: 65px 0;
  background: #ffffff;
}

.insurance-section h2 {
  color: #0b2f4f;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mockup-card {
  display: block;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #111111;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transition: .25s ease;
  padding-bottom: 22px;
}

.mockup-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.mockup-card img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
}

.mockup-icon {
  width: 74px;
  height: 74px;
  background: #0b2f4f;
  color: #ffffff;
  border-radius: 50%;
  border: 3px solid #ffffff;
  margin: -37px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  position: relative;
  z-index: 2;
}

.mockup-card h4 {
  color: #0b2f4f;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.mockup-card p {
  font-size: 14px;
  line-height: 1.45;
  color: #1f2933;
  padding: 0 14px;
  min-height: 82px;
  margin-bottom: 14px;
}

.mockup-card span {
  color: #2f6f4e;
  font-size: 14px;
  font-weight: 900;
}

.mockup-card span i {
  margin-left: 6px;
}

.insurance-section {
  padding: 55px 0;
  background: #f5f7f9;
}

.insurance-section h2,
.about-section h2,
.testimonial-section h2 {
  color: #0b2f4f;
  font-size: 36px;
  font-weight: 800;
}

.insurance-section p {
  font-size: 18px;
}

.service-card {
  background: #ffffff;
  padding: 34px 28px;
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
}

.service-icon {
  color: #2f6f4e;
  font-size: 42px;
  margin-bottom: 18px;
}

.service-card h4 {
  color: #0b2f4f;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px;
  color: #52616f;
}

.service-card a {
  color: #2f6f4e;
  font-weight: 700;
}

.service-card a:hover {
  color: #0b2f4f;
}

/* About */

.about-section {
  padding: 85px 0;
  background: #ffffff;
}

.about-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #46535f;
}

.benefits-list {
  list-style: none;
  padding-left: 0;
  margin-top: 24px;
}

.benefits-list li {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2f6f4e;
  font-weight: 800;
}

/* Testimonials */

.testimonial-section {
  padding: 80px 0;
  background: #f5f7f9;
}

.review-header {
  text-align: center;
  margin-bottom: 50px;
}

.review-stars-large {
  color: #d8a23a;
  font-size: 34px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.review-header h2 {
  color: #0b2f4f;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.review-header p {
  color: #52616f;
  font-size: 18px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: .25s ease;
  border-top: 5px solid #79a94b;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.review-stars-small {
  color: #d8a23a;
  font-size: 20px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: #46535f;
  font-size: 17px;
  line-height: 1.6;
}

.testimonial-card strong {
  color: #0b2f4f;
}

/* CTA */

.cta-section {
      background: linear-gradient(
        135deg,
        #2f6f4e 0%,
        #3c855f 100%
    );
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
}

.cta-section p {
  color: rgba(255,255,255,.9);
  font-size: 18px;
  margin-bottom: 26px;
}

.cta-section .btn {
    background: #081f35;
    color: #ffffff;
    border: 2px solid #081f35;
    font-weight: 700;
}

.cta-section .btn:hover {
    background: #094782;
	border: 2px solid #094782;
    color: #ffffff;
}

/* Footer */

.footer {
  background: #081f35;
  color: #ffffff;
  padding: 38px 0 18px;
  border-top: 4px solid #2f6f4e;
}

.footer-main {
  display: grid;
  grid-template-columns: 240px 1fr 170px;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 28px;
}

.footer-logo {
  max-width: 210px;
  height: auto;
}

.footer-logo-area,
.footer-location,
.footer-social {
  border-right: 1px solid rgba(255,255,255,.22);
  padding-right: 26px;
}

.footer-social {
  border-right: none;
}

.footer h5 {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-location-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.footer-location h6 {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-location p {
  font-size: 14px;
  line-height: 1.35;
  color: #e4edf5;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icons a:hover {
  background: #2f6f4e;
  border-color: #2f6f4e;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding-top: 14px;
  font-size: 13px;
  color: #e4edf5;
}

.footer-bottom div:last-child {
  text-align: right;
}

.footer-links {
  text-align: center;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 8px;
}

.footer-links a:hover {
  color: #79a94b;
}

.footer-links span {
  color: rgba(255,255,255,.5);
}

/* mobile */
@media (max-width: 991px) {
  
  .dropdown-submenu > .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 25px;
  }
	
  .header-info {
    text-align: center;
  }

  .header-locations {
    display: block;
    margin-bottom: 10px;
  }

  .header-phone {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    margin: 0;
  }

  .header-phone i {
    margin-right: 10px;
  }
  .mockup-card img {
    height: 150px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-area,
  .footer-location,
  .footer-social {
    border-right: none;
    padding-right: 0;
  }

  .footer-location-row {
    grid-template-columns: 1fr;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom div:last-child {
    text-align: center;
  }

    .logo-area {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .agency-name,
    .agency-name-second {
        font-size: 22px;
    }
	
  .site-logo {
    max-height: 70px;
    margin-bottom: 10px;
  }

   .navbar {
    justify-content: center;
    margin-top: 12px;
  }

  .navbar-toggler {
    margin: 0 auto;
    padding: 10px 16px;
    border-radius: 8px;
  }
	
  .navbar-collapse {
    text-align:center;
	background: #ffffff;
    padding-top: 12px;
  }

  .hero-section {
    min-height: 520px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 19px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
	
  .hero-buttons .btn,
  .hero-buttons .dropdown-toggle {
    width: 320px;
    max-width: 100%;
  }

  .trust-bar .col-md-3 {
    margin-bottom: 24px;
  }
	
	.top-contact {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
	}
}

@media (max-width: 575px) {
  .hero-section {
    min-height: 460px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .insurance-section,
  .about-section,
  .testimonial-section {
    padding: 55px 0;
  }
}
