@font-face {
  font-family: 'Inter';
  src: url('font/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations'),
       url('font/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations'),
       url('font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}

/* --- CUSTOM VARIABLES & DESIGN SYSTEM --- */
:root {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;

  /* Color Palette - Premium Emerald & Deep Charcoal */
  --clr-bg-dark: #06080e;
  --clr-bg-card-dark: rgba(11, 15, 25, 0.85);
  --clr-bg-light: #ffffff;
  --clr-bg-slate: #f8fafc;
  
  --clr-primary: #025a4f;      /* Classic Editorial Forest Green */
  --clr-primary-light: #037567;
  --clr-primary-dark: #013b34;
  --clr-accent: #00DF82;       /* Vibrant Emerald Mint -> Updated to #00DF82 Accent Color */
  --clr-accent-glow: rgba(0, 223, 130, 0.4);
  
  --clr-text-dark: #0f172a;
  --clr-text-light: #f8fafc;
  --clr-text-muted-dark: #64748b;
  --clr-text-muted-light: #94a3b8;
  
  --clr-border-light: rgba(15, 23, 42, 0.08);
  --clr-border-dark: rgba(248, 250, 252, 0.08);
  --clr-border-glow: rgba(0, 223, 130, 0.2);

  /* Transitions & Shadows */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px 0 rgba(0, 223, 130, 0.25);
  
  --header-height: 130px;
  --container-width: 1280px;
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg-light);
  color: var(--clr-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dark mode section overrides */
.dark-theme-section {
  background-color: var(--clr-bg-dark);
  color: var(--clr-text-light);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  font-size: clamp(0.95rem, 1vw + 0.15rem, 1.1rem);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-text-light);
  border: 1px solid var(--clr-primary);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--clr-accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--clr-text-dark);
  border: 1px solid var(--clr-border-light);
}

.dark-theme-section .btn-secondary {
  color: var(--clr-text-light);
  border-color: var(--clr-border-dark);
}

.btn-secondary:hover {
  background-color: var(--clr-text-dark);
  color: var(--clr-bg-light);
  border-color: var(--clr-text-dark);
}

.dark-theme-section .btn-secondary:hover {
  background-color: var(--clr-text-light);
  color: var(--clr-bg-dark);
  border-color: var(--clr-text-light);
}

.btn-outline-green {
  background-color: transparent;
  color: var(--clr-accent);
  border: 1px solid var(--clr-accent);
}

.btn-outline-green:hover {
  background-color: var(--clr-accent);
  color: var(--clr-bg-dark);
  box-shadow: var(--shadow-glow);
}

/* --- GLASSMORPHISM --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--clr-border-dark);
  border-radius: 16px;
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border-dark);
  height: 90px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--clr-text-light);
}

/* SVG Logo Styling */
.logo-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--clr-accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px var(--clr-accent));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.7);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Menu Toggle Button for Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--clr-text-light);
  margin-bottom: 6px;
  transition: var(--transition-fast);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.5rem;
  }
}

/* --- HERO SECTION --- */
/* --- HERO VIEWPORT CONTAINER --- */
.hero-viewport-container {
  margin: 16px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 32px);
  background-color: #06080e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: bgImmersiveZoom 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: center;
}

/* Pseudo-element for decoupled background gradient overlay */
.hero-viewport-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-image: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.95) 100%),
                    linear-gradient(to bottom, rgba(6, 8, 14, 0.3) 0%, transparent 50%, rgba(6, 8, 14, 0.5) 100%);
  pointer-events: none;
}

@keyframes bgImmersiveZoom {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Header customization inside hero container with fade-down load animation */
.hero-viewport-container .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  animation: headerReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero-viewport-container .header.scrolled {
  position: fixed;
  background: rgba(6, 8, 14, 0.85);
  border-bottom: 1px solid var(--clr-border-dark);
  animation: none;
  opacity: 1;
}

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

.logo-img-mark {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 223, 130, 0.5));
  transition: width 0.3s ease, height 0.3s ease;
}

.header.scrolled .logo-img-mark {
  width: 80px;
  height: 80px;
}

.footer-brand .logo-img-mark {
  width: 160px;
  height: 160px;
}

