/* ================================================
   AMRAT BUSINESS COMPANY - Design System
   Concept: "Organic Flow" - Nature & Innovation
   ================================================ */

/* ====== CSS VARIABLES ====== */
:root {
  /* Brand Colors - Official Palette */
  --blue-light: #4895cd;
  --blue-dark: #005492;
  --green-lime: #9abe27;
  --green-light: #a6ca3e;
  --green-dark: #007528;

  /* Gradients */
  --gradient-green: linear-gradient(135deg, #a6ca3e 0%, #007528 100%);
  --gradient-blue: linear-gradient(135deg, #4895cd 0%, #005492 100%);
  --gradient-hero: linear-gradient(135deg, #005492 0%, #007528 50%, #9abe27 100%);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8faf5;
  --dark: #0a1f14;
  --dark-transparent: rgba(10, 31, 20, 0.85);

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px rgba(0, 84, 146, 0.15);
  --glass-blur: 15px;
  --glass-blur-intense: 25px;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-width: min(90%, 1400px);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ====== RESET & BASE ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--green-lime);
  color: var(--white);
}

::-moz-selection {
  background: var(--green-lime);
  color: var(--white);
}

/* Override default blue tap/selection highlight on mobile */
* {
  -webkit-tap-highlight-color: rgba(154, 190, 39, 0.3);
}

/* ====== TYPOGRAPHY ====== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  max-width: 70ch;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* ====== UTILITIES ====== */
.container {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  color: var(--blue-dark);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-green);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(154, 190, 39, 0.4);
}

.section-title p {
  margin: 1.5rem auto 0;
  color: #666;
  font-size: 1.1rem;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(154, 190, 39, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(154, 190, 39, 0.5);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--blue-dark);
}

/* Ripple Effect for Buttons */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

/* ====== HEADER & NAVIGATION ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.3rem 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.85) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: linear-gradient(90deg,
      rgba(10, 22, 40, 0.98),
      rgba(14, 61, 43, 0.98),
      rgba(10, 22, 40, 0.98));
  background-size: 200% 100%;
  animation: headerGradient 10s ease infinite;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(154, 190, 39, 0.1);
  border-bottom: 1px solid rgba(154, 190, 39, 0.15);
}

@keyframes headerGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(154, 190, 39, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  /* Allow logo to extend beyond container */
}

/* Premium glow effect */
.nav-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(154, 190, 39, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(154, 190, 39, 0.3) inset,
    0 0 40px rgba(154, 190, 39, 0.2);
  border-color: rgba(154, 190, 39, 0.3);
}

.nav-logo:hover::before {
  opacity: 1;
}

.nav-logo img {
  height: 60px;
  /* Reduced further to 80px */
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(154, 190, 39, 0.3));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  margin: -5px 0;
  /* Adjusted margin */
}

.nav-logo:hover img {
  filter: drop-shadow(0 6px 20px rgba(154, 190, 39, 0.5));
  transform: scale(1.05);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(154, 190, 39, 0.2);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.nav-logo:hover span {
  background: linear-gradient(135deg, #ffffff 0%, #9abe27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.5px;
}

/* Logo Text Container */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* New Brand Text Image */
.brand-text-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Slogan Style */
.slogan {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  font-style: italic;
  text-transform: none;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.75rem 0;
  display: inline-block;
  transition: var(--transition-smooth);
}

.nav-menu a:hover {
  color: var(--green-lime);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-lime);
  transition: var(--transition-smooth);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ====== HERO SECTION - GEOMETRIC MODERN ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628, #0d2847, #005492, #0d2847, #0a1628);
  background-size: 300% 300%;
  animation: gradientFlow 15s ease infinite;
  overflow: hidden;
  padding: 120px 0 80px;
  /* Mobile padding adjustment below */
}

/* Decorative diagonal lines */
.hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-lines .line {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-lines .line-1 {
  top: 0;
  right: -20%;
  width: 50%;
}

.hero-lines .line-2 {
  top: 10%;
  right: -30%;
  width: 60%;
}

/* Hero wrapper - split layout */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Left content */
.hero-content {
  text-align: left;
  padding-right: 2rem;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(154, 190, 39, 0.4));
}

/* Inline logo next to AMRAT */
.title-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero h1 .accent {
  color: var(--green-lime);
  display: inline;
  font-size: 1.1em;
  text-shadow:
    0 0 20px rgba(154, 190, 39, 0.5),
    0 0 40px rgba(154, 190, 39, 0.3),
    0 4px 30px rgba(0, 0, 0, 0.3);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(154, 190, 39, 0.5), 0 0 40px rgba(154, 190, 39, 0.3);
  }

  to {
    text-shadow: 0 0 30px rgba(154, 190, 39, 0.7), 0 0 60px rgba(154, 190, 39, 0.4);
  }
}

