: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: */