.btn-talk {
  background-color: #ffffff;
  color: #06080e !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #ffffff;
  transition: var(--transition-smooth);
}

.btn-talk:hover {
  background-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--header-height);
  overflow: hidden;
  background: transparent;
}

/* Center Headline with ultra modern blur-to-focus slide-up reveal */
.hero-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  margin: 0;
  text-transform: uppercase;
  animation: ultraBlurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes ultraBlurReveal {
  0% {
    filter: blur(20px);
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Bottom Row Layout */
.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 64px 64px 64px;
  width: 100%;
  z-index: 10;
}

@media (max-width: 992px) {
  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 0 32px 32px 32px;
  }
}

/* Bottom Left Block with clean slide-up reveal */
.hero-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 420px;
  animation: bottomReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

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

.hero-description-light {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-consultation {
  min-width: 213px;
  width: max-content;
  padding: 0 20px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  text-wrap: nowrap;
}

.btn-consultation:hover {
  background: var(--clr-accent);
  color: #06080e;
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-glow);
}

/* Bottom Right Block: Ratings Area Layout */
.hero-bottom-right {
  display: flex;
  align-items: center;
}

.ratings-area {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: rgba(6, 8, 14, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  overflow: hidden; /* Contain the shimmering sweep */
  position: relative;
  opacity: 0;
  animation: pillReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes pillReveal {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 rgba(0, 223, 130, 0);
  }
  50% {
    border-color: rgba(0, 223, 130, 0.3);
    box-shadow: 0 0 20px rgba(0, 223, 130, 0.12);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }
}

/* Shimmer Sweep Animation */
.ratings-area::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.02),
    rgba(0, 223, 130, 0.2), /* Soft green accent shimmer */
    rgba(255, 255, 255, 0.02),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: ratingsShimmer 3s linear infinite;
  animation-delay: 1.4s;
}

@keyframes ratingsShimmer {
  0% {
    left: -150%;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  }
  45% {
    left: 150%;
  }
  45.01% {
    left: -150%;
  }
  100% {
    left: -150%;
  }
}

.ratings-area:hover {
  background: rgba(6, 8, 14, 0.5);
  border-color: rgba(0, 223, 130, 0.2);
  box-shadow: 0 4px 20px rgba(0, 223, 130, 0.1);
}

.profile-stack {
  display: flex;
  align-items: center;
}

.stack-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #06080e;
  object-fit: cover;
  margin-right: -18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #06080e;
  display: block;
  opacity: 0;
  
  /* Fallback spring easing using standard cubic-bezier */
  animation: imgPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  
  /* Modern highly organic physics spring easing */
  --spring-easing: linear(0, 0.016 0.5%, 0.06 1%, 0.226 2%, 1.116 5.4%, 1.375 6.6%, 1.527 7.7%, 1.565 8.2%, 1.585 8.8%, 1.581 9.3%, 1.559 9.8%, 1.458 10.9%, 0.937 14.3%, 0.784 15.5%, 0.693 16.6%, 0.67 17.1%, 0.657 17.7%, 0.671 18.7%, 0.729 19.8%, 1.042 23.3%, 1.13 24.5%, 1.182 25.6%, 1.201 26.7%, 1.192 27.7%, 1.156 28.8%, 0.977 32.2%, 0.925 33.4%, 0.894 34.5%, 0.882 35.6%, 0.887 36.6%, 0.907 37.7%, 1.045 42.4%, 1.069 44.5%, 1.059 46.3%, 0.979 50.9%, 0.96 53.4%, 0.966 55.3%, 1.013 59.9%, 1.024 62.3%, 0.986 71.2%, 1.008 79.9%, 0.995 88.9%, 1);
  animation-timing-function: var(--spring-easing);
}

