/* Fonts */
@font-face {
  font-family: 'Avenir';
  src: url('/duravant/assets/fonts/Avenir.woff') format('woff'),
    url('/duravant/assets/fonts/Avenir.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'StMarie';
  src: url('/duravant/assets/fonts/StMarie-DemiBold.woff') format('woff'),
    url('/duravant/assets/fonts/StMarie-DemiBold.ttf') format('truetype');
  font-weight: bold;
  /* Adjust as needed */
  font-style: normal;
}

:root {
  --default-font: 'Avenir', sans-serif;
  --heading-font: 'StMarie', sans-serif;
  --nav-font: 'Avenir', sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #f1f0f0;
  /* Background color for the entire website, including individual sections */
  --default-color: #000000;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #80D3ED;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #000000;
  /* The default color of the main navmenu links */
  --nav-hover-color: #80D3ED;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #000000;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #80D3ED;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #f3f4f4;
  --surface-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 15px;
}

a {
  color: #1ba5c0;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #1ba5c0 !important;
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: #FFFFFF;
  height: 68px;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 52px;
  margin-top: 11px;
  margin-bottom: 11px;
  margin-right: 8px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .dropdown {
    position: relative;
  }

  .dropdown-btn {
    display: flex;
    align-items: center;
    background-color: #1ba5c0;
    /* Button background color */
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: white;
    /* Button text color */
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
  }

  .dropdown-btn:hover {
    background-color: #F1F0F0;
    /* Hover background color */
    color: #1ba5c0;
  }

  .toggle-dropdown {
    margin-left: 8px;
    /* Space between text and icon */
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    width: 200px;
    /* Adjust width as needed */
  }

  .dropdown-menu li {
    padding: 8px 12px;
  }

  .dropdown-menu li a {
    color: #333;
    text-decoration: none;
  }

  .dropdown-menu li a:hover {
    background-color: #f8f9fa;
  }

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

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #000000;
    padding: 18px 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover>a {
    color: #1ba5c0;
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {

  /* Style for the dropdown button */
  .navmenu .dropdown-btn {
    width: 100%;
    text-align: left;
    background-color: var(--nav-mobile-background-color);
    /* Matches mobile menu background */
    color: var(--nav-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }

  .navmenu .dropdown-btn:hover {
    background-color: var(--nav-hover-color);
    color: var(--contrast-color);
  }

  /* Chevron rotation for active dropdown */
  .navmenu .dropdown-btn i {
    transition: transform 0.3s;
  }

  /* Style for the dropdown menu */
  .navmenu .dropdown ul {
    position: static;
    display: none;
    /* Hidden by default */
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition: all 0.5s ease-in-out;
  }

  /* Dropdown items styling */
  .navmenu .dropdown ul a {
    color: var(--nav-dropdown-color);
    padding: 8px 20px;
    display: block;
  }

  .navmenu .dropdown ul a:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: rgba(0, 0, 0, 0.05);
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover {
    color: #FFFFFF;
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown ul a {
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .width-adj {
    width: 105%;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: #656867;
  color: #FFFFFF;
  padding: 40px 0;
  font-size: 14px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer a {
  color: #FFFFFF;
}

.footer a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #1ba5c0;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: #6c6c6c;
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.icon-download {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.download-icon {
  width: 20px;
  /* Adjust size as needed */
  height: 20px;
  margin-right: 8px;
  /* Space between icon and text */
}

.cat-headline {
  font-size: 13.2px;
  color: #000000 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.headline {
  font-size: 32px;
  line-height: 34px !important;
  color: #1ba5c0 !important;
}

.about.section {
  padding-top: 97px;
  padding-bottom: 90px;
  /* Adjust this value for more or less space */
  /* Optional: Set a minimum height for the section */
  /* min-height: 750px;  */
}

.about p {
  line-height: 1.7;
  color: #656867;
}

.about .section-subtitle {
  font-size: 15px;
  margin-bottom: 10px;
  display: block;
  color: var(--default-color);
}

.image-container {
  width: 100%;
  /* Matches column width */
  height: 500px;
  /* Set a taller fixed height (adjust as needed) */
  overflow: hidden;
  /* Hide the overflow */
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  /* Make the image fill the container's height */
  object-fit: cover;
  /* Ensure the image maintains its aspect ratio while filling */
  transform: scale(1.2);
  /* Zoom effect */
}

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/
@media (max-width: 991px) {

  /* Targets tablets and smaller screens */
  .row {
    display: flex;
    flex-direction: column !important;
    /* Stacks items vertically */
  }

  .col-lg-6 {
    order: 2;
    /* Moves image below */
    width: 100% !important;
  }

  .col-lg-5 {
    order: 1;
    /* Ensures text stays above */
    width: 100% !important;
  }
}