/* Set the background color on the carousel-container to match your bg-gray */

#clients {
  padding-top: 0px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--off-white-color); /* Ensure this matches .bg-gray */
  }
  
  .carousel {
    overflow: hidden;
    width: 80%; /* Adjust as needed */
    position: relative;
  }
  
  /* Add the gradient fade effect on the sides */
  .carousel::before,
  .carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px; /* Adjust width as needed */
    pointer-events: none;
    z-index: 2;
  }
  
  .carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white-color), transparent);
  }
  
  .carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white-color), transparent);
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s linear; /* Smooth, continuous scroll */
    width: auto; /* Allow track to stretch with content */
  }
  
  
  .carousel-slide {
    flex: 0 0 auto;
    width: 200px; /* Adjust width as needed */
    padding: 10px;
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally if needed */
    align-items: center; /* Center vertically */
    height: 150px; /* Set a fixed height to ensure consistent centering */
    box-sizing: border-box; /* Include padding in the height */
  }
  
  .client-logo {
    max-width: 100%; /* Ensure the logo fits within the slide width */
    max-height: 100%; /* Ensure the logo fits within the slide height */
    object-fit: contain; /* Maintain aspect ratio while fitting within bounds */
  }
  
  .clients .client-logo {
    filter: brightness(100%) contrast(100%) saturate(0%) blur(0px) hue-rotate(0deg);
    transition: filter 0.3s ease-in-out;
  }
  
  .clients .client-logo:hover {
    filter: brightness(100%) contrast(100%) saturate(100%);
  }
  
/* Container for the entire contact section */
.contact-container {
    margin-top: 1.5rem;
    max-width: 72rem; /* Equivalent to Tailwind's max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    background-color: var(--dark-color); /* Replacing #333 with --dark-color */
    border-radius: 0.5rem; /* Rounded corners */
    padding: 2rem;
}

/* Grid setup for content */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    font-family: var(--paragraph-font); /* Using paragraph font */
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
        padding: 2rem 4rem; /* Padding adjustment for larger screens */
    }
}

/* Heading styles */
.contact-heading {
    font-size: 2.25rem; /* Equivalent to text-4xl */
    font-weight: bold;
    color: var(--white-color); /* Replacing #fff with --white-color */
}

/* Description paragraph styles */
.contact-description {
    font-size: 0.875rem; /* Equivalent to text-sm */
    color: var(--medium-grey-color); /* Replacing #d1d5db with --medium-grey-color */
    margin-top: 1rem; /* Equivalent to mt-4 */
    line-height: 1.75rem; /* Equivalent to leading-relaxed */
}

/* Styles for contact info list */
.contact-info-list {
    margin-top: 3rem; /* Equivalent to mt-12 */
    list-style: none;
    padding: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem; /* Equivalent to space-y-8 */
}

.contact-info-link {
    color: var(--white-color); /* Replacing #fff with --white-color */
    font-size: 0.875rem; /* Equivalent to text-sm */
    margin-left: 1rem; /* Equivalent to ml-4 */
}

/* Social links styling */
.social-links {
    display: flex;
    gap: 1rem; /* Equivalent to space-x-4 */
    margin-top: 3rem; /* Equivalent to mt-12 */
    list-style: none;
    padding: 0;
}

.social-link-item {
    background-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
    height: 2.5rem; /* Equivalent to h-10 */
    width: 2.5rem; /* Equivalent to w-10 */
    border-radius: 9999px; /* Equivalent to rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container for the contact form */
.contact-form-container {
    background-color: var(--off-white-color); /* Replacing #f3f4f6 with --off-white-color */
    padding: 1.5rem;
    border-radius: 0.5rem; /* Rounded corners */
}

/* Form heading */
.form-heading {
    font-size: 0.875rem; /* Equivalent to text-sm */
    font-weight: 600;
    color: var(--dark-grey-color); /* Replacing #1f2937 with --dark-grey-color */
}

/* Toggle button group */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem; /* Equivalent to mt-4 */
}

.toggle-btn {
    padding: 0.5rem 1rem; /* Equivalent to px-4 py-2 */
    border: 2px solid var(--medium-grey-color); /* Replacing #d1d5db with --medium-grey-color */
    border-radius: 0.5rem; /* Rounded corners */
    font-size: 0.875rem; /* Equivalent to text-sm */
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
}