/* ====== ADVANCED GRADIENT ANIMATIONS ====== */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientRotate {
  0% {
    background-position: 0% 0%;
  }

  25% {
    background-position: 100% 0%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}

/* ====== GLASSMORPHISM ANIMATIONS ====== */
@keyframes blurIn {
  from {
    backdrop-filter: blur(0px);
    opacity: 0;
  }

  to {
    backdrop-filter: blur(var(--glass-blur));
    opacity: 1;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(154, 190, 39, 0.3),
      0 8px 32px rgba(0, 84, 146, 0.15);
  }

  50% {
    box-shadow: 0 0 40px rgba(154, 190, 39, 0.5),
      0 12px 48px rgba(0, 84, 146, 0.25);
  }
}

/* ====== MICRO-INTERACTIONS ====== */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-5px) rotate(5deg);
  }

  66% {
    transform: translateY(-3px) rotate(-5deg);
  }
}

/* ====== ADVANCED REVEAL ANIMATIONS ====== */
.reveal-hidden {
  opacity: 0;
}

.reveal-hidden[data-reveal-animation="fadeSlideUp"] {
  transform: translateY(40px);
}

.reveal-hidden[data-reveal-animation="fadeZoom"] {
  transform: scale(0.9);
}

.reveal-hidden[data-reveal-animation="fadeSlideRight"] {
  transform: translateX(-30px);
}

.reveal-hidden[data-reveal-animation="fadeScale"] {
  transform: scale(0.8);
}

