:root {
  /* Color Palette - Light Mode */
  --primary-color: #0a25a7;
  --secondary-color: #2ea3f2;
  --accent-color: #ff6b6b;
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --text-light: #666666;
  --card-bg: #f8f9fa;
  --border-color: #e5e5e5;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  /* About page: What We Do & Features */
  --about-www-bg: #f0f4f8;
  --about-www-heading: #c0392b;
  --about-www-text: #1a1a1a;
  --about-www-pattern: rgba(10, 37, 167, 0.06);
  --about-features-bg: #f5f8fa;
  --about-feature-card-bg: #ffffff;
}

[data-theme="dark"] {
  /* Color Palette - Dark Mode */
  --primary-color: #4c6ef5;
  --secondary-color: #74c0fc;
  --accent-color: #ff8787;
  --bg-color: #0f172a;
  --text-color: #f8f9fa;
  --text-light: #aab2c8;
  --card-bg: #1e293b;
  --border-color: #334155;
  --nav-bg: rgba(15, 23, 42, 0.95);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  /* About page: What We Do & Features */
  --about-www-bg: #1b2a49;
  --about-www-heading: #e44d26;
  --about-www-text: #f0f0f0;
  --about-www-pattern: rgba(255, 255, 255, 0.06);
  --about-features-bg: #1e293b;
  --about-feature-card-bg: #243447;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.5rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  touch-action: manipulation; /* faster tap response on mobile */
}

.theme-toggle:hover {
  background-color: var(--card-bg);
}

.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  /* animation: slideInUp 0.8s ease-out;  <-- Handled by JS typing now */
  letter-spacing: -0.02em;
  min-height: 1.2em; /* Reserve space */
  display: inline-block; /* Fix for gradient text sometimes */
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--secondary-color);
  animation: blink 1s infinite;
  vertical-align: text-bottom;
  margin-left: 5px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.cta-group {
  display: flex;
  gap: 1rem;
  animation: slideInUp 0.8s ease-out 0.4s backwards;
}

/* Hero Background Animations */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--secondary-color);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  bottom: 0;
  left: -50px;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent-color);
  top: 30%;
  left: 20%;
  opacity: 0.2;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(10, 37, 167, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-color);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(10, 37, 167, 0.4);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-color);
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Features/Services */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Base Animations */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Button Shimmer Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(10, 37, 167, 0.3);
}

/* Enhanced Feature/Services Card */
.feature-card {
  background: rgba(255, 255, 255, 0.7); /* Glass-like base */
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Softer initial shadow */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

[data-theme="dark"] .feature-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(10, 37, 167, 0.15);
  border-color: rgba(10, 37, 167, 0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(10, 37, 167, 0.1), rgba(46, 163, 242, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, color 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 10px 20px rgba(10, 37, 167, 0.3);
}

/* Destinations */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.country-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.country-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.country-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.country-card:hover img {
  transform: scale(1.1);
}

.country-card:hover .country-overlay {
  transform: translateY(0);
}

/* Stats */
.stats-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stats-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-join-us {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #ffffff 100%);
  color: var(--primary-color);
  border: 2px solid white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulseGlow 2.5s ease-in-out infinite, floatButton 3s ease-in-out infinite;
  display: inline-block;
  will-change: transform;
}

.btn-join-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 3s infinite;
  z-index: 1;
}

.btn-join-us::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.8s ease, height 0.8s ease, opacity 0.8s ease;
  opacity: 0;
  z-index: 0;
}

.btn-join-us:hover {
  animation: pulseGlowHover 1.5s ease-in-out infinite;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #ffffff 0%, #e8f0ff 50%, #ffffff 100%);
}

.btn-join-us:hover::before {
  animation: shimmer 1s infinite;
}

.btn-join-us:hover::after {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.btn-join-us:active {
  transform: translateY(-2px) scale(1.05);
  animation: none;
}

/* Float animation for button only */
@keyframes floatButton {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 255, 255, 0.6);
  }
}

