/* Override Tailwind's max-w-7xl to increase overall page container width */
/* This makes pages that use the utility class wider on large screens. */
@media (min-width: 1024px) {
  .max-w-7xl {
    max-width: 1600px !important;
  }
}
@media (min-width: 1536px) {
  .max-w-7xl {
    max-width: 1900px !important;
  }
}

/* Helper: allow opting into full-bleed layout */
.container-full-bleed {
  max-width: 100% !important;
  padding-left: 1rem;
  padding-right: 1rem;
}
:root {
  --font-heading-name: "Montserrat";
  --font-body-name: "Open Sans";
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
  /* --letter-spacing-heading: -0.5px; */
  --letter-spacing-heading: 0px;
  --letter-spacing-body: 0px;
  --font-weight-heading: 700;
  --font-weight-heading-display: 800;
  --font-weight-body-normal: 400;
  --font-weight-body-medium: 500;

  --space-base: 1rem;

  --radius-small: 4px;
  --radius-large: 12px;
  --border-width: 1px;

  /* Brand Color Palette */
  --color-primary-blue: #3e4095;
  --color-golden-orange: #f58220;
  --color-sky-blue: #2fa3cc;
  --color-lime-green: #bfd641;
  --color-accent-yellow: #f4e614;

  --shadow-color: 0 0 0;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 20px;
  --shadow-blur: 60px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.08;
  --shadow-custom: 0px 20px 60px rgba(var(--shadow-color), 0.08);
  --shadow-custom-hover: 0px 30px 80px rgba(var(--shadow-color), 0.12);
}

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

/* ==================== TYPOGRAPHY SYSTEM ==================== */

/* Heading Font Family and Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
}

/* Heading Specific Sizes and Weights */
h1 {
  font-weight: var(--font-weight-heading-display);
}

h2 {
  font-weight: var(--font-weight-heading-display);
}

h3 {
  font-weight: var(--font-weight-heading);
}

h4 {
  font-weight: var(--font-weight-heading);
}

h5 {
  font-weight: var(--font-weight-heading);
}

h6 {
  font-weight: var(--font-weight-heading);
}

/* Body Text Font */
body,
p,
span,
a,
li {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body-normal);
}

/* Form Elements */
button,
input,
textarea,
select {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body-normal);
}

/* Navigation Links */
nav a,
.nav-link {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body-medium);
}

/* Buttons */
button,
.button,
.btn {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body-medium);
}

/* Form Labels */
label {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body-medium);
}

/* List Items */
li {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body-normal);
}

/* Table Elements */
table,
td,
th {
  font-family: var(--font-body);
}

th {
  font-weight: var(--font-weight-body-medium);
}

td {
  font-weight: var(--font-weight-body-normal);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.parallax-layer {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.letter-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: letterReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-card {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hero image carousel — horizontal sliding track */
.hero-carousel__float {
  animation: floatCard 6s ease-in-out infinite;
}

.hero-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #e7e5e4;
  overflow: hidden;
}

.hero-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-carousel:not(.is-ready) .hero-carousel__track {
  transform: none !important;
}

.hero-carousel:not(.is-ready) .hero-carousel__slide:not(:first-child) {
  display: none;
}

.hero-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
}

.hero-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  border: none;
  border-radius: var(--radius-small, 0.5rem);
  color: #3e4095;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-custom, 0 10px 30px rgba(0, 0, 0, 0.12));
  cursor: pointer;
  opacity: 0.95;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.hero-carousel:focus-within .hero-carousel__btn,
.hero-carousel:hover .hero-carousel__btn {
  opacity: 1;
}

.hero-carousel__btn:hover,
.hero-carousel__btn:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #f58220, #3e4095);
  outline: none;
}

.hero-carousel__btn--prev {
  left: 0.75rem;
}

.hero-carousel__btn--next {
  right: 0.75rem;
}

.hero-carousel__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-carousel__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f58220, #3e4095);
  transform-origin: left center;
}

.hero-carousel.is-playing .hero-carousel__progress-bar {
  animation: heroCarouselProgress var(--hero-autoplay-ms, 5500ms) linear forwards;
}

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(62, 64, 149, 0.25);
  cursor: pointer;
  transition:
    width 0.35s ease,
    background 0.35s ease,
    transform 0.25s ease;
}

.hero-carousel__dot:hover,
.hero-carousel__dot:focus-visible {
  background: rgba(245, 130, 32, 0.65);
  outline: none;
  transform: scale(1.15);
}