.reveal-hidden.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====== PAGE LOAD ANIMATIONS ====== */
@keyframes letterDrop {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero h1 .highlight {
  display: block;
  font-weight: 300;
  font-size: 0.45em;
  letter-spacing: 12px;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
  font-weight: 300;
  border-left: 3px solid var(--green-lime);
  padding-left: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero social icons */
.hero-social {
  display: flex;
  gap: 1rem;
  grid-column: 1;
}

.hero-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.hero-social a:hover {
  background: var(--green-lime);
  border-color: var(--green-lime);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(154, 190, 39, 0.4);
}

/* Right side - Image collage */
.hero-images {
  position: relative;
  padding: 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1.25rem;
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.image-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.image-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154, 190, 39, 0.3) 0%, transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.image-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.image-item:hover::before {
  opacity: 1;
}

.image-item:hover::after {
  border-color: var(--green-lime);
}

.image-item:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.image-item:hover img {
  transform: scale(1.1);
}

/* Specific image positioning for diagonal effect */
.image-1 {
  grid-column: 1;
  grid-row: 1;
  transform: translateY(20px);
}

.image-2 {
  grid-column: 2;
  grid-row: 1;
  transform: translateY(-10px);
}

.image-3 {
  grid-column: 1;
  grid-row: 2;
  transform: translateY(10px);
}

.image-4 {
  grid-column: 2;
  grid-row: 2;
  transform: translateY(-20px);
}

/* Decorative frame */
.image-frame {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(154, 190, 39, 0.3);
  border-radius: 20px;
  pointer-events: none;
  z-index: -1;
}

.image-frame::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

/* Responsive hero */
/* Responsive hero compacting for viewport fit */
@media (max-width: 1024px) {
  .hero {
    padding: 100px 0 40px;
    /* Reduced padding */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    /* Reduced gap */
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .hero-logo {
    width: 100px;
    /* Smaller logo */
    margin: 0 auto 1rem;
    /* Reduced margin */
  }

  .hero-tagline {
    margin: 0 auto 1.5rem;
    /* Reduced margin */
    font-size: 1rem;
    /* Slightly smaller text */
  }

  .hero h1 {
    font-size: 2rem;
    /* Smaller heading */
    margin-bottom: 0.5rem;
  }

  .hero-buttons {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-social {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-images {
    padding: 0;
    margin-top: 0;
    /* Removed margin to bring closer to buttons */
    position: relative;
    /* Essential for frame positioning */
    width: 100%;
    max-width: 350px;
    /* Limit width */
    margin-left: auto;
    margin-right: auto;
  }

  .hero-images .image-grid {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    /* Remove tilt for cleaner look/space */
    grid-template-rows: repeat(2, 110px);
    /* Reduced height */
    gap: 8px;
    position: relative;
    z-index: 2;
    /* Ensure images are above frame */
  }

  .hero-images .image-item {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .hero-images .image-item::after {
    border: 2px solid var(--green-lime);
    border-radius: 12px;
  }

  /* Mobile Decorative Frame - same offset style as desktop */
  .hero-images .image-frame {
    display: block;
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(154, 190, 39, 0.3);
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
  }

  .hero-images .image-frame::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
  }
}

/* ====== DIAGONAL SECTION DIVIDER ====== */
.diagonal-top {
  position: relative;
}

.diagonal-top::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ====== SERVICES SECTION ====== */
.services {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a1628, #0d2847, #003d5c, #0d2847);
  background-size: 400% 400%;
  animation: gradientRotate 20s ease infinite;
  position: relative;
  overflow: hidden;
}

.services .section-title h2 {
  color: var(--white);
}

.services .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.services .section-title h2::after {
  background: var(--gradient-green);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Hexagonal/Pointed Bottom Card */
.service-card {
  position: relative;
  background: linear-gradient(180deg, #2dd881 0%, #1a8754 30%, #0d5c3a 70%, #064c2e 100%);
  background-size: 200% 200%;
  animation: gradientFlow 8s ease infinite;
  padding: 3rem 2rem 5rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  min-height: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Inner shine effect */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.6s;
  transform: translateZ(-10px);
}

.service-card:hover::before {
  left: 100%;
}

/* Decorative circles - main circle */
.service-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(-10px);
}

/* Second decorative circle via box-shadow */
.service-card {
  --circle-color: rgba(154, 190, 39, 0.3);
}

.service-card:nth-child(1)::after {
  box-shadow:
    -80px 120px 0 60px rgba(255, 255, 255, 0.08),
    50px 50px 0 30px rgba(154, 190, 39, 0.2);
}

.service-card:nth-child(2)::after {
  box-shadow:
    -80px 120px 0 60px rgba(255, 255, 255, 0.08),
    50px 50px 0 30px rgba(0, 117, 40, 0.3);
}

.service-card:nth-child(3)::after {
  box-shadow:
    -80px 120px 0 60px rgba(255, 255, 255, 0.08),
    50px 50px 0 30px rgba(0, 119, 204, 0.3);
}

.service-card:nth-child(2) {
  background: linear-gradient(180deg, #00a33a 0%, #007528 30%, #005d20 70%, #004518 100%);
  background-size: 200% 200%;
  animation: gradientFlow 8s ease infinite 2s;
}

.service-card:nth-child(3) {
  background: linear-gradient(180deg, #0077cc 0%, #005492 30%, #004377 70%, #003562 100%);
  background-size: 200% 200%;
  animation: gradientFlow 8s ease infinite 4s;
}

.service-card:nth-child(4) {
  background: linear-gradient(180deg, #bfdf3a 0%, #9abe27 30%, #7a9c1e 70%, #5a7516 100%);
  background-size: 200% 200%;
  animation: gradientFlow 8s ease infinite 6s;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(154, 190, 39, 0.2);
}

.service-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(var(--glass-blur-intense));
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 15px 40px rgba(0, 0, 0, 0.3);
}



.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.service-list li {
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--white);
  font-weight: bold;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: auto;
  transition: var(--transition-smooth);
}

.service-link:hover {
  background: rgba(255, 255, 255, 0.25);
  gap: 12px;
}

/* ====== STATS SECTION ====== */
.stats {
  padding: 100px 0;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientFlow 12s ease infinite;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  color: var(--white);
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  animation: blurIn 0.6s ease-out;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(var(--glass-blur-intense));
  border-color: rgba(154, 190, 39, 0.4);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* AMRAT AGRO Section - Premium Redesign */
.amrat-agro-section {
  position: relative;
  background: radial-gradient(circle at 20% 50%, #0d2847 0%, #0a1f14 100%);
  overflow: hidden;
}

.amrat-agro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(10, 31, 20, 0.7), rgba(10, 31, 20, 0.7)),
    url('../assets/images/pattern-grid.png');
  /* Fallback or texture */
  opacity: 0.1;
  pointer-events: none;
}

.amrat-agro-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(154, 190, 39, 0.1) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.agro-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.agro-card {
  text-align: left;
  padding: 3.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.agro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.agro-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(154, 190, 39, 0.3);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(154, 190, 39, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.agro-card:hover::before {
  transform: translateX(100%);
}

.agro-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ffffff 0%, #9abe27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.agro-card h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--green-lime);
  border-radius: 2px;
}

.agro-card p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.agro-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.agro-list li {
  padding: 1rem 0 1rem 3rem;
  position: relative;
  font-size: 1.1rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.agro-list li:last-child {
  border-bottom: none;
}

.agro-list li::before {
  content: '✦';
  /* Can be replaced with SVG */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(154, 190, 39, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-lime);
  font-size: 1rem;
  transition: 0.3s;
}

.agro-list li:hover {
  padding-left: 3.5rem;
  color: var(--green-lime);
}

.agro-list li:hover::before {
  background: var(--green-lime);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(154, 190, 39, 0.4);
}

.agro-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  text-align: right;
  border-right: 4px solid var(--green-lime);
  padding-right: 1.5rem;
  margin-top: 2rem;
  font-style: normal;
  background: linear-gradient(90deg, transparent, rgba(154, 190, 39, 0.05));
  padding: 1rem;
}

@media (max-width: 900px) {
  .agro-card {
    padding: 2rem;
  }

  .agro-card h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .agro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ====== PORTFOLIO PREVIEW ====== */
.portfolio-preview {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  border-color: var(--green-lime);
  box-shadow: 0 15px 40px rgba(0, 84, 146, 0.2);
  transform: translateY(-5px);
}

.portfolio-card:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-card img,
.portfolio-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover img,
.portfolio-card:hover video {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 84, 146, 0.95) 0%, rgba(0, 84, 146, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green-lime);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(154, 190, 39, 0.3);
}

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-dark);
  transition: var(--transition-bounce);
}

.portfolio-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--white);
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ====== CONTACT SECTION ====== */
.contact {
  padding: calc(var(--section-padding) + 2rem) 0;
  background: linear-gradient(135deg, #f8faf5 0%, #e8f5e9 50%, #f0f7f4 100%);
  position: relative;
  overflow: hidden;
}

/* Premium decorative background */
.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(154, 190, 39, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 84, 146, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on contact items */
.contact-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(154, 190, 39, 0.05),
      transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-item:hover::before {
  transform: translateX(100%);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(154, 190, 39, 0.4);
  box-shadow: 0 20px 60px rgba(154, 190, 39, 0.15),
    0 8px 20px rgba(0, 84, 146, 0.08),
    0 0 0 1px rgba(154, 190, 39, 0.1) inset;
  transform: translateY(-8px) scale(1.02);
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, #9abe27 0%, #7a9c1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(154, 190, 39, 0.35),
    0 0 0 4px rgba(154, 190, 39, 0.1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon glow animation */
.contact-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(154, 190, 39, 0.4), rgba(122, 156, 30, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(154, 190, 39, 0.5),
    0 0 0 6px rgba(154, 190, 39, 0.15),
    0 0 60px rgba(154, 190, 39, 0.3);
}

.contact-item:hover .contact-icon::before {
  opacity: 1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.contact-text {
  flex: 1;
}

.contact-text h4 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.contact-text p,
.contact-text a {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.contact-text a {
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.contact-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-lime);
  transition: width 0.3s ease;
}

.contact-text a:hover {
  color: var(--green-lime);
  transform: translateX(3px);
}

.contact-text a:hover::after {
  width: 100%;
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  border: 2px solid rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

/* Premium gradient overlay */
.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green-lime), var(--blue-dark), var(--green-lime));
  background-size: 200% 100%;
  animation: gradientFlow 3s ease infinite;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(154, 190, 39, 0.3);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-lime);
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(154, 190, 39, 0.12),
    0 8px 20px rgba(154, 190, 39, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* Submit button enhancement */
.contact-form .btn-primary {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1rem;
  box-shadow: 0 15px 35px rgba(154, 190, 39, 0.3);
}

.contact-form .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(154, 190, 39, 0.4);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--dark);
  /* Dark green #0a1f14 from brand */
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Wave Separator - Inspired by reference design */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: var(--blue-dark);
  clip-path: ellipse(100% 100% at 50% 0%);
  z-index: 0;
}

/* Gradient overlay for depth */
.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(0, 84, 146, 0.2));
  pointer-events: none;
  z-index: 1;
}

/* Logo in blue top section */
.footer-top-logo {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  /* Above blue background */
}

.footer-top-logo img {
  height: 300px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.footer-top-logo:hover img {
  transform: scale(1.05);
}

.footer .container {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  position: relative;
  border-radius: 20px;
  padding: 1rem;
  transition: all 0.5s ease;
}

/* Subtle Glow behind Brand */
.footer-brand::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 84, 146, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.footer-brand p {
  color: #e6f0ff;
  /* Changed from gray/rgba to premium light blue-white */
  margin-top: 1.5rem;
  line-height: 1.8;
  font-size: 0.95rem;
  max-width: 300px;
  font-weight: 300;
  /* Lighter weight for elegance */
}

/* Glass effect on columns */
.footer-col {
  padding: 1.5rem;
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.footer-col:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background: var(--green-lime);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #e6f0ff;
  /* Changed from gray/rgba to premium light blue-white */
  transition: all 0.3s ease;
  padding-left: 0;
  position: relative;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 12px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(154, 190, 39, 0.2);
  /* Enhanced glow */
}

.footer-links a::before {
  content: '';
  /* Changed to line instead of chevron for modern look */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--green-lime);
  transition: all 0.3s ease;
  opacity: 0;
}

.footer-links a:hover::before {
  opacity: 1;
  width: 6px;
  left: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 140px;
  /* Space for waves */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Slightly brighter border */
  color: rgba(230, 240, 255, 0.7);
  /* Brighter, bluer text */
  font-size: 0.9rem;
  position: relative;
  z-index: 5;
  /* Above waves */
}

/* UnlimitedTech Credit Style */
.creator-credit {
  background: linear-gradient(to right, #ffd700, #ffaa00);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

/* Footer Bottom Waves Decoration */
.footer-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  /* Lowered from 3 to 1 to stay behind container content */
  pointer-events: none;
}

.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer-wave.wave-1 {
  opacity: 0.5;
}

.footer-wave.wave-2 {
  opacity: 0.7;
}

.footer-wave.wave-3 {
  opacity: 1;
}

/* ====== LIGHTBOX MODAL ====== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2001;
}

.lightbox-close:hover {
  background: var(--green-lime);
  color: var(--white);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(154, 190, 39, 0.4);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card:first-child {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Mobile header adjustments */
  .header {
    padding: 0.5rem 0;
  }

  .nav {
    min-height: 60px;
  }

  /* Mobile logo adjustments */
  .nav-logo {
    padding: 8px 16px;
    gap: 12px;
  }

  .nav-logo img {
    height: 45px;
  }

  .nav-logo span {
    font-size: 1.2rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 10001;
    pointer-events: auto;
    padding: 10px;
    margin: -10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 2.5rem 2rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 1rem auto 0;
  }

  .footer-separator {
    display: none;
  }

  .footer-credit {
    display: block;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-images .image-grid {
    transform: perspective(600px) rotateY(-3deg) rotateX(1deg);
    grid-template-rows: repeat(2, 110px);
    gap: 8px;
  }
}

/* ====== SKIP TO CONTENT ====== */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 0;
}

/* ====== ACCESSIBILITY & PERFORMANCE SAFEGUARDS ====== */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none;
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {

  /* Disable heavy animations on mobile */
  .service-card,
  .portfolio-card {
    animation: none !important;
  }

  /* Simplified gradients */
  .hero,
  .services,
  .stats {
    background-size: 100% 100% !important;
    animation: none !important;
  }

  /* Disable parallax (keep 3D on hero images) */
  .hero-lines,
  .hero-content,
  .service-card {
    transform: none !important;
  }

  /* Reduce blur for performance */
  [style*="backdrop-filter"] {
    backdrop-filter: blur(5px) !important;
  }

  /* Disable cursor glow on mobile */
  .cursor-glow {
    display: none;
  }

  /* Logo on mobile */
  .nav-logo img {
    height: 75px;
    margin: -10px 0;
  }

  .nav-logo .logo-text {
    display: flex;
  }

  .nav-logo .logo-text span {
    font-size: 0.85rem;
  }

  .nav-logo .slogan {
    font-size: 0.55rem;
    white-space: normal;
    line-height: 1.3;
    max-width: 140px;
  }
}

/* Performance Hints */
.hero,
.service-card,
.portfolio-card,
.stat-item {
  will-change: auto;
}

.hero.animating,
.service-card:hover,
.portfolio-card:hover {
  will-change: transform, opacity;
}

/* ====== STATS COUNTERS SECTION ====== */
.stats-counters {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--gradient-blue);
  position: relative;
  overflow: hidden;
}

.stats-counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(154, 190, 39, 0.15) 0%, transparent 50%);
}

.stats-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

.stat-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-counter-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-counter-item .stat-label {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .stats-counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== CURSOR GLOW EFFECT ====== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 190, 39, 0.3) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
  opacity: 0.15;
}

/* ====== PORTFOLIO VIDEO CARD OVERLAY ====== */
.portfolio-card[data-type="video"] {
  position: relative;
  overflow: hidden;
}

.portfolio-card[data-type="video"] video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(0, 84, 146, 0.5), rgba(10, 31, 20, 0.7));
}