.toggle-btn.selected {
    background-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
    color: var(--white-color); /* Replacing #fff with --white-color */
}

.toggle-btn:not(.selected) {
    background-color: transparent;
    color: var(--dark-grey-color); /* Replacing #1f2937 with --dark-grey-color */
}

/* Form input fields */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem; /* Equivalent to py-3 px-4 */
    border: 1px solid var(--medium-grey-color); /* Light gray border */
    border-radius: 0.5rem; /* Rounded corners */
    font-size: 0.875rem; /* Equivalent to text-sm */
    color: var(--dark-grey-color); /* Replacing #1f2937 with --dark-grey-color */
    outline: none;
    transition: border-color 0.3s; /* Smooth transition */
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
}

/* Form submit button */
.submit-btn {
    background-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
    color: var(--white-color); /* Replacing #fff with --white-color */
    padding: 0.75rem 1rem; /* Equivalent to px-4 py-3 */
    border-radius: 0.5rem; /* Rounded corners */
    font-size: 0.875rem; /* Equivalent to text-sm */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 1.5rem; /* Equivalent to mt-6 */
    transition: background-color 0.3s; /* Smooth transition */
}

.submit-btn:hover {
    background-color: var(--brand-color-gradient-dark); /* Replacing #0056b3 with --brand-color-gradient-dark */
}
/* SPECIFIC SECTION - EASY PROCESS */
.easy-process {
    text-align: center;
    background-image: var(--color-gradient-deep-blues);
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white-color);
  }

  .easy-process h2 {
    color: var(--white-color);
  }

  .easy-process h3 {
    color: var(--white-color);
    font-size: 1.5rem;
    padding-bottom: 10px;
  }
  
  .process-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 2rem; /* Space between columns */
    align-items: center; /* Vertically centers the content */
  }
  
  .process-content, .image-area {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers items vertically within the column */
    align-items: center; /* Centers items horizontally within the column */
  }

  .process-content, .image-area img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.step {
    padding-top: 10px;
}

  .steps {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between steps */
    align-items: left;
  }
  
  .easy-process .image-area {
    flex: 0 0 50%; /* Image takes up 45% of the width */
    margin-right: 20px; /* Gap between image and content */
    display: flex; /*Use flex to stretch the image */
    align-items: strech; /* Stretch the image to fill content area */
    padding-top: 60px;    
  }

  .process-image .image-wrapper {
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
    margin-bottom: 1rem; /* Add space between image and button */
    
  }
  
  .image-area .image-wrapper {
    width: 90%; /* Keep the full width */
    padding-top: 70%; /* Set the height proportionally to width to create a square aspect ratio */
    position: relative; /* For proper layout */
  }
  
  .image-area .image-wrapper img {
    position: absolute; /* Position the image absolutely within the wrapper */
    top: 0;
    left: 0;
    width: 100%; /* Ensure it fills the square wrapper */
    height: 100%; /* Maintain square shape */
    border-radius: 10px; /* Rounded corners */
    object-fit: cover; /* Cover the entire area */
  }

  .cta-button {
    display: inline-block;
    background-image: linear-gradient(
      180deg,
      var(--brand-color-gradient-light),
      var(--brand-color)
    );
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: var(--button-font-size);
    overflow: hidden;
    transition: opacity 0.3s ease; /* Smooth transition */
  }
  
  .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
      180deg,
      var(--brand-color),
      var(--brand-color-gradient-dark)
    );
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .cta-button:hover::before {
    opacity: 1;
  }
  
.error-container {
  width: 100%;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-title {
  font-size: 70px;
  margin: 0 0 10px 0;
  color: #082F47
}

.error-subtitle {
  font-size: 36px;
  margin-bottom: 10px;
  color: #082F47
}

.error-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: black;
}

.back-btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #1477B4;
  background-color: #1477B4;
  color: #FFFFFF;
  font-size: 15px;
  margin-right: 6px;
  border-radius: 6px;
  transition: all ease-in-out 0.2s;
}

.back-btn:hover {
  background-color: #082F47;
}
/* Container for the FAQ section */
.faq-container {
    font-family: var(--paragraph-font);
    max-width: 72rem; /* Equivalent to Tailwind's max-w-6xl */
    margin: 0 auto; /* Center the container */
    
}

/* FAQ section heading */
.faq-heading {
    text-align: center;
}

