 /* Team Page Specific Styles */
:root {
  --primary-color: #4e54c8;
  --primary-dark: #3f44ae;
  --secondary-color: #8f94fb;
  --accent-color: #ff6b6b;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #fff;
  --bg-light: #f9f9f9;
  --bg-dark: #1a1a2e;
  --border-color: #e0e0e0;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--bg-light);
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text-color);
}

p {
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
  font-weight: 500;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-primary:hover {
  background-image: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 107, 255, 0.25);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(74, 107, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 107, 255, 0.15);
}
  

/* Team Hero Section */
.team-hero {
  background: url('pagebackground.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
  position: relative;
}

.team-hero-content {
  position: relative;
  z-index: 2;
}

.team-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  color: white;
}

.team-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Team Introduction Section */
.team-intro {
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.team-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  flex: 0 0 calc(25% - 30px);
  min-width: 200px;
  background-color: var(--bg-light);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  transition: var(--transition);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--transition);
}

/* Team Grid Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-grid .featured {
  grid-column: span 2;
  display: flex;
  align-items: center;
}

.team-grid .featured .member-image {
  flex: 0 0 40%;
  margin-right: 30px;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 0;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-social {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  opacity: 0;
  transition: var(--transition);
}

.team-member:hover .member-social {
  transform: translateY(0);
  opacity: 1;
}

.member-social a {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin: 0 5px;
  transition: var(--transition);
}

.member-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.member-info {
  padding: 25px;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.member-info h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.member-info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-skills span {
  font-size: 0.8rem;
  background: rgba(74, 107, 255, 0.1);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 50px;
  transition: var(--transition);
}

.team-member:hover .member-skills span {
  background: rgba(74, 107, 255, 0.2);
}

/* Leadership Team Section */
.leadership-team {
  background-color: var(--bg-light);
}

/* Technical Team Section */
.technical-team {
  background-color: white;
}

/* Training Team Section */
.training-team {
  background-color: var(--bg-light);
}

/* Team Culture Section */
.team-culture {
  background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('pagebackground.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 0;
}

.culture-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.culture-text h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
}

.culture-text h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.culture-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.culture-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.value-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.value-item h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.culture-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Join Team Section */
.join-team {
  background-color: white;
  text-align: center;
  padding: 100px 0;
}

.join-content {
  max-width: 800px;
  margin: 0 auto;
}

.join-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.join-content p {
  margin-bottom: 40px;
}

.join-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Footer Styles */
.footer {
  background: var(--bg-dark);
  color: white;
  padding-top: 80px;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
  border-radius: 0;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
}

.footer-social .social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 10px;
  transition: var(--transition);
}

.footer-social .social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-input {
  width: 100%;
  padding: 15px;
  padding-right: 50px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.footer-copyright a:hover {
  color: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* Animation Classes */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: calc(var(--delay, 0) * 0.2s);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Team member hover effects */
.team-member.hovered {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-member.hovered .member-image img {
  transform: scale(1.05);
}

.team-member.hovered .member-social {
  transform: translateY(0);
  opacity: 1;
}
 
/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .team-grid .featured {
    grid-column: span 1;
    flex-direction: column;
  }
  
  .team-grid .featured .member-image {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .culture-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .culture-text {
    order: 1;
  }
  
  .culture-image {
    order: 0;
  }
}

@media screen and (max-width: 992px) {
  .team-hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .team-stats {
    gap: 20px;
  }
  
  .stat-item {
    flex: 0 0 calc(50% - 20px);
  }
  
  .culture-values {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .team-hero {
    height: auto;
    min-height: 50vh;
    padding: 100px 0 60px;
  }
  
  .team-hero h1 {
    font-size: 2.5rem;
  }
  
  .team-hero p {
    font-size: 1rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .join-buttons {
    flex-direction: column;
    width: 80%;
    margin: 40px auto 0;
  }  
@media screen and (max-width: 576px) {
  .team-hero h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .stat-item {
    flex: 0 0 100%;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .member-info {
    padding: 20px 15px;
  }
  
  .member-info h3 {
    font-size: 1.3rem;
  }
  
  .culture-text h2 {
    font-size: 2rem;
  }
}

/* Accessibility Improvements */
.member-social a:focus,
.join-buttons a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Whatsapp Button (from your existing styles) */
.whatsapp-button {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}
}
/* ===== Navigation - Standardized ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#navbar.sticky {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.nav-container {
  width: 90%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.logo img {
  height: 67px;
  border-radius: 0;
  filter: none;
  transition: all 0.3s ease;
  box-shadow: none;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Burger menu for mobile */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  #navbar {
    padding: 12px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    transition: right 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
    opacity: 0;
    transform: translateX(50px);
    animation: navLinkFade 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--i, 1));
  }
  
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .burger {
    display: block;
    z-index: 1001;
  }
  
  .burger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .burger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