.portfolio-card[data-type="video"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 84, 146, 0.5), rgba(10, 31, 20, 0.6));
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.portfolio-card[data-type="video"]:hover::before {
  opacity: 0.3;
}

.portfolio-card[data-type="video"] .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-dark);
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}


/* Adjust mobile logo sizes */
@media (max-width: 768px) {
  .nav-logo img {
    height: 58px !important;
  }

  .brand-text-img {
    height: 28px !important;
  }

  .nav {
    min-height: 55px !important;
  }

  .header {
    padding: 0.3rem 0 !important;
  }
}

/* ====== LANGUAGE SWITCHER ====== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 1rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-btn {
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  opacity: 1;
  color: var(--green-lime);
}

.lang-btn.active {
  opacity: 1;
  color: var(--green-lime);
  position: relative;
}

.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green-lime);
}

.separator {
  opacity: 0.5;
  font-weight: 300;
}

@media (max-width: 768px) {
  .lang-switch {
    margin: 1rem 0;
    justify-content: center;
    font-size: 1.1rem;
  }
}

/* ====== ABOUT PAGE — BENTO GRID ====== */

.bento-section {
  padding: 20px 0;
}

.bento-hero-section {
  padding-top: 120px;
  /* Account for fixed header */
}

.bento-grid {
  display: grid;
  gap: 20px;
}

