/* Custom Branding Colors */
:root {
  --doddle-teal: #009b9a;
  /* Matching the logo color */
  --doddle-navy: #1d3557;
  /* Matching the menu text color */
  --doddle-bg: #dff7f4;
}

body {
  font-size: 18px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Background Color matching the image's off-white/light gray */
.bg-light {
  background-color: #f5f5f5 !important;
}

/* Standard Section Container Logic */
.container {
  max-width: 1200px !important;
  width: 90%;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: auto;
  margin-right: auto;
}

/* Global Insurance/Form Page Container */
.insurance-form-container {
  background-color: var(--doddle-bg);
  min-height: 100vh;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23009B9A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Desktop spacing adjustment */
@media (min-width: 992px) {
  .navbar-nav.mx-auto {
    transform: translateX(35px);
    /* Fine-tunes center alignment relative to the logo */
  }
}

/* Navbar z-index for proper layering */
.navbar {
  position: relative;
  z-index: 1001;
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
}

/* Main Navigation Text Style */
.text-dark-blue {
  color: var(--doddle-navy) !important;
 
  letter-spacing: -0.2px;
  font-weight: 900;
}

.nav-link:hover {
  color: var(--doddle-teal) !important;
}

/* Dropdown Styling */
.dropdown-menu {
  background-color: var(--doddle-teal);
  min-width: max-content;
  margin-top: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  border-top: 0.35em solid currentColor;
  border-right: 0.35em solid transparent;
  border-bottom: 0;
  border-left: 0.35em solid transparent;
  transition: transform 0.3s ease;
}

.dropdown-toggle.show::after {
  transform: rotate(180deg);
}

/* Hover Dropdown and centering for large screens */
@media (min-width: 992px) {
  .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
  }
}

.dropdown-item {
  white-space: normal !important;
  padding: 12px 20px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  display: block !important;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #174052 !important;
  color: #ffffff !important;
}

.dropdown-item.active {
    background-color: #174052 !important; /* your purple theme */
}

/* Mobile specific dropdown and collapse styles */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #ffffff !important;
    padding: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    border-radius: 15px !important;
    margin-top: 15px !important;
    border: 1px solid rgba(0, 155, 154, 0.1) !important;
    width: calc(100% - 30px) !important;
    position: absolute !important;
    top: 60px !important;
    left: 15px !important;
    z-index: 2000 !important;
  }

  .navbar-nav {
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .nav-item {
    width: 100% !important;
    margin: 5px 0 !important;
  }

  .nav-link {
    padding: 12px 15px !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 8px !important;
  }

  .dropdown-menu {
    position: relative !important;
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: visible !important;
    transform: none !important;
    border-radius: 10px !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    background-color: var(--doddle-teal) !important;
    border: none !important;
    padding: 0 !important;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
  }

  .dropdown-menu.show {
    max-height: 1000px;
    /* Use a very safe max-height */
    opacity: 1;
    margin-top: 10px !important;
    padding: 5px 0 !important;
    pointer-events: auto;
    transition: transform 0.3s ease-in-out;
  }

  .dropdown-item {
    text-align: center !important;
    padding: 15px 10px !important;
  }
}

/* Right Side Small Links */
.utility-links .nav-link {
  font-size: 0.9rem;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.utility-links .nav-link:hover {
  color: var(--doddle-teal) !important;
}

/* Desktop spacing adjustment */
@media (min-width: 992px) {
  .navbar-nav.mx-auto {
    transform: translateX(35px);
  }
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-size: 22px;
  @media screen 
    and (max-width: 991px) {
    font-size: 16px;
  }
}

/* Standard Hero Banner for All Pages (Doddle Style) */
.hero-doddle {
  background-color: var(--doddle-bg);
  padding: 70px 0;
  border-bottom: 3px solid rgba(0, 155, 154, 0.1);
}

.hero-doddle-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #174052;
  line-height: 1.1;
  margin-bottom: 15px;
}

.hero-doddle-subtitle {
  font-size: 1.2rem;
  color: #174052;
  line-height: 1.6;
  opacity: 0.85;
}

@media (max-width: 991px) {
  .hero-doddle {
    padding: 50px 0;
  }
}

/* Master Doddle Action Button (Purple) */
.btn-doddle {
  background-color: #7b4bb7;
  color: #fff !important;
  border-radius: 50px;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(123, 75, 183, 0.3);
  text-decoration: none;
  margin-top: 1.5rem;
  transform: translateY(0);
  will-change: transform;
}

.btn-doddle:hover {
  background-color: #693aa8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 75, 183, 0.4);
}

.insurance-pill {
  background: #f5f5f5;
  border-radius: 70px;
  padding: 20px 40px;
  display: flex;
  align-items: start;
  gap: 12px;
  justify-content: start;
  font-weight: 600;
  color: #174052;
  transition: 0.3s;
  cursor: pointer;
  font-size: 24px;
  vertical-align: middle !important;
}