@keyframes imgPop {
  0% {
    opacity: 0;
    transform: translateX(-35px) scale(0.3) rotate(-30deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

/* Elegant staggered popping entries for each profile in the stack */
.stack-img:nth-child(1) { z-index: 1; animation-delay: 0.55s; }
.stack-img:nth-child(2) { z-index: 2; animation-delay: 0.65s; }
.stack-img:nth-child(3) { z-index: 3; animation-delay: 0.75s; }
.stack-img:nth-child(4) { z-index: 4; animation-delay: 0.85s; }

.stack-logo {
  background-color: var(--clr-accent);
  padding: 10px;
  border: 2px solid #06080e;
  z-index: 5;
  
  /* Logo pops out with a dramatic full active spin */
  animation: logoPop 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-timing-function: var(--spring-easing);
  animation-delay: 0.95s;
}

@keyframes logoPop {
  0% {
    opacity: 0;
    transform: translateX(-35px) scale(0.3) rotate(-180deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

/* Hover expansion animation for overlapping stack */
.ratings-area:hover .stack-img {
  margin-right: 4px;
  transform: scale(1.06);
}

.ratings-area:hover .stack-img:last-child {
  margin-right: 0;
}

.ratings-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.star-rating {
  height: 14px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  animation: starsReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.1s;
}

@keyframes starsReveal {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.trust-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: trustReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 1.25s;
}

@keyframes trustReveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* --- SECTION: WHO WE ARE --- */
.who-we-are {
  background-color: var(--clr-bg-light);
}

.section-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  font-weight: 500;
  margin-bottom: 20px;
  display: inline-block;
}

.accent-quote-box {
  border-left: 4px solid var(--clr-accent);
  padding-left: 24px;
  margin-top: 30px;
}

.accent-quote-box p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--clr-text-muted-dark);
  margin-bottom: 12px;
}

.accent-quote-box p span {
  font-weight: 600;
  color: var(--clr-text-dark);
}

/* --- PARTNER LOGO TICKER --- */
.logo-ticker {
  background-color: var(--clr-bg-light);
  border-top: 1px solid var(--clr-border-light);
  border-bottom: 1px solid var(--clr-border-light);
  overflow: hidden;
  padding: 40px 0;
}

.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}

.logo-ticker-item {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.25);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-ticker-item i, 
.logo-ticker-item svg {
  opacity: 0.3;
  width: 24px;
  height: 24px;
}

/* --- WHAT WE DO (PILLARS) --- */
.what-we-do {
  background-color: var(--clr-bg-slate);
}

.section-header-desc {
  max-width: 600px;
  color: var(--clr-text-muted-dark);
  margin-top: 16px;
  font-size: 1.1rem;
}

.pillar-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(15, 23, 42, 0.15);
  position: relative;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.pillar-cell {
  position: relative;
  padding: 64px 48px;
  background-color: #ffffff;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  /* Start hidden for scroll entrance observer */
  opacity: 0;
  transform: translateY(30px);
}

/* Staggered slide reveal for cells inside active table */
.pillar-table.active .pillar-cell {
  animation: slideUpCell 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pillar-table.active .pillar-cell:nth-child(1) { animation-delay: 0.1s; }
.pillar-table.active .pillar-cell:nth-child(2) { animation-delay: 0.2s; }
.pillar-table.active .pillar-cell:nth-child(3) { animation-delay: 0.3s; }
.pillar-table.active .pillar-cell:nth-child(4) { animation-delay: 0.4s; }

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

/* Internal dividing lines */
.pillar-table > .pillar-cell:nth-child(odd) {
  border-right: 1px solid rgba(15, 23, 42, 0.15);
}
.pillar-table > .pillar-cell:nth-child(1),
.pillar-table > .pillar-cell:nth-child(2) {
  border-bottom: 1px solid rgba(15, 23, 42, 0.15);
}

/* Technical blueprint crosshair ticks at border centers */
.pillar-table-tick-left,
.pillar-table-tick-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 1px;
  background-color: rgba(15, 23, 42, 0.5);
  z-index: 5;
  pointer-events: none;
}
.pillar-table-tick-left { left: -7px; }
.pillar-table-tick-right { right: -7px; }

.pillar-table-tick-top,
.pillar-table-tick-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 14px;
  background-color: rgba(15, 23, 42, 0.5);
  z-index: 5;
  pointer-events: none;
}
.pillar-table-tick-top { top: -7px; }
.pillar-table-tick-bottom { bottom: -7px; }

/* Cell Content Styles */
.cell-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  display: inline-block;
}

