/* ==========================================================================
   ARJYO INTERIOR DESIGN - Design System
   Premium Interior Design Website Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Arjyo Luxury Palette */
  --color-primary: #1a2744;
  --color-primary-light: #253352;
  --color-accent: #c9a962;
  --color-accent-dark: #b8954d;
  --color-accent-light: #d4b876;

  /* Neutrals */
  --color-white: #ffffff;
  --color-cream: #f8f9fa;
  --color-ivory: #f0f2f5;
  --color-warm-grey: #e1e5eb;
  --color-text: #1a2744;
  --color-text-light: #4a5568;
  --color-text-muted: #718096;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1400px;
  --container-narrow: 1000px;
  --header-height: 100px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;

  /* Fluid Typography - Auto-scales between min and max based on viewport */
  --fluid-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fluid-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --fluid-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --fluid-lg: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --fluid-xl: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --fluid-2xl: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  --fluid-3xl: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  --fluid-4xl: clamp(1.75rem, 1.2rem + 2.75vw, 3rem);
  --fluid-5xl: clamp(2rem, 1.3rem + 3.5vw, 4rem);

  /* Fluid Spacing */
  --fluid-space-sm: clamp(0.75rem, 0.5rem + 1.25vw, 1.5rem);
  --fluid-space-md: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  --fluid-space-lg: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  --fluid-space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

/* --------------------------------------------------------------------------
   CSS Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Disable smooth scroll for better performance */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

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

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}

.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Section Titles */
.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
}

.section-description {
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-12);
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-16) 0;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

/* --------------------------------------------------------------------------
   Buttons - Premium Modern Design
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-10);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

/* Shine effect on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

/* Primary Button - Rich Gold/Amber Gradient */
.btn-primary {
  background: linear-gradient(135deg, #d4a84b 0%, #b8934a 50%, #a07b3a 100%);
  color: #1a2744;
  box-shadow:
    0 4px 15px rgba(201, 169, 98, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e6b85c 0%, #c9a35a 50%, #b08b4a 100%);
  transform: translateY(-3px);
  box-shadow:
    0 8px 25px rgba(201, 169, 98, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201, 169, 98, 0.4);
}

/* Outline Button - Navy with Gold Border */
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #1a2744 0%, #263654 100%);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 39, 68, 0.35);
  border-color: transparent;
}

/* Light Outline Button - For Dark Backgrounds */
.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--color-white);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Large Button */
.btn-lg {
  padding: var(--space-5) var(--space-12);
  font-size: var(--text-base);
  border-radius: 50px;
}

/* Glow effect for hero CTA */
.btn-glow {
  animation: buttonGlow 2.5s ease-in-out infinite;
}

@keyframes buttonGlow {

  0%,
  100% {
    box-shadow:
      0 4px 15px rgba(201, 169, 98, 0.35),
      0 0 20px rgba(201, 169, 98, 0.2);
  }

  50% {
    box-shadow:
      0 4px 20px rgba(201, 169, 98, 0.5),
      0 0 35px rgba(201, 169, 98, 0.35);
  }
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition-base);
}

.header.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
  color: var(--color-text);
}

.header.scrolled .logo {
  color: var(--color-primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-white);
  transition: var(--transition-base);
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(201, 169, 98, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-text .logo-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.header.scrolled .logo {
  color: var(--color-primary);
}

.header.scrolled .logo-img {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 98, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-base);
}

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

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-base);
}

.header.scrolled .menu-toggle span {
  background-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: 80px;
  background-color: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.8;
  animation: kenBurns 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Ken Burns slow zoom/pan effect */
@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0);
  }

  100% {
    transform: scale(1.15) translateX(-3%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(26, 39, 68, 0.5) 0%,
      rgba(26, 39, 68, 0.7) 50%,
      rgba(26, 39, 68, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  font-weight: 500;
}

/* Company Name */
.hero-company-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeSlideUp 1s ease-out 0.3s both;
}

/* Gold underline accent */
.hero-company-name::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: lineReveal 0.8s ease-out 1s forwards;
}