.insurance-pill:hover {
  background: var(--doddle-teal);
  transform: translateY(-4px);
  color: #fff;
  
}
.insurance-pill:hover img{
  fill:#dff7f4 ;
}
 
/* .help-section styles... */
.help-section {
  background-color: #FFFFFF;
}

.help-title {
  font-size: 35px;
  font-weight: 800;
  color: #174052;
}

.help-text {
  font-size: 22px;
  line-height: 1.6;
  color: #174052;
}


/* Circle Background */

.help-img {
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 991px) {
  .help-title {
    font-size: 32px;
  }

  .help-text {
    font-size: 18px;
    margin: auto;
  }
}

.call-centre-section {
  background-color: #2f4a5a;
  /* Dark blue background */
}

.section-title {
  font-size: 42px;
  font-weight: 800;
}

.section-text {
  font-size: 20px;
  line-height: 1.8;
  max-width: 620px;
}

.phone-img {
  max-width: 85%;
  width: 100%;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .section-title {
    font-size: 35px;
  }

  .section-text {
    font-size: 18px;
    margin: auto;
  }

  .phone-img {
    max-width: 300px;
  }
}

/* Top Section */
.footer-top {
  background-color: #f5f5f5;
}


.footer-link {
  text-decoration: none;
  font-size: 18px;
  color: #174052;
  font-weight: 500;
  margin-left: 5px;
  white-space: nowrap;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Purple Circle Icon */
.footer-icon {
  background-color: #7b4bb7;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  transition: 0.3s ease;
  flex-shrink: 0;
}

/*.footer-icon:hover {
  background-color: #693aa8;
  transform: translateY(-3px);
}*/

/* Bottom Section */
.footer-bottom {
  background-color: #2f4a5a;
}

.footer-text {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 991px) {
  .footer-logo {
    font-size: 32px;
  }

  .footer-link-item {
    justify-content: flex-start !important;
    gap: 10px;
    min-width: 0;
  }

  .footer-link {
    font-size: 16px;
    margin-left: 0;
  }

  .footer-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .footer-text {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .footer-link {
    white-space: normal;
  }
}

/* Credit Cards Page Specific Styles */
.feature-card {
  text-align: center;
  padding: 5px;
  transition: transform 0.3s ease;
}

.feature-title1 {
  font-size: 25px;
  font-weight: 800;
  color: #009D9A;
  margin-bottom: 15px;
}
.feature-title {
  font-size: 25px;
  font-weight: 800;
  color: #174052;
  margin-bottom: 15px;
}
.feature-text {
  line-height: 1.5;
  color: #174052;
  margin: 0 auto;
}

.sub-title {
  color: #174052;
  font-weight: 800;
  font-size: 35px;
  margin-bottom: 15px;
}


.section-intro-text {
  color: #174052;
  margin: 0 auto 30px;
}

/* Global Disclaimer / Fine Print Utility */
.doddle-disclaimer {
  padding: 40px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #6c757d;
  background-color: transparent;
}

/* Global Insurance Page Container Utility */
.doddle-insurance-container {
  background-color: var(--doddle-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doddle-disclaimer p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.doddle-disclaimer .disclaimer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #174052;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}

/* Sitewide FontAwesome Bullets Utility */
.fa-bullets {
  list-style: none;
  padding: 0;
}

.fa-bullets li {
  font-size: 22px;
  color: #174052;
  margin-bottom: 12px;
  position: relative;
  padding-left: 2.5rem;
  font-weight: regular;
  display: block;

}

.fa-bullets li::before {
  content: "\f058";
  /* Font Awesome Circle Check */
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  color: var(--doddle-teal);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}

.img-flip {
  transform: scaleX(-1);
}

/* Marketing & Provider Sections */
.providers-section {
  background-color: #fff;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.benefit-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon {
  width: 50%;
  height: auto;
}

.provider-logo {
  width: 80%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
  animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.provider-logo:hover {
  transform: scale(1.05);
}

.hero-img {
  width: 100%;
  height: auto;
}

/* =========================================
   Generic Alternating Content Sections
   ========================================= */

.section-white {
  padding: 80px 0;
  background: #fff;
}

.section-muted {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.content-img {
  width: 100%;
  max-width: 460px;
  height: auto;
}

@media (max-width: 991px) {

  .section-white,
  .section-muted {
    padding: 60px 0;
    text-align: center;
  }

  .content-img {
    max-width: 320px;
    margin-bottom: 32px;
  }
}

.travel-img{
  width:40px;
  transition:0.3s;
}

.insurance-pill:hover .travel-img{
  filter: brightness(0)  invert(1) ;
}