.cell-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  color: #025a4f;
  margin-bottom: 16px;
  line-height: 1.2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.cell-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  max-width: 90%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

/* Interactive Hover States */
.pillar-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 10%, rgba(0, 223, 130, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.pillar-cell:hover::before {
  opacity: 1;
}

.pillar-cell:hover {
  box-shadow: inset 0 0 24px rgba(0, 223, 130, 0.04);
}

.pillar-cell:hover .cell-num {
  transform: translateX(8px);
  color: var(--clr-accent);
}

.pillar-cell:hover .cell-title {
  transform: translateX(12px);
  color: var(--clr-accent); /* Glows in emerald #00DF82 on hover! */
}

.pillar-cell:hover .cell-desc {
  transform: translateX(6px);
  color: var(--clr-text-dark);
}

/* Responsive Table Adaptations */
@media (max-width: 768px) {
  .pillar-table {
    grid-template-columns: 1fr;
  }
  
  .pillar-table > .pillar-cell:nth-child(odd) {
    border-right: none;
  }
  
  .pillar-table > .pillar-cell:not(:last-child) {
    border-bottom: 1px solid rgba(15, 23, 42, 0.15);
  }

  .pillar-cell {
    padding: 44px 32px;
  }

  .pillar-table-tick-left,
  .pillar-table-tick-right,
  .pillar-table-tick-top,
  .pillar-table-tick-bottom {
    display: none;
  }
}

/* --- FEATURED WORKS --- */
.featured-works {
  background-color: var(--clr-bg-light);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-color: var(--clr-bg-slate);
  aspect-ratio: 4 / 3;
}

.portfolio-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
  color: var(--clr-text-light);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-category {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.portfolio-title {
  font-size: 1.4rem;
  font-weight: 500;
}

.portfolio-view-all {
  margin-top: 50px;
  text-align: center;
}

/* --- WHAT SETS US APART (OUR STRENGTHS) --- */
.why-choose-us {
  background-color: var(--clr-bg-slate);
}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--clr-border-light);
  border-left: 1px solid var(--clr-border-light);
  margin-top: 50px;
}

.apart-cell {
  padding: 50px 40px;
  background-color: var(--clr-bg-light);
  border-right: 1px solid var(--clr-border-light);
  border-bottom: 1px solid var(--clr-border-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.apart-cell-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: rgba(2, 90, 79, 0.12);
  margin-bottom: 24px;
  display: block;
  transition: var(--transition-smooth);
}

.apart-cell h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-text-dark);
  margin-bottom: 12px;
}

.apart-cell p {
  font-size: 0.95rem;
  color: var(--clr-text-muted-dark);
}

.apart-cell:hover {
  background-color: var(--clr-primary-dark);
  color: var(--clr-text-light);
}

.apart-cell:hover .apart-cell-num {
  color: var(--clr-accent);
  transform: translateY(-5px);
}

.apart-cell:hover h4 {
  color: var(--clr-text-light);
}

.apart-cell:hover p {
  color: var(--clr-text-muted-light);
}

@media (max-width: 1024px) {
  .apart-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .apart-grid {
    grid-template-columns: 1fr;
  }
}

/* --- WHY CHOOSE DIGI BRANDORA (NEW SECTION BELOW STRENGTHS) --- */
.why-choose-digi {
  background-color: var(--clr-bg-light);
  position: relative;
  overflow: hidden;
}

.strengths-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 1024px) {
  .strengths-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.strengths-left {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .strengths-left {
    position: static;
  }
}

.strengths-left h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 32px;
  font-weight: 500;
  color: var(--clr-text-dark);
}

