/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: rgba(255, 107, 53, 0.2);
  --shadow-primary: rgba(255, 107, 53, 0.3);
  --gradient-primary: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --gradient-text: linear-gradient(
    45deg,
    var(--primary-color),
    var(--accent-color)
  );
}

body {
  font-family: 'Arial', sans-serif;
  background: var(--background-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

/* ===== 3D CANVAS ===== */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(247, 147, 30, 0.1) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content {
  max-width: 900px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    45deg,
    #ffffff,
    var(--primary-color),
    var(--secondary-color),
    #ffffff
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--shadow-primary);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: var(--gradient-primary);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== STATISTICS SECTION ===== */
.stats {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(247, 147, 30, 0.1) 100%
  );
  padding: 4rem 2rem;
  margin: 4rem 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,107,53,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 2rem 1rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 107, 53, 0.05);
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--background-light);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.5);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.service-card p {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.service-cta::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-cta:hover::after {
  transform: translateX(5px);
}

/* ===== ABOUT SECTION ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.about-content p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.7;
  font-size: 1.1rem;
}

.about-features {
  list-style: none;
  margin: 2rem 0;
}

.about-features li {
  padding: 0.75rem 0;
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.about-features li:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.about-visual {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.2) 0%,
    rgba(247, 147, 30, 0.2) 100%
  );
  border-radius: 20px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.visual-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.visual-content i {
  font-size: 4rem;
  color: var(--primary-color);
  animation: float 3s ease-in-out infinite;
}

.floating-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
}

.floating-icons i {
  position: absolute;
  font-size: 1.5rem;
  color: var(--primary-color);
  opacity: 0.6;
  animation: orbit 8s linear infinite;
}

.floating-icons i:nth-child(1) {
  animation-delay: 0s;
}
.floating-icons i:nth-child(2) {
  animation-delay: 2s;
}
.floating-icons i:nth-child(3) {
  animation-delay: 4s;
}
.floating-icons i:nth-child(4) {
  animation-delay: 6s;
}

/* ===== TEAM HORIZONTAL LIST SECTION ===== */
.team-container {
  position: relative;
  max-width: 1400px;
  margin: 4rem auto 0;
  padding: 0 2rem;
}

.team-list {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0 1rem 0; /* Removed bottom padding */
  /* Hide scrollbar completely */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.team-list::-webkit-scrollbar {
  display: none;
}

/* Team Member Cards - Smaller Size */
.team-member {
  flex: 0 0 250px; /* Reduced from 320px to 250px */
  background: var(--background-light);
  padding: 1.5rem; /* Reduced from 2rem to 1.5rem */
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 107, 53, 0.1);
  position: relative;
  overflow: hidden;
  height: 350px; /* Reduced from 450px to 350px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: teamMemberFadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.team-member:hover::before {
  left: 100%;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.3);
}

.team-avatar {
  width: 80px; /* Reduced from 120px to 80px */
  height: 80px; /* Reduced from 120px to 80px */
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto 1rem; /* Reduced margin from 1.5rem to 1rem */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; /* Reduced from 3rem to 2rem */
  color: white;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
  animation: avatarPulse 3s infinite;
}

.team-member:hover .team-avatar {
  transform: scale(1.05) rotate(5deg);
}

.team-member h4 {
  font-size: 1.1rem; /* Reduced from 1.3rem to 1.1rem */
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.team-member .role {
  opacity: 0.8;
  margin-bottom: 0.8rem; /* Reduced from 1rem to 0.8rem */
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.8rem; /* Reduced from 1rem to 0.8rem */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.team-member p {
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1rem; /* Reduced from 1.5rem to 1rem */
  font-size: 0.85rem; /* Reduced from 0.95rem to 0.85rem */
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem; /* Reduced from 1rem to 0.8rem */
  position: relative;
  z-index: 2;
  margin-top: auto;
}

/* LinkedIn Button Styling - Smaller Size */
.team-social a,
.linkedin-btn {
  width: 40px;
  height: 40px;
  background: transparent; /* Changed from solid gradient to transparent */
  border: 2px solid #0077b5; /* Added LinkedIn blue border */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077b5; /* LinkedIn blue color for icon */
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 119, 181, 0.2); /* Lighter shadow */
}

/* Hover fill effect */
.team-social a::before,
.linkedin-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0077b5, #005885);
  transform: scale(0); /* Start invisible */
  transition: transform 0.3s ease;
  border-radius: 8px; /* Slightly smaller radius for inner fill */
  z-index: 1;
}

/* On hover - fill with color */
.team-social a:hover::before,
.linkedin-btn:hover::before {
  transform: scale(1); /* Fill the button */
}

.team-social a:hover,
.linkedin-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
  border-color: #005885; /* Darker border on hover */
}