.hero-carousel__dot.is-active {
  width: 1.75rem;
  background: linear-gradient(90deg, #f58220, #3e4095);
}

@keyframes heroCarouselProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-carousel__btn {
    width: 2.25rem;
    height: 2.25rem;
    margin-top: -1.125rem;
    opacity: 0.92;
    transform: translateY(0);
  }

  .hero-carousel__btn--prev {
    left: 0.5rem;
  }

  .hero-carousel__btn--next {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__float {
    animation: none;
  }

  .hero-carousel__track {
    transition: none;
  }

  .hero-carousel.is-playing .hero-carousel__progress-bar {
    animation: none;
    width: 100%;
  }
}

.draw-line {
  width: 0;
  animation: drawLine 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes drawLine {
  to {
    width: 100%;
  }
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hover-lift {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-custom-hover);
}

.glass-button {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.animated-quote-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f58220 0%, #ff6b35 100%);
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 4px 20px rgba(245, 130, 32, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0) perspective(1000px) rotateX(0deg);
  animation: floating-glow 4s ease-in-out infinite;
  cursor: pointer;
}

.animated-quote-btn::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #f58220, #ff6b35, #f58220);
  background-size: 200% 200%;
  border-radius: inherit;
  animation: border-shimmer 3s ease-in-out infinite;
  z-index: -1;
  opacity: 0.7;
}

.animated-quote-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.animated-quote-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.animated-quote-btn span {
  position: relative;
  z-index: 2;
  background: linear-gradient(45deg, #ffffff, #ffeaa7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(245, 130, 32, 0.5);
  animation: text-glow 2s ease-in-out infinite alternate;
  font-weight: 700;
}

.animated-quote-btn:hover {
  transform: translateY(-5px) perspective(1000px) rotateX(5deg) scale(1.08);
  box-shadow:
    0 15px 40px rgba(245, 130, 32, 0.6),
    0 0 60px rgba(245, 130, 32, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation-play-state: paused;
}

.animated-quote-btn:hover::after {
  width: 300px;
  height: 300px;
}

.animated-quote-btn:hover span {
  animation: text-glow 0.5s ease-in-out infinite alternate;
}

.animated-quote-btn:active {
  transform: translateY(-2px) perspective(1000px) rotateX(2deg) scale(1.02);
  box-shadow:
    0 8px 25px rgba(245, 130, 32, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.animated-quote-btn:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(245, 130, 32, 0.3),
    0 4px 20px rgba(245, 130, 32, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Unique animations */
@keyframes floating-glow {
  0%,
  100% {
    transform: translateY(0) perspective(1000px) rotateX(0deg);
    box-shadow:
      0 4px 20px rgba(245, 130, 32, 0.3),
      0 0 0 0 rgba(245, 130, 32, 0.5);
  }
  50% {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow:
      0 4px 25px rgba(245, 130, 32, 0.4),
      0 0 0 15px rgba(245, 130, 32, 0.1);
  }
}

@keyframes border-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@keyframes text-glow {
  0% {
    text-shadow:
      0 0 10px rgba(245, 130, 32, 0.5),
      0 0 20px rgba(245, 130, 32, 0.3),
      0 0 30px rgba(245, 130, 32, 0.2);
  }
  100% {
    text-shadow:
      0 0 20px rgba(245, 130, 32, 0.8),
      0 0 40px rgba(245, 130, 32, 0.5),
      0 0 60px rgba(245, 130, 32, 0.3);
  }
}

/* Magnetic effect */
.animated-quote-btn {
  transition: transform 0.1s ease-out;
}

.animated-quote-btn:hover {
  transition: transform 0.1s ease-out;
}

/* Remove the old pulse animation */
.animated-quote-btn {
  animation: floating-glow 4s ease-in-out infinite;
}

/* Pause animation on hover for interaction */
.animated-quote-btn:hover {
  animation-play-state: paused;
}

/* Ripple effect */
.animated-quote-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-golden-orange) 0%,
    var(--color-primary-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.texture-overlay {
  position: relative;
}

.texture-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /%3E%3C/filter%3E%3Crect width="100" height="100" filter="url(%23noise)" opacity="0.03" /%3E%3C/svg%3E');
  pointer-events: none;
}

.nav-link {
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-golden-orange),
    var(--color-sky-blue)
  );
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: var(--color-golden-orange);
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card img {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.icon-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: iconDraw 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes iconDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.stagger-1 {
  animation-delay: 0.1s;
}
.stagger-2 {
  animation-delay: 0.2s;
}
.stagger-3 {
  animation-delay: 0.3s;
}
.stagger-4 {
  animation-delay: 0.4s;
}
.stagger-5 {
  animation-delay: 0.5s;
}
.stagger-6 {
  animation-delay: 0.6s;
}

.floating-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  color: #9ca3af;
}

.form-input:focus + .floating-label,
.form-input:not(:placeholder-shown) + .floating-label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--color-golden-orange);
  background: white;
  padding: 0 4px;
}

.form-input {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-input:focus {
  border-color: var(--color-golden-orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
}

.gradient-sweep {
  position: relative;
  overflow: hidden;
}

.gradient-sweep::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gradient-sweep:hover::before {
  left: 100%;
}

/* ============================================
   RESPONSIVE DESIGN - PRODUCTION READY
   ============================================ */

/* Main body padding for fixed navbar */
body {
  padding-top: 5rem;
}

/* ==================== TABLET (768px and below) ==================== */
@media (max-width: 768px) {
  body {
    padding-top: 4.5rem;
  }

  /* Container adjustments */
  .max-w-7xl {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Typography scaling */
  h1 {
    font-size: 2rem !important;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  h4 {
    font-size: 1.1rem !important;
  }

  p {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }

  .text-lg {
    font-size: 1rem !important;
  }

  .text-xl {
    font-size: 1.125rem !important;
  }

  .text-2xl {
    font-size: 1.25rem !important;
  }

  .text-3xl {
    font-size: 1.5rem !important;
  }

  .text-4xl {
    font-size: 1.75rem !important;
  }

  .text-5xl {
    font-size: 2rem !important;
  }

  .text-6xl {
    font-size: 2rem !important;
  }

  .text-7xl {
    font-size: 2rem !important;
  }

  /* Spacing adjustments */
  .px-12 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .px-8 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .py-24 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .py-20 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .py-16 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .py-12 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Gap adjustments */
  .gap-12 {
    gap: 1rem !important;
  }

  .gap-8 {
    gap: 1rem !important;
  }

  .gap-6 {
    gap: 0.75rem !important;
  }

  /* Margin adjustments */
  .mb-8 {
    margin-bottom: 1rem !important;
  }

  .mt-8 {
    margin-top: 1rem !important;
  }

  .mb-12 {
    margin-bottom: 1.5rem !important;
  }

  /* Grid stacking */
  .grid {
    grid-template-columns: 1fr !important;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  .grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  .grid-cols-4 {
    grid-template-columns: 1fr !important;
  }

  .grid-cols-6 {
    grid-template-columns: 1fr !important;
  }

  /* Flexbox */
  .flex-row {
    flex-direction: column !important;
  }

  .lg\:grid-cols-12 {
    grid-template-columns: 1fr !important;
  }

  .lg\:grid-cols-7 {
    grid-template-columns: 1fr !important;
  }

  .lg\:grid-cols-5 {
    grid-template-columns: 1fr !important;
  }

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

  /* Buttons */
  button {
    min-height: 44px;
    font-size: 0.875rem;
    padding: 0.65rem 1rem !important;
  }

  /* Form inputs */
  input,
  textarea,
  select {
    min-height: 44px;
    font-size: 1rem;
    padding: 0.75rem !important;
    width: 100% !important;
  }

  /* Hero section */
  .hero-section {
    min-height: auto;
    padding: 3rem 0 !important;
  }

  /* Cards */
  .project-card {
    flex-direction: column !important;
  }

  .service-card {
    padding: 1.5rem !important;
  }

  .rounded-large {
    border-radius: 0.75rem;
  }

  /* Navbar adjustments */
  nav {
    height: auto;
  }

  nav .h-20 {
    height: auto;
  }

  /* Slow down animations on mobile for better perceived performance */
  .fade-in-up {
    animation-duration: 2s !important;
  }

  .letter-reveal {
    animation-duration: 1.2s !important;
  }

  .scale-in {
    animation-duration: 1.5s !important;
  }

  .draw-line {
    animation-duration: 2.25s !important;
  }

  .icon-draw {
    animation-duration: 3s !important;
  }

  .float-card {
    animation-duration: 9s !important;
  }

  .floating-glow {
    animation-duration: 6s !important;
  }

  .border-shimmer {
    animation-duration: 4.5s !important;
  }

  .text-glow {
    animation-duration: 3s !important;
  }

  /* Trusted By Marquee Mobile Adjustments */
  .trusted-by-marquee {
    gap: 0 !important;
  }

  .trusted-by-track {
    gap: 12px !important;
    /* animation-duration: 25s !important; */
  }

  .trusted-logo-item {
    min-width: 120px !important;
    padding: 0.5rem 0.8rem !important;
  }

  .trusted-by-mask {
    width: 60px !important;
  }

  .trusted-by-marquee-wrapper {
    padding: 12px 0 !important;
  }
}

/* ==================== MOBILE (425px and below) ==================== */
@media (max-width: 425px) {
  body {
    padding-top: 4rem;
  }

  /* Container adjustments */
  .max-w-7xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  main,
  section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Typography - Ultra compact */
  h1 {
    font-size: 1.5rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
  }

  h2 {
    font-size: 1.25rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
  }

  h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }

  h4 {
    font-size: 1rem !important;
  }

  p {
    font-size: 0.875rem !important;
    line-height: 1.5;
    margin-bottom: 0.75rem !important;
  }

  /* Spacing - Compact */
  .px-12,
  .px-8,
  .px-6 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .py-24,
  .py-20 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .py-16,
  .py-12 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Gap - Minimal */
  .gap-12,
  .gap-8,
  .gap-6 {
    gap: 0.75rem !important;
  }

  .gap-4 {
    gap: 0.5rem !important;
  }

  /* Margins */
  .mb-8,
  .mt-8,
  .mb-12 {
    margin: 0.75rem !important;
  }

  /* Buttons */
  button {
    min-height: 44px;
    min-width: 44px;
    font-size: 0.8rem;
    padding: 0.65rem 0.95rem !important;
  }

  .glass-button {
    padding: 0.65rem 0.95rem !important;
  }

  /* Inputs */
  input,
  textarea,
  select {
    font-size: 16px;
    min-height: 44px;
    padding: 0.75rem !important;
  }

  /* Lists */
  li {
    margin-bottom: 0.5rem !important;
  }

  ul,
  ol {
    padding-left: 1.25rem !important;
  }

  /* Hero adjustments */
  .hero-section {
    min-height: auto;
    max-height: none;
  }

  /* Images capping */
  .project-card img {
    max-height: 200px;
    object-fit: cover;
  }

  /* Form fields */
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100% !important;
  }

  /* Animations slower on small screens for better mobile experience */
  * {
    animation-duration: 1.5s !important;
  }

  /* Keep floating animations reasonable */
  .float-card {
    animation-duration: 4s !important;
  }

  .stagger-1 {
    animation-delay: 0.15s !important;
  }

  .stagger-2 {
    animation-delay: 0.3s !important;
  }

  .stagger-3 {
    animation-delay: 0.45s !important;
  }

  .stagger-4 {
    animation-delay: 0.6s !important;
  }

  .stagger-5 {
    animation-delay: 0.75s !important;
  }

  .stagger-6 {
    animation-delay: 0.9s !important;
  }

  /* Trusted By Marquee Small Screen Adjustments */
  .trusted-by-marquee {
    gap: 0.5rem !important;
  }

  .trusted-by-track {
    gap: 8px !important;
    /* animation-duration: 20s !important; */
  }

  .trusted-logo-item {
    min-width: 100px !important;
    padding: 0.4rem 0.6rem !important;
  }

  .trusted-by-marquee-wrapper {
    padding: 10px 0 !important;
  }
  .quote-popup-box {
    padding: 28px !important;
  }
}

/* ==================== LANDSCAPE MOBILE (max-height: 500px) ==================== */
@media (max-height: 500px) and (orientation: landscape) {
  nav {
    min-height: 3.5rem;
  }

  .py-16,
  .py-20,
  .py-24 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .gap-8,
  .gap-12 {
    gap: 0.5rem !important;
  }

  h1,
  h2 {
    margin-bottom: 0.5rem !important;
  }

  section {
    margin-bottom: 0.75rem !important;
  }
}

/* ==================== ACCESSIBILITY & TOUCH ==================== */

/* Touch-friendly sizes */
button,
input[type="button"],
input[type="submit"],
input[type="checkbox"],
input[type="radio"] {
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
}

button#quoteBtnDesktop,
button#quoteBtnMobile {
  min-height: 40px;
  min-width: 40px;
}

/* Focus states */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #f58220;
  outline-offset: 2px;
}

/* Prevent zoom on input */
@supports (-webkit-touch-callout: none) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Prevent text overflow */
body,
p,
span {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== FOOTER RESPONSIVE ==================== */

/* Footer base styling */
footer {
  width: 100%;
  overflow: hidden;
}

/* Footer spacing adjustments */
footer .space-y-4 > * + * {
  margin-top: 1rem;
}

/* ==================== FOOTER - TABLET (768px and below) ==================== */
@media (max-width: 768px) {
  footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  footer .max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  footer .grid {
    gap: 2rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  footer h3 {
    font-size: 1.1rem !important;
    font-weight: 700;
    margin-bottom: 0.75rem !important;
  }

  footer p {
    font-size: 0.875rem !important;
    line-height: 1.5;
  }

  footer ul li a {
    font-size: 0.875rem !important;
  }

  footer ul li span {
    font-size: 0.875rem !important;
  }

  footer .space-y-2 > li {
    margin-bottom: 0.5rem !important;
  }

  footer .border-t {
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
  }

  footer .border-t p {
    font-size: 0.75rem !important;
  }

  /* Social icons tablet */
  footer .flex.space-x-4 {
    gap: 0.75rem !important;
  }

  footer .w-10.h-10 {
    width: 2.25rem;
    height: 2.25rem;
  }

  footer .w-5.h-5 {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ==================== FOOTER - MOBILE (425px and below) ==================== */
@media (max-width: 425px) {
  footer {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  footer .max-w-7xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  footer .grid {
    gap: 1.5rem !important;
    grid-template-columns: 1fr !important;
  }

  footer .grid > div {
    margin-bottom: 0.75rem !important;
  }

  /* Logo section mobile */
  footer .flex.items-center.space-x-3 {
    gap: 0.75rem !important;
  }

  footer .flex.items-center.space-x-3 .w-10.h-10 {
    width: 2rem;
    height: 2rem;
  }

  footer .flex.items-center.space-x-3 span {
    font-size: 1.1rem !important;
  }

  /* Typography mobile */
  footer h3 {
    font-size: 1rem !important;
    font-weight: 700;
    margin-bottom: 0.75rem !important;
  }

  footer p {
    font-size: 0.8125rem !important;
    line-height: 1.5;
    margin-bottom: 0.75rem !important;
  }

  footer ul li a,
  footer ul li span {
    font-size: 0.8125rem !important;
  }

  footer .space-y-2 > li {
    margin-bottom: 0.5rem !important;
  }

  /* Social icons mobile */
  footer .flex.space-x-4 {
    gap: 0.5rem !important;
    justify-content: flex-start;
  }

  footer .w-10.h-10 {
    width: 2rem;
    height: 2rem;
  }

  footer .w-10.h-10 svg {
    width: 1rem;
    height: 1rem;
  }

  /* Border and copyright mobile */
  footer .border-t {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
  }

  footer .border-t p {
    font-size: 0.7rem !important;
    text-align: center;
    line-height: 1.4;
  }
}

/* ==================== FOOTER - LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
  footer {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  footer .grid {
    gap: 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  footer h3 {
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
  }

  footer p {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
}

/* ==================== FOOTER - LINK ANIMATIONS ==================== */
footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  text-decoration: none;
}

/* Social icon transitions */
footer .flex.space-x-4 a {
  transition: all 0.3s ease;
}

footer .flex.space-x-4 a:focus {
  outline: 2px solid #f58220;
  outline-offset: 2px;
}

/* ==================== HERO SECTION RESPONSIVE ==================== */

/* Hero section base */
#home {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#home .absolute.-bottom-8.-left-8 {
  bottom: -2rem;
  left: -2rem;
}

/* Hero responsive at 768px */
@media (max-width: 768px) {
  #home {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  #home .space-y-8 > * + * {
    margin-top: 1.5rem;
  }

  #home .lg\:col-span-5 {
    margin-top: 2rem;
  }

  #home h1 br {
    display: none;
  }

  #home h1 {
    margin-bottom: 1rem;
  }

  #home .draw-line {
    margin: 0.75rem 0;
  }
}

/* Hero responsive at 425px */
@media (max-width: 425px) {
  #home {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  #home .relative.z-10 {
    padding-top: 1rem;
  }

  #home .space-y-6 {
    gap: 1rem;
  }

  #home .lg\:col-span-5 {
    margin-top: 1.5rem;
  }
}

/* ==================== PROJECTS SECTION RESPONSIVE ==================== */

/* Projects section base */
#projects {
  position: relative;
}

#projects .project-hover {
  transition: all 0.3s ease;
}

/* Projects responsive at 768px */
@media (max-width: 768px) {
  #projects {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #projects .grid {
    gap: 2rem;
  }

  #projects .space-y-6 > * + * {
    margin-top: 1.5rem;
  }

  #projects .group.relative div:first-child {
    min-height: 256px;
  }

  #projects .project-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
}