.brandora-statement-card {
  width: 100%;
  max-width: 440px;
  background: rgba(6, 8, 14, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(6, 8, 14, 0.08);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brandora-statement-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(2, 90, 79, 0.25);
}

.statement-blur-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(2, 90, 79, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.statement-content {
  position: relative;
  z-index: 2;
}

.statement-icon {
  margin-bottom: 24px;
  opacity: 0.85;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brandora-statement-card:hover .statement-icon {
  transform: rotate(15deg) scale(1.1);
}

.statement-quote {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--clr-text-dark);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.statement-line {
  height: 1px;
  width: 60px;
  background-color: var(--clr-primary);
  margin-bottom: 20px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brandora-statement-card:hover .statement-line {
  width: 120px;
}

.statement-footer {
  font-size: 0.85rem;
  color: var(--clr-text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Right Side Feature Deck styling */
.strengths-deck {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strength-item {
  display: flex;
  align-items: start;
  gap: 32px;
  background: rgba(6, 8, 14, 0.02);
  border: 1px solid rgba(6, 8, 14, 0.04);
  border-radius: 12px;
  padding: 32px 40px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.strength-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2, 90, 79, 0.04) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.strength-item:hover {
  transform: translateX(10px);
  background: rgba(6, 8, 14, 0.04);
  border-color: rgba(2, 90, 79, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.strength-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: rgba(2, 90, 79, 0.35);
  line-height: 1;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.strength-item:hover .strength-num {
  color: var(--clr-primary);
  transform: scale(1.1);
}

.strength-body {
  z-index: 2;
}

.strength-body h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}

.strength-item:hover .strength-body h4 {
  color: var(--clr-primary);
}

.strength-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-text-muted-dark);
}

/* --- LATEST INSIGHTS (BLOG) --- */
.latest-insights {
  background-color: var(--clr-bg-light);
}

.blog-header {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.blog-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 16px;
  display: inline-block;
}

.blog-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.blog-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  color: #06080e;
  margin: 0;
  letter-spacing: -0.02em;
}

.blog-section-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #475569;
  max-width: 380px;
  text-align: right;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .blog-section-desc {
    text-align: left;
    max-width: 100%;
  }
}

/* Asymmetric Grid: 2:1:1 Ratio */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.blog-card .blog-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background-color: #06080e;
}

.blog-card .blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

/* Hover expansion: scales up smoothly */
.blog-card:hover .blog-img {
  transform: scale(1.08);
}

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

.blog-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
}

.blog-title {
  font-family: 'Inter', sans-serif;
  color: #06080e;
  margin: 0;
  transition: color 0.3s ease;
}

/* Featured Card Sizing */
.blog-card.featured .blog-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

/* Regular Card Sizing */
.blog-card:not(.featured) .blog-title {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
}

.blog-card:hover .blog-title {
  color: var(--clr-accent);
}

/* Bottom Right Button Alignment */
.blog-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 40px;
}

.btn-all-articles {
  background-color: #005F43; /* Dark green matching mockup */
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid #005F43;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-all-articles:hover {
  background-color: var(--clr-accent); /* Accent green #00DF82 on hover */
  border-color: var(--clr-accent);
  color: #06080e !important;
  box-shadow: var(--shadow-glow);
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .blog-grid .blog-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid .blog-card.featured {
    grid-column: span 1;
  }
  .blog-footer {
    justify-content: center;
  }
}

/* --- HAPPY CLIENTS (TESTIMONIALS) --- */
.testimonials {
  position: relative;
  background-color: var(--clr-bg-dark);
}

.testimonials-glow-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(2, 90, 79, 0.01) 50%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonial-slider-container {
  overflow: hidden;
  margin-top: 50px;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 30px;
}

.testimonial-card {
  min-width: calc(33.333% - 20px);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--clr-border-dark);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
  .testimonial-card {
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
  }
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.85);
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-accent);
}

.client-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--clr-text-light);
}

.client-company {
  font-size: 0.85rem;
  color: var(--clr-text-muted-light);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--clr-accent-glow);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--clr-border-dark);
  background: transparent;
  color: var(--clr-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-bg-dark);
}

/* --- FOOTER --- */
.footer {
  background-color: #03060a;
  border-top: 1px solid var(--clr-border-dark);
  padding: 80px 0 40px 0;
  color: var(--clr-text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--clr-text-muted-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-links h5 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--clr-text-muted-light);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--clr-accent);
  padding-left: 4px;
}

