/* -------------------------------------------------------------------------- */
/* HAALA DIGITAL MARKETER - EDITORIAL MONOCHROME DESIGN SYSTEM */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #050505;
  --bg-secondary: #0d0d0d;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-white: #ffffff;
  
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #666666;
  --text-dark: #0a0a0a;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.25);
  --border-dark: rgba(0, 0, 0, 0.15);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: cubic-bezier(0.25, 1, 0.5, 1);

  --container-max: 1280px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Custom Selection */
::selection {
  background: #ffffff;
  color: #000000;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(105%);
  transition: filter 0.5s var(--transition-smooth);
}

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Typography Utilities */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--text-secondary);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 1rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: 1px solid var(--bg-white);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--transition-smooth), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--transition-smooth);
  z-index: -1;
  border-radius: 50px;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* -------------------------------------------------------------------------- */
/* 1. STICKY NAV */
/* -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.1rem;
  transition: transform 0.3s var(--transition-bounce);
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(-8deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

/* Sliding Underline Animation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 230px;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 0;
  margin-top: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.dropdown-item a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 24px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* 2. HERO SECTION */
/* -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Headline Word Staggered Reveal */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpWord 0.8s var(--transition-smooth) forwards;
}

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

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInDelay 0.8s 0.6s var(--transition-smooth) forwards;
}

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

.hero-cta-wrapper {
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeInDelay 0.8s 0.8s var(--transition-smooth) forwards;
}

/* Magnetic Button Wrapper */
.magnetic-btn-wrapper {
  display: inline-block;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  opacity: 0;
  animation: fadeInDelay 0.8s 1s var(--transition-smooth) forwards;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* Hero Parallax Image */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.hero-image-inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  will-change: transform;
}

.hero-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  transition: transform 0.8s var(--transition-smooth);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0) 60%, rgba(5,5,5,0.8) 100%);
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* 3. ABOUT ME */
/* -------------------------------------------------------------------------- */
.about-section {
  padding: 140px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Clip-path Wipe Animation */
.about-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about-portrait-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1.2s var(--transition-smooth);
}

.about-portrait-img.revealed {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* 4 Icon-Feature Grid */
.icon-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.feature-box.animated {
  animation: bouncePopIn 0.7s var(--transition-bounce) forwards;
}

@keyframes bouncePopIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  70% {
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.feature-box-icon {
  width: 44px;
  height: 44px;
  background: #1f1f1f;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.feature-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------------- */
/* 4. SERVICES */
/* -------------------------------------------------------------------------- */
.services-section {
  padding: 140px 0;
  background-color: var(--bg-primary);
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  perspective: 1000px; /* Enable 3D perspective */
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
}

/* Scroll Entrance Alternating Offsets */
.service-card.from-left {
  transform: translate3d(-60px, 0, 0);
}
.service-card.from-right {
  transform: translate3d(60px, 0, 0);
}

.service-card.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth), border-color 0.4s ease;
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #1e1e1e;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  transform: translateZ(20px);
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transform: translateZ(15px);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  transform: translateZ(10px);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateZ(20px);
  transition: gap 0.3s ease;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(6px);
}

/* -------------------------------------------------------------------------- */
/* 5. "THE DIFFERENCE" — WHY WORK WITH ME */
/* -------------------------------------------------------------------------- */
.difference-section {
  padding: 140px 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Scroll Progress Line */
.progress-line-container {
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.progress-line-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s linear;
}

.difference-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: start;
}

.difference-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.difference-intro p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 4 White Feature Cards */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  perspective: 1200px;
}

.diff-card {
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: rotateY(90deg);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.diff-card.flipped {
  opacity: 1;
  transform: rotateY(0deg);
}

.diff-card-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.4;
}

.diff-card-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.diff-card-desc {
  font-size: 0.9rem;
  color: #444444;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* 6. BUILT FOR GROWTH */
/* -------------------------------------------------------------------------- */
.growth-section {
  padding: 140px 0;
  background-color: var(--bg-primary);
}

.growth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.growth-text-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.growth-text-block p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.growth-stats-row {
  display: flex;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

/* Laptop Graphic with Live Growth Chart */
.growth-mockup-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 1px;
}

.interactive-chart-container {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 10px 0;
  position: relative;
}

.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  max-width: 48px;
  background: linear-gradient(180deg, #ffffff 0%, #333333 100%);
  border-radius: 6px 6px 0 0;
  height: 0%;
  transition: height 1.2s var(--transition-smooth);
}

.chart-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* SVG Line Overlay */
.chart-svg-overlay {
  position: absolute;
  top: 20px;
  left: 10px;
  right: 10px;
  bottom: 45px;
  pointer-events: none;
  width: calc(100% - 20px);
  height: 215px;
}

.chart-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s var(--transition-slow);
}