/* Projects responsive at 425px */
@media (max-width: 425px) {
  #projects {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 1rem;
  }

  #projects .max-w-7xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #projects .grid {
    gap: 1.5rem;
  }

  #projects .space-y-6 {
    gap: 1rem;
  }

  #projects .space-y-4 > * + * {
    margin-top: 0.75rem;
  }

  #projects .group.relative div:first-child {
    min-height: 200px;
  }

  #projects .h-1 {
    width: 3rem;
  }

  /* Bullet points alignment */
  #projects li {
    font-size: 0.8125rem;
  }

  #projects li span.rounded-full {
    flex-shrink: 0;
  }
}

/* Projects hero image responsive */
@media (max-width: 768px) {
  #home img[alt="Modern Architecture"] {
    max-height: 400px;
    object-fit: cover;
  }
}

@media (max-width: 425px) {
  #home img[alt="Modern Architecture"] {
    max-height: 300px;
  }
}

/* Parallax effect reduction on mobile */
@media (max-width: 768px) {
  #home .parallax-layer {
    object-position: center;
  }
}

/* ==================== ABOUT PAGE RESPONSIVE ==================== */

/* About section base */
#about {
  position: relative;
  overflow: hidden;
}

#about .grid {
  align-items: center;
}

/* About responsive at 768px */
@media (max-width: 768px) {
  #about {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 1rem;
  }

  #about .space-y-6 > * + * {
    margin-top: 1.5rem;
  }

  #about .scale-in {
    margin-top: 1.5rem;
  }

  #about img[alt="Corporate Office"] {
    max-height: 350px;
    object-fit: cover;
  }

  #about .space-y-2 h3 {
    font-size: 1.875rem;
  }

  #about .space-y-2 p {
    font-size: 0.875rem;
  }
}

/* About responsive at 425px */
@media (max-width: 425px) {
  #about {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 0.75rem;
  }

  #about .max-w-7xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #about .space-y-4 {
    gap: 1rem;
  }

  #about .scale-in {
    margin-top: 1rem;
  }

  #about h2 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
  }

  #about p {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }

  #about .h-1 {
    width: 4rem;
  }

  #about img[alt="Corporate Office"] {
    max-height: 300px;
    object-fit: cover;
  }

  #about .relative.scale-in {
    position: relative;
  }

  #about .absolute {
    width: 6rem !important;
    height: 6rem !important;
    top: 1rem;
    right: 1rem;
  }

  #about .space-y-2 {
    margin-bottom: 0.75rem;
  }

  #about .space-y-2 h3 {
    font-size: 1.5rem;
  }

  #about .space-y-2 p {
    font-size: 0.7rem;
    color: #6b7280;
  }

  #about .grid-cols-1 {
    gap: 0.75rem !important;
  }

  /* Stat boxes styling */
  #about div.space-y-2 {
    padding: 0.75rem 0;
  }
}

/* About landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  #about {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #about .grid {
    gap: 1rem;
  }

  #about img[alt="Corporate Office"] {
    max-height: 250px;
  }

  #about .space-y-2 h3 {
    font-size: 1.5rem;
  }
}

/* ==================== ANIMATION PERFORMANCE TWEAKS ==================== */
/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
  #about,
  #about .scale-in {
    animation: none;
    transition: none;
  }
}

/* ==================== PROJECTS PAGE RESPONSIVE ==================== */

/* Projects page base */
#projects {
  position: relative;
}

#projects .fade-in {
  animation-delay: 0.1s;
}

/* Projects typography and spacing - Mobile first */
#projects h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#projects .h-1 {
  width: 3rem;
  margin-top: 0.75rem;
}

#projects .tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

#projects .view-btn {
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
}

/* Projects responsive at 768px */
@media (max-width: 768px) {
  #projects {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #projects h2 {
    font-size: 1.875rem;
  }

  #projects .inline-block span {
    font-size: 0.75rem;
  }

  #projects .grid {
    gap: 1.5rem;
  }

  #projects .project-card {
    margin-bottom: 0;
  }

  #projects .project-image-wrap {
    aspect-ratio: 16 / 9;
  }

  #projects h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  #projects p {
    font-size: 0.8rem;
  }

  #projects .view-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.65rem;
  }

  /* Filter sidebar on tablet */
  #projectFilters {
    position: fixed;
    left: 0;
    right: 0;
    top: 4.5rem;
    z-index: 40;
    border-radius: 0;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 100%;
    padding: 1rem;
  }

  #projectFilters.mobile-active {
    transform: translateX(0);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  #mobileFilterToggle[aria-expanded="true"] #filterToggleIcon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }

  #projects .space-y-5 > div + div {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
  }
}

/* Projects responsive at 425px */
@media (max-width: 425px) {
  #projects {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  #projects .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #projects h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  #projects .h-1 {
    width: 2.5rem;
    margin-top: 0.5rem;
  }

  #projects .inline-block span {
    font-size: 0.65rem;
  }

  #projects .text-center {
    margin-bottom: 1.5rem;
  }

  #projects .grid {
    gap: 1rem;
  }

  #projects .project-card {
    margin-bottom: 0;
  }

  #projects .bg-white.rounded-large.p-4 {
    padding: 1rem;
  }

  #projects h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  #projects p {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  #projects .tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
  }

  #projects .view-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }

  #projects .flex.gap-2 {
    gap: 0.5rem;
  }

  #projects .flex.items-center.justify-between {
    gap: 0.5rem;
  }

  #projectFilters {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
  }

  #projectFilters .space-y-5 > div {
    margin-bottom: 1rem;
  }

  #projectFilters label {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  #projectFilters .grid.grid-cols-2.gap-2 button {
    font-size: 0.7rem;
    padding: 0.5rem;
  }

  #projectFilters .flex.gap-2 button {
    font-size: 0.7rem;
    padding: 0.5rem;
  }

  #projectFilters .flex.gap-2.pt-3 {
    flex-direction: column;
  }

  #projectFilters button#applyFilters,
  #projectFilters button#resetFilters {
    font-size: 0.75rem;
    padding: 0.65rem;
  }

  #mobileFilterToggle {
    font-size: 0.9rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }

  #noResults {
    padding: 2rem 1rem;
  }

  #noResults p {
    font-size: 0.875rem;
  }
}

/* Projects landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  #projects {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #projects h2 {
    font-size: 1.5rem;
  }

  #projects .grid {
    gap: 0.75rem;
  }
}

/* Filter drawer scrollable on mobile */
@media (max-width: 768px) {
  #projectFilters {
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  #projectFilters::-webkit-scrollbar {
    width: 6px;
  }

  #projectFilters::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

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

  #projectFilters::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
}

/* Prevent layout shift with background color */
#projects .project-image-wrap {
  background-color: #e5e7eb;
}

/* Touch-friendly interactions on mobile */
@media (hover: none) and (pointer: coarse) {
  #projects .project-card:active {
    transform: translateY(-4px);
  }

  #projects .view-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.12);
  }

  #projects .filter-chip:active,
  #projects .filter-chip-year:active {
    transform: scale(0.98);
  }
}

/* ==================== ANIMATION PERFORMANCE TWEAKS ==================== */

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
  #home,
  #projects,
  #projects .project-hover {
    animation: none;
    transition: none;
  }
}

/* //////////// Our Services Styling  ////////////// */

/* gradient animation */

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* service cards */

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: all 0.5s ease;

  position: relative;

  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* gradient hover overlay */

.service-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(245, 130, 32, 0.08),
    rgba(47, 163, 204, 0.08)
  );

  opacity: 0;

  transition: 0.4s;
}

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

/* icon style */

.icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 14px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f58220, #2fa3cc);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.4s;
}

.service-card:hover .icon-box {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(47, 163, 204, 0.4);
}

.service-card {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.contact-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: floatIcon 4s ease-in-out infinite;
}

.contact-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-text {
  color: #555;

  font-size: 15px;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

.contact-card {
  position: relative;
  padding: 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

.contact-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

.contact-card:hover::before {
  opacity: 1;

  animation: shine 1.2s linear;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* modal overlay */

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

/* modal box */

.modal-box {
  position: relative;
  background: white;
  padding: 1.5rem;
  border-radius: 18px;
  width: 90%;
  max-width: 500px;
  z-index: 10;
  animation: modalPop 0.4s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

/* popup animation */

@keyframes modalPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==================== PREMIUM VISION & MISSION SECTION ==================== */

/* Enhanced Gradient Text Effects */
.gradient-text-vision-enhanced {
  background: linear-gradient(135deg, #3e4095 0%, #1e40af 50%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.gradient-text-vision-enhanced::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3e4095, #f58220);
  border-radius: 1px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

.gradient-text-mission-enhanced {
  background: linear-gradient(135deg, #f58220 0%, #ea580c 50%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.gradient-text-mission-enhanced::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f58220, #3e4095);
  border-radius: 1px;
  animation: textGlow 2s ease-in-out infinite alternate-reverse;
}

/* Premium Section Base */
.premium-section {
  position: relative;
}

/* Enhanced Floating Background Elements */
.floating-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: floatComplex 8s ease-in-out infinite;
}

.blob-1 {
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.15),
    rgba(245, 130, 32, 0.1)
  );
  animation-delay: 0s;
}

.blob-2 {
  top: 60%;
  right: 8%;
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(245, 130, 32, 0.12),
    rgba(62, 64, 149, 0.08)
  );
  animation-delay: 2s;
}

.blob-3 {
  bottom: 20%;
  left: 15%;
  width: 150px;
  height: 150px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.1),
    rgba(245, 130, 32, 0.15)
  );
  animation-delay: 4s;
}

.blob-4 {
  top: 30%;
  right: 25%;
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(245, 130, 32, 0.08),
    rgba(62, 64, 149, 0.12)
  );
  animation-delay: 6s;
}

/* Background Waves */
.bg-wave {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.02) 50%,
    transparent 70%
  );
  animation: waveFloat 12s ease-in-out infinite;
}

.wave-1 {
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  animation-delay: 0s;
}

.wave-2 {
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  animation-delay: 4s;
}

/* Gradient Mesh Overlay */
.gradient-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(62, 64, 149, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 130, 32, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(62, 64, 149, 0.02) 0%,
      transparent 50%
    );
}

/* Premium Header Styles */
.premium-header {
  opacity: 0;
  transform: translateY(40px);
  animation: headerEntrance 1s ease-out 0.2s forwards;
}

.premium-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordEntrance 0.6s ease-out forwards;
}

.word-1 {
  animation-delay: 0.3s;
}
.word-2 {
  animation-delay: 0.5s;
}
.word-3 {
  animation-delay: 0.7s;
}
.word-4 {
  animation-delay: 0.9s;
}

#vision-mission .vision-mission-title {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.06em;
}

#vision-mission .title-word-line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
}

#vision-mission .title-word-line .title-word {
  flex-shrink: 0;
}

.animated-underline {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
  background-size: 200% 100%;
  animation: underlineFlow 3s ease-in-out infinite;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(245, 130, 32, 0.3);
}

.premium-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: subtitleEntrance 0.8s ease-out 1.2s forwards;
}

/* Premium Cards Container */
.premium-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
}

@media (min-width: 1024px) {
  .premium-cards-container {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 3rem;
  }
}

/* Premium Cards */
.premium-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  box-shadow:
    0 20px 60px rgba(62, 64, 149, 0.08),
    0 8px 32px rgba(245, 130, 32, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(60px) rotateX(-10deg) scale(0.9);
  height: 100%;
}