/* Individual FAQ item */
.faq-item {
    border-radius: 0.5rem; /* Rounded corners */
    transition: background-color 0.3s;
}

/* Hover effect for FAQ item */
.faq-item:hover {
    background-color: var(--light-color); /* Equivalent to hover:bg-blue-50 */
}

.faq-item p {
    text-align: left;
}

/* FAQ question button */
.faq-question {
    width: 100%;
    text-align: left;
    font-size: 1rem; /* Equivalent to text-base */
    font-weight: 600; /* Equivalent to font-semibold */
    padding: 1.25rem 1.5rem; /* Equivalent to py-5 px-6 */
    color: var(--dark-grey-color); /* #333 */
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

/* FAQ question text */
.faq-question-text {
    margin-right: 1rem; /* Equivalent to mr-4 */
}

/* FAQ icon */
.faq-icon {
    width: 1rem; /* Equivalent to w-4 */
    fill: currentColor; /* Use current text color */
    margin-left: auto;
    transform: rotate(-90deg);
    transition: transform 0.3s; /* Smooth transition for rotation */
}

/* Hidden class to hide FAQ answers */
.hidden {
    display: none;
}

/* FAQ answer container */
.faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease; /* Smooth transition */
    max-height: 0; /* Initially set max-height to 0 */
    transform: rotate(0deg); /* Start pointing to the right */
    padding: 0.50rem 1.5rem; /* Matching padding to align with .faq-question */
    color: var(--dark-grey-color); /* #333 */
}

/* Rotate the icon */
.faq-icon {
    transition: transform 0.3s ease; /* Smooth rotation */
}
.footer {
    background-color: #082f47; /* Dark color HEY*/
    font-family: sans-serif;
    letter-spacing: 0.05em;
  }

  .footer-content {
    padding: 3.5rem 1.5rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  .footer-section h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff; /* White color */
    font-family: "EB Garamond", serif;
  }

  .footer-section p,
  .footer-section a {
    color: #fdfdfd;
    font-size: 0.875rem;
  }

  .footer-section a:hover {
    color: #ffffff; /* White color on hover */
  }

  .footer-section ul {
    list-style: none;
    padding: 0;
  }

  .footer-section ul li {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    padding: 10px 0 10px 0;
    text-align: center;
    background-color: (--dark-color);
  }

  .footer-bottom p {
    color: #fdfdfd;
    font-size: 0.875rem;
  }
@media (max-width: 450px) and (max-height: 1000px) {
  #header-id img {
    height: 65px;
  }

  #header-cta {
    margin: 0;
  }

  header {
    height: 220px;
  }

  header.content-grid {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
  }

  header.content-grid .item-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #hero {
    display: flex;
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 20px;
  }

  .hero.breakout {
    padding: 10px;
    display: block;
    width: 100%;
  }

  .hero.breakout h1 {
    margin: 60px 0 40px 0;
  }

  .hero.breakout p {
    font-size: 18px;
  }

  #hero-button {
    margin: 40px 10px 10px 10px !important;
  }

  #risks h2 {
    font-size: 34px;
  }
  .risks-columns {
    width: 100% !important;
    padding: 10px !important;
  }

  #benefits {
    margin-top: 250px;
  }

  #easy-process {
    display: flex;
  }

  .process-container {
    display: flex !important;
    flex-direction: column;
    padding: 15px;
  }

  .content-area h2 {
    font-size: 36px;
  }

  .image-area {
    justify-content: flex-start !important;
    margin-right: 0 !important;
  }

  .service.card {
    margin-bottom: 20px;
  }

  .service h3{
    line-height: 1.5 !important;
  }

  .service-content {
    padding: 0px 40px !important;
  }

  #contact-us {
    padding-top: 0;
  }

  .contact-heading {
    text-align: center;
  }

  .contact-info-list {
    text-align: center;
  }

  .contact-info-item {
    justify-content: center;
  }

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

  .footer-section {
    text-align: center;
  }
}
/* Container for the risks section */
.risks {
  text-align: center;
}

/* Apply red to the specific intro h3 */
.risks .intro-statement {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--alert-color); /* Ensure red color */
  margin-bottom: 25px;
  grid-column: 1 / -1; /* Span the intro across both columns */
}