.footer-newsletter h5 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-newsletter p {
  color: var(--clr-text-muted-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.newsletter-form {
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border-dark);
  border-radius: 50px;
  color: var(--clr-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.newsletter-submit {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  padding: 0 20px;
  border-radius: 50px;
  background-color: var(--clr-primary);
  border: none;
  color: var(--clr-text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-submit:hover {
  background-color: var(--clr-accent);
  color: var(--clr-bg-dark);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border-dark);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--clr-text-muted-light);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted-light);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--clr-accent);
  color: var(--clr-bg-dark);
  border-color: var(--clr-accent);
  transform: translateY(-3px);
}

/* --- REVEAL ON SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* Delay reveals */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* --- KEYFRAME ANIMATIONS --- */
@keyframes pulse-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
  }
  50% {
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.6), 0 0 10px rgba(16, 185, 129, 0.3);
    color: #34d399;
  }
}

@keyframes floating-glow {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
    box-shadow: 0 0 20px var(--clr-accent);
  }
}

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

/* --- OTHER PAGES STYLING (About, Services, Plans, Portfolio, Contact) --- */

/* Page Banner Section */
.page-banner {
  background-color: var(--clr-bg-dark);
  color: var(--clr-text-light);
  padding: 160px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.page-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-banner-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-banner-content p {
  font-size: 1.15rem;
  color: var(--clr-text-muted-light);
}

/* Custom Tabs component for Services Page */
.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--clr-border-light);
  padding-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-text-muted-dark);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-fast);
  position: relative;
}

.tab-btn.active {
  color: var(--clr-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--clr-primary);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Interactive Pricing Grid on Plans Page */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-text-dark);
}

.pricing-toggle-label.active {
  color: var(--clr-primary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

input:checked + .slider {
  background-color: var(--clr-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--clr-primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.pricing-card {
  background-color: var(--clr-bg-light);
  border: 1px solid var(--clr-border-light);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .pricing-card.popular {
    transform: none;
  }
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--clr-primary);
  color: var(--clr-text-light);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 50px;
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--clr-text-dark);
}

.pricing-card-header p {
  font-size: 0.95rem;
  color: var(--clr-text-muted-dark);
  margin-bottom: 24px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 3rem;
  color: var(--clr-text-dark);
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted-dark);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--clr-text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-accent);
  stroke-width: 3;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 90, 79, 0.15);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

@media (max-width: 1024px) {
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
}

/* Portfolio Filters and Dynamic Grid */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--clr-bg-slate);
  border: 1px solid var(--clr-border-light);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--clr-primary);
  color: var(--clr-text-light);
  border-color: var(--clr-primary);
}

/* Contact Grid & Stunning Floating Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method-card {
  background-color: var(--clr-bg-slate);
  border: 1px solid var(--clr-border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition-smooth);
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--clr-primary-dark);
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-text-dark);
  margin-bottom: 4px;
}

.contact-method-text p {
  font-size: 0.95rem;
  color: var(--clr-text-muted-dark);
}

.contact-method-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(2, 90, 79, 0.1);
}

.contact-form-card {
  background-color: var(--clr-bg-light);
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 50px;
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 30px 20px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--clr-bg-slate);
  border: 1px solid var(--clr-border-light);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  background-color: var(--clr-bg-light);
  box-shadow: 0 0 10px rgba(2, 90, 79, 0.08);
}

select.form-control {
  cursor: pointer;
}

.form-control::placeholder {
  color: var(--clr-text-muted-dark);
  opacity: 0.6;
}

/* Booking Modal / Lightbox Component Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--clr-bg-light);
  border: 1px solid var(--clr-border-light);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--clr-text-muted-dark);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--clr-text-dark);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--clr-primary-dark);
}

.modal-desc {
  color: var(--clr-text-muted-dark);
  margin-bottom: 30px;
}

.booking-calendar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .time-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.time-slot-btn {
  padding: 12px;
  background-color: var(--clr-bg-slate);
  border: 1px solid var(--clr-border-light);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.time-slot-btn:hover,
.time-slot-btn.selected {
  background-color: var(--clr-primary);
  color: var(--clr-text-light);
  border-color: var(--clr-primary);
}

/* Lightbox specific details */
.lightbox-content {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Success Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toast {
  background-color: var(--clr-bg-dark);
  border-left: 4px solid var(--clr-accent);
  color: var(--clr-text-light);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.fade-out {
  animation: fadeOutToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeOutToast {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* --- FIGMA ACCURATE ABOUT US PAGE --- */
.about-hero-container {
  margin: 16px 16px 0 16px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  height: 65vh;
  min-height: 480px;
  background-color: #06080e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.65);
}

.about-hero-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 30%, rgba(6, 8, 14, 0.8) 100%),
              linear-gradient(to bottom, rgba(6, 8, 14, 0.4) 0%, transparent 50%, rgba(6, 8, 14, 0.5) 100%);
  pointer-events: none;
}

/* Custom transparent-to-scrolled header absolute wrapper inside about hero card */
.about-hero-container .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  animation: headerReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.about-hero-container .header.scrolled {
  position: fixed;
  background: rgba(6, 8, 14, 0.85);
  border-bottom: 1px solid var(--clr-border-dark);
  animation: none;
  opacity: 1;
}

/* Center Content inside Hero viewport */
.about-hero-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.about-hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  margin-left: 0.45em; /* Offset for perfect center alignment */
  font-family: var(--font-heading);
  animation: bgImmersiveZoom 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Page content under hero section */
.about-content-sec {
  padding: 100px 0 120px 0;
  background-color: #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.about-label {
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-intro-text-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-intro-desc {
  font-size: 20px;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 850px;
}

/* "We combine" Section with horizontal green bar */
.we-combine-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 100px 0 60px 0;
  width: 100%;
}

.we-combine-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #000000;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.we-combine-bar {
  height: 48px;
  background-color: #00df82;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .we-combine-container {
    gap: 20px;
    margin: 60px 0 40px 0;
  }
  .we-combine-bar {
    height: 32px;
  }
}

