/* ===================== THEME COLORS ===================== */
:root {
  --bg-main: #07182f;
  --bg-alt: #0b2240;
  --teal: #1abc9c;
  --text-main: #fff;
  --text-muted: #8da0b6;
  --border-soft: rgba(255,255,255,0.1);
}

/* ===================== GLOBAL ===================== */
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
}

.section-padding {
  padding: 80px 0;
}

.bg-section-alt {
  background: var(--bg-alt);
}

.section-kicker {
  letter-spacing: 2px;
  color: var(--teal);
  font-size: .85rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
}

.text-muted-light {
  color: var(--text-muted);
}

/* ===================== NAVBAR ===================== */
.navbar {
  backdrop-filter: blur(12px);
  background: rgba(7,24,47,0.9) !important;
}

.logo-mark {
  border: 2px solid var(--teal);
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--teal);
}

.nav-link {
  color: var(--text-muted) !important;
  margin-left: 20px;
}

.nav-link:hover {
  color: var(--teal) !important;
}

/* ===================== HERO (Modern Stats Card Version) ===================== */
.hero-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
}

.hero-name {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ===================== STATS CARD ===================== */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px;
  max-width: 420px;
  margin-left: auto;
  animation: fadeInUp 0.8s ease;
}

.hero-stats-number {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.hero-stats-label {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.hero-stats-small-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.hero-stats-big-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--teal);
}

/* HERO BUTTON FIX */
.hero-btn-primary {
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
}
.hero-btn-primary:hover {
  background: #18c89a;
  transform: translateY(-3px);
}

.hero-btn-outline {
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
}
.hero-btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
}

/* BADGES INSIDE CARD */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge-pill {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d9e4f2;
  white-space: nowrap;
}

.badge-pill:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-2px);
}

.gradient-text {
  background: linear-gradient(90deg, var(--teal), #3fffd7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats-wrapper {
  position: relative;
}

.floating-dots {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0,255,170,0.12), transparent 70%);
  top: -40px;
  right: -40px;
  z-index: 0;
  filter: blur(12px);
  animation: floatDots 6s ease-in-out infinite alternate;
}

@keyframes floatDots {
  from { transform: translateY(0px); }
  to   { transform: translateY(18px); }
}

.hero-stats-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px;
  max-width: 420px;
  transition: 0.3s ease;
  box-shadow: 0 0 0 rgba(0,255,170,0.0);
}

.hero-stats-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 22px rgba(0,255,170,0.25);
}


.scroll-indicator {
  margin-top: 30px;
  text-align: left;
  color: var(--text-muted);
}

.scroll-indicator .mouse {
  width: 22px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 16px;
  margin-bottom: 6px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  animation: scrollMove 1.4s infinite;
}

@keyframes scrollMove {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}


#parallax-card {
  transform-style: preserve-3d;
  transform: perspective(900px);
}




/* ===================== SOCIAL ICONS ===================== */
.hero-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.25s ease;
}

.social-icon:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-stats-card {
    margin: 0 auto;
    margin-top: 20px;
  }
}


/* ===================== STATS ===================== */
.stats-box {
  background: rgba(255,255,255,0.06);
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--border-soft);
  transition: 0.3s;
}

.stats-box:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.stats-number {
  font-size: 2.4rem;
  color: var(--teal);
  font-weight: 700;
}

.stats-label {
  color: var(--text-muted);
}

/* ===================== BADGES ===================== */
.badge-card {
  padding: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: 0.25s;
}

.badge-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.badge-card i {
  font-size: 1.9rem;
  color: var(--teal);
}

.badge-card p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* ===================== ABOUT SECTION ===================== */
.about-block {
  padding: 120px 0;
}

.about-heading {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 22px;
}

.about-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Checklist */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 14px 30px;
}

.check-item {
  display: flex;
  align-items: center;
  color: #d0d8e2;
  font-size: 1rem;
  gap: 10px;
}

.check-item span {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Premium Stats Card */
.premium-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 40px 35px;
  max-width: 450px;
  margin-left: auto;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 65px rgba(0, 255, 180, 0.10);
}