/* ---- Hero Grid ---- */
.bento-hero-grid {
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: 1.4fr 0.6fr;
  grid-template-areas:
    "a b"
    "d c";
  min-height: 520px;
}

/* ---- Domains Grid ---- */
.bento-domains-grid {
  grid-template-columns: 1fr 1fr 0.8fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "e f g"
    "h i i";
  min-height: 480px;
}

/* ---- Services Grid ---- */
.bento-services-grid {
  grid-template-columns: 0.8fr 1fr 0.6fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "j k l"
    "m m n";
  min-height: 460px;
}

/* ---- CTA Grid ---- */
.bento-cta-grid {
  grid-template-columns: 0.7fr 1fr;
  grid-template-areas: "o p";
  min-height: 350px;
}

/* ---- Base Card ---- */
.bento-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-card:hover {
  transform: translateY(-4px);
}

/* ---- Image Cards ---- */
.bento-img-card {
  overflow: hidden;
  min-height: 220px;
}

.bento-img-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f0f0f0;
  display: block;
  transition: transform 0.6s ease;
}

.bento-img-card:hover img {
  transform: scale(1.05);
}

/* ---- Bento Carousel ---- */
.bento-carousel {
  position: relative;
}

.bento-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f0f0f0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bento-carousel .carousel-slide.active {
  opacity: 1;
}