/* 2-Column Pillars Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 32px;
  column-gap: 80px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .about-pillars-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

.about-pillar-item {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #000000;
  line-height: 1.2;
}

/* Outro Paragraph below pillars */
.about-outro-text {
  font-size: 18px;
  line-height: 1.6;
  color: #555555;
  max-width: 744px;
  margin-top: 20px;
}

/* Blueprint Line & Intersection Ticks */
.blueprint-line-x {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eaeaea;
  margin: 60px 0;
}

.blueprint-plus {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.blueprint-plus::before,
.blueprint-plus::after {
  content: '';
  position: absolute;
  background-color: #666666;
}

.blueprint-plus::before {
  width: 1px;
  height: 9px;
}

.blueprint-plus::after {
  width: 9px;
  height: 1px;
}

.blueprint-plus.left { left: 0; }
.blueprint-plus.right { right: 0; }

/* --- ABOUT ADDITIONS STYLES --- */
.about-additions-sec {
  text-align: center;
  margin-top: 100px;
}

.about-additions-quote {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.3;
  color: #000000;
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

.about-vision-sec {
  margin: 80px auto 80px 0; /* Flushes container left */
  max-width: 850px;
  text-align: left; /* Keeps text left-aligned */
}

.about-mission-sec {
  margin: 80px 0 80px auto; /* Flushes container right */
  max-width: 850px;
  text-align: left; /* Keeps text left-aligned */
}

.about-vision-title,
.about-mission-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  font-family: var(--font-heading);
}

.about-vision-desc,
.about-mission-desc {
  font-size: clamp(2rem, 4vw, 2.8rem); /* 2x bigger! Matches figma 46.65px size */
  line-height: 1.45;
  color: #1a1a1a;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.about-center-visual {
  width: 100%;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-center-visual:hover {
  transform: scale(1.015);
}

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

/* --- FIGMA ACCURATE PORTFOLIO PAGE --- */
.portfolio-hero-container {
  margin: 16px 16px 0 16px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  height: 65vh;
  min-height: 480px;
  background-color: #06080e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.portfolio-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.6);
}

.portfolio-hero-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 35%, rgba(6, 8, 14, 0.85) 100%),
              linear-gradient(to bottom, rgba(6, 8, 14, 0.4) 0%, transparent 50%, rgba(6, 8, 14, 0.6) 100%);
  pointer-events: none;
}