/* General styling for other h3 elements */
.risks h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Container for the two-column layout */
.risks-columns {
  background-color: var(--light-grey-color); /* Light grey background */
  border: 2px solid var(--dark-grey-color); /* Dark border */
  border-radius: 10px; /* Rounded corners */
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
  width: 80%; /* Adjust width to 80% of its current size */
  margin: 0 auto;
}

/* The grid to align the rows in both columns */
.risks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal-width columns */
  grid-template-rows: repeat(3, auto); /* Three rows */
  gap: 20px; /* Spacing between the columns and rows */
}

/* Styling for each row in the grid */
.risks-row {
  display: contents; /* Maintain the row structure for alignment */
}

/* Styling for the unordered lists */
.risks-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List items styling */
.risks-list li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 35px; /* Leave space for the icon */
  text-align: left;
  font-size: 1.2rem;
  color: var(--dark-grey-color);
}

/* Adding the Font Awesome hand icon as a bullet */
.risks-list li::before {
  content: '\f138'; /* Unicode for Font Awesome hand-point-right */
  font-family: 'Font Awesome 5 Free'; /* Font Awesome */
  font-weight: 900; /* Solid icon weight */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--dark-grey-color); /* Your dark color */
  padding-right: 10px;
}

/* Styling for the outro statement (risks-statement) */
.risks-statement {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-grey-color);
  margin-top: 40px;
}
/* SPECIFIC SECTION - SERVICES */

.services {
    text-align: center;
    background-image: var(--color-gradient-deep-blues);
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white-color);
  
  }

.service {
    border-radius: 10px;
}

  .service h2 {
    color: var(--white-color);
    
  }
    .service h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.5;
      }

  .service-content {
    
    padding: 0px 80px;
  }

  /* Optional: Add a box-shadow to make the cards pop */
.service.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* app/assets/stylesheets/_terms.css */

/* Force everything left-aligned inside .terms-container */
.terms-container,
.terms-container * {
  text-align: left !important; /* Ensures no inherited center align overrides */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  font-family: Arial, sans-serif;
}

/* Outer container styling */
.terms-container {
  max-width: 800px;
  margin: 1rem auto;      /* Just 1rem top/bottom margin to reduce vertical space */
  background-color: #fff;
  padding: 1rem 2rem;     /* Adjust padding as you like */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
}

/* Main Title (Section 0 or top heading) */
.terms-container h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem; /* Slightly smaller than 1rem to reduce spacing */
  text-align: center !important; /* Only the main title is centered */
}

/* Section Subheadings (1,2,3...) */
.terms-container h2 {
  font-size: 1.25rem;
  margin-top: 0.75rem;   /* Less space above each section heading */
  margin-bottom: 0.5rem; /* Less space below heading */
  color: #444;
  border-bottom: 1px solid #ddd; /* Thin line to separate sections */
  padding-bottom: 0.3rem;
}

/* Adjust spacing for each section to remove big gaps */
.terms-container section {
  margin-bottom: 2rem; /* Controls the gap between consecutive sections */
}

/* Basic paragraph styling */
.terms-container p {
  margin-bottom: 0.6rem;  /* Smaller gap between paragraphs */
  line-height: 1.6;
}

/* Bulleted lists in the main content sections */
.terms-container ul {
  list-style: disc outside;
  margin-bottom: 0.6rem;
  margin-left: 1.5rem; /* Indent bullets slightly from left edge */
}

.terms-container ul li {
  margin-bottom: 0.3rem;
}

/* JUMP TO SECTION NAVIGATION (Now numbered, no bullets) */
.terms-nav {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;   /* Smaller gap under the nav */
}

.terms-nav strong {
  display: block;
  margin-bottom: 0.5rem;
}

.terms-nav ol {
  list-style-type: decimal;
  margin: 0;
  padding-left: 1.5rem; /* Indent numbers from the left edge */
}

.terms-nav li {
  margin-bottom: 0.3rem;
}

/* Links in nav or content */
.terms-nav a,
.terms-container a {
  color: #0066cc;
  text-decoration: none;
}

.terms-nav a:hover,
.terms-container a:hover {
  text-decoration: underline;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .terms-container {
    margin: 0.5rem auto;
    padding: 1rem;
  }
  .terms-container h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .terms-container h2 {
    font-size: 1.15rem;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
  }
  .terms-container ul {
    margin-left: 1rem;
  }
}
.testimonials-container {
    display: flex; /* Use flexbox for horizontal layout */
    gap: 20px; /* Space between items */
    justify-content: center; /* Center the testimonials horizontally */
    flex-wrap: wrap; /* Allow wrapping if there are too many items for one line */
  }