@keyframes lineReveal {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Styled Slogan */
.hero-slogan {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  margin-top: var(--space-2);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeSlideUp 1s ease-out 0.5s both;
}

.hero-slogan span {
  color: var(--color-accent);
  font-weight: 700;
  text-shadow: 0 0 30px rgba(201, 169, 98, 0.6);
}

@keyframes sloganReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.2em;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.08em;
  }
}

.hero-title {
  font-size: var(--text-6xl);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--color-accent);
  font-style: italic;
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}

/* Hero Text Animations */
.hero-subtitle {
  animation: fadeSlideUp 1s ease-out 0.3s both;
}

.hero-title {
  animation: fadeSlideUp 1s ease-out 0.6s both;
}

.hero-description {
  animation: fadeSlideUp 1s ease-out 0.9s both;
}

.hero-buttons {
  animation: fadeSlideUp 1s ease-out 1.2s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Subtle Interactive Ambient Canvas */
.hero-ambient-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ========== IMMERSIVE HERO SECTION - 2026 LAUNCH ========== */

/* Immersive Hero Container */
.hero-immersive {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-immersive .hero-bg img {
  opacity: 0.4;
  filter: saturate(1.1) brightness(0.9);
}

/* Enhanced Overlay for Immersive Effect */
.hero-overlay-immersive {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom,
      rgba(26, 39, 68, 0.2) 0%,
      rgba(26, 39, 68, 0.35) 40%,
      rgba(26, 39, 68, 0.6) 80%,
      rgba(26, 39, 68, 0.95) 100%);
}

/* Ambient Light Orbs */
.hero-ambient-lights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.ambient-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.ambient-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.3) 0%, transparent 70%);
  bottom: 20%;
  left: -80px;
  animation-delay: -7s;
  animation-duration: 25s;
}

.ambient-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: -14s;
  animation-duration: 18s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  25% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 0.35;
  }

  75% {
    transform: translate(40px, 10px) scale(1.05);
    opacity: 0.45;
  }
}

/* Immersive Content Container */
.hero-content-immersive {
  max-width: 1000px;
}

/* Launch Badge */
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.15) 0%, rgba(201, 169, 98, 0.05) 100%);
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 50px;
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

.launch-icon {
  color: var(--color-accent);
  font-size: 0.875rem;
  animation: iconSpin 8s linear infinite;
}

.launch-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(201, 169, 98, 0.4);
  }
}

@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Extra Large Company Name */
.hero-company-name-xl {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(201, 169, 98, 0.3),
    0 0 120px rgba(201, 169, 98, 0.2);
}

/* Larger Slogan */
.hero-slogan-lg {
  font-size: 2.8rem;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

/* Hero Divider */
.hero-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: var(--space-6) auto;
  position: relative;
}

.hero-divider::before {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-accent);
  font-size: 0.625rem;
  background: var(--color-primary);
  padding: 0 var(--space-2);
}

/* Immersive Description */
.hero-description-immersive {
  font-size: 1.25rem;
  max-width: 650px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Glowing Button */
.btn-glow {
  animation: buttonGlow 2.5s ease-in-out infinite;
}

@keyframes buttonGlow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
  }

  50% {
    box-shadow: 0 4px 40px rgba(201, 169, 98, 0.7), 0 0 60px rgba(201, 169, 98, 0.3);
  }
}

/* Animation Delays for Immersive */
.fade-in.delay-4 {
  animation-delay: 1.5s;
}

/* ========== RESPONSIVE IMMERSIVE HERO ========== */