.vision-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
}

.mission-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(241, 245, 249, 0.95) 100%
  );
}

.premium-card:hover {
  transform: translateY(-12px) rotateX(2deg) scale(1.03);
  box-shadow:
    0 40px 100px rgba(62, 64, 149, 0.15),
    0 20px 60px rgba(245, 130, 32, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 34px;
  background: linear-gradient(
    45deg,
    rgba(62, 64, 149, 0.1),
    rgba(245, 130, 32, 0.1),
    rgba(62, 64, 149, 0.1)
  );
  background-size: 300% 300%;
  animation: glowRotate 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.premium-card:hover .card-glow {
  opacity: 1;
}

/* Card Border Animation */
.card-border {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  padding: 2px;
  background: linear-gradient(
    45deg,
    rgba(62, 64, 149, 0.2),
    rgba(245, 130, 32, 0.3),
    rgba(62, 64, 149, 0.2)
  );
  background-size: 300% 300%;
  animation: borderFlow 6s ease-in-out infinite;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.premium-card:hover .card-border {
  opacity: 1;
}

/* Premium Icon Container */
.premium-icon-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
  transition: all 0.6s ease;
}

.icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.1) 0%,
    rgba(245, 130, 32, 0.1) 100%
  );
  transition: all 0.6s ease;
}

.premium-card:hover .icon-bg {
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.2) 0%,
    rgba(245, 130, 32, 0.2) 100%
  );
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(245, 130, 32, 0.2);
}

.premium-icon {
  width: 48px;
  height: 48px;
  color: #3e4095;
  transition: all 0.6s ease;
  position: relative;
  z-index: 2;
}

.vision-card .premium-icon {
  color: #3e4095;
}

.mission-card .premium-icon {
  color: #f58220;
}

.premium-card:hover .premium-icon {
  transform: scale(1.2) rotate(10deg);
  color: #f58220;
}

.vision-card:hover .premium-icon {
  color: #f58220;
}

.mission-card:hover .premium-icon {
  color: #3e4095;
}

.icon-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawIcon 2s ease-out forwards;
}

.premium-card:hover .icon-path {
  animation:
    drawIcon 0.6s ease-out forwards,
    iconPulse 1.5s ease-in-out infinite;
}

.icon-glow {
  fill: currentColor;
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s ease;
}

.premium-card:hover .icon-glow {
  opacity: 0.1;
  transform: scale(2);
}

/* Premium Card Title */
.premium-card-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.title-text {
  display: inline-block;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.6s ease;
}

.vision-card .title-text {
  background: linear-gradient(135deg, #3e4095 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission-card .title-text {
  background: linear-gradient(135deg, #f58220 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-card:hover .title-text {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.title-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3e4095, #f58220);
  transition: width 0.6s ease;
}

.vision-card .title-accent {
  background: linear-gradient(90deg, #3e4095, #f58220);
}

.mission-card .title-accent {
  background: linear-gradient(90deg, #f58220, #3e4095);
}

.premium-card:hover .title-accent {
  width: 100%;
}

/* Premium Content */
.premium-content {
  position: relative;
}

.content-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #6b7280;
  font-weight: 400;
  transition: all 0.6s ease;
}

.premium-card:hover .content-text {
  color: #374151;
  transform: translateY(-1px);
}

/* Premium Divider */
.premium-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

@media (min-width: 1024px) {
  .premium-divider {
    flex-direction: column;
    width: 80px;
    margin: 0 2rem;
  }
}

.divider-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .divider-line {
    width: 2px;
    height: 100px;
  }
}

.divider-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    #3e4095,
    #f58220,
    #3e4095,
    transparent
  );
  animation: dividerFlow 3s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .divider-line::before {
    background: linear-gradient(
      180deg,
      transparent,
      #3e4095,
      #f58220,
      #3e4095,
      transparent
    );
  }
}

.divider-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(
    circle,
    rgba(245, 130, 32, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: dividerGlow 2s ease-in-out infinite alternate;
}

.divider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #3e4095;
  transition: all 0.6s ease;
  z-index: 2;
}

.premium-divider:hover .divider-icon {
  transform: translate(-50%, -50%) scale(1.1) rotate(180deg);
  color: #f58220;
  box-shadow: 0 8px 30px rgba(245, 130, 32, 0.2);
}

/* ==================== ANIMATIONS ==================== */

/* Complex floating animation */
@keyframes floatComplex {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(2deg) scale(1.05);
  }
  50% {
    transform: translateY(-10px) translateX(-5px) rotate(-1deg) scale(0.95);
  }
  75% {
    transform: translateY(-25px) translateX(-10px) rotate(3deg) scale(1.02);
  }
}

/* Wave floating animation */
@keyframes waveFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) scale(1.1) rotate(5deg);
    opacity: 0.5;
  }
}

/* Text glow animation */
@keyframes textGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Header entrance animation */
@keyframes headerEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Word entrance animation */
@keyframes wordEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Underline flow animation */
@keyframes underlineFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Subtitle entrance animation */
@keyframes subtitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card entrance animation */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(60px) rotateX(-10deg) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

/* Glow rotation animation */
@keyframes glowRotate {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Border flow animation */
@keyframes borderFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Icon drawing animation */
@keyframes drawIcon {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Icon pulse animation */
@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Divider flow animation */
@keyframes dividerFlow {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Divider glow animation */
@keyframes dividerGlow {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1024px) {
  .premium-cards-container {
    gap: 3rem;
  }

  .premium-card {
    padding: 2.5rem 2rem;
  }

  .premium-icon-container {
    width: 90px;
    height: 90px;
  }

  .premium-icon {
    width: 42px;
    height: 42px;
  }

  .premium-card-title {
    font-size: 1.75rem;
  }

  .content-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .premium-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .premium-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .premium-subtitle {
    font-size: 1rem;
  }

  .premium-cards-container {
    gap: 2rem;
  }

  .premium-card {
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }

  .card-glow,
  .card-border {
    border-radius: 26px;
  }

  .premium-icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
  }

  .premium-icon {
    width: 36px;
    height: 36px;
  }

  .premium-card-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .content-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .premium-divider {
    margin: 1.5rem 0;
  }

  .divider-line {
    width: 80px;
  }

  .divider-icon {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .premium-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .premium-card {
    padding: 1.5rem 1.25rem;
  }

  .premium-icon-container {
    width: 70px;
    height: 70px;
  }

  .premium-icon {
    width: 32px;
    height: 32px;
  }

  .premium-card-title {
    font-size: 1.375rem;
  }

  .content-text {
    font-size: 0.9rem;
  }
}

/* ==================== HAPPY CLIENTS SECTION ==================== */
.happy-clients-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
  border-top: 1px solid rgba(62, 64, 149, 0.1);
  border-bottom: 1px solid rgba(245, 130, 32, 0.1);
  overflow: hidden;
}

.happy-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 25%,
      rgba(62, 64, 149, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 15%,
      rgba(245, 130, 32, 0.13),
      transparent 25%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
  pointer-events: none;
}

.happy-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.65;
  animation: happyFloat 11s ease-in-out infinite;
}

.blob-a {
  top: -70px;
  left: 15%;
  width: 260px;
  height: 260px;
  background: rgba(62, 64, 149, 0.2);
  animation-delay: 0s;
}
.blob-b {
  bottom: -80px;
  right: 12%;
  width: 300px;
  height: 300px;
  background: rgba(245, 130, 32, 0.15);
  animation-delay: 2s;
}
.blob-c {
  top: 35%;
  right: 18%;
  width: 190px;
  height: 190px;
  background: rgba(62, 64, 149, 0.17);
  animation-delay: 4s;
}

.happy-header {
  opacity: 0;
  transform: translateY(24px);
  animation: happyHeaderIn 0.9s ease-out forwards;
}

.happy-title {
  font-family: var(--font-heading);
  font-weight: 850;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #1f2937;
}

.happy-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  color: #475569;
  margin-top: 0.75rem;
}

.happy-underline {
  width: 130px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
  background-size: 200% 100%;
  animation: underlineFlow 3.5s ease-in-out infinite;
}

.happy-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .happy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .happy-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.happy-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 155px;
  padding: 1.35rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 15px 30px rgba(62, 64, 149, 0.1),
    0 4px 14px rgba(245, 130, 32, 0.08);
  backdrop-filter: blur(13px);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}

.happy-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.happy-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: linear-gradient(
    125deg,
    rgba(62, 64, 149, 0.45),
    rgba(245, 130, 32, 0.35),
    rgba(62, 64, 149, 0.45)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(6px);
}

.happy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background-image:
    linear-gradient(90deg, rgba(62, 64, 149, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(62, 64, 149, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  animation: blueprintGrid 12s linear infinite;
}

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

.happy-card:hover {
  transform: translateY(-8px) rotateX(2deg) scale(1.03);
  box-shadow:
    0 25px 60px rgba(62, 64, 149, 0.22),
    0 14px 28px rgba(245, 130, 32, 0.18);
  border-color: rgba(62, 64, 149, 0.3);
}

.happy-card-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.4s ease;
  overflow: hidden;
  z-index: 2;
}

.happy-card-inner::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  filter: blur(16px);
  opacity: 0.9;
  animation: lightSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.happy-card:hover .happy-card-inner {
  transform: translateY(-5px) translateX(-2px);
}

.happy-card:hover .happy-card-inner::before {
  animation-duration: 5s;
}

.happy-card-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.4s ease;
}

.happy-card:hover .happy-card-inner {
  transform: translateY(-5px);
}

/* ==================== OUR TEAM SECTION ==================== */
.our-team-section {
  position: relative;
  background: linear-gradient(135deg, #f4f7ff 0%, #f8fbff 50%, #f4f7ff 100%);
  overflow: hidden;
}

.our-team-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 25%,
      rgba(62, 64, 149, 0.18),
      transparent 25%
    ),
    radial-gradient(
      circle at 82% 20%,
      rgba(245, 130, 32, 0.14),
      transparent 30%
    ),
    linear-gradient(45deg, rgba(255, 255, 255, 0.95), rgba(240, 246, 255, 0.95));
  pointer-events: none;
  z-index: 0;
}

.our-team-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.65;
  animation: happyFloat 11s ease-in-out infinite;
  z-index: 0;
}

.our-team-blob.blob-1 {
  top: -55px;
  left: 14%;
  width: 240px;
  height: 240px;
  background: rgba(62, 64, 149, 0.22);
}
.our-team-blob.blob-2 {
  bottom: -70px;
  right: 10%;
  width: 280px;
  height: 280px;
  background: rgba(245, 130, 32, 0.15);
  animation-delay: 2s;
}
.our-team-blob.blob-3 {
  top: 32%;
  right: 18%;
  width: 180px;
  height: 180px;
  background: rgba(62, 64, 149, 0.2);
  animation-delay: 4s;
}

.our-team-header {
  opacity: 0;
  transform: translateY(24px);
  animation: happyHeaderIn 0.9s ease-out forwards;
  position: relative;
  z-index: 1;
}

.our-team-title {
  font-family: var(--font-heading);
  font-weight: 850;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: #1f2937;
}

.our-team-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  color: #475569;
  margin-top: 0.75rem;
}