.testimonial {
    font-family: sans-serif;
    max-width: 410px;
    padding: 24px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);;
    position: relative;
    margin: 48px auto;
    text-align: center;
  }
  
  .author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -40px;
  }
  
  .testimonial-content {
    margin-top: 40px;
  }
  
  .author-info {
    margin-bottom: 16px;
  }
  
  .author-name {
    font-size: 14px;
    font-weight: 800;
    color: #4a4a4a;
  }
  
  .author-position {
    font-size: 12px;
    color: #9e9e9e;
    margin-top: 4px;
  }
  
  .testimonial-details {
    margin-top: 16px;
  }
  
  .testimonial-title {
    font-size: 18px;
    font-weight: 800;
    color: #4a4a4a;
    margin-bottom: 8px;
  }
  
  .testimonial-text {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
  }
  
  .testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
  }
  
  .star {
    width: 20px;
    fill: #facc15; /* Yellow star color */
  }
  
  .star.empty {
    fill: #CED5D8; /* Gray color for the empty star */
  }
  
:root {
  --white-color: #ffffff; /* White */
  --off-white-color: #eeeeee; /* Gray */ /* ALT #f9fcfd; Blue-White */
  --light-color: #d9f0ff; /* Alice Blue */
  --brand-color: #1477b4; /* Honolulu Blue */
  --brand-color-gradient-dark: #0056b3; /*Sapphire*/
  --brand-color-gradient-mid: #0a5c8f;
  --brand-color-gradient-light: #4f8db5; /* Air Force Blue */
  --dark-color: #082f47; /* Prussian Blue */
  --accent-color: #96897b; /* Beaver */
  --valid-color: #00856f; /* NEW GREEN */
  --title-font: "EB Garamond", serif;
  --paragraph-font: "Open Sans", Arial, sans-serif;
  --button-font: "Open Sans", sans-serif; /*To easily adjust buttons and navs with consistency*/
  --button-font-size: 18px; /*To easily adjust buttons and navs with consistency*/
  --alert-color: #b85238;
  --dark-grey-color: #3c4856;
  --medium-grey-color:#a0acbd;
  --color-gradient-deep-blues: linear-gradient(270deg, var(--dark-color) 0%, var(--brand-color-gradient-mid) 100%);
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: var(--paragraph-font);
  scroll-behavior: smooth;
}

.header-layout {
  display: flex;
}