.bento-carousel:hover .carousel-slide {
  transform: none;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ---- Text Cards ---- */
.bento-text-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- Color Variants ---- */
.bento-green {
  background: var(--green-lime);
  color: var(--dark);
}

.bento-blue {
  background: var(--blue-dark);
  color: var(--white);
}

.bento-white {
  background: var(--white);
  color: var(--dark);
  border: 1px solid #e8e8e8;
}

.bento-dark {
  background: var(--dark);
  color: var(--white);
}

/* ---- Typography ---- */
.bento-text-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.bento-text-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.bento-text-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.bento-text-card em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.bento-green em {
  text-decoration-color: var(--dark);
}

.bento-blue em {
  text-decoration-color: var(--green-lime);
}

.bento-white em {
  text-decoration-color: var(--green-lime);
}

.bento-dark em {
  text-decoration-color: var(--green-lime);
}

.bento-text-card p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.bento-tagline {
  font-size: 0.95rem !important;
  font-weight: 600;
  opacity: 0.7 !important;
  margin-bottom: 1.5rem !important;
}

/* ---- Labels ---- */
.bento-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.bento-blue .bento-label {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.bento-label-green {
  background: var(--green-lime);
  color: var(--dark);
}

.bento-label-blue {
  background: var(--blue-dark);
  color: var(--white);
}

/* ---- Buttons ---- */
.bento-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  width: fit-content;
  margin-top: auto;
  border: none;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.bento-green .bento-btn {
  background: var(--dark);
  color: var(--white);
}

.bento-green .bento-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.bento-btn-outline {
  background: transparent !important;
  border: 2px solid var(--dark);
  color: var(--dark) !important;
}

.bento-btn-outline:hover {
  background: var(--dark) !important;
  color: var(--white) !important;
}

.bento-btn-dark {
  background: var(--dark) !important;
  color: var(--white) !important;
}

.bento-btn-dark:hover {
  background: var(--blue-dark) !important;
}

/* ---- Icon Card ---- */
.bento-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.bento-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.bento-stat {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.bento-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.7;
  margin-top: 0.3rem;
}

/* ---- Palette Card ---- */
.bento-palette-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.palette-dots {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

.palette-dots .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.palette-dots .dot:hover {
  transform: scale(1.15);
}

/* ---- List ---- */
.bento-list {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.bento-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.bento-list li:last-child {
  border-bottom: none;
}

.bento-list li strong {
  color: var(--blue-dark);
}

/* ---- Contact Info ---- */
.bento-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- CTA Card ---- */
.bento-cta-card {
  padding: clamp(2rem, 4vw, 3.5rem);
}

/* ---- Scroll Reveal ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Disable fade-up on mobile for guaranteed visibility */
@media (max-width: 768px) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Ensure buttons are clickable on mobile */
  .bento-btn {
    position: relative;
    z-index: 9999;
    pointer-events: auto !important;
    min-height: 44px;
    min-width: 100px;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-appearance: none;
    /* Fix for iOS button styling */
  }
}

/* ====== RESPONSIVE — BENTO ====== */
@media (max-width: 992px) {
  .bento-card:hover {
    transform: none;
  }

  .bento-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "a b"
      "d c";
  }

  .bento-domains-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "e f"
      "g h"
      "i i";
  }

  .bento-services-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "j k"
      "l m"
      "n n";
  }
}