.our-team-underline {
  width: 150px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
  background-size: 200% 100%;
  animation: underlineFlow 3.5s ease-in-out infinite;
}

.our-team-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 2rem;
  z-index: 1;
}

@media (min-width: 768px) {
  .our-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .our-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
  }
}

.team-card {
  position: relative;
  min-height: 200px;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.76),
    rgba(241, 246, 255, 0.62)
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 14px 30px rgba(62, 64, 149, 0.1),
    0 5px 18px rgba(245, 130, 32, 0.08);
  backdrop-filter: blur(14px);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s ease;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body:not(.home-gsap) .team-card.team-scroll-flip {
  animation: teamCardScrollFlip 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes teamCardScrollFlip {
  0% {
    transform: translateY(16px) rotateY(-85deg) scale(0.94);
    opacity: 0.25;
  }
  58% {
    transform: translateY(-8px) rotateY(10deg) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.team-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.45),
    rgba(245, 130, 32, 0.25),
    rgba(62, 64, 149, 0.45)
  );
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}

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

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background-image:
    linear-gradient(90deg, rgba(62, 64, 149, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(62, 64, 149, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.22;
  z-index: 0;
}

.team-card:hover {
  transform: translateY(-7px) rotateX(1.2deg) rotateY(1.2deg) scale(1.04);
  box-shadow:
    0 32px 72px rgba(62, 64, 149, 0.24),
    0 16px 30px rgba(245, 130, 32, 0.21);
  border-color: rgba(62, 64, 149, 0.4);
}

.team-card-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.team-card-ceo {
  /* grid-column: span 2; */
  transform: translateY(-13px);
}

@media (max-width: 1023px) {
  .team-card-ceo {
    grid-column: span 1;
  }
}

.team-image-wrap {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 0.9rem;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 22px rgba(62, 64, 149, 0.14);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(70%) brightness(0.95) contrast(0.95);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 25, 56, 0.35),
    rgba(16, 25, 56, 0)
  );
  pointer-events: none;
}

.team-role-tag {
  display: inline-block;
  position: absolute;
  right: 8px;
  top: 8px;
  background: linear-gradient(90deg, #3e4095, #f58220);
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 3;
}

.team-card:hover .team-image {
  filter: grayscale(0%) brightness(1) contrast(1.08);
  transform: scale(1.07);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2a4c;
  margin-bottom: 0.25rem;
}

.team-position {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #55617a;
  margin-bottom: 0;
}

@keyframes spotlightPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(62, 64, 149, 0),
      0 0 0 0 rgba(245, 130, 32, 0);
  }
  50% {
    box-shadow:
      0 0 0 11px rgba(62, 64, 149, 0.15),
      0 0 0 22px rgba(245, 130, 32, 0.08);
  }
}

.team-card-ceo {
  animation: spotlightPulse 6s ease-in-out infinite;
}

.client-logo {
  max-width: 160px;
  max-height: 64px;
  filter: grayscale(100%) brightness(0.9);
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}

.happy-card:hover .client-logo {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}

.client-name {
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  text-align: center;
}

@keyframes blueprintGrid {
  0% {
    background-position:
      0 0,
      0 0;
  }
  100% {
    background-position:
      44px 44px,
      44px 44px;
  }
}

@keyframes lightSweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
}

@keyframes happyFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.04);
  }
}

@keyframes happyHeaderIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes underlineFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ==================== OUR SERVICES SECTION ==================== */
.our-services-section {
  position: relative;
  background: linear-gradient(145deg, #eff2fc, #f8f4ea 45%, #eff2fc);
  overflow: hidden;
  padding-top: 2rem;
  padding-bottom: 2.25rem;
}

.our-services-container {
  position: relative;
  z-index: 2;
}

.our-services-header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.our-services-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #1f2a4c;
}

.our-services-subtitle {
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  color: #4f5f7e;
  opacity: 0.95;
}

.our-services-underline {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
  background-size: 220% 100%;
  animation: underlineFlow 3s ease-in-out infinite;
}

.our-services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 2.4rem;
}

@media (min-width: 768px) {
  .our-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .our-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 0;
  min-height: 245px;
  perspective: 1200px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.75),
    rgba(238, 244, 255, 0.62)
  );
  box-shadow:
    0 12px 28px rgba(31, 40, 68, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    rgba(62, 64, 149, 0.7),
    rgba(245, 130, 32, 0.7),
    rgba(62, 64, 149, 0.7)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-out;
  mask-composite: exclude;
  z-index: 0;
  animation: borderGlow 5.2s ease-in-out infinite;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(245, 130, 32, 0.16),
      transparent 30%
    ),
    radial-gradient(circle at 86% 18%, rgba(62, 64, 149, 0.14), transparent 31%);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover {
  box-shadow:
    0 18px 39px rgba(31, 40, 68, 0.16),
    0 6px 20px rgba(245, 130, 32, 0.19);
  border-color: rgba(62, 64, 149, 0.5);
}

.service-card:hover .service-icon svg,
.service-card.is-flipped .service-icon svg {
  transform: translateY(-2px) scale(1.08);
}

.service-card:hover .service-icon::after,
.service-card.is-flipped .service-icon::after {
  opacity: 1;
}

.service-card:focus-visible {
  outline: 2px solid rgba(62, 64, 149, 0.55);
  outline-offset: 4px;
}

.service-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

body:not(.home-gsap) .service-card.scroll-animate {
  animation: serviceCardScrollPop 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes serviceCardScrollPop {
  0% {
    transform: translateY(8px) scale(0.98);
  }
  55% {
    transform: translateY(-7px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.service-card-inner {
  position: relative;
  min-height: 245px;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.service-card:hover .service-card-inner,
.service-card.is-flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
  border-radius: 26px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-front {
  transform: rotateY(0deg);
}

.service-back {
  transform: rotateY(180deg);
  justify-content: center;
  background: linear-gradient(
    160deg,
    rgba(62, 64, 149, 0.12),
    rgba(245, 130, 32, 0.2)
  );
}

.service-back-hint {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(31, 42, 76, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(62, 64, 149, 0.22);
  margin-bottom: 0.95rem;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  z-index: 2;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: #3e4095;
  transition:
    transform 0.4s ease,
    color 0.35s ease;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2a4c;
  margin-bottom: 0.4rem;
  z-index: 2;
}

.service-card p {
  font-family: var(--font-body);
  color: #4e607f;
  line-height: 1.5;
  font-size: 0.94rem;
  margin: 0;
  z-index: 2;
}

.services-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.45;
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-a {
  width: 220px;
  height: 220px;
  background: rgba(62, 64, 149, 0.23);
  top: -50px;
  left: -40px;
}

.blob-b {
  width: 240px;
  height: 240px;
  background: rgba(245, 130, 32, 0.18);
  bottom: -70px;
  right: 12%;
  animation-delay: 2.4s;
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.04);
  }
}

@keyframes borderGlow {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(25deg);
  }
}

@media (max-width: 900px) {
  .our-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .our-services-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .our-services-subtitle {
    font-size: 0.96rem;
  }
  .service-card {
    min-height: 225px;
  }
  .service-card-inner {
    min-height: 225px;
  }
  .service-face {
    padding: 1.15rem;
  }
}

/* ==================== STATS / ACHIEVEMENTS SECTION ==================== */
.stats-section {
  position: relative;
  background: linear-gradient(140deg, #f5f8fc 0%, #faf8f3 40%, #f5f8fc 100%);
  overflow: hidden;
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
}

.stats-container {
  position: relative;
  z-index: 2;
}

.stats-header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.2rem;
}

.stats-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #1f2a4c;
}

.stats-subtitle {
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  color: #4f5f7e;
  opacity: 0.95;
}

.stats-underline {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
  background-size: 220% 100%;
  animation: underlineFlow 3s ease-in-out infinite;
}

.stats-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 24px rgba(31, 40, 68, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(25px) scale(0.98);
}

.stat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    rgba(62, 64, 149, 0.6),
    rgba(245, 130, 32, 0.6)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-out;
  mask-composite: exclude;
  z-index: 0;
  animation: borderGlow 5.5s ease-in-out infinite;
  opacity: 0;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 14px 38px rgba(31, 40, 68, 0.12),
    0 6px 18px rgba(245, 130, 32, 0.15);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;
}

.stat-icon-wrap {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.12),
    rgba(245, 130, 32, 0.08)
  );
  border: 1px solid rgba(62, 64, 149, 0.2);
  margin: 0 auto 1rem;
  transition: all 0.4s ease;
}

.stat-item:hover .stat-icon-wrap {
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.22),
    rgba(245, 130, 32, 0.14)
  );
  box-shadow: 0 0 0 8px rgba(62, 64, 149, 0.08);
}

.stat-icon {
  width: 32px;
  height: 32px;
  color: #3e4095;
  transition: transform 0.4s ease;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-item:hover .stat-icon {
  transform: scale(1.12) rotate(2deg);
}

.stat-counter {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #3e4095;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-top: 0.8rem;
  animation: statPulse 3.2s ease-in-out 1.5s infinite;
}

.stat-counter::before {
  content: "";
  position: absolute;
  /* inset: -12px -8px; */
  inset: -10px -25px -15px -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 64, 149, 0.15), transparent);
  z-index: -1;
  animation: glowPulse 2.8s ease-in-out infinite;
}

.stat-plus,
.stat-percent {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f58220;
  margin-left: -0.35rem;
  display: inline;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4e607f;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.stats-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob-s1 {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(62, 64, 149, 0.18);
  border-radius: 50%;
  filter: blur(60px);
  top: -80px;
  left: 5%;
  animation: blobFloat 14s ease-in-out infinite;
  opacity: 0.6;
}

.blob-s2 {
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(245, 130, 32, 0.14);
  border-radius: 50%;
  filter: blur(68px);
  bottom: -100px;
  right: 8%;
  animation: blobFloat 16s ease-in-out infinite;
  animation-delay: 3s;
  opacity: 0.5;
}

@keyframes statPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(62, 64, 149, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(62, 64, 149, 0);
  }
}

@media (max-width: 1023px) {
  .stat-item {
    padding: 1.8rem 1.35rem;
  }
  .stat-counter {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }
  .stat-item {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.2rem;
  }
  .stat-counter {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.88rem;
  }
}

/* ==================== TRUSTED BY MARQUEE ==================== */
.trusted-by-section {
  position: relative;
  width: 100%;
  padding: 0;
  background: linear-gradient(
    130deg,
    rgba(236, 245, 255, 0.85),
    rgba(255, 250, 240, 0.72)
  );
  backdrop-filter: blur(11px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 10px 28px rgba(33, 47, 78, 0.08);
  border-top: 1px solid rgba(226, 232, 240, 0.35);
  border-bottom: 1px solid rgba(226, 232, 240, 0.35);
}

.trusted-by-container {
  position: relative;
  z-index: 2;
}

.trusted-by-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #1f2a4c;
  text-align: center;
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  letter-spacing: 0.02em;
}

.trusted-by-underline {
  margin: 10px auto 22px;
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(62, 64, 149, 0.95),
    rgba(245, 130, 32, 0.9)
  );
  background-size: 240% 100%;
  animation: underlineFlow 3.5s ease-in-out infinite;
}