@font-face {
  font-family: "EB Garamond";
  src: url(/fonts/EBGaramond-Regular.woff2) format("woff2"),
       url(/fonts/EBGaramond-Regular.woff) format("woff"),
       url(/fonts/EBGaramond-Regular.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url(/fonts/EBGaramond-Bold.woff2) format("woff2"),
       url(/fonts/EBGaramond-Bold.woff) format("woff"),
       url(/fonts/EBGaramond-Bold.ttf) format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url(/fonts/OpenSans-Regular.woff2) format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Testimonial Font';
  src: url(/path/to/testimonial-font.woff2) format('woff2');
  font-display: swap;
}


/* MAIN PAGE GRID SETUP */
.content-grid {
  --padding-inline: 1rem;
  --content-max-width: 1280px;
  --breakout-max-width: 1500px;

  --breakout-size: calc(
    (var(--breakout-max-width) - var(--content-max-width)) / 2
  );

  display: grid;
  grid-template-columns:
    [full-width-start] minmax(var(--padding-inline), 1fr)
    [breakout-start] minmax(0, var(--breakout-size))
    [content-start] min(
      100% - (var(--padding-inline) * 2),
      var(--content-max-width)
    )
    [content-end]
    minmax(0, var(--breakout-size)) [breakout-end]
    minmax(var(--padding-inline), 1fr) [full-width-end];
}

/* Assign 'content' column to children by default */
.content-grid > :not(.full-width) {
  grid-column: content;
}

/* Adjust grid when both 'content-grid' and 'breakout' classes are present */
.content-grid.breakout {
  /* Redefine grid columns to use 'breakout' area */
  grid-template-columns:
    [full-width-start] minmax(var(--padding-inline), 1fr)
    [breakout-start] min(
      100% - (var(--padding-inline) * 2),
      var(--breakout-max-width)
    )
    [breakout-end]
    minmax(var(--padding-inline), 1fr) [full-width-end];
}

/* Assign 'breakout' column to children */
.content-grid.breakout > * {
  grid-column: breakout;
}

/* Adjust grid when both 'content-grid' and 'full-width' classes are present */
.content-grid.full-width {
  grid-template-columns:
    [full-width-start] minmax(0, 1fr)
    [full-width-end];
}

.content-grid.full-width > * {
  grid-column: full-width;
}

img.full-width {
  width: 100%;
  max-height: 45vh;
  object-fit: cover;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.wrapper {
  width: calc(100% - 3rem);
  max-width: 900px;
  margin-inline: auto;
}

.flow > * + * {
  margin-top: var(--flow-spacing, 1em);
}

.section-padding {
  padding-block: 2.5rem;
}

.primary-header {
  padding-block: 1rem;
  margin-block-end: 3rem;
  display: flex;
  grid-column: full-width;
}

.primary-header__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.even-columns {
  display: flex;
  gap: 1rem;
}

/*HEADINGS*/

h1,
h2,
h3 {
  font-family: "EB Garamond", serif;
  line-height: 1.2;
  font-size: 1.5rem;
  font-weight: 500;
}

h1 {
  font-size: 63px;
  font-style: normal;
  text-align: left;
  letter-spacing: 0.5px;
  font-weight: 500;
  line-height: 1.25;
}

h2 {
  color: var(--dark-color);
  font-size: 55px; /* Font size for H2 */
  font-weight: 500;
  box-sizing: border-box;
}

/*HEADER, NAV, LOGO, CALL TO ACTION*/

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--white-color);
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-wrapper {
  display: flex;
}

.logo img {
  height: 90px; /* Adjust the size as necessary */
  /* width: auto;   /* Maintain aspect ratio */
  /* display: block; /* Ensures no extra space around the image */
}

/* Removes default list styling */
.content-grid .item-container {
  display: flex;
  justify-content: space-between; /* Aligns children elements with space distributed between */
  align-items: center; /* Centers items vertically */
  width: 100%; /* Ensures the container takes full width */
}

.content-grid .logo {
  flex: 1; /* Allows the logo to grow and push other elements */
  text-align: left; /* Ensures the logo aligns to the left */
}

#header-nav {
  flex: 1; /* Allows nav to take more space, centering it between logo and CTA */
  display: flex;
  justify-content: center; /* Center the nav items within the nav element */
  z-index: 2
}

#header-nav ul {
  list-style: none; /* Removes bullet points */
  padding: 0;
  margin: 0;
  display: flex;
}

#header-nav ul .item-container {
  display: flex;
}

#header-nav li {
  margin: 0 10px; /* Space between nav items */
}

#header-nav a {
  text-decoration: none;
  color: #082F47; /* Dark text color */
  font-size: var(--button-font-size);
  transition: color 0.3s, background-color 0.3s, text-decoration-color 0.3s; /* Added transition for background-color and text-decoration-color */
}

#header-nav > ul > li:not(.dropdown) > a:hover {
  text-decoration: underline; /* Added underline effect for nav items without children */
  text-decoration-color: var(--brand-color); /* Added brand color to underline effect */
}

#header-nav > ul > li > a:hover,
#header-nav .dropdown:hover > a {
  color: var(--brand-color); /* Change text color to brand color on hover for all parent links */
}

#header-nav .dropdown:hover > a {
  background-color: transparent; /* Ensure the background does not change on hover */
}

.dropdown-content a:hover {
  background: linear-gradient(to bottom, var(--brand-color), var(--brand-color-gradient-light));
  color: var(--white-color) !important; /* Ensures text color is white on hover */
}

.dropdown-content {
  position: absolute;
  background: linear-gradient(to bottom, var(--white-color), var(--off-white-color)); /* Added gradient background */
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px; /* Rounded corners */
  transform: translateY(-10px); /* Start slightly higher */
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease; /* Added transform to the transition */
  opacity: 0; /* Set initial opacity to 0 */
  visibility: hidden; /* Start with dropdown not visible */
  pointer-events: none; /* Disable pointer events when dropdown is not visible */
}