@media (max-width: 1024px) {
  .hero-company-name-xl {
    font-size: 4.5rem;
  }

  .hero-slogan-lg {
    font-size: 2.2rem;
  }

  .ambient-orb-1 {
    width: 300px;
    height: 300px;
  }

  .ambient-orb-2 {
    width: 200px;
    height: 200px;
  }

  .ambient-orb-3 {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .hero-company-name-xl {
    font-size: 3rem;
  }

  .hero-slogan-lg {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
  }

  .launch-badge {
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-6);
  }

  .launch-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }

  .hero-description-immersive {
    font-size: 1rem;
  }

  .hero-divider {
    width: 80px;
    margin: var(--space-4) auto;
  }

  .ambient-orb {
    filter: blur(60px);
    opacity: 0.3;
  }

  .ambient-orb-1 {
    width: 200px;
    height: 200px;
  }

  .ambient-orb-2,
  .ambient-orb-3 {
    width: 150px;
    height: 150px;
  }

  /* Make header logo smaller on mobile */
  .logo-img {
    width: 50px;
    height: 50px;
  }

  .logo-text .logo-name {
    font-size: 1.1rem;
  }

  .logo-text .logo-tagline {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .hero-company-name-xl {
    font-size: 2.4rem;
  }

  .hero-slogan-lg {
    font-size: 1.2rem;
  }

  .launch-badge {
    padding: var(--space-2) var(--space-3);
  }

  .launch-icon {
    font-size: 0.625rem;
  }

  .launch-text {
    font-size: 0.625rem;
  }
}

/* Keep particles for backwards compatibility */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: floatParticle 15s ease-in-out infinite;
  opacity: 0.4;
}

.hero-particles span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.hero-particles span:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
  animation-duration: 18s;
  width: 4px;
  height: 4px;
}

.hero-particles span:nth-child(3) {
  left: 35%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.hero-particles span:nth-child(4) {
  left: 50%;
  animation-delay: 1s;
  animation-duration: 16s;
  width: 8px;
  height: 8px;
}

.hero-particles span:nth-child(5) {
  left: 65%;
  animation-delay: 3s;
  animation-duration: 20s;
}

.hero-particles span:nth-child(6) {
  left: 80%;
  animation-delay: 5s;
  animation-duration: 13s;
  width: 5px;
  height: 5px;
}

.hero-particles span:nth-child(7) {
  left: 90%;
  animation-delay: 2.5s;
  animation-duration: 17s;
}

@keyframes floatParticle {

  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  background-color: var(--color-white);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ivory);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  font-size: var(--text-3xl);
}

.service-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.service-description {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Featured Projects
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-card.large {
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(26, 26, 26, 0.9) 0%,
      rgba(26, 26, 26, 0.4) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
  opacity: 0;
  transition: var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.project-title {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-link svg {
  transition: var(--transition-base);
}

.project-link:hover svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats {
  background-color: var(--color-primary);
  padding: var(--space-10) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  padding: var(--space-6);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  background-color: var(--color-ivory);
  padding: var(--space-12) 0;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-track-wrapper {
  flex: 1;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-6) var(--space-8);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.6;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.testimonial-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: var(--color-primary);
}

.carousel-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* Carousel Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
  background: var(--color-accent);
  width: 24px;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: var(--space-16) 0;
  background-color: var(--color-primary);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-full);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.cta-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-top: var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer links wrapper - spans 2 columns on desktop, becomes grid on mobile */
.footer-links-wrapper {
  display: contents;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-white);
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.footer-logo span {
  color: var(--color-white);
}

.footer-tagline {
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.footer-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-6);
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Page Headers (Inner Pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-16);
  background-color: var(--color-primary);
  text-align: center;
}

.page-header-title {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.page-header-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: var(--space-6);
}

.about-content p {
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
}

.team-image {
  position: relative;
  margin-bottom: var(--space-5);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.team-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: var(--transition-base);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

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

.team-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  transition: var(--transition-base);
}

.team-social a:hover {
  background-color: var(--color-accent);
}

.team-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.team-role {
  color: var(--color-accent);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Services Page
   -------------------------------------------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--color-warm-grey);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even)>* {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}

.service-detail-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-light);
}

.service-features li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-warm-grey));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-accent);
}