.trusted-by-marquee-wrapper {
  position: relative;
  overflow: visible;
  border-radius: 18px;
  padding: 16px 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.trusted-by-marquee {
  display: flex;
  width: 100%;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  gap: 7.25rem;
  cursor: grab;
}

.trusted-by-marquee::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.trusted-by-track {
  display: flex;
  align-items: center;
  min-width: fit-content;
  gap: 1rem;
  /* animation: marqueeScroll 42s linear infinite; */
}

.trusted-by-marquee:hover .trusted-by-track,
.trusted-by-marquee:focus-within .trusted-by-track {
  animation-play-state: paused;
}

.trusted-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.65rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 6px 22px rgba(31, 40, 68, 0.08);
  transition:
    transform 0.38s ease,
    filter 0.38s ease,
    opacity 0.38s ease;
  filter: grayscale(100%) brightness(0.85);
  opacity: 0.62;
}

.trusted-logo-item span {
  font-family: var(--font-body);
  font-weight: 600;
  color: #25315f;
  font-size: clamp(0.72rem, 1.4vw, 0.96rem);
  white-space: nowrap;
  padding: 0 0.25rem;
  text-align: center;
}

.trusted-logo-item:hover,
.trusted-logo-item:focus {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.08);
  z-index: 3;
}

.trusted-by-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  pointer-events: none;
  z-index: 5;
}

.trusted-by-mask.left {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 250, 254, 1),
    rgba(248, 250, 254, 0)
  );
}

.trusted-by-mask.right {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(248, 250, 254, 1),
    rgba(248, 250, 254, 0)
  );
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .trusted-by-track {
    /* animation-duration: 35s; */
  }
  .trusted-logo-item {
    min-width: 125px;
    padding: 0.58rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .trusted-by-track {
    /* animation-duration: 30s; */
  }
  .trusted-by-title {
    font-size: 1.1rem;
  }
  .trusted-by-mask {
    width: 70px;
  }
}
/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-us-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.9) 0%,
    rgba(255, 248, 240, 0.75) 40%,
    rgba(248, 250, 252, 0.9) 100%
  );
  border-top: 1px solid rgba(62, 64, 149, 0.1);
  border-bottom: 1px solid rgba(245, 130, 32, 0.08);
}

/* Background Blobs */
.why-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.why-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.55;
  animation: whyBlobFloat 13s ease-in-out infinite;
}

.why-blob-1 {
  width: 260px;
  height: 260px;
  background: rgba(62, 64, 149, 0.18);
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.why-blob-2 {
  width: 290px;
  height: 290px;
  background: rgba(245, 130, 32, 0.14);
  bottom: -70px;
  right: 15%;
  animation-delay: 2s;
}

.why-blob-3 {
  width: 180px;
  height: 180px;
  background: rgba(62, 64, 149, 0.16);
  top: 35%;
  right: 12%;
  animation-delay: 4s;
}

/* Header */
.why-title {
  opacity: 0;
  transform: translateY(30px);
  animation: whyHeaderIn 0.8s ease-out forwards;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: whySubtitleIn 0.9s ease-out 0.15s forwards;
}

.why-underline {
  width: 110px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
  background-size: 220% 100%;
  animation: whyUnderlineFlow 3.5s ease-in-out infinite;
  box-shadow: 0 2px 12px rgba(245, 130, 32, 0.3);
}

/* Left Content */
.why-left-content {
  opacity: 0;
  transform: translateX(-40px);
  animation: whyLeftIn 0.9s ease-out 0.2s forwards;
}

.why-highlight {
  background: linear-gradient(135deg, #3e4095, #f58220);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.why-accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3e4095, #f58220);
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(245, 130, 32, 0.4);
}

/* Right Timeline Content */
.why-right-content {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  animation: whyRightIn 0.9s ease-out 0.2s forwards;
}

/* Vertical Timeline Line */
.why-timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(62, 64, 149, 0.6) 0%,
    rgba(245, 130, 32, 0.5) 50%,
    rgba(62, 64, 149, 0.4) 100%
  );
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(62, 64, 149, 0.3),
    0 0 20px rgba(62, 64, 149, 0.3),
    0 0 40px rgba(245, 130, 32, 0.15);
  animation: timelineGlow 3.5s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
  0% {
    box-shadow:
      0 0 0 1px rgba(62, 64, 149, 0.3),
      0 0 15px rgba(62, 64, 149, 0.2),
      0 0 30px rgba(245, 130, 32, 0.1);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(62, 64, 149, 0.4),
      0 0 30px rgba(62, 64, 149, 0.4),
      0 0 60px rgba(245, 130, 32, 0.25);
  }
}

/* Feature Cards List */
.why-features-list {
  position: relative;
  padding-left: 0;
}

/* Feature Cards */
.why-feature-card {
  position: relative;
  padding-left: 80px;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-feature-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Alternate Left/Right */
.why-card-left {
  text-align: left;
  margin-right: 0;
}

.why-card-right {
  text-align: right;
  padding-left: 0;
  padding-right: 80px;
  margin-left: auto;
}

/* Timeline Dot */
.why-timeline-dot {
  position: absolute;
  left: 9px;
  top: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3e4095, #f58220);
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 3px rgba(62, 64, 149, 0.2),
    0 0 20px rgba(62, 64, 149, 0.4),
    inset 0 0 8px rgba(255, 255, 255, 0.3);
  animation: dotPulse 2.5s ease-in-out infinite;
  z-index: 3;
}

.why-card-right .why-timeline-dot {
  left: auto;
  right: 9px;
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(62, 64, 149, 0.2),
      0 0 15px rgba(62, 64, 149, 0.3),
      inset 0 0 8px rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(62, 64, 149, 0.3),
      0 0 30px rgba(245, 130, 32, 0.5),
      inset 0 0 12px rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
  }
}

/* Card Content */
.why-card-content {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 12px 30px rgba(31, 40, 68, 0.1),
    0 4px 12px rgba(245, 130, 32, 0.08);
  backdrop-filter: blur(12px);
  transition: all 0.5s ease;
  overflow: hidden;
}

.why-card-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.5),
    rgba(245, 130, 32, 0.4)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-out;
  mask-composite: exclude;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.why-feature-card:hover .why-card-content::before {
  opacity: 1;
  animation: cardGlowFlow 5s ease-in-out infinite;
}

.why-feature-card:hover .why-card-content {
  transform: translateY(-8px) rotateX(2deg) scale(1.03);
  box-shadow:
    0 20px 45px rgba(31, 40, 68, 0.18),
    0 8px 20px rgba(245, 130, 32, 0.15);
  border-color: rgba(62, 64, 149, 0.3);
}

/* Card Icon */
.why-card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.12),
    rgba(245, 130, 32, 0.08)
  );
  border: 1px solid rgba(62, 64, 149, 0.2);
  margin-bottom: 0.9rem;
  transition: all 0.5s ease;
  color: #3e4095;
}

.why-feature-card:hover .why-card-icon {
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.22),
    rgba(245, 130, 32, 0.16)
  );
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.25);
}

.why-card-icon svg {
  width: 26px;
  height: 26px;
  transition: all 0.5s ease;
}

.why-feature-card:hover .why-card-icon svg {
  transform: scale(1.1) rotate(-8deg);
  color: #f58220;
}

/* Card Title */
.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.why-feature-card:hover .why-card-title {
  color: #3e4095;
}

/* Card Description */
.why-card-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  transition: color 0.4s ease;
}

.why-feature-card:hover .why-card-description {
  color: #1f2937;
}

/* Left-side highlight cards (not timeline cards) */
.why-left-highlights .why-card-content:hover::before {
  opacity: 1;
  animation: cardGlowFlow 5s ease-in-out infinite;
}

.why-left-highlights .why-card-content:hover {
  transform: translateY(-8px) rotateX(2deg) scale(1.03);
  box-shadow:
    0 20px 45px rgba(31, 40, 68, 0.18),
    0 8px 20px rgba(245, 130, 32, 0.15);
  border-color: rgba(62, 64, 149, 0.3);
}

.why-left-highlights .why-card-content:hover .why-card-icon {
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.22),
    rgba(245, 130, 32, 0.16)
  );
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.25);
}

.why-left-highlights .why-card-content:hover .why-card-icon svg {
  transform: scale(1.1) rotate(-8deg);
  color: #f58220;
}

.why-left-highlights .why-card-content:hover .why-card-title {
  color: #3e4095;
}

.why-left-highlights .why-card-content:hover .why-card-description {
  color: #1f2937;
}

/* Animations */
@keyframes whyBlobFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes whyHeaderIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whySubtitleIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whyUnderlineFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes whyLeftIn {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes whyRightIn {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardGlowFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .why-choose-us-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .why-right-content {
    margin-top: 1.5rem;
  }

  .why-card-right {
    padding-right: 0;
    padding-left: 80px;
    text-align: left;
    margin-left: 0;
  }

  .why-card-right .why-timeline-dot {
    left: 9px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .why-title {
    font-size: 1.75rem;
  }

  .why-subtitle {
    font-size: 0.95rem;
  }

  .why-features-list {
    padding-left: 40px;
  }

  .why-timeline-line {
    left: 12px;
    width: 2px;
  }

  .why-card-content {
    padding: 1.1rem 1rem;
  }

  .why-card-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .why-card-description {
    font-size: 0.9rem;
  }

  .why-card-right {
    padding-left: 50px;
  }

  .why-feature-card {
    padding-left: 50px;
  }
}

@media (max-width: 480px) {
  .why-choose-us-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .why-title {
    font-size: 1.5rem;
  }

  .why-subtitle {
    font-size: 0.9rem;
  }

  .why-features-list {
    padding-left: 35px;
  }

  .why-timeline-line {
    left: 10px;
  }

  .why-timeline-dot {
    width: 28px;
    height: 28px;
    left: 3px;
  }

  .why-feature-card {
    padding-left: 40px;
  }

  .why-card-right {
    padding-left: 40px;
  }

  .why-card-right .why-timeline-dot {
    left: 3px;
  }

  .why-card-content {
    padding: 1rem 0.9rem;
  }

  .why-card-title {
    font-size: 0.95rem;
  }

  .why-card-description {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* ==================== CALL TO ACTION ==================== */
.cta-section {
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 46%, #fff4ea 100%);
  padding: 0;
  position: relative;
  z-index: 1;
  isolation: isolate; /* prevent overlay blending between adjacent sections */
}

.cta-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.2) 0%,
    rgba(245, 130, 32, 0.16) 55%,
    rgba(255, 255, 255, 0.88) 100%
  );
  background-size: 260% 260%;
  animation: ctaGradientMove 18s ease-in-out infinite;
  filter: saturate(1.04);
}

.cta-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.68),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(62, 64, 149, 0.16),
      transparent 40%
    ),
    radial-gradient(
      circle at 55% 30%,
      rgba(245, 130, 32, 0.14),
      transparent 45%
    );
  mix-blend-mode: overlay;
}

.cta-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Dark fade at the bottom so the CTA and footer gradients don't "mix" */
.cta-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(62, 64, 149, 0) 0%,
    rgba(62, 64, 149, 0.08) 38%,
    rgba(62, 64, 149, 0.2) 100%
  );
}

.cta-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(0.2px);
  opacity: 0.6;
  animation: ctaParticleFloat 7s ease-in-out infinite;
}