.dropdown-content a {
  color: var(--dark-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Light separation between items */
}

.dropdown-content a:first-child {
  border-top-left-radius: 5px; /* Apply rounded top left corner to the first item */
  border-top-right-radius: 5px; /* Apply rounded top right corner to the first item */
}

.dropdown-content a:last-child {
  border-bottom: none;
  border-bottom-left-radius: 5px; /* Apply rounded bottom left corner to the last item */
  border-bottom-right-radius: 5px; /* Apply rounded bottom right corner to the last item */
}

.dropdown:hover .dropdown-content {
  opacity: 1; /* Fully visible on hover */
  visibility: visible; /* Ensured dropdown becomes visible on hover */
  transform: translateY(0); /* Move to original position */
  pointer-events: auto; /* Enable pointer events when dropdown is visible */
}

#header-cta {
  display: inline-block;
  margin-left: auto;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
  .content-grid .item-container {
      flex-direction: column;
      text-align: center;
  }

  #header-nav, #header-cta {
      width: 100%;
      text-align: center;
  }

  #header-cta {
      margin-top: 10px; /* Adds space between nav and button on smaller screens */
  }
}



/* SECTION STYLES */

/*ALL SECTIONS*/

section {
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
}

section h2 {
  font-size: 52px; /* Set font size */
  margin-bottom: 55px; /* Space below the title */
  color: var(--dark-color);
  font-weight: 500;
  }

h3 {
  color: var(--dark-color);
  font-size: 20px; /* Font size for H3 */
}

/* Example: Adding padding to sections with a specific class */
.section-padding {
  padding: 100px; /* Adjust the value as needed */
}

/* Example: Adding margin to sections with a specific class */
.section-margin {
  margin: 0px 0; /* Adjust the value as needed */
}

/*SECTION BACKGROUNDS*/

.bg-gray {
  background-color: var(--off-white-color);
  color: var(--dark-color);
}

.bg-white {
  background-color: var(--white-color);
  color: var(--dark-color);
}

.bg-blue {
  background-color: var(--dark-color);
  color: var(--white-color);
}

/* SECTION TEXT */

.text-dark {
  color: var(--dark-color);
}

.text-light {
  color: var(--white-color);
}

/* Styles for section titles on white backgrounds */
.bg-white h2 {
  color: var(--dark-color);
}

/* Styles for section titles on blue backgrounds */
.bg-blue h2 {
  color: var(--white-color);
}

/* Standard Container */

.item-container {
  justify-content: space-around;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/*SPECIFIC SECTIONS*/

/*SPECIFIC SECTION - FEATURES*/

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.6)
    ),
    url(/../images/AdobeStock_180842978_Preview.jpeg);
  background-size: cover;
  background-size: cover; /* Cover ensures the image covers the entire section */
  background-position: center; /* Aligns the background image in the center of the section */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  grid-column: breakout;
  padding: 0;
  padding-left: 80px;
  border-radius: 0px 0px 25px 25px;
}

#hero {
  padding: 0;
  min-height: 800px;
}

#hero-button {
  margin: 10px;
  margin-left: 110px;
}

.hero h1 {
  margin-bottom: 15px; /* Reduce bottom margin of h1 */
}

.hero p {
  margin-top: 0; /* Reduce top margin of p if necessary */
  font-size: 22px;
  text-align: left;
}

.hero h1,
.hero p {
  color: white; /* Change text color for better visibility */
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7); /* Adds a dark shadow to make text stand out */
}

.feature-container {
  justify-content: space-around;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

#features {
  padding-top: 30px;
  padding-bottom: 30px;
}

.feature {
  text-align: center;
  font-weight: 600;
}

.checkmark i {
  color: var(--valid-color); /* Use your desired color */
  font-size: 25px; /* Adjust size as needed */
  margin-right: 8px; /* Spacing between the icon and text */
}


/*SPECIFIC SECTION - BENEFITS*/

.card-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap; /* Prevents the cards from wrapping to the next line */
  gap: 20px;
}

.checkmark {
  font-size: 24px;
  color: var(--valid-color);
  margin-bottom: 10px;
}

.benefits-checkmark {
  font-size: 42px;
  color: var(--valid-color);

}

.card {
  flex: 1; /* Each card will take equal space in the container */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: var(--white-color);
  text-align: center;
  margin: 10px; /* Optional: Adds additional spacing around cards if needed */
}

.card h3 {
  color: var(--dark-color);
}

.card p {
  color: var(--dark-color);
  font-family: var(--paragraph-font);
}



