/* Hero Text */

html, body {
    height: 100%; /* Ensure the body takes the full height */
    margin: 0; /* Remove default margin */
}

#mainNav .nav-item .btn a{
    color: var(--neutral-white) !important;
}

#mainNav a{
    color: var(--neutral-gray) !important;
}
#mainNav .btn-primary {
    color: var(--neutral-white) !important;
}
/* .hero {
    display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 20px;
  
} */

#hero-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    /* border-right: 3px solid var(--neutral-white); */
    position: relative;
    margin: 0 auto;
    width: max-content;
    word-wrap: break-word;
        max-width: 100%;
}

#hero-text.wrapped {
    white-space: normal;
}

/* @keyframes typing {
    from {
        width: 0;
        margin-left: 50%;
    }

    to {
        width: 100%;
        margin-left: 0;
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--neutral-white);
    }
} */

/* Header menu styles */
.menu {
    position: relative;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative;
}

.menu a {
    text-decoration: none;
    color: var(--neutral-white);
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

/* Dropdown menu hidden by default */
/* .dropdown {
    display: none;
    position: absolute;
    background-color: var(--neutral-white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 0.25rem;
    z-index: 1000;
    list-style: none;
} */

/* Show the dropdown on hover */
.menu-item:hover .dropdown {
    display: block;
}

.dropdown li {
    margin: 5px 0;
}

.dropdown li a {
    color: var(--neutral-gray);
    text-decoration: none;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
    /* Normal weight for consistency */
    padding: 0.25rem 0.5rem;
    /* Match Bootstrap's padding */
    display: block;
    /* Ensure full block links */
}

.dropdown li a:hover {
    color: var(--main-dark);
    /* Change color on hover */
}

#mainNav .navbar-text {
    color: var(--main-dark);

    padding: 0.5rem 0.5rem 0.25rem 0rem;
}


/* Sticky button styling */
.sticky-button {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--mid-blue);
    /* Adjust color as per theme */
    color: var(--neutral-white);
    text-align: center;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    /* Ensures it's always on top */
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
    transform: translateY(0);
}

/* Footer adjustment to hide the button */
.footer-visible {
    transform: translateY(100%);
    /* display: none; */
}

.card,
.card * {
    text-decoration: none;
}
.card {
    width: 300px;
    /* Fixed width for all cards */
    height: 400px;
    /* Fixed height for all cards */
    margin: 20px;
    /* Spacing between cards */
    overflow: hidden;
    /* Prevent content overflow */
    border: 1px solid var(--neutral-white);
    /* Optional border for the card */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    transition: transform 0.2s;
    /* Smooth transition on hover */
}

.card-wide {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.card:hover {
    transform: scale(1.05);
    /* Scale up on hover */
}

.card-img-top {
    width: 100%;
    /* Ensure the image takes the full width */
    height: 150px;
    /* Fixed height for images */
    object-fit: cover;
    /* Ensure the image covers the area */
}

.card-body {
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    height: calc(100% - 150px);
    /* Calculate remaining height for card body */
    justify-content: space-between;
    /* Space out content evenly */
}

.news-title {
    color: var(--darker-blue);
    font-size: 1.2rem;
    /* Adjust title font size */
    margin: 0;
    /* Remove default margin */
    font-weight: bold;
    text-decoration: none;
    /* Bold title for emphasis */
}

.news-subtitle {
    font-size: 0.9rem;
    /* Adjust subtitle font size */
    color: var(--neutral-gray);
    /* Set muted color */
    margin: 0;
    /* Remove default margin */
}

.news-link {
    color: var(--slate-blue);
    /* Link color */
    text-decoration: none;
    /* Remove underline */
}

.news-link:hover {
    text-decoration: underline;
    /* Underline on hover */
}


.icon-link {
    color: var(--neutral-white);
    /* Makes icons white */
    text-decoration: none;
    /* Removes underline */
}

.icon-wrapper {
    display: inline-block;
    text-align: center;
    margin-right: 15px;
}

.icon-wrapper p {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--secondary-slate);
    /* Muted text color */
}

.icon-wrapper i {
    vertical-align: middle;
}



.dropdown .nav-item a {
    display: flex;
    /* Aligns icon and text in a row */
    align-items: center;
    /* Vertically aligns the text and icons */
    padding: 10px 15px;
    /* Adjust padding as needed */
    text-decoration: none;
    /* Removes underline */
    color: inherit;
    /* Inherit color from parent */
}

.dropdown .nav-item a i {
    width: 30px;
    /* Set a fixed width for icons to align text properly */
    margin-right: 10px;
    /* Space between the icon and the text */
    color: var(--neutral-white);
    /* Icon color */
}

.dropdown .nav-item a span {
    margin-left: 5px;
    /* Space between icon and text */
}

.col-md-4 a {
    text-decoration: none;
    color: inherit;
}

.col-md-4 a:hover h4 {
    color: var(--main-dark);
    text-decoration: none;
    /* Ensure no underline on hover */
}

.col-md-4 a:hover p {
    color: var(--neutral-gray);
    /* Ensure no underline or unwanted style on paragraph */
}

.service-card a {
    text-decoration: none;
    color: inherit;
}

.service-card a:hover h4 {
    color: inherit;
    text-decoration: none;
    /* Ensure no underline on hover */
}

.service-card a:hover p {
    color: var(--neutral-gray);
    /* Ensure no underline or unwanted style on paragraph */
}

.form-group {
    padding: 10px 0;
    /* Adjust top and bottom padding as needed */
}
textarea.form-control {
    height: 150px;
    /* Set the desired height */
    resize: vertical;
    /* Allow vertical resizing only */
}


.spinner {
    border: 4px solid var(--neutral-white);
    border-top: 4px solid var(--main-teal);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.main-user-content {
    flex: 1; 
      overflow: auto; 
    }

body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.footer {
    margin-top: auto; /* Push the footer to the bottom */
}

.table-primary {
    --bs-table-bg: var(--accent-mint) !important;
    --bs-table-border-color: var(--light-steel-blue) !important;

}

.form-check-input:checked {
    background-color: var(--darker-blue);
    border-color: var(--darker-blue);
}

.toggle-buttons button {
  background: none;
  border: 2px solid var(--lighter-blue);
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 6px;
  color: var(--mid-blue);
  font-weight: 600;
  cursor: pointer;
}

.toggle-buttons .active-tab {
  background-color: var(--mid-blue);
  color: white;
}

.vertical-divider {
  position: absolute;
  top: 0%;
  right: 0;
  height: 100%;
  width: 1px;
  background-color: var(--dark-grey);
}

.card {
  border-radius: 1rem;
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
}

#how-it-works .card-body i {
  color: var(--mid-blue);
}

.content {
  display: none !important;
}

.content.active {
  display: block !important;
}

.trust-feature {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


.quote-card,
.quote-card-body {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    #how-it-works {
    padding-top: 3.5rem; /* equal or slightly bigger than toggle-buttons height */
  }
  #how-it-works .toggle-buttons {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--neutral-white);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
}

@media (max-width: 768px) {
  .card-wide {
    width: 80vw !important;  /* 80% of viewport width */
  }
}