.cta-p1 {
  left: 10%;
  top: 30%;
  width: 12px;
  height: 12px;
  animation-delay: 0s;
}
.cta-p2 {
  left: 22%;
  top: 62%;
  width: 8px;
  height: 8px;
  animation-delay: 1.2s;
}
.cta-p3 {
  left: 38%;
  top: 18%;
  width: 9px;
  height: 9px;
  animation-delay: 2.4s;
}
.cta-p4 {
  left: 58%;
  top: 55%;
  width: 13px;
  height: 13px;
  animation-delay: 0.7s;
}
.cta-p5 {
  left: 72%;
  top: 25%;
  width: 7px;
  height: 7px;
  animation-delay: 1.9s;
}
.cta-p6 {
  left: 86%;
  top: 65%;
  width: 10px;
  height: 10px;
  animation-delay: 3.1s;
}

@keyframes ctaParticleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.08);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
}

@keyframes ctaGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* CTA Card */
.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-card {
  position: relative;
  width: 100%;
  max-width: 980px;
  padding: 2.8rem 1.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 30px 90px rgba(30, 41, 59, 0.18),
    0 8px 26px rgba(62, 64, 149, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.65),
    rgba(245, 130, 32, 0.65)
  );
  opacity: 0.26;
  filter: blur(12px);
  z-index: 0;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card:hover {
  transform: translateY(-4px) perspective(1100px) rotateX(1.6deg);
  box-shadow:
    0 34px 95px rgba(30, 41, 59, 0.2),
    0 12px 30px rgba(62, 64, 149, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* Fade-up on scroll */
.cta-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.cta-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  color: #1f2937;
  text-align: center;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 24px rgba(62, 64, 149, 0.14);
}

.cta-underline {
  width: 150px;
  margin-top: 1.1rem;
  height: 4px;
  background: linear-gradient(90deg, #3e4095, #f58220, #3e4095);
}

.cta-subtext {
  color: rgba(31, 41, 55, 0.82);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.cta-actions {
  width: 100%;
}

/* Buttons */
.cta-btn {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  border: 2px solid transparent;
}

.cta-btn-primary {
  background: linear-gradient(135deg, #f58220, #e86f0b);
  border-color: #f58220;
  color: #fff;
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(62, 64, 149, 0.2);
  color: #3e4095;
  backdrop-filter: blur(12px);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 22px 50px rgba(30, 41, 59, 0.24),
    0 0 0 3px rgba(245, 130, 32, 0.16);
}

.cta-btn-primary:hover {
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(245, 130, 32, 0.35);
}

.cta-btn-secondary:hover {
  border-color: rgba(245, 130, 32, 0.62);
  color: #1f2937;
  box-shadow:
    0 26px 60px rgba(30, 41, 59, 0.2),
    0 0 26px rgba(62, 64, 149, 0.35);
}

/* Ripple circle defaults */
.cta-ripple-btn span.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

.cta-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.cta-trust-line {
  width: 90px;
  height: 2px;
  background: rgba(62, 64, 149, 0.32);
  border-radius: 999px;
}

.cta-trust-text {
  color: rgba(31, 41, 55, 0.76);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .cta-card {
    padding: 2.2rem 1.2rem;
    border-radius: 22px;
  }

  .cta-subtext {
    font-size: 1rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== PREMIUM FOOTER ==================== */
.premium-footer {
  position: relative;
  overflow: hidden;
  padding-top: 76px; /* room for wave */
  padding-bottom: 0;
  z-index: 2;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.98) 0%,
    rgba(245, 130, 32, 0.78) 100%
  );
}

.premium-footer-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.95) 0%,
    rgba(245, 130, 32, 0.75) 55%,
    rgba(62, 64, 149, 0.95) 100%
  );
  background-size: 320% 320%;
  animation: premiumFooterGradientMove 22s ease-in-out infinite;
  opacity: 1;
}

.premium-footer-bg::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(255, 255, 255, 0.14),
      transparent 40%
    ),
    radial-gradient(
      circle at 82% 66%,
      rgba(62, 64, 149, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 60% 18%,
      rgba(245, 130, 32, 0.22),
      transparent 40%
    );
  mix-blend-mode: overlay;
}

@keyframes premiumFooterGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.premium-footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1;
  pointer-events: none;
}

.premium-footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.pf-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.65;
  filter: blur(0.2px);
  animation: premiumFooterDotFloat 9s ease-in-out infinite;
}

@keyframes premiumFooterDotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.1);
    opacity: 0.9;
  }
}

.pf1 {
  left: 8%;
  top: 20%;
  width: 12px;
  height: 12px;
  animation-delay: 0s;
}
.pf2 {
  left: 16%;
  top: 64%;
  width: 8px;
  height: 8px;
  animation-delay: 1.2s;
}
.pf3 {
  left: 28%;
  top: 34%;
  width: 10px;
  height: 10px;
  animation-delay: 2.1s;
}
.pf4 {
  left: 40%;
  top: 72%;
  width: 13px;
  height: 13px;
  animation-delay: 0.6s;
}
.pf5 {
  left: 52%;
  top: 26%;
  width: 7px;
  height: 7px;
  animation-delay: 2.8s;
}
.pf6 {
  left: 63%;
  top: 58%;
  width: 11px;
  height: 11px;
  animation-delay: 1.8s;
}
.pf7 {
  left: 74%;
  top: 34%;
  width: 9px;
  height: 9px;
  animation-delay: 3s;
}
.pf8 {
  left: 85%;
  top: 62%;
  width: 12px;
  height: 12px;
  animation-delay: 0.9s;
}
.pf9 {
  left: 92%;
  top: 26%;
  width: 8px;
  height: 8px;
  animation-delay: 2.2s;
}
.pf10 {
  left: 6%;
  top: 46%;
  width: 7px;
  height: 7px;
  animation-delay: 3.2s;
}
.pf11 {
  left: 33%;
  top: 12%;
  width: 9px;
  height: 9px;
  animation-delay: 1.1s;
}
.pf12 {
  left: 58%;
  top: 84%;
  width: 10px;
  height: 10px;
  animation-delay: 2.6s;
}

/* Glass container */
.premium-footer-glass {
  position: relative;
  z-index: 2;
  border-radius: 26px;
  padding: 2.2rem 2rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.premium-footer-glass::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.7),
    rgba(245, 130, 32, 0.65)
  );
  opacity: 0.22;
  filter: blur(18px);
  z-index: -1;
}

.footer-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.footer-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
  color: #ffffff;
  display: inline-block;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* Underline + slide */
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f58220, #3e4095);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-link:hover::after {
  width: 100%;
}

/* Light sweep effect */
.footer-link-sweep {
  overflow: hidden;
  transition: transform 0.45s ease;
}

.footer-link-sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.footer-link-sweep:hover {
  transform: translateX(4px);
}

.footer-link-sweep:hover::before {
  opacity: 1;
  animation: premiumFooterSweep 1.05s ease forwards;
}

@keyframes premiumFooterSweep {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }
  100% {
    transform: translateX(140%) skewX(-18deg);
  }
}

/* Contact */
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.footer-contact-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.footer-contact-value {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Social buttons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(245, 130, 32, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
  transition:
    transform 0.38s ease,
    box-shadow 0.38s ease,
    background 0.38s ease,
    border-color 0.38s ease;
  position: relative;
  overflow: hidden;
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-social-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(62, 64, 149, 0.55),
    rgba(245, 130, 32, 0.65)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(245, 130, 32, 0.18);
  border-color: rgba(245, 130, 32, 0.95);
  animation: premiumSocialBounce 0.8s ease;
}

.footer-social-btn:hover::after {
  opacity: 1;
}

.footer-social-btn-2 {
  border-color: rgba(47, 163, 204, 0.85);
}

.footer-social-btn-2:hover {
  border-color: rgba(47, 163, 204, 0.98);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(47, 163, 204, 0.18);
}

.footer-social-btn-3 {
  border-color: rgba(191, 214, 65, 0.85);
}

.footer-social-btn-3:hover {
  border-color: rgba(191, 214, 65, 0.98);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(191, 214, 65, 0.18);
}

@keyframes premiumSocialBounce {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(-2px);
  }
}

/* Premium copyright bar */
.premium-copyright-bar {
  margin-top: 1.5rem;
  position: relative;
  text-align: center;
  padding: 1rem 1.15rem 0.95rem;
  border-radius: 14px;
  background: rgba(8, 12, 34, 0.7);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, #3e4095, #f58220) 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.premium-copyright-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -48%;
  width: 55%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(62, 64, 149, 0),
    rgba(62, 64, 149, 0.95),
    rgba(245, 130, 32, 0.95),
    rgba(245, 130, 32, 0)
  );
  filter: drop-shadow(0 0 7px rgba(245, 130, 32, 0.45));
  animation: premiumCopyrightLine 3.8s ease-in-out infinite;
}

.premium-copyright-line {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.84);
}

.premium-copyright-line + .premium-copyright-line {
  margin-top: 0.18rem;
}

.premium-credit-link {
  color: #f7bc7e;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 130, 32, 0.5);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    text-shadow 0.25s ease;
}

.premium-credit-link:hover,
.premium-credit-link:focus-visible {
  color: #ffe3c8;
  border-bottom-color: rgba(245, 130, 32, 0.95);
  text-shadow: 0 0 10px rgba(245, 130, 32, 0.42);
}

@keyframes premiumCopyrightLine {
  0% {
    transform: translateX(0%);
    opacity: 0.25;
  }
  50% {
    transform: translateX(200%);
    opacity: 0.95;
  }
  100% {
    transform: translateX(400%);
    opacity: 0.25;
  }
}

/* Back to top */
.back-to-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  z-index: 50;
}

.back-to-top-btn svg {
  width: 22px;
  height: 22px;
}

.back-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: rgba(245, 130, 32, 0.18);
  border-color: rgba(245, 130, 32, 0.6);
}

@media (max-width: 640px) {
  .premium-footer-glass {
    padding: 1.9rem 1.2rem;
    border-radius: 22px;
  }
}

/* Keep premium footer typography from being overridden */
.premium-footer .footer-copyright {
  font-size: 0.92rem !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .premium-footer .footer-copyright {
    font-size: 0.82rem !important;
  }

  .premium-copyright-bar {
    margin-top: 1.2rem;
    padding: 0.88rem 0.95rem 0.82rem;
    border-radius: 12px;
  }

  .premium-copyright-line {
    font-size: 0.8rem;
    line-height: 1.48;
  }
}

/* ==================== PREMIUM FEATURED PROJECTS ==================== */
.featured-projects-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(238, 244, 255, 0.82) 42%,
    rgba(255, 246, 236, 0.9) 100%
  );
}

.featured-projects-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.45;
  animation: fpBlobFloat 16s ease-in-out infinite;
}

.fp-blob-1 {
  width: 280px;
  height: 280px;
  top: -90px;
  left: 6%;
  background: rgba(62, 64, 149, 0.22);
}

.fp-blob-2 {
  width: 340px;
  height: 340px;
  right: 4%;
  top: 20%;
  background: rgba(245, 130, 32, 0.2);
  animation-delay: 2s;
}