/* SPECIFIC SECTION - AUTHORITY */


.authority .item-container {
  display: flex;
  flex-wrap: nowrap; /* Prevent items from wrapping */
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin-top: 30px;
  gap: 30px; /* Gap between items */
}

.authority .image-area {
  flex: 0 0 43%; /* Image takes up 45% of the width */
  margin-right: 20px; /* Gap between image and content */
  display: flex; /*Use flex to stretch the image */
  align-items: strech; /* Stretch the image to fill content area */
}

.authority .image-area img {
  width: 100%; /* Ensures image takes full width of container */
  height: 100%;
  border-radius: 10px; /* Rounded corners for the image */
  object-fit: cover; /* Keep the image aspect ratio while covering the area */
  object-position: 70%;
}

.authority .content-area {
  flex: 0 0 55%; /* Content takes up 55% of the width */
  padding: 60px;
  background-color: var(--dark-color);
  color: var(--white-color);
  border-radius: 10px; /* Rounded corners */
  box-sizing: border-box; /* Include padding in width calculation */
  }

.authority .content-area h2 {
  color: var(--white-color);
  margin-top: 0; /* Remove any unwanted margin */
  text-align: left;
}

.authority .content-area p {
  text-align: left; /* Left-align text */
  margin-bottom: 1em; /* Adds space between paragraphs */
  line-height: 1.6; /* Increases line height for better readability */
}

.cta-button {
  position: relative; /* Needed for absolute positioning of pseudo-elements */
  width: fit-content;
  margin: 40px;
  background-image: linear-gradient(
    180deg,
    var(--brand-color-gradient-light),
    var(--brand-color)
  ); /* Base gradient */
  color: white;
  padding: 10px 20px ;
  border: none;
  border-radius: 8px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-size: var(--button-font-size);
  overflow: hidden; /* Ensures no overflow outside the button's boundaries */
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    180deg,
    var(--brand-color),
    var(--brand-color-gradient-dark)
  ); /* Gradient for hover */
  border-radius: 8px; /* Ensures rounded corners are maintained */
  opacity: 0; /* Start fully transparent */
  transition: opacity 0.3s ease; /* Smooth transition for the opacity */
  z-index: -1;
}

.cta-button:hover::before {
  opacity: 1; /* Full opacity on hover, showing the gradient */
}


/*SPECIFIC SECTION - TESTIMONIALS*/

.testimonials {
  font-family: var(--paragraph-font);
  text-align: center;
  background-color: #eeeeee; /* Light gray background */
}
.quote {
  font-family: var(--paragraph-font);
  font-display: swap;
  font-style: italic; /* Italicized font for quotes */
  font-size: 16px; /* Adjust font size as necessary */
  line-height: 1.4;
  text-wrap: wrap;
}

.rating img {
  height: 25px; /* Adjust size as necessary */
  margin: 10px 0;
}

.author {
  font-weight: bold;
  margin-top: 5px;
  font-family: var(--title-font);
}

/* SECTION - CONTACT FORM */

.contact-section {
  border-radius: 8px;
  width: 100%;  /* Use 100% width for the section */
  max-width: 600px; /* Max width to control the size */
  margin: 20px auto; /* Auto margins for horizontal centering */
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center-align the children */
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column; /* Stack label and input vertically */
  width: 100%; /* Ensure form group takes full width */
}

.form-group label {
  text-align: left; /* Ensure label is left-aligned */
  margin-bottom: 5px; /* Space between label and input */
}

.form-group input,
.form-group textarea {
  width: 100%; /* Input fields take full available width */
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  caret-color: var(--brand-color);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-color);
  background-color: #f9fcfd;
  outline: none;
}

input[type="checkbox"]:checked {
  background-color: var(--brand-color);
}

/* FOOTER */

.site-footer {
  background-color: #2c3e50; /* Dark background for the footer */
  color: var(--off-white-color);
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--off-white-color)
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li a {
  color: var(--off-white-color);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-column li a:hover {
  opacity: 1;
}

/* WORKING AREA: */
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
 @import "tailwindcss/base";
 @import "tailwindcss/components";
 @import "tailwindcss/utilities";
 @import "clients";
 @import "contact_us";
 @import "easy_process";
 @import "errors_pages";
 @import "faq";
 @import "footer";
 @import "media_screen";
 @import "risks";
 @import "services";
 @import "terms";
 @import "testimonials";

