/**
* Website Name: Ideal Ascenseur
* Template URL: https://ideal-asc.tn
* Updated: 22/07/2024 with Bootstrap v5.3.3
* Author: Vagor Team
* License: https://vagor.tn/license/
*/


/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Nunito",  sans-serif;
    --nav-font: "Inter",  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: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #364d59; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #52565e; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #fe7200; /* 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. */
    --text-dark-color: #000000;
    --text-default-color: #1d1d1d;
    --text-light-color: #2b2a29;
  }

  .light-background {
    --background-color: #39556411;

  }



  
/*--------------------------------------------------------------
# team Section
--------------------------------------------------------------*/

.team-page-title{
    background-image: url(/assets/img/team/showcase-2.webp);
}


/* Desktop Navigation */
@media (min-width: 1200px) {
    .team-page-title {
        color: var(--default-color);
        background-color: var(--background-color);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 400px 0 0 0;
        text-align: left;
        position: relative;
      }
      

      
    .team-page-title h1{
        font-family: var(--default-font);
        font-size: 4.5rem;
        font-weight: 900;
        color: var(--text-light-color);
        text-shadow: 0px 15px 5px rgba(0,0,0,0.15),
                     10px 20px 5px rgba(0,0,0,0.05),
                     -10px 20px 5px rgba(0,0,0,0.05);
        
    }
    
    .team-page-title .brand {
        color: var(--accent-color);
        text-shadow: 0px 15px 5px rgba(255, 115, 0, 0.22),
                     10px 20px 5px rgba(255,115,0,0.05),
                     -10px 20px 5px rgba(255,115,0,0.05);
    }

    .team {
        margin-top: 100px;
        margin-bottom: 100px;
    }


}


/* Mobile Navigation */

@media (max-width: 1199px) {

    .team-page-title {
        color: var(--default-color);
        background-color: var(--background-color);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 200px 0 0 0;
        text-align: left;
        position: relative;
      }


    .team-page-title h1{
        font-family: var(--default-font);
        font-size: 3rem;
        font-weight: 800;
        color: var(--text-light-color);
        text-shadow: 0px 15px 5px rgba(0,0,0,0.15),
                     10px 20px 5px rgba(0,0,0,0.05),
                     -10px 20px 5px rgba(0,0,0,0.05);
        
    }
    
    .team-page-title .brand {
        color: var(--accent-color);
        text-shadow: 0px 15px 5px rgba(255, 115, 0, 0.22),
                     10px 20px 5px rgba(255,115,0,0.05),
                     -10px 20px 5px rgba(255,115,0,0.05);
    }

    .team {
        margin-top: 50px;
    }
}



.team-page-title:before {
    content: "";
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    inset: 0;
  }