@media (max-width: 768px) {
  .bento-card:hover {
    transform: none;
  }

  .bento-section {
    padding: 10px 0;
    overflow-x: hidden;
  }

  .bento-hero-section {
    padding-top: 130px;
  }

  .bento-grid {
    gap: 8px;
  }

  .bento-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "a a"
      "b c"
      "d d";
    min-height: auto;
  }

  .bento-domains-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "e f"
      "g h"
      "i i";
    min-height: auto;
  }

  .bento-services-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "j k"
      "l m"
      "n n";
    min-height: auto;
  }

  .bento-cta-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "o p";
    min-height: auto;
  }

  .bento-img-card {
    min-height: 180px;
  }

  .bento-card {
    border-radius: 16px;
  }

  .bento-text-card {
    padding: 1.2rem;
  }

  .bento-text-card h1 {
    font-size: 1.5rem;
  }

  .bento-text-card h2 {
    font-size: 1.2rem;
  }

  .bento-text-card h3 {
    font-size: 1rem;
  }

  .bento-text-card p {
    font-size: 0.8rem;
  }

  .bento-tagline {
    font-size: 0.75rem;
  }

  .bento-label {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  .bento-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .bento-stat {
    font-size: 1.5rem;
  }

  .bento-icon-card {
    padding: 1rem;
  }

  .bento-cta-card {
    padding: 1.2rem;
  }

  .bento-list li {
    font-size: 0.75rem;
    padding: 0.3rem 0 0.3rem 1rem;
  }

  .bento-contact-info {
    font-size: 0.75rem;
  }

  .palette-dots .dot {
    width: 28px;
    height: 28px;
  }

  .bento-carousel {
    min-height: 180px;
  }
}

/* ====== ABOUT MODAL ====== */
.about-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 31, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.about-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.about-modal {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.about-modal-overlay.active .about-modal {
  transform: translateY(0) scale(1);
}

/* Close Button */
.about-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--dark);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
  line-height: 1;
}