/* Icon styling */
.team-social a i,
.linkedin-btn i {
  font-size: 1.2rem;
  z-index: 2; /* Keep icon above the background fill */
  position: relative;
  transition: color 0.3s ease;
}

/* Change icon color to white on hover */
.team-social a:hover i,
.linkedin-btn:hover i {
  color: white;
}

.team-social a:focus,
.linkedin-btn:focus {
  outline: 2px solid rgba(0, 119, 181, 0.5);
  outline-offset: 2px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .team-social a,
  .linkedin-btn {
    width: 35px;
    height: 35px;
    border-width: 2px; /* Keep consistent border */
  }

  .team-social a i,
  .linkedin-btn i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .team-social a,
  .linkedin-btn {
    width: 32px;
    height: 32px;
    border-width: 1.5px; /* Slightly thinner border for very small screens */
  }

  .team-social a i,
  .linkedin-btn i {
    font-size: 1rem;
  }
}
/* Scroll Buttons - Smaller */
.team-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 107, 53, 0.9);
  color: white;
  border: none;
  width: 45px; /* Reduced from 50px to 45px */
  height: 45px; /* Reduced from 50px to 45px */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem; /* Reduced from 1.2rem to 1.1rem */
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
  opacity: 0.8;
}

.team-scroll-left {
  left: -22px; /* Adjusted for smaller button */
}

.team-scroll-right {
  right: -22px; /* Adjusted for smaller button */
}

.team-scroll-btn:hover {
  background: var(--gradient-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 18px rgba(255, 107, 53, 0.5);
  opacity: 1;
}

.team-scroll-btn:focus {
  outline: 2px solid rgba(255, 107, 53, 0.5);
  outline-offset: 2px;
}

.team-scroll-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(0.9);
}

/* Scroll Indicator - Smaller */
.scroll-indicator {
  text-align: center;
  margin-top: 0.8rem; /* Reduced from 1rem to 0.8rem */
  opacity: 0.7;
  font-size: 0.8rem; /* Reduced from 0.9rem to 0.8rem */
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

/* Enhanced hover effects for team member */
.team-member:hover .team-social a {
  transform: translateY(-1px); /* Reduced from -2px to -1px */
}

.team-member:hover h4 {
  color: var(--secondary-color);
}

/* Loading animation for team section */
@keyframes teamMemberFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* Reduced from 30px to 20px */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for avatars */
@keyframes avatarPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); /* Reduced from 20px to 15px */
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Animation delays for staggered entrance */
.team-member:nth-child(1) {
  animation-delay: 0.1s;
}

.team-member:nth-child(2) {
  animation-delay: 0.2s;
}

.team-member:nth-child(3) {
  animation-delay: 0.3s;
}

.team-member:nth-child(4) {
  animation-delay: 0.4s;
}

.team-member:nth-child(5) {
  animation-delay: 0.5s;
}

.team-member:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .team-container {
    padding: 0 1rem;
  }

  .team-scroll-btn {
    display: none; /* Hide scroll buttons on smaller screens */
  }

  .scroll-indicator {
    display: block;
  }
}

