/* Fonts */
:root {
  --default-font: "Plus Jakarta Sans", sans-serif;
  --heading-font: "Plus Jakarta Sans", sans-serif;
  --nav-font: "Plus Jakarta Sans", sans-serif;
}

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

/* 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: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #151515; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #cfa713; /* 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: #312f2f; /* 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: rgba(
    255,
    255,
    255,
    0.905
  ); /* The default color of the main navmenu links */
  --nav-hover-color: #ffc451; /* 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: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffc451; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/*--------------------------------------------------------------
# Classes for styling that doesn't exist in bootstrap
--------------------------------------------------------------*/
.color-white {
  color: #ffffff;
}

.color-accent {
  color: var(--accent-color);
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

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

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 3px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
  padding: 10px;
}

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  font-size: 14px;
  padding: 8px 30px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .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: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    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 li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .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-dropdown-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), white 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 60px 0;
}

.footer .footer-top .footer-logo img {
  max-height: 80px;
}

.footer .footer-top .icon {
  font-size: 24px;
}

.footer .footer-social a {
  font-size: 30px;
  color: var(--default-color);
  transition: color 0.3s ease;
}

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

.footer .footer-bottom {
  background-color: var(--accent-color);
  color: var(--default-color);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #000;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  border: solid black 1px;
  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: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  scroll-margin-top: 85px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section {
    scroll-margin-top: 58px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.home {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .swiper-slide {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.7);
  width: 100%;
  font-size: 700;
}

.home .swiper-slide .subtitle {
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
  opacity: 0.9;
}

.home .swiper-slide .main-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.2;
  font-weight: bold;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Values Section
--------------------------------------------------------------*/
.highlight-circle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  width: 180px;
  height: 180px;

  background-image: radial-gradient(
      circle at 30% 30%,
      rgba(255, 250, 230, 0.8) 0%,
      rgba(255, 240, 200, 0.4) 40%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 230, 150, 0.2) 30%,
      rgba(255, 200, 100, 0.05) 100%
    );
  background-blend-mode: screen;
  filter: blur(2px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.value-item {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  /* max-width: 90%; */
  width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  z-index: 5;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.value-item.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

@media (min-width: 992px) {
  .value-item {
    text-align: left;
    left: auto;
    transform: none;
    max-width: 300px;
  }

  #value-sustainable {
    left: 0;
  }
  #value-measurable {
    left: 20%;
  }
  #value-attitude {
    left: 40%;
  }
  #value-respect {
    left: 60%;
  }
  #value-teamwork {
    left: 77%;
  }
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about {
  position: relative;
  padding: 150px 0;
  padding: 40;
  align-items: center;
  display: flex;
}

.about img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  user-select: none;
}

.about:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.85),
    transparent
  );
}

@media screen and (max-width: 768px) {
  .about:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 35%);
    position: absolute;
    inset: 0;
    z-index: 2;
  }
}

.about .container {
  position: relative;
  z-index: 3;
}

/*--------------------------------------------------------------
# Our Work Section
--------------------------------------------------------------*/

.our-work .nav-link {
  background-color: #464646;
  border-radius: 0;
  width: 150px;
  color: rgba(255, 255, 255, 0.5);
}

.our-work .nav-link.active,
.our-work .nav-link:hover {
  background-color: var(--accent-color);
  color: white;
}

.our-work .nav-link:disabled {
  cursor: not-allowed;
}

.our-work .tab-pane .cards-row {
  margin-top: 60px;
  row-gap: 60px;
}

.our-work .tab-pane .card {
  background-color: rgba(39, 39, 39, 0.7);
  color: var(--accent-color);
  padding-top: 30%;
  height: 250px;
}
.our-work .tab-pane .card img {
  width: 100%;
  user-select: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -40%);
}
.our-work .tab-pane .card-body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.our-work .tab-pane .card-body h3 {
  /* Assuming text is in a span inside card-body */
  min-width: 0; /* Allows shrinking in flex container */
  /* If you want it to wrap, remove white-space: nowrap; */
  white-space: normal; /* Allows text to wrap */
  overflow-wrap: break-word; /* Helps with long words */
}

.our-work .tab-pane .card-desc {
  color: rgb(209, 208, 208);
  text-align: CENTER;
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services-content {
  background-color: rgb(241, 244, 250);
}

/* Cards */
.services .slide-card {
  margin: 10px 0;
  width: 290px;
  height: 360px;
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover & Active State */
.services .slide-card:hover,
.services .swiper-slide-active {
  background-color: var(--accent-color);
  color: white;
}

.services .slide-card:hover h3,
.services .slide-card:hover p,
.services .slide-card:hover i,
.services .swiper-slide-active h3,
.services .swiper-slide-active p,
.services .swiper-slide-active i {
  color: white;
}

/* Card line */
.services .slide-card .card-line {
  height: 4px;
  width: 25%;
  border-radius: 1rem;
  background-color: var(--accent-color) !important;
  margin: 10px 0;
}

.services .slide-card:hover .card-line,
.services .swiper-slide-active .card-line {
  background-color: white !important;
}

/* Image */
.services #overlayImage {
  transition: opacity 0.8s ease-in-out;
}

/* Navigation Buttons */

.services .swiper-nav-buttons {
  position: absolute;
  width: 150px;
  bottom: 10%;
  right: 20%;
  transform: translateY(40%);
  height: 100px;
  z-index: 5;
}

.services .swiper-button-prev::after,
.services .swiper-button-next::after {
  display: none;
}
.services .swiper-button-prev,
.services .swiper-button-next {
  padding: 3px;
  width: 46px;
  height: 46px;
  border-radius: 0.5rem;
  background: white;
  border: 1px solid #cbd5e1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.services .swiper-button-prev:hover,
.services .swiper-button-next:hover {
  background-color: var(--accent-color);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.services .swiper-button-prev i,
.services .swiper-button-next i {
  font-size: 1.5rem;
  color: #475569;
  opacity: 0.6;
  transition: color 0.3s, opacity 0.3s;
}

.services .swiper-button-prev:hover i,
.services .swiper-button-next:hover i {
  color: white;
  opacity: 1;
}

/* Responsive */
@media (min-width: 768px) {
  .services .swiper-slide {
    transition: opacity 0.5s ease;
    opacity: 0.3;
  }

  .services .swiper-slide-active {
    opacity: 1 !important;
  }

  .services .absolute-carousel {
    position: absolute;
    top: 50%;
    right: -8%;
    transform: translateY(-50%);
  }

}

@media (min-width: 992px) {
  .services .absolute-carousel {
    right: -13%;
  }
}

@media (max-width: 767.98px) {
  .services {
    /* 225 */
    padding-bottom: 300px;
  }
  .services .absolute-carousel {
    position: absolute;
    bottom: 0%;
    transform: translateY(50%);
    right: 0;
    width: 100%;
  }

  .services .swiper-slide {
    opacity: 1 !important;
  }


  .services .swiper-nav-buttons {
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
  }
}

/*--------------------------------------------------------------
# Partnership Section
--------------------------------------------------------------*/
.partnership {
  img {
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(100);
    /* width: 200px; */
  }

  img:hover {
    filter: none;
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Career Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  position: relative;
  padding: 100px 0;
  display: flex;
  align-items: center;
  background-image: url("/assets/img/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.contact img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  z-index: 2;
}

.contact .container {
  position: relative;
  z-index: 3;
}

.contact .card {
  background-color: white;
  border: none;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 500px;
  padding: 40px 15px 15px 15px;
}

.contact .form-control {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
}

.contact .btn {
  width: 100%;
  padding: 0.75rem;
}