.process-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.process-description {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Portfolio Page
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  background-color: transparent;
  border: 1px solid var(--color-warm-grey);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.portfolio-item-title {
  font-size: var(--text-xl);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.contact-info p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ivory);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.contact-item-text p {
  margin: 0;
  color: var(--color-text-light);
}

.contact-item-text a {
  color: var(--color-accent);
}

.contact-item-text a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background-color: var(--color-white);
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.contact-form>p {
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  border: 1px solid var(--color-warm-grey);
  border-radius: var(--radius-sm);
  background-color: var(--color-cream);
  transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* Google Maps */
.map-container {
  margin-top: var(--space-16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--text-3xl);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-base);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* --------------------------------------------------------------------------
   Animations - Disabled for Performance
   Content displays immediately without scroll-triggered animations
   -------------------------------------------------------------------------- */
.fade-in,
.fade-in-left,
.fade-in-right,
.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Staggered animation delays - disabled */
.delay-1,
.delay-2,
.delay-3,
.delay-4 {
  transition-delay: 0s !important;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }

  .process-grid::before {
    display: none;
  }

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

@media (max-width: 992px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-row: auto;
    aspect-ratio: 4/3;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-image::after {
    display: none;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 1.75rem;
    --text-5xl: 2rem;
    --text-6xl: 2.25rem;
    --space-24: 2.5rem;
    --space-20: 2rem;
    --space-16: 1.5rem;
    --space-12: 1rem;
    --space-10: 0.875rem;
    --space-8: 0.75rem;
  }

  /* Reduce hero height on mobile - show more content */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 2rem;
  }

  .hero-immersive {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-company-name {
    font-size: 2.2rem;
  }

  .hero-slogan {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .stats {
    padding: var(--space-6) 0;
  }

  .stat-item {
    padding: var(--space-2);
    border-bottom: none;
  }

  .stat-number {
    font-size: var(--text-lg);
  }

  .stat-label {
    font-size: var(--text-xs);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    gap: var(--space-2);
  }

  .filter-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .footer {
    padding-top: var(--space-6);
  }

  /* Mobile footer layout - Quick Links and Services side by side */
  .footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .footer-brand {
    max-width: 100%;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-2);
  }

  .footer-brand .footer-description {
    font-size: var(--text-xs);
    line-height: 1.6;
    margin-bottom: var(--space-4);
  }

  .footer-social {
    gap: var(--space-2);
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .footer-title {
    font-size: var(--text-xs);
    margin-bottom: var(--space-3);
  }

  .footer-links {
    gap: var(--space-2);
  }

  .footer-links a {
    font-size: var(--text-xs);
  }

  .footer-contact-item {
    font-size: var(--text-xs);
    gap: var(--space-2);
  }

  .footer-contact-item svg {
    width: 14px;
    height: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
    padding: var(--space-4) 0;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: var(--space-4);
    right: var(--space-4);
    font-size: var(--text-2xl);
  }

  /* About section - more compact */
  .about-intro {
    gap: var(--space-6);
  }

  /* Projects grid - reduced gap */
  .projects-grid {
    gap: var(--space-3);
  }

  .project-card {
    aspect-ratio: 16/9;
  }

  /* Testimonials - compact */
  .testimonials {
    padding: var(--space-8) 0;
  }

  .testimonial-carousel {
    flex-direction: column;
    gap: var(--space-4);
  }

  /* Hide carousel buttons on mobile - use dots instead */
  .carousel-btn {
    display: none;
  }

  .testimonial-card {
    padding: var(--space-4) var(--space-3);
  }

  .testimonial-quote {
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
  }

  /* Hide the decorative quote mark on mobile */
  .testimonial-quote::before {
    display: none;
  }

  /* Make dots larger and easier to tap on mobile */
  .testimonial-dots {
    margin-top: var(--space-4);
    gap: var(--space-3);
  }

  .testimonial-dots .dot {
    width: 12px;
    height: 12px;
  }

  .testimonial-dots .dot.active {
    width: 28px;
  }

  /* Section titles - tighter spacing */
  .section-title {
    margin-bottom: var(--space-4);
  }

  .section-description {
    margin-bottom: var(--space-6);
  }

  /* Service cards - compact */
  .service-card {
    padding: var(--space-4);
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: var(--space-3);
  }
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-primary);
  padding: var(--space-20) var(--space-8);
  z-index: 1000;
  transition: var(--transition-base);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-nav-link {
  font-size: var(--text-xl);
  color: var(--color-white);
  font-weight: 500;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
  color: var(--color-accent);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: var(--color-white);
  font-size: var(--text-2xl);
}

/* Extra Small Screens (under 480px) */
@media (max-width: 480px) {
  :root {
    --text-3xl: 1.5rem;
    --text-4xl: 1.75rem;
    --text-5xl: 2rem;
    --text-6xl: 2.25rem;
    --space-16: 3rem;
    --space-12: 2rem;
    --header-height: 60px;
  }

  .container {
    padding: 0 var(--space-3);
  }

  .section {
    padding: var(--space-12) 0;
  }

  /* Hero adjustments */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 var(--space-3);
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-4);
  }

  .hero-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }

  .hero-buttons .btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-xs);
  }

  .hero-scroll {
    display: none;
  }

  /* Logo */
  .logo {
    font-size: var(--text-xl);
  }

  /* Section titles */
  .section-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
  }

  .section-subtitle {
    font-size: var(--text-xs);
    margin-bottom: var(--space-2);
  }

  .section-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
  }

  /* Services */
  .service-card {
    padding: var(--space-6);
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: var(--space-4);
  }

  .service-title {
    font-size: var(--text-lg);
  }

  .service-description {
    font-size: var(--text-sm);
  }

  /* Stats */
  .stat-number {
    font-size: var(--text-3xl);
  }

  .stat-label {
    font-size: var(--text-xs);
  }

  .stat-item {
    padding: var(--space-3);
  }

  /* Portfolio */
  .portfolio-item {
    aspect-ratio: 16/12;
  }

  .portfolio-item-title {
    font-size: var(--text-lg);
  }

  .portfolio-filters {
    padding: 0 var(--space-2);
  }

  .filter-btn {
    padding: var(--space-2) var(--space-3);
    font-size: 0.65rem;
  }

  /* Page headers */
  .page-header {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-10);
  }

  .page-header-title {
    font-size: var(--text-3xl);
  }

  .page-header-subtitle {
    font-size: var(--text-sm);
  }

  /* Contact form */
  .contact-form {
    padding: var(--space-6);
  }

  .contact-form h3 {
    font-size: var(--text-xl);
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: var(--space-3);
    font-size: var(--text-sm);
  }

  /* CTA - More compact on mobile */
  .cta-section {
    padding: var(--space-8) 0;
  }

  .cta-title {
    font-size: var(--text-2xl);
  }

  .cta-description {
    font-size: var(--text-sm);
  }

  /* Footer - Extra compact */
  .footer {
    padding-top: var(--space-8);
  }

  .footer-grid {
    gap: var(--space-4);
  }

  .footer-brand {
    padding-bottom: var(--space-3);
  }

  .footer-logo {
    font-size: var(--text-lg);
    gap: var(--space-2);
    margin-bottom: var(--space-2);
  }

  .footer-logo-img {
    width: 32px;
    height: 32px;
  }

  .footer-tagline {
    font-size: 0.65rem;
    margin-bottom: var(--space-2);
  }

  .footer-description {
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: var(--space-3);
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-title {
    font-size: 0.65rem;
    margin-bottom: var(--space-2);
  }

  .footer-links {
    gap: var(--space-1);
  }

  .footer-links a {
    font-size: 0.7rem;
  }

  .footer-contact-item {
    font-size: 0.7rem;
    margin-bottom: var(--space-2);
  }

  .footer-bottom {
    font-size: 0.65rem;
    padding: var(--space-3) 0;
    gap: var(--space-2);
  }

  /* Testimonials */
  .testimonial-quote {
    font-size: var(--text-lg);
  }

  .testimonial-quote::before {
    display: none;
  }

  /* Team */
  .team-name {
    font-size: var(--text-lg);
  }

  .team-role {
    font-size: var(--text-xs);
  }

  /* Process */
  .process-number {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }

  .process-title {
    font-size: var(--text-lg);
  }

  .process-description {
    font-size: var(--text-xs);
  }

  /* About */
  .about-content h2 {
    font-size: var(--text-2xl);
  }

  .about-content p {
    font-size: var(--text-base);
  }

  /* Buttons */
  .btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-xs);
  }

  .btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-sm);
  }

  /* WhatsApp */
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    font-size: var(--text-xl);
  }

  /* Mobile nav */
  .mobile-nav {
    max-width: 100%;
    padding: var(--space-16) var(--space-6);
  }

  .mobile-nav-link {
    font-size: var(--text-lg);
  }
}