@media (max-width: 768px) {
  .team-list {
    gap: 1rem;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }

  .team-member {
    flex: 0 0 220px; /* Reduced from 280px to 220px */
    padding: 1.2rem; /* Reduced from 1.5rem to 1.2rem */
    height: 320px; /* Reduced from 420px to 320px */
  }

  .team-avatar {
    width: 70px; /* Reduced from 100px to 70px */
    height: 70px; /* Reduced from 100px to 70px */
    font-size: 1.8rem; /* Reduced from 2.5rem to 1.8rem */
  }

  .team-member h4 {
    font-size: 1rem; /* Reduced from 1.2rem to 1rem */
  }

  .team-member .role {
    font-size: 0.75rem; /* Reduced from 0.9rem to 0.75rem */
  }

  .team-member p {
    font-size: 0.8rem; /* Reduced from 0.9rem to 0.8rem */
  }

  .team-social a,
  .linkedin-btn {
    width: 35px; /* Reduced from 45px to 35px */
    height: 35px; /* Reduced from 45px to 35px */
  }

  .team-social a i,
  .linkedin-btn i {
    font-size: 1.1rem; /* Reduced from 1.3rem to 1.1rem */
  }

  .scroll-indicator span {
    font-size: 0.7rem; /* Reduced from 0.8rem to 0.7rem */
  }
}

@media (max-width: 480px) {
  .team-container {
    padding: 0 0.5rem;
  }

  .team-member {
    flex: 0 0 200px; /* Reduced from 260px to 200px */
    padding: 1rem; /* Reduced from 1.5rem to 1rem */
    height: 300px; /* Reduced from 400px to 300px */
  }

  .team-avatar {
    width: 60px; /* Reduced from 80px to 60px */
    height: 60px; /* Reduced from 80px to 60px */
    font-size: 1.5rem; /* Reduced from 2rem to 1.5rem */
  }

  .team-member h4 {
    font-size: 0.95rem; /* Reduced from 1.1rem to 0.95rem */
  }

  .team-social a,
  .linkedin-btn {
    width: 32px; /* Reduced from 40px to 32px */
    height: 32px; /* Reduced from 40px to 32px */
  }

  .team-social a i,
  .linkedin-btn i {
    font-size: 1rem; /* Reduced from 1.2rem to 1rem */
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .team-container {
    max-width: 1600px;
  }

  .team-member {
    flex: 0 0 280px; /* Reduced from 350px to 280px */
    padding: 1.8rem; /* Reduced from 2.5rem to 1.8rem */
    height: 380px; /* Reduced from 480px to 380px */
  }

  .team-scroll-left {
    left: -25px; /* Adjusted for smaller button */
  }

  .team-scroll-right {
    right: -25px; /* Adjusted for smaller button */
  }
}

/* Smooth scrolling enhancement */
.team-list {
  scroll-snap-type: x mandatory;
}

.team-member {
  scroll-snap-align: start;
}

/* Focus styles for accessibility */
.team-member:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* Hide scroll indicator on interaction */
.team-list:hover + .scroll-indicator,
.team-list:focus + .scroll-indicator {
  opacity: 0.3;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.05) 0%,
    rgba(247, 147, 30, 0.05) 100%
  );
  border-radius: 20px;
  padding: 4rem 2rem;
  margin: 4rem 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  display: none;
  text-align: center;
  padding: 2rem;
}

.testimonial-item.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.testimonial-content p {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0.9;
}

.testimonial-author strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-author span {
  display: block;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 107, 53, 0.05);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p {
  opacity: 0.9;
  line-height: 1.5;
}

.contact-form {
  background: var(--background-light);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
  background: #333;
  color: white;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

input[type='checkbox']:checked + .checkmark {
  background: var(--primary-color);
}

input[type='checkbox']:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
}

.submit-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: inline;
}

/* ===== FOOTER ===== */
footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  color: var(--text-secondary);
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}

.p-1 {
  padding: 1rem;
}
.p-2 {
  padding: 2rem;
}
.p-3 {
  padding: 3rem;
}
.p-4 {
  padding: 4rem;
}