@keyframes pulseGlowHover {
  0%, 100% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.8);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--card-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-item {
  flex: 0 0 calc(25% - 1.5rem);
  margin: 0 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px;
}

.carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.carousel-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-item h4 {
  text-align: center;
  font-size: 1rem;
  color: var(--text-color);
  margin: 0;
  font-weight: 600;
}

.carousel-item.clickable {
  cursor: pointer;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  color: var(--text-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.carousel-nav:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: -24px;
}

.carousel-next {
  right: -24px;
}

/* Team Grid Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.team-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--border-color);
  transition: all 0.3s ease;
}

.team-card:hover img {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.team-card h4 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin: 0;
  font-weight: 600;
}

.team-card .team-role {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0.5rem 0 0 0;
  font-weight: 400;
}

.team-card.clickable {
  cursor: pointer;
}

/* About Page: Our Vision (Section 1) */
.about-first-section {
  padding-top: 7rem;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-vision-text h2 {
  font-size: 2.25rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-vision-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-vision-text p:last-child {
  margin-bottom: 0;
}

.about-vision-image {
  border-radius: 4px;
  overflow: hidden;
}

.about-vision-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-vision-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.join-us-btn {
  min-width: 200px;
  text-align: center;
}

/* About Page: What We Do (Section 2) */
.about-what-we-do {
  padding: 5rem 2rem;
  background-color: var(--about-www-bg);
  position: relative;
  overflow: hidden;
}

.about-www-patterns {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.about-www-patterns::before,
.about-www-patterns::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--about-www-pattern);
}

.about-www-patterns::before {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
}

.about-www-patterns::after {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: 10%;
}

.about-www-arc-left {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid var(--about-www-pattern);
}

.about-www-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.about-www-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--about-www-heading);
  text-align: center;
  margin-bottom: 2rem;
}

.about-www-content {
  text-align: left;
}