.fp-blob-3 {
  width: 250px;
  height: 250px;
  left: 34%;
  bottom: -90px;
  background: rgba(47, 163, 204, 0.18);
  animation-delay: 4s;
}

@keyframes fpBlobFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.04);
  }
}

.featured-kicker {
  background: rgba(62, 64, 149, 0.1);
}

.featured-title {
  color: #111827;
}

.featured-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.7;
}

.featured-underline {
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f58220, #3e4095, #f58220);
  background-size: 220% 100%;
  animation: premiumFooterUnderlineFlow 3.4s ease-in-out infinite;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.45rem;
}

@media (min-width: 768px) {
  .featured-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .featured-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
  }
}

.featured-project-card {
  position: relative;
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.featured-project-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (min-width: 1200px) {
  .featured-project-card.is-staggered {
    margin-top: 34px;
  }
}

.featured-project-image-wrap {
  position: relative;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    0 18px 52px rgba(30, 41, 59, 0.12),
    0 5px 18px rgba(245, 130, 32, 0.09);
  backdrop-filter: blur(10px);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.featured-project-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(245, 130, 32, 0.7),
    rgba(62, 64, 149, 0.7)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 3;
}

.featured-project-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.05) 15%,
    rgba(17, 24, 39, 0.72) 85%
  );
  opacity: 0.86;
  transition: opacity 0.45s ease;
}

.featured-project-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  color: #fff;
  padding: 1.1rem 1.05rem 1.05rem;
  transform: translateY(16px);
  opacity: 0.95;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.featured-project-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.34rem 0.66rem;
  margin-bottom: 0.6rem;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(245, 130, 32, 0.88),
    rgba(62, 64, 149, 0.9)
  );
}

.featured-project-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.featured-project-text {
  font-size: 0.93rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.92rem;
}

.featured-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.58rem 0.95rem;
  font-weight: 700;
  font-size: 0.86rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.featured-project-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f58220, #3e4095);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.28);
}

.featured-project-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  transform: skewX(-16deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.featured-project-card:hover .featured-project-image-wrap::after {
  opacity: 1;
  animation: featuredCardSweep 1.05s ease forwards;
}

@keyframes featuredCardSweep {
  0% {
    left: -70%;
  }
  100% {
    left: 140%;
  }
}

.featured-project-card:hover .featured-project-image-wrap {
  transform: translateY(-6px);
  box-shadow:
    0 24px 68px rgba(30, 41, 59, 0.18),
    0 7px 24px rgba(245, 130, 32, 0.14);
  border-color: rgba(255, 255, 255, 0.9);
}

.featured-project-card:hover .featured-project-image-wrap::before {
  opacity: 1;
}

.featured-project-card:hover .featured-project-image-wrap img {
  transform: scale(1.09);
}

.featured-project-card:hover .featured-project-overlay {
  opacity: 0.97;
}

.featured-project-card:hover .featured-project-content {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .featured-project-image-wrap {
    min-height: 340px;
  }

  .featured-project-name {
    font-size: 1.14rem;
  }

  .featured-project-text {
    font-size: 0.88rem;
  }
}

/* ==================== SERVICES PAGE PREMIUM LAYOUT ==================== */
.services-page #our-services {
  padding-top: 2.6rem;
  padding-bottom: 3rem;
}

.services-page .our-services-header {
  max-width: 820px;
}

.services-page .our-services-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.9rem;
}

.services-page .our-services-grid {
  margin-top: 2.1rem;
}

@media (min-width: 1200px) {
  .services-page .our-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-page #our-services {
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
  }
}

/* ==================== PROJECTS PAGE — E-COMMERCE PRODUCT GRID ==================== */
.projects-page {
  padding-top: 6rem;
}

.projects-page .projects-list-summary {
  margin-bottom: 1.25rem;
}

.projects-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

@media (min-width: 640px) {
  .projects-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

@media (min-width: 1200px) {
  .projects-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.projects-catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  font-family: var(--font-body);
  color: #6b7280;
  background: #fff;
  border-radius: var(--radius-large, 12px);
  border: 1px dashed #d6d3d1;
}

.project-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-large, 12px);
  overflow: hidden;
  border: 1px solid rgba(62, 64, 149, 0.1);
  box-shadow:
    0 4px 20px rgba(30, 41, 59, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.project-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 130, 32, 0.35);
  box-shadow:
    0 18px 40px rgba(62, 64, 149, 0.12),
    0 8px 20px rgba(245, 130, 32, 0.1);
}

.project-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7e5e4;
  text-decoration: none;
}

.project-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.project-product-card:hover .project-product-card__media img {
  transform: scale(1.06);
}

.project-product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  max-width: calc(100% - 5.5rem);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.95), rgba(62, 64, 149, 0.95));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-product-card__featured {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3e4095;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.project-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
  gap: 0.45rem;
}

.project-product-card__client {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f58220;
}

.project-product-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.project-product-card__title a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-product-card__title a:hover {
  color: #3e4095;
}

.project-product-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-product-card__meta {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}

.project-product-card__meta li {
  font-size: 0.75rem;
  color: #4b5563;
  background: rgba(62, 64, 149, 0.06);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
}

.project-product-card__meta li span {
  font-weight: 700;
  color: #3e4095;
  margin-right: 0.2rem;
}

.project-product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-small, 4px);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f58220, #3e4095);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.project-product-card__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(62, 64, 149, 0.25);
  filter: brightness(1.05);
}

.projects-catalog-pagination {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.projects-catalog-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.projects-catalog-pagination .pagination li a,
.projects-catalog-pagination .pagination li span {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  color: #3e4095;
  text-decoration: none;
}

.projects-catalog-pagination .pagination li.active span {
  background: linear-gradient(135deg, #f58220, #3e4095);
  color: #fff;
  border-color: transparent;
}

.projects-catalog-pagination .pagination li a:hover {
  background: rgba(62, 64, 149, 0.08);
}

/* Desktop: filter sidebar + catalog layout */
@media (min-width: 1024px) {
  .projects-page #projectFilters {
    position: sticky;
    top: 5.5rem;
    transform: none !important;
    width: auto;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
  }
}

/* Mobile filter drawer — projects page only */
@media (max-width: 1023px) {
  .projects-page #projectFilters {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 5rem;
    z-index: 60;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .projects-page #projectFilters.mobile-active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .projects-page #projectFilters > div {
    border-radius: 0 0 var(--radius-large, 12px) var(--radius-large, 12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  }
}

.projects-page #mobileFilterToggle[aria-expanded="true"] #filterToggleIcon {
  transform: rotate(180deg);
  display: inline-block;
  transition: transform 0.25s ease;
}

/* ==================== PROJECTS FILTER FIX ==================== */
#projectsGrid .project-card.hidden-card {
  display: none !important;
}

.projects-page .filter-chip,
.projects-page .filter-chip-year,
#projects .filter-chip,
#projects .filter-chip-year {
  border-color: rgba(62, 64, 149, 0.35);
  color: #3e4095;
  background: rgba(255, 255, 255, 0.9);
}

.projects-page .filter-chip.active,
.projects-page .filter-chip-year.active,
#projects .filter-chip.active,
#projects .filter-chip-year.active {
  background: linear-gradient(135deg, #3e4095, #f58220);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(62, 64, 149, 0.2);
}

span.letter-reveal,
p.stagger-3 {
  font-family: var(--font-heading);
}

/* Featured Projects — link to full report */
.featured-show-all-btn {
  background: linear-gradient(90deg, #f58220, #3e4095);
  box-shadow: 0 12px 32px rgba(62, 64, 149, 0.22);
}

.featured-show-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 130, 32, 0.28);
  filter: brightness(1.05);
}

/* Projects report — tabular view */
.projects-report-container {
  max-width: 1900px;
}

.projects-report-filters__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .projects-report-filters__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-report-filters__grid {
    grid-template-columns: 2fr repeat(5, 1fr);
  }
}

.projects-report-filters__field--wide {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .projects-report-filters__field--wide {
    grid-column: span 2;
  }
}

.projects-report-filters__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.projects-report-filters__input,
.projects-report-filters__select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #c7cad1;
  border-radius: var(--radius-small, 4px);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #374151;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.projects-report-filters__input:focus,
.projects-report-filters__select:focus {
  outline: none;
  border-color: #3e4095;
  box-shadow: 0 0 0 3px rgba(62, 64, 149, 0.12);
}

.projects-report-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e7e5e4;
}

.projects-report-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-small, 4px);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.projects-report-btn--primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #f58220, #3e4095);
}

.projects-report-btn--primary:hover {
  filter: brightness(1.06);
}

.projects-report-btn--secondary {
  border: 2px solid #3e4095;
  color: #3e4095;
  background: transparent;
}

.projects-report-btn--secondary:hover {
  background: rgba(62, 64, 149, 0.06);
}

.projects-report-btn--link {
  border: none;
  color: #3e4095;
  background: transparent;
  margin-left: auto;
}

.projects-report-summary__tag {
  color: #f58220;
  font-weight: 600;
}

.projects-report-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.projects-report-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.projects-report-table thead {
  background: linear-gradient(135deg, #3e4095, #2d3070);
  color: #fff;
}

.projects-report-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.projects-report-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #e7e5e4;
  vertical-align: top;
  color: #374151;
}

.projects-report-table tbody tr:nth-child(even) {
  background: rgba(62, 64, 149, 0.03);
}

.projects-report-table tbody tr:hover {
  background: rgba(245, 130, 32, 0.06);
}

.projects-report-table__link {
  color: #3e4095;
  font-weight: 600;
  text-decoration: none;
}

.projects-report-table__link:hover {
  color: #f58220;
  text-decoration: underline;
}

.projects-report-table__desc {
  max-width: 220px;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.45;
}

.projects-report-table__action {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f58220;
  text-decoration: none;
  white-space: nowrap;
}

.projects-report-table__action:hover {
  text-decoration: underline;
}

.projects-report-table__empty {
  text-align: center;
  padding: 2.5rem 1rem !important;
  color: #6b7280;
}

.projects-report-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.projects-report-badge--yes {
  background: rgba(245, 130, 32, 0.15);
  color: #c45f0a;
}

.projects-report-badge--no {
  background: rgba(107, 114, 128, 0.12);
  color: #6b7280;
}

.projects-report-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.projects-report-pagination .pagination li a,
.projects-report-pagination .pagination li span {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  color: #3e4095;
  text-decoration: none;
}

.projects-report-pagination .pagination li.active span {
  background: linear-gradient(135deg, #f58220, #3e4095);
  color: #fff;
  border-color: transparent;
}

.projects-report-pagination .pagination li a:hover {
  background: rgba(62, 64, 149, 0.08);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .projects-report-table {
    min-width: 0;
  }

  .projects-report-table thead {
    display: none;
  }

  .projects-report-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e7e5e4;
    border-radius: var(--radius-small, 4px);
    background: #fff;
  }

  .projects-report-table tbody tr:nth-child(even) {
    background: #fff;
  }

  .projects-report-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border: none;
    text-align: right;
  }

  .projects-report-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #3e4095;
    text-align: left;
    flex-shrink: 0;
  }

  .projects-report-table__empty {
    display: block !important;
    text-align: center;
  }

  .projects-report-table__empty::before {
    display: none;
  }

  .projects-report-btn--link {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