/* Large Desktop Styles */
@media (min-width: 1024px) {
  .hero-company-name {
    font-size: 2.5rem;
  }

  .hero-slogan {
    font-size: 1.2rem;
  }
}

/* Print Styles */
@media print {

  .header,
  .footer,
  .whatsapp-btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-8) 0;
  }

  .section {
    padding: var(--space-8) 0;
  }
}

/* ==========================================================================
   Universal Responsive Design System
   Works on all devices from 320px to 4K displays
   ========================================================================== */

/* Safe Area Insets for notched devices (iPhone X, etc.) */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(var(--space-4), env(safe-area-inset-left));
    padding-right: max(var(--space-4), env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(var(--space-8), env(safe-area-inset-bottom));
  }
}

/* Universal Image Responsiveness */
img,
video,
picture,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fluid Container System */
.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

/* Touch-friendly tap targets (minimum 44x44px) */
@media (pointer: coarse) {

  .btn,
  .nav-link,
  .mobile-nav-link {
    min-height: 44px;
    min-width: 44px;
  }

  .btn {
    padding: var(--space-4) var(--space-8);
  }

  /* Keep dots small - they have adequate spacing around them */
  .testimonial-dots .dot {
    min-height: auto;
    min-width: auto;
    width: 12px;
    height: 12px;
  }

  .testimonial-dots .dot.active {
    width: 28px;
  }
}