.team .inner-title {
    color: var(--text-default-color);
    font-size: 3rem;
    font-weight: 850;
    margin: 30px 0;
  }
  
  @media (min-width: 991px) {
    .team .inner-title {
      max-width: 65%;
      margin: 0 0 80px 0;
    }
  }
  
  .team .our-story {
    padding: 40px;
    background-color: rgba(54, 77, 89, 0.1);
  }
  
  @media (min-width: 991px) {
    .team .our-story {
      padding-right: 35%;
    }
  }
  
  .team .our-story h4 {
    text-transform: uppercase;
    font-size: 1.1rem;
    color: rgba(54, 77, 89, 0.5);
  }
  
  .team .our-story h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(54, 77, 89, 0.8);
  }
  
  .team .our-story p:last-child {
    margin-bottom: 0;
  }
  
  .team ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
  }
  
  .team ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
  }
  
  .team ul i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    line-height: 1.2;
    color: var(--accent-color);
  }
  
  .team .watch-video i {
    font-size: 2rem;
    transition: 0.3s;
    color: var(--accent-color);
  }
  
  .team .watch-video a {
    font-weight: 600;
    color: rgba(54, 77, 89, 0.8);
    margin-left: 8px;
    transition: 0.3s;
  }
  
  .team .watch-video:hover a {
    color: var(--accent-color);
  }
  
  .team .team-img {
    min-height: 400px;
    position: relative;
  }
  
  @media (min-width: 992px) {
    .team .team-img {
      position: absolute;
      top: 0;
      right: 0;
      min-height: 600px;
    }
  }
  
  .team .team-img img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    border: 6px solid var(--surface-color);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
  }


  /*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease-in-out;
  height: 100%;
}

.team .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.team .team-card.featured .team-header {
  display: flex;
  padding: 30px;
  gap: 25px;
  align-items: flex-start;
}

.team .team-card.featured .team-header .team-image {
  position: relative;
  flex-shrink: 0;
}

.team .team-card.featured .team-header .team-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
}

.team .team-card.featured .team-header .team-image .experience-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.team .team-card.featured .team-header .team-info {
  flex: 1;
}

.team .team-card.featured .team-header .team-info h4 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.team .team-card.featured .team-header .team-info .position {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team .team-card.featured .team-header .team-info .contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team .team-card.featured .team-header .team-info .contact-info a {
  color: var(--default-color);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.team .team-card.featured .team-header .team-info .contact-info a i {
  color: var(--accent-color);
  font-size: 16px;
}

.team .team-card.featured .team-header .team-info .contact-info a:hover {
  color: var(--accent-color);
}

.team .team-card.featured .team-details {
  padding: 0 30px 30px 30px;
}

.team .team-card.featured .team-details p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.team .team-card.featured .team-details .credentials {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.team .team-card.featured .team-details .credentials .cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 8px 15px;
  border-radius: 25px;
  border-width: 1px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.team .team-card.featured .team-details .credentials .cred-item i {
  color: var(--accent-color);
  font-size: 14px;
}

.team .team-card.featured .team-details .credentials .cred-item span {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 500;
}

.team .team-card.featured .team-details .social-links {
  display: flex;
  gap: 12px;
}

.team .team-card.featured .team-details .social-links a {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.team .team-card.featured .team-details .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.team .team-card.compact .member-photo {
  position: relative;
  overflow: hidden;
}

.team .team-card.compact .member-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}

.team .team-card.compact .member-photo .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 10%) 0%, color-mix(in srgb, var(--heading-color), transparent 20%) 100%);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-card.compact .member-photo .hover-overlay .overlay-content {
  text-align: center;
  color: var(--contrast-color);
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.team .team-card.compact .member-photo .hover-overlay .overlay-content h5 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: var(--contrast-color);
}

.team .team-card.compact .member-photo .hover-overlay .overlay-content span {
  font-size: 14px;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team .team-card.compact .member-photo .hover-overlay .overlay-content .quick-contact {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.team .team-card.compact .member-photo .hover-overlay .overlay-content .quick-contact a {
  background: var(--contrast-color);
  color: var(--accent-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team .team-card.compact .member-photo .hover-overlay .overlay-content .quick-contact a:hover {
  transform: scale(1.1);
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.team .team-card.compact .member-photo:hover .hover-overlay {
  opacity: 1;
}

.team .team-card.compact .member-photo:hover .hover-overlay .overlay-content {
  transform: translateY(0);
}

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

.team .team-card.compact .member-summary {
  padding: 20px;
  text-align: center;
}

.team .team-card.compact .member-summary h5 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.team .team-card.compact .member-summary span {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  display: block;
}

.team .team-card.compact .member-summary .skills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.team .team-card.compact .member-summary .skills .skill-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  border-width: 1px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

@media (max-width: 992px) {
  .team .team-card.featured .team-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .team .team-card.featured .team-header .team-image {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .team .team-card.featured .team-header {
    padding: 25px 20px;
  }

  .team .team-card.featured .team-header .team-image img {
    width: 100px;
    height: 100px;
  }

  .team .team-card.featured .team-header .team-info h4 {
    font-size: 20px;
  }

  .team .team-card.featured .team-header .team-info .contact-info a {
    font-size: 13px;
  }

  .team .team-card.featured .team-details {
    padding: 0 20px 25px 20px;
  }

  .team .team-card.featured .team-details .credentials {
    justify-content: center;
  }

  .team .team-card.featured .team-details .credentials .cred-item {
    font-size: 12px;
    padding: 6px 12px;
  }

  .team .team-card.featured .team-details .social-links {
    justify-content: center;
  }

  .team .team-card.featured .team-details .social-links a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .team .team-card.compact .member-photo img {
    height: 200px;
  }

  .team .team-card.compact .member-photo .hover-overlay .overlay-content h5 {
    font-size: 18px;
  }

  .team .team-card.compact .member-photo .hover-overlay .overlay-content .quick-contact a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .team .team-card.compact .member-summary {
    padding: 15px;
  }

  .team .team-card.compact .member-summary h5 {
    font-size: 16px;
  }

  .team .team-card.compact .member-summary .skills .skill-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

  