/* Custom transparent floating header inside portfolio card */
.portfolio-hero-container .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  animation: headerReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.portfolio-hero-container .header.scrolled {
  position: fixed;
  background: rgba(6, 8, 14, 0.85);
  border-bottom: 1px solid var(--clr-border-dark);
  animation: none;
  opacity: 1;
}

/* Center Content inside Hero viewport */
.portfolio-hero-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.portfolio-hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  margin-left: 0.45em;
  font-family: var(--font-heading);
  animation: bgImmersiveZoom 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Metadata bottom bar inside card */
.portfolio-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 0 48px 40px 48px;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin: 0 48px;
}

.portfolio-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-meta-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-meta-value {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

@media (max-width: 768px) {
  .portfolio-hero-meta {
    gap: 30px;
    padding: 0 24px 24px 24px;
    margin: 0 24px;
  }
}

/* Page content under hero section */
.portfolio-content-sec {
  padding: 100px 0 120px 0;
  background-color: #ffffff;
}

.portfolio-intro-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .portfolio-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.portfolio-label {
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-intro-desc {
  font-size: 20px;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 850px;
}

/* 4-Image Grid Layout */
.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 80px 0;
}

@media (max-width: 768px) {
  .portfolio-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.portfolio-showcase-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-showcase-card:hover {
  transform: scale(1.015);
}

.portfolio-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Wide Panoramic Banner */
.portfolio-banner-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 45px rgba(0,0,0,0.04);
  margin: 80px 0;
  height: 45vh;
  min-height: 380px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-banner-container:hover {
  transform: scale(1.008);
}

.portfolio-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* "More works" Section */
.more-works-sec {
  margin-top: 100px;
  border-top: 1px solid #eaeaea;
  padding-top: 80px;
}

.more-works-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #000000;
  margin-bottom: 48px;
  letter-spacing: -0.015em;
  font-family: var(--font-heading);
}

.more-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .more-works-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.more-works-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.more-works-img-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 16 / 10;
}

.more-works-item:hover .more-works-img-frame {
  transform: scale(1.02);
}

.more-works-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.more-works-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
}

.more-works-client {
  color: #000000;
}

.more-works-cat {
  color: #666666;
}

/* --- FIGMA ACCURATE BLOG PAGE --- */
.blog-hero-container {
  margin: 16px 16px 0 16px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  height: 65vh;
  min-height: 480px;
  background-color: #06080e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.blog-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.65);
}

.blog-hero-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 35%, rgba(6, 8, 14, 0.85) 100%),
              linear-gradient(to bottom, rgba(6, 8, 14, 0.4) 0%, transparent 50%, rgba(6, 8, 14, 0.6) 100%);
  pointer-events: none;
}

/* Custom transparent floating header inside blog card */
.blog-hero-container .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  animation: headerReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.blog-hero-container .header.scrolled {
  position: fixed;
  background: rgba(6, 8, 14, 0.85);
  border-bottom: 1px solid var(--clr-border-dark);
  animation: none;
  opacity: 1;
}

/* Center Content inside Hero viewport */
.blog-hero-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.blog-hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  margin-left: 0.45em;
  font-family: var(--font-heading);
  animation: bgImmersiveZoom 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Page content under hero section */
.blog-content-sec {
  padding: 100px 0 120px 0;
  background-color: #ffffff;
}

.blog-meta-top {
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  margin-bottom: 16px;
  display: block;
}

.blog-title-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.blog-main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #000000;
  margin: 0;
  line-height: 1.15;
  max-width: 800px;
}

.blog-green-bar {
  height: 48px;
  background-color: #00df82;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .blog-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .blog-green-bar {
    height: 20px;
    width: 100%;
  }
}

.blog-body-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .blog-body-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-sidebar-meta {
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  line-height: 1.8;
}

.blog-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-paragraphs p {
  font-size: 20px;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 850px;
}

.blog-paragraphs strong {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-top: 20px;
  display: block;
}

/* 3-Column Bottom Posts Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.blog-post-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-post-img-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}

.blog-post-card:hover .blog-post-img-frame {
  transform: scale(1.02);
}

.blog-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-meta {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
  font-weight: 500;
}

.blog-post-title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  line-height: 1.3;
}




/* SVG icons scaling for contact-method-icon */
.contact-method-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