/* Responsive Typography Scale */
h1,
.h1 {
  font-size: var(--fluid-5xl);
}

h2,
.h2 {
  font-size: var(--fluid-4xl);
}

h3,
.h3 {
  font-size: var(--fluid-3xl);
}

h4,
.h4 {
  font-size: var(--fluid-2xl);
}

h5,
.h5 {
  font-size: var(--fluid-xl);
}

h6,
.h6 {
  font-size: var(--fluid-lg);
}

/* Very small screens (320px - 374px) */
@media (max-width: 374px) {
  :root {
    --text-base: 0.875rem;
  }

  .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .btn {
    padding: var(--space-3) var(--space-6);
    font-size: 0.75rem;
  }

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

  .hero-company-name {
    font-size: 1.5rem;
  }

  .hero-slogan {
    font-size: 0.85rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: var(--space-16) 0 var(--space-8);
  }

  .hero-content {
    padding-top: var(--space-8);
  }

  .hero-company-name {
    font-size: 2rem;
  }

  .hero-slogan {
    font-size: 1rem;
  }
}

/* Large screens and 4K */
@media (min-width: 1920px) {
  :root {
    --text-base: 1.1rem;
  }

  .container {
    max-width: 1600px;
  }
}

@media (min-width: 2560px) {
  :root {
    --text-base: 1.2rem;
  }

  .container {
    max-width: 1800px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-text: #000;
    --color-primary: #000;
    --color-accent: #b8860b;
  }

  .btn-primary {
    border: 2px solid #000;
  }
}

/* Dark mode support (optional - can be enabled) */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-cream: #1a1a1a;
    --color-white: #2a2a2a;
    --color-text: #f0f0f0;
  }
}
*/