/* -------------------------------------------------------------------------- */
/* 7. TOOLS I WORK WITH */
/* -------------------------------------------------------------------------- */
.tools-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  text-align: center;
}

.tools-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.tool-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
  transition: opacity 0.8s var(--transition-bounce), transform 0.8s var(--transition-bounce), border-color 0.3s ease;
}

.tool-circle.entered {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Idle Bobbing Motion */
.tool-circle.bobbing {
  animation: floatBobbing 4s ease-in-out infinite alternate;
}

@keyframes floatBobbing {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

.tool-circle:hover {
  border-color: #fff;
  background: var(--bg-card-hover);
}

.tool-icon-svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.tool-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------- */
/* 8. BLOGS */
/* -------------------------------------------------------------------------- */
.blogs-section {
  padding: 140px 0;
  background-color: var(--bg-primary);
}

.blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth), border-color 0.3s ease;
}

.blog-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  border-color: var(--border-strong);
}

.blog-image-frame {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

/* Ken Burns Effect */
.blog-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--transition-slow);
}

.blog-card:hover .blog-image-frame img {
  transform: scale(1.12);
}

.blog-card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -------------------------------------------------------------------------- */
/* 9. FAQS */
/* -------------------------------------------------------------------------- */
.faq-section {
  padding: 140px 0;
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--border-strong);
}

.faq-button {
  width: 100%;
  padding: 1.8rem 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s var(--transition-bounce);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(135deg);
  background: #fff;
  color: #000;
}

/* Smooth Accordion Height Animation */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 2rem 1.8rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s 0.2s ease, transform 0.4s 0.2s ease;
}

.faq-item.active .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* 10. CLIENT SUCCESS STORIES / TESTIMONIALS */
/* -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 140px 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  margin-top: 3.5rem;
  cursor: grab;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s var(--transition-smooth);
  will-change: transform;
}

.testimonial-card {
  min-width: 380px;
  max-width: 420px;
  flex: 0 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sequential Star Fill Animation */
.star-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.star-icon {
  color: #333333;
  font-size: 1.1rem;
  transform: scale(0.6);
  opacity: 0.3;
  transition: color 0.4s ease, transform 0.4s var(--transition-bounce), opacity 0.4s ease;
}

.star-rating.filled .star-icon:nth-child(1) { transition-delay: 0.1s; color: #fff; transform: scale(1); opacity: 1; }
.star-rating.filled .star-icon:nth-child(2) { transition-delay: 0.2s; color: #fff; transform: scale(1); opacity: 1; }
.star-rating.filled .star-icon:nth-child(3) { transition-delay: 0.3s; color: #fff; transform: scale(1); opacity: 1; }
.star-rating.filled .star-icon:nth-child(4) { transition-delay: 0.4s; color: #fff; transform: scale(1); opacity: 1; }
.star-rating.filled .star-icon:nth-child(5) { transition-delay: 0.5s; color: #fff; transform: scale(1); opacity: 1; }

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* 11. CONTACT */
/* -------------------------------------------------------------------------- */
.contact-section {
  padding: 140px 0;
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.contact-info-panel {
  background: #000000;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.contact-info-header p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #141414;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #141414;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s var(--transition-bounce), background 0.3s ease;
}

.social-icon-btn:hover {
  transform: translateY(-4px);
  background: #fff;
  color: #000;
}

/* Contact Form */
.contact-form-panel {
  padding: 4rem;
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #fff;
  outline: none;
}

.form-label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Focus Underline Expanding from Center */
.form-focus-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--transition-smooth);
}

.form-control:focus ~ .form-focus-line {
  transform: scaleX(1);
}

/* Submit Button Loading Micro-animation */
.btn-submit {
  width: 100%;
  padding: 1.1rem;
  border-radius: 50px;
  background: #ffffff;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.success {
  background: #22c55e;
  color: #ffffff;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------- */
/* 12. FOOTER & FLOATING CHAT WIDGET */
/* -------------------------------------------------------------------------- */
.footer {
  padding: 80px 0 40px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

/* Floating Chat Widget */
.chat-widget-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s var(--transition-bounce);
}

.chat-widget-trigger:hover {
  transform: scale(1.1);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #ffffff;
}

.chat-drawer {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s var(--transition-smooth);
}

.chat-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: #000;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.chat-body {
  padding: 1.2rem;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
}

.chat-msg.bot {
  background: #222;
  color: #fff;
  align-self: flex-start;
}

.chat-input-area {
  padding: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  background: #181818;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #fff;
  outline: none;
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE DESIGN BREAKPOINTS */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .difference-intro, .growth-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid, .difference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #000;
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-nav-toggle {
    display: block;
    z-index: 1000;
  }

  .services-grid, .difference-grid, .blogs-grid {
    grid-template-columns: 1fr;
  }

  .icon-feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .contact-info-panel, .contact-form-panel {
    padding: 2rem;
  }
}