.about-www-content p {
  color: var(--about-www-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-www-content p:last-child {
  margin-bottom: 0;
}

/* About Page: Features (Section 3) */
.about-features {
  background-color: var(--about-features-bg);
}

/* Apply Now Section */
.apply-now-section {
  background-color: var(--bg-color);
  padding: 4rem 0;
}

.apply-now-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.apply-now-btn {
  min-width: 200px;
  text-align: center;
}

.about-features-title {
  font-size: 2.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-feature-card {
  background: var(--about-feature-card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .about-feature-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.about-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

/* Center the 4th and 5th feature cards on the second row (desktop) */
.about-feature-card:nth-child(4) {
  grid-column: 1;
}

.about-feature-card:nth-child(5) {
  grid-column: 3;
}

/* ========== Recruiters Page ========== */
.recruiters-hero {
  padding: 8rem 0 4rem;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.recruiters-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.recruiters-hero-text h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.recruiters-hero-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.recruiters-hero-image-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.recruiters-hero-image-frame:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .recruiters-hero-image-frame {
  border-color: var(--border-color);
}

.recruiters-hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Recruiters Advantages section */
.recruiters-advantages {
  background-color: var(--bg-color);
  transition: background-color 0.3s ease;
}

.recruiters-advantages-title {
  font-size: 2.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.recruiters-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.recruiters-advantage-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .recruiters-advantage-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.recruiters-advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(10, 37, 167, 0.25);
}

[data-theme="dark"] .recruiters-advantage-card:hover {
  border-color: rgba(76, 110, 245, 0.4);
}

.recruiters-advantage-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.recruiters-advantage-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1rem;
}

.recruiters-advantage-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Center the 4th and 5th advantage cards on the second row (desktop) */
.recruiters-advantage-card:nth-child(4) {
  grid-column: 1;
}

.recruiters-advantage-card:nth-child(5) {
  grid-column: 3;
}

/* Recruiters Contact form (mailto) */
.recruiters-contact {
  padding: 5rem 0;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.recruiters-contact-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.recruiters-contact-form .form-group {
  margin-bottom: 1.25rem;
}

.recruiters-contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--text-color);
}

.recruiters-contact-form input,
.recruiters-contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-color);
  color: var(--text-color);
}

.recruiters-contact-form input:focus,
.recruiters-contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.recruiters-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.recruiters-contact-form .btn {
  margin-top: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem;
    gap: 0.4rem;
  }

  .logo-img {
    height: 3.5rem;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 75%;
    background-color: var(--card-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hero {
    padding-top: 6rem;
    text-align: center;
    justify-content: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta-group {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }

  /* Carousel Mobile */
  .carousel-item {
    flex: 0 0 calc(50% - 1rem);
    min-height: 180px;
    padding: 1rem;
  }

  .carousel-item img {
    width: 80px;
    height: 80px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-prev {
    left: -20px;
  }

  .carousel-next {
    right: -20px;
  }

  /* Team Grid Mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-card {
    padding: 1.5rem;
  }

  .team-card img {
    width: 120px;
    height: 120px;
  }

  /* About page: mobile */
  .about-first-section {
    padding-top: 6rem;
  }

  .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Hero image first on mobile */
  .about-vision-image {
    order: -1;
  }

  .about-vision-text h2 {
    font-size: 1.75rem;
  }

  .about-vision-text p {
    font-size: 1rem;
  }

  .about-vision-cta {
    margin-top: 2rem;
  }

  .join-us-btn {
    width: 100%;
    min-width: auto;
  }

  .about-what-we-do {
    padding: 3rem 1.5rem;
  }

  .about-www-heading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .about-www-content p {
    font-size: 1rem;
  }

  .about-www-patterns::before {
    width: 250px;
    height: 250px;
  }

  .about-www-patterns::after {
    width: 180px;
    height: 180px;
  }

  .about-www-arc-left {
    width: 120px;
    height: 120px;
    left: -40px;
  }

  .about-features-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-feature-card:nth-child(4),
  .about-feature-card:nth-child(5) {
    grid-column: auto;
  }

  .about-feature-card {
    padding: 1.5rem;
  }

  .about-feature-icon {
    font-size: 2.5rem;
  }

  .about-feature-card h3 {
    font-size: 1.05rem;
  }

  /* Apply Now Section: mobile */
  .apply-now-section {
    padding: 3rem 0;
  }

  .apply-now-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .apply-now-btn {
    width: 100%;
    min-width: auto;
  }

  /* Footer logo: mobile */
  .footer-logo-img {
    height: 2.75rem;
  }

  /* Recruiters page: mobile */
  .recruiters-hero {
    padding: 6rem 0 3rem;
  }

  .recruiters-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .recruiters-hero-text h1 {
    font-size: 1.75rem;
  }

  .recruiters-hero-text p {
    font-size: 1rem;
    max-width: none;
  }

  .recruiters-advantages-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .recruiters-advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recruiters-advantage-card:nth-child(4),
  .recruiters-advantage-card:nth-child(5) {
    grid-column: auto;
  }

  .recruiters-advantage-card {
    padding: 1.5rem;
  }

  .recruiters-advantage-icon {
    font-size: 2.5rem;
  }

  .recruiters-advantage-card h3 {
    font-size: 1.05rem;
  }

  .recruiters-advantage-card p {
    font-size: 0.9rem;
  }

  .recruiters-contact-form {
    max-width: 100%;
    padding: 1rem;
  }

  /* Stats Section Mobile */
  .stats-section {
    padding: 3rem 0;
  }

  .stats-grid {
    margin-bottom: 2rem;
  }

  .btn-join-us {
    font-size: 1rem;
    padding: 14px 32px;
  }
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.loading-spinner::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Skeleton placeholders for dynamic content */
.skeleton {
  background: linear-gradient(90deg, var(--card-bg) 25%, var(--border-color) 50%, var(--card-bg) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-line {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-image {
  aspect-ratio: 4/3;
  width: 100%;
}

.skeleton-card {
  height: 140px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* WhatsApp Floating Button - left side to avoid overlap with Tidio on the right */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Mobile Responsive for WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    left: 16px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}
