/* ============================================================
   Base & Reset
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

/* ============================================================
   Navbar scroll shadow
============================================================ */
#navbar.scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   Buttons
============================================================ */
.btn-primary {
  display: inline-block;
  background-color: #00b8a9;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #00a596;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 184, 169, 0.35);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #2e3a47;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 600;
  border: 2px solid #2e3a47;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: #2e3a47;
  color: #ffffff;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(46, 58, 71, 0.2);
}

.btn-primary-dark {
  display: inline-block;
  background-color: #00b8a9;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  padding: 1rem 2.5rem;
}

.btn-primary-dark:hover {
  background-color: #00cfbe;
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 184, 169, 0.45);
}

/* ============================================================
   Section labels & headings
============================================================ */
.section-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #00b8a9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  background-color: rgba(0, 184, 169, 0.1);
  border-radius: 9999px;
}

.section-heading {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #2e3a47;
}

/* ============================================================
   Feature bullets
============================================================ */
.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.feature-check {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background-color: rgba(0, 184, 169, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ============================================================
   Service cards
============================================================ */
.service-card {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 184, 169, 0.2);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-link {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #00b8a9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 0.5rem;
}

.service-link-purple {
  color: #7c3aed;
}

.service-link-blue {
  color: #3b82f6;
}

/* ============================================================
   Portfolio cards
============================================================ */
.portfolio-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e8edf2;
  transition: all 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-thumb {
  height: 11rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============================================================
   Testimonial cards
============================================================ */
.testimonial-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #e8edf2;
  border-left: 3px solid #00b8a9;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   About value cards
============================================================ */
.about-value-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e8edf2;
  transition: all 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Footer links & social
============================================================ */
.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background-color: rgba(0, 184, 169, 0.2);
  color: #00b8a9;
  transform: translateY(-2px);
}

/* ============================================================
   Floating animation cards
============================================================ */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

.floating-card {
  animation: float 3.5s ease-in-out infinite;
}

.floating-card-slow {
  animation: float-slow 4.5s ease-in-out infinite;
}

/* ============================================================
   Scroll fade-in animations
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}

/* ============================================================
   Active nav link
============================================================ */
.nav-link.active {
  color: #2e3a47;
  font-weight: 600;
}

/* ============================================================
   Hamburger / Close icon swap
============================================================ */
#icon-hamburger,
#icon-close {
  transition: opacity 0.15s ease;
}

/* ============================================================
   Code editor styles
============================================================ */
.code-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Client logo hover
============================================================ */
.client-logo {
  cursor: default;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 0.8;
}

/* ============================================================
   Mobile menu transition
============================================================ */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

#mobile-menu.open {
  max-height: 400px;
}

/* Override hidden to allow transition */
#mobile-menu:not(.hidden) {
  display: block;
}

/* ============================================================
   Responsive tweaks
============================================================ */
@media (max-width: 640px) {
  .section-heading {
    font-size: 1.75rem;
  }

  .hero-mockup {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ============================================================
   Team cards
============================================================ */
.team-card {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 184, 169, 0.2);
}

.team-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
}

.team-avatar-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2e3a47;
  margin-bottom: 0.375rem;
}

.team-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.875rem;
}

.team-role-teal {
  background: rgba(0, 184, 169, 0.1);
  color: #00b8a9;
}
.team-role-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}
.team-role-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.team-role-yellow {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.team-bio {
  font-size: 0.8125rem;
  color: #718096;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.team-socials {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.team-social-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #f4f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-social-btn:hover {
  background: rgba(0, 184, 169, 0.12);
  color: #00b8a9;
  transform: translateY(-2px);
}

/* ============================================================
   Scrollbar styling (optional)
============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f4f7f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00b8a9;
}
