/* 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: #52413a; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #31221c; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f85d23; /* 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: #52413a;  /* The default color of the main navmenu links */
  --nav-hover-color: #f85d23; /* 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: #52413a; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f85d23; /* 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: #f8f5f4;
  --surface-color: #ffffff;
}

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

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

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .row {
  align-items: center;
}

@media (max-width: 991px) {
  .team .team-intro {
    margin-bottom: 40px;
  }
}

.team .team-intro .team-intro-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.team .team-intro .team-intro-content h2 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.team .team-intro .team-intro-content h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #995db5;
  /* background-color: var(--accent-color); */
}

.team .team-intro .team-intro-content p {
  margin-bottom: 30px;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-intro .team-navigation {
  display: flex;
  gap: 10px;
}

.team .team-intro .team-navigation button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #995db5;
  color: #995db5;
  /* border: 2px solid var(--accent-color); */
  /* color: var(--accent-color); */
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team .team-intro .team-navigation button:hover {
  /* background-color: var(--accent-color); */
  background-color: #9236ae;
  color: var(--contrast-color);
}

.team .member-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team .member-card:hover {
  transform: translateY(-10px);
}

.team .member-card:hover .member-image:before {
  opacity: 0.7;
}

.team .member-card .member-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.team .member-card .member-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0.4;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.team .member-card .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .member-card .member-image:hover img {
  transform: scale(1.05);
}

.team .member-card .member-info {
  padding: 25px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team .member-card .member-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team .member-card .member-info span {
  /* color: var(--accent-color); */
  color: #9236ae;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.team .member-card .member-social {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.team .member-card .member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.team .member-card .member-social a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.team .member-card .member-bio p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

.team .team-carousel-wrap {
  overflow-x: hidden;
  padding: 30px 20px;
}

.team .team-carousel {
  overflow: visible;
}

.team .team-carousel .swiper-slide {
  height: auto;
}


/* from main */
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}