.about-modal-close:hover {
  background: var(--green-lime);
  transform: rotate(90deg);
}

/* Modal Header */
.about-modal-header {
  padding: 3rem 2.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../assets/images/visual/abc-visuel-0026.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.about-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-modal-subtitle {
  font-size: 0.95rem;
  color: #ddd;
  font-weight: 500;
  font-style: italic;
}

/* Tab Navigation */
/* Tab Navigation */
.about-tabs {
  display: flex;
  gap: 8px;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid #eee;
  background: #fff;
  flex-wrap: wrap;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 5;
}

.about-tab {
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #f4f4f4;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-tab:hover {
  background: #e9e9e9;
  color: var(--dark);
  transform: translateY(-1px);
}

.about-tab.active {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--dark);
}

/* Tab Content */
.about-tab-content {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.about-tab-pane {
  display: none;
  animation: fadeTabIn 0.3s ease;
}

.about-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeTabIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab inner typography */
.about-tab-pane h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-tab-pane p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.about-tab-pane strong {
  color: var(--dark);
}

/* Domain blocks */
/* Domain blocks */
.about-domain-block {
  padding: 2rem;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  border-left: 5px solid var(--green-lime);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.about-domain-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.about-domain-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.about-domain-tagline {
  font-size: 0.8rem !important;
  font-weight: 700;
  color: var(--green-dark) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem !important;
}

.about-tab-pane ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.about-tab-pane li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.about-tab-pane li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 900;
}

/* Why grid */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.about-why-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--green-lime);
}

.about-why-icon {
  font-size: 2.5rem;
  display: inline-block;
  margin-bottom: 1rem;
  background: #f4fcf6;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
}

.about-why-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.about-why-item p {
  font-size: 0.9rem !important;
  color: #666 !important;
  line-height: 1.5 !important;
}

/* Contact cards */
.about-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-contact-item {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.about-contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--blue-dark);
}

.about-contact-item span {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  margin-bottom: 0.5rem;
}

.about-contact-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.about-contact-item p {
  font-size: 0.85rem !important;
  color: var(--dark) !important;
  font-weight: 600;
  margin-bottom: 0 !important;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .about-modal-overlay {
    padding: 1rem 0.5rem;
    align-items: center;
  }

  .about-modal {
    max-height: 90vh;
    border-radius: 16px;
  }

  .about-modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .about-modal-header {
    padding: 1.5rem 1.5rem 0.8rem;
  }

  .about-modal-header h2 {
    font-size: 1.4rem;
  }

  .about-tabs {
    padding: 0.8rem 1rem;
    gap: 4px;
  }

  .about-tab {
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  .about-tab-content {
    padding: 1.2rem;
  }

  .about-why-grid,
  .about-contact-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .about-why-item {
    padding: 1.5rem 1rem;
  }

  .about-contact-item {
    padding: 1.5rem;
  }

  .about-domain-block {
    padding: 1.2rem;
  }

  .about-tab-pane h3 {
    font-size: 1.1rem;
  }

  .about-tab-pane p {
    font-size: 0.85rem;
  }


  .about-modal-close {
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
}

/* Extra small screens - Bento grid */
@media (max-width: 480px) {
  .bento-hero-section {
    padding-top: 120px;
  }

  .bento-grid {
    gap: 8px;
  }

  .bento-text-card {
    padding: 1.2rem;
  }

  .bento-text-card h1 {
    font-size: 1.6rem;
  }

  .bento-text-card h2 {
    font-size: 1.3rem;
  }

  .bento-text-card p {
    font-size: 0.8rem;
  }

  .bento-img-card {
    min-height: 160px;
  }

  .bento-card {
    border-radius: 14px;
  }

  .bento-icon-card {
    padding: 1rem;
  }

  .bento-cta-card {
    padding: 1.2rem;
  }

  .bento-stat {
    font-size: 1.8rem;
  }
}

/* ====== NEW ICON STYLES (Replaces Emojis) ====== */

.bento-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.icon-inline {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.domain-icon {
  width: 30px;
  height: 30px;
  margin-right: 6px;
  vertical-align: -0.05em;
  display: inline-block;
}

.about-why-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #f4fcf6;
  border-radius: 50%;
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease;
}

.about-why-item:hover .about-why-icon-wrapper {
  transform: scale(1.1);
}

.why-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contact-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 0.3rem;
}

.contact-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.about-contact-item:hover .contact-icon-img {
  transform: scale(1.1);
}