.card-title {
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.stat-line {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-line.no-border {
  border-bottom: none;
}

.stat-line h3 {
  color: #fff;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-line p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.icon {
  font-size: 1.5rem;
  color: var(--teal);
}

/* Mobile */
@media (max-width: 768px) {
  .about-heading {
    font-size: 2rem;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .premium-card {
    margin-top: 40px;
  }
}

/* ===================== SERVICE ICON GRID ===================== */
.services-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 16px 35px;
}

.service-item {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #d0d8e2;
  gap: 10px;
  transition: 0.25s ease;
}

.service-item:hover {
  color: var(--teal);
  transform: translateX(4px);
}

.service-icon i {
  color: var(--teal);
  font-size: 1.3rem;
}


/* ===================== PREMIUM STATS CARD ===================== */
.premium-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 40px 38px;
  max-width: 450px;
  margin-left: auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 60px rgba(0, 255, 180, 0.08);
}

.card-title {
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.stat-line {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-line.no-border {
  border-bottom: none;
}

.stat-icon i {
  color: var(--teal);
  font-size: 1.6rem;
}

.stat-line h3 {
  color: #fff;
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.stat-line p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .premium-card {
    margin-top: 40px;
  }
}


/* ===================== TIMELINE ===================== */
.timeline {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 32px;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--bg-main);
  border-radius: 50%;
  border: 2px solid var(--teal);
  position: absolute;
  left: -8px;
  top: 3px;
}

.timeline-date {
  color: var(--text-muted);
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.timeline-subtitle {
  color: var(--text-muted);
}

/* ===================== TRUSTED LOGOS ===================== */
.trusted-logo {
  opacity: 0.6;
  max-width: 150px;
  filter: grayscale(100%);
  transition: 0.3s;
}

.trusted-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===================== SKILLS SECTION ===================== */
.skills-section {
  padding: 100px 0;
}

.skills-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* Skills Container Grid */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

/* Skill Category Card */
.skill-category-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #3fffd7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.skill-category-card:hover {
  border-color: rgba(26, 188, 156, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(26, 188, 156, 0.15);
  transform: translateY(-6px);
}

.skill-category-card:hover::before {
  transform: scaleX(1);
}

/* Category Header */
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: rgba(26, 188, 156, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.skill-category-card:hover .category-icon {
  background: rgba(26, 188, 156, 0.25);
  transform: scale(1.1);
}

.category-icon i {
  font-size: 1.6rem;
  color: var(--teal);
}

.category-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Skills Grid within Category */
.skill-category-card .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

/* Skill Badge */
.skill-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-badge:hover {
  background: rgba(26, 188, 156, 0.15);
  border-color: rgba(26, 188, 156, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(26, 188, 156, 0.2);
}

.skill-badge:hover::before {
  opacity: 1;
}

.skill-name {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.skill-level {
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* Skills Summary Section */
.skills-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-stat {
  text-align: center;
  padding: 20px;
}

.summary-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--teal), #3fffd7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 768px) {
  .skills-section {
    padding: 80px 0;
  }

  .skills-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .skill-category-card {
    padding: 24px;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .skill-category-card .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  .skill-name {
    font-size: 0.9rem;
  }

  .summary-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .skills-subtitle {
    font-size: 1rem;
  }

  .skill-category-card {
    padding: 20px;
  }

  .category-header {
    gap: 12px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
  }

  .category-icon i {
    font-size: 1.4rem;
  }

  .category-title {
    font-size: 1.1rem;
  }

  .skill-category-card .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill-badge {
    padding: 12px 14px;
  }

  .skill-name {
    font-size: 0.85rem;
  }

  .skill-level {
    font-size: 0.7rem;
  }

  .skills-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}



/* ===================== TECHNOLOGIES GRID ===================== */
.tools-grid {
    margin-top: 20px;
}

.tool-item {
    text-align: center;
    margin-bottom: 35px;
}

.tool-icon {
    font-size: 2rem;
    color: var(--teal);
}

.tool-item p {
    margin-top: 8px;
    color: #b7c4d2;
    font-size: 0.95rem;
}

/* ===================== CATEGORY SUMMARY ===================== */
.category-summary {
    margin-top: 40px;
    text-align: center;
}

.summary-badge {
    display: inline-block;
    background: #0d1f32;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #d7e2eb;
    margin: 6px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s forwards ease;
}

.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}






/* ===================== TESTIMONIAL SLIDER ===================== */
/* ===================== IMPROVED TESTIMONIALS SECTION ===================== */

/* Section Container */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

/* Section Subtitle */
.testimonials-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ===================== FILTER TABS ===================== */
.testimonials-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  background: rgba(26, 188, 156, 0.1);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.filter-btn i {
  font-size: 1.1rem;
}

/* ===================== TESTIMONIALS GRID ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

/* ===================== TESTIMONIAL CARD ===================== */
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(26, 188, 156, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(26, 188, 156, 0.15);
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* ===================== TEXT TESTIMONIALS ===================== */
.text-testimonial {
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1rem;
}

.testimonial-badge {
  background: rgba(26, 188, 156, 0.15);
  color: var(--teal);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-quote {
  color: #d0d8e2;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  color: var(--teal);
  font-size: 2rem;
  opacity: 0.3;
  margin-right: 4px;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #3fffd7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-name {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.author-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.testimonial-platform {
  background: rgba(26, 188, 156, 0.1);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ===================== VIDEO TESTIMONIALS ===================== */
.video-testimonial {
  background: rgba(255, 255, 255, 0.02);
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-testimonial-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-author-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.video-author-title {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.video-testimonial .testimonial-rating {
  margin-top: 4px;
}

/* ===================== TESTIMONIALS STATS ===================== */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  color: var(--teal);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===================== ANIMATIONS ===================== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  animation: slideInUp 0.6s ease-out forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }
.testimonial-card:nth-child(7) { animation-delay: 0.7s; }
.testimonial-card:nth-child(8) { animation-delay: 0.8s; }
.testimonial-card:nth-child(9) { animation-delay: 0.9s; }

/* Hide/Show testimonials based on filter */
.testimonial-card {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.testimonial-card.hidden {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

/* ===================== MOBILE RESPONSIVE ===================== */
@media (max-width: 768px) {
  .testimonials-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .testimonials-filter {
    gap: 8px;
    margin-bottom: 40px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .testimonial-platform {
    align-self: flex-start;
  }

  .video-container {
    aspect-ratio: 16 / 9;
  }

  .testimonials-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
  }

  .stat-item {
    padding: 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .testimonials-filter {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .filter-btn i {
    font-size: 0.9rem;
  }

  .testimonial-card {
    padding: 16px;
  }

  .testimonial-header {
    margin-bottom: 14px;
  }

  .testimonial-rating i {
    font-size: 0.9rem;
  }

  .testimonial-badge {
    padding: 3px 10px;
    font-size: 0.7rem;
  }

  .testimonial-quote {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .author-name {
    font-size: 0.9rem;
  }

  .author-title {
    font-size: 0.8rem;
  }

  .testimonial-platform {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .testimonials-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .video-testimonial-info {
    padding: 16px;
  }

  .video-author-name {
    font-size: 0.95rem;
  }

  .video-author-title {
    font-size: 0.85rem;
  }
}

/* ===================== ACCESSIBILITY ===================== */
.filter-btn:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.testimonial-card:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ===================== DARK MODE SUPPORT ===================== */
@media (prefers-color-scheme: dark) {
  .testimonial-card {
    background: rgba(255, 255, 255, 0.02);
  }

  .testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    animation: none;
  }

  .testimonial-card:hover {
    transform: none;
  }

  .filter-btn:hover {
    transform: none;
  }
}


/* ===================== IMPROVED CONTACT SECTION ===================== */

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ===================== CONTACT INFO CARDS ===================== */
.contact-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(26, 188, 156, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 188, 156, 0.15);
}

.contact-info-card:hover::before {
  opacity: 1;
}

.contact-icon-wrapper {
  flex-shrink: 0;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.2), rgba(63, 255, 215, 0.1));
  border: 1px solid rgba(26, 188, 156, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.4), rgba(63, 255, 215, 0.2));
  transform: scale(1.1) rotate(5deg);
}

.contact-info-content {
  flex: 1;
}

.contact-info-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.contact-info-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 12px 0;
}

.contact-link {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  gap: 10px;
  color: #3fffd7;
}

.contact-link i {
  font-size: 0.8rem;
}

/* ===================== SOCIAL LINKS SECTION ===================== */
.contact-social-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-section-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-social-links {
  display: flex;
  gap: 12px;
}

.social-link-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-link-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-4px);
}

/* ===================== CONTACT FORM ===================== */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===================== FORM GROUPS ===================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: transparent;
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
}

.form-input:valid {
  border-color: rgba(26, 188, 156, 0.3);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #ff6b6b;
}

/* Floating Label */
.form-label {
  position: absolute;
  left: 44px;
  top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.3s ease;
  transform-origin: left;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
}

/* Form Input Icon */
.form-input-icon {
  position: absolute;
  left: 14px;
  color: var(--teal);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-input:focus ~ .form-input-icon {
  transform: scale(1.2);
}

/* Select Styling */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231abc9c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-main);
  color: var(--text-main);
}

/* Textarea Styling */
.textarea-wrapper {
  position: relative;
  align-items: flex-start;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 18px;
}

.char-count {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* ===================== CHECKBOX ===================== */
.checkbox-group {
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-input:hover {
  border-color: var(--teal);
  background: rgba(26, 188, 156, 0.1);
}

.checkbox-input:checked {
  background: var(--teal);
  border-color: var(--teal);
  position: relative;
}

.checkbox-input:checked::after {
  content: "✓";
  position: absolute;
  color: #fff;
  font-size: 0.8rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===================== FORM ERRORS ===================== */
.form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: -2px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input {
  border-color: #ff6b6b;
}

/* ===================== SUBMIT BUTTON ===================== */
.btn-submit {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn-submit:hover {
  background: #18c89a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 188, 156, 0.3);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:active {
  transform: translateY(-1px);
}

.btn-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-loader i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-icon {
  font-size: 1.1rem;
}

/* ===================== FORM MESSAGES ===================== */
.form-message {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
}

.form-message.error {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.form-message i {
  font-size: 1.1rem;
}

/* ===================== FORM NOTE ===================== */
.form-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.form-note i {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===================== MOBILE RESPONSIVE ===================== */
@media (max-width: 768px) {
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .contact-info-card {
    padding: 20px;
    gap: 16px;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .contact-form {
    gap: 18px;
  }

  .form-input {
    padding: 12px 14px 12px 40px;
    font-size: 0.9rem;
  }

  .form-label {
    left: 40px;
    font-size: 0.9rem;
  }

  .form-input:focus ~ .form-label,
  .form-input:not(:placeholder-shown) ~ .form-label {
    font-size: 0.75rem;
  }

  .form-input-icon {
    left: 12px;
    font-size: 1rem;
  }

  .btn-submit {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .contact-social-links {
    gap: 10px;
  }

  .social-link-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-info-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .contact-info-title {
    font-size: 1rem;
  }

  .contact-info-text {
    font-size: 0.9rem;
  }

  .contact-link {
    font-size: 0.85rem;
  }

  .contact-form-wrapper {
    padding: 20px;
  }

  .contact-form {
    gap: 16px;
  }

  .form-input {
    padding: 11px 12px 11px 36px;
    font-size: 0.85rem;
  }

  .form-label {
    left: 36px;
    font-size: 0.85rem;
    top: 11px;
  }

  .form-input:focus ~ .form-label,
  .form-input:not(:placeholder-shown) ~ .form-label {
    top: -8px;
    font-size: 0.7rem;
  }

  .form-input-icon {
    left: 10px;
    font-size: 0.95rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  .char-count {
    font-size: 0.75rem;
    bottom: 8px;
    right: 12px;
  }

  .checkbox-input {
    width: 18px;
    height: 18px;
  }

  .checkbox-text {
    font-size: 0.85rem;
  }

  .btn-submit {
    padding: 11px 20px;
    font-size: 0.9rem;
    gap: 8px;
  }

  .btn-icon {
    font-size: 1rem;
  }

  .form-note {
    font-size: 0.8rem;
  }

  .social-section-title {
    font-size: 0.95rem;
  }

  .social-link-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

/* ===================== ACCESSIBILITY ===================== */
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.checkbox-input:focus,
.btn-submit:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .contact-info-card,
  .form-input,
  .btn-submit,
  .social-link-btn {
    transition: none;
  }

  .contact-info-card:hover {
    transform: none;
  }

  .btn-submit:hover {
    transform: none;
  }

  .social-link-btn:hover {
    transform: none;
  }

  .form-message {
    animation: none;
  }

  .btn-loader i {
    animation: none;
  }
}

/* ===================== DARK MODE SUPPORT ===================== */
@media (prefers-color-scheme: dark) {
  .contact-info-card {
    background: rgba(255, 255, 255, 0.02);
  }

  .contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.01);
  }

  .form-input {
    background: rgba(255, 255, 255, 0.04);
  }

  .form-input:focus {
    background: rgba(255, 255, 255, 0.07);
  }
}


/* ===================== FOOTER ===================== */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid var(--border-soft);
}

/* ===================== ANIMATIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.6s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===================== PORTFOLIO IMPROVEMENTS ===================== */

.portfolio-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Project Card Link Wrapper */
.project-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

/* Project Card */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 12px 25px rgba(26, 188, 156, 0.15);
}

.project-image {
  width: 100%;
  height: 200px; /* Fixed height for visual consistency */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.project-category {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tag-item {
  display: inline-block;
  background: rgba(26, 188, 156, 0.1);
  color: var(--teal);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(26, 188, 156, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-image {
    height: 180px;
  }
  .project-title {
    font-size: 1.2rem;
  }
  .project-body {
    padding: 16px;
  }
}
/* ===================== FREELANCE PLATFORM STATS IMPROVEMENTS ===================== */

.platform-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Platform Card */
.platform-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(26, 188, 156, 0.15);
}

/* Platform Header */
.platform-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-icon {
  font-size: 2.5rem;
}

.platform-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

/* Platform Colors */
.fiverr-card {
  border-color: rgba(29, 191, 115, 0.4); /* Fiverr Green */
}
.fiverr-card:hover {
  border-color: #1dbf73;
}
.fiverr-card .platform-icon, .fiverr-card .stat-value {
  color: #1dbf73;
}

.upwork-card {
  border-color: rgba(111, 218, 68, 0.4); /* Upwork Green */
}
.upwork-card:hover {
  border-color: #6fda44;
}
.upwork-card .platform-icon, .upwork-card .stat-value {
  color: #6fda44;
}

/* Stats Grid */
.platform-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.star-icon {
  font-size: 1.2rem;
  vertical-align: middle;
}

/* Platform Button */
.platform-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}

.fiverr-btn {
  background: #1dbf73;
  color: #fff;
  border: 1px solid #1dbf73;
}
.fiverr-btn:hover {
  background: #159f5e;
  color: #fff;
}

.upwork-btn {
  background: #6fda44;
  color: #fff;
  border: 1px solid #6fda44;
}
.upwork-btn:hover {
  background: #56b933;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .platform-card {
    padding: 20px;
  }
  .platform-header {
    margin-bottom: 20px;
  }
  .platform-icon {
    font-size: 2rem;
  }
  .platform-title {
    font-size: 1.3rem;
  }
  .platform-stats-grid {
    gap: 15px;
  }
  .stat-value {
    font-size: 1.2rem;
  }
}

/* ===================== PREMIUM PLATFORM CARDS ===================== */

.platform-pro-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(14px);
  transition: 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.platform-pro-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(26,188,156,0.22);
}

/* Header */
.platform-pro-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.platform-logo {
  width: 54px;
  height: auto;
  filter: brightness(1.2);
}

.verified-icon {
  color: var(--teal);
  font-size: 1.1rem;
  vertical-align: middle;
}

/* Stats Grid */
.platform-pro-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.pro-stat h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.pro-stat p {
  color: var(--text-muted);
  font-size: .85rem;
  margin:0;
}

/* Buttons */
.platform-pro-btn {
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  background: var(--teal);
  color: white;
  font-weight: 600;
  transition: .3s ease;
}

.platform-pro-btn:hover {
  background: #18c89a;
  transform: translateY(-3px);
}

/* Fiverr Color Accents */
.fiverr-pro .platform-logo {
  filter: hue-rotate(315deg) brightness(1.3);
}

.upwork-pro .platform-logo {
  filter: hue-rotate(60deg) brightness(1.3);
}

/* Responsive */
@media(max-width:576px){
  .platform-pro-card { padding: 24px; }
  .platform-pro-stats { gap: 16px; }
  .pro-stat h4 { font-size: 1.3rem; }
}


/* Enhanced World Map Styles */
.world-map-svg {
  pointer-events: none;
}

.country {
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: all;
  fill: #2d3b4f; /* Neutral base for all */
}

.country:hover {
  /* No highlight for non-data countries */
}

.country.has-data {
  fill: rgba(26, 188, 156, 0.1); /* Subtle teal tint for data countries */
}

.country.has-data:hover {
  fill: var(--teal) !important;
  stroke: var(--teal);
  stroke-width: 2;
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(26, 188, 156, 0.3));
}

/* Sales Pins for Top Countries */
.sales-pin {
  position: absolute;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(26, 188, 156, 0.4);
  pointer-events: all;
}

.sales-pin:hover {
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(26, 188, 156, 0.6);
  background: #18c89a;
}

/* Pin Tooltip (Quick Popup) */
.pin-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 24, 47, 0.95);
  color: white;
  padding: 8px 12px;  /* Slightly larger for name */
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: normal;  /* Allow wrap for long names */
  max-width: 150px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 11;
  margin-bottom: 5px;
  border: 1px solid var(--teal);
  text-align: center;
}

.sales-pin:hover .pin-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Improved Main Tooltip */
.map-tooltip {
  position: fixed;
  padding: 10px 14px;
  background: rgba(7, 24, 47, 0.95);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  white-space: nowrap;
  border: 1px solid var(--teal);
  box-shadow: 0 4px 12px rgba(26, 188, 156, 0.3);
  transform: translate(8px, -5px); /* Closer offset: right 8px, up 5px */
  max-width: 180px;
}

.map-tooltip.show {
  opacity: 1;
  transform: translate(8px, -5px);
}
