/* ========================================
   LSCO Company Profile - Design System
   ======================================== */

/* Google Fonts - Neo Sans Arabic alternative */

/* CSS Custom Properties - Official Brand Colors */
:root {
  /* Primary Colors - Pantone 144 C (Gold/Orange) */
  --color-primary-orange: #F3BA00;
  --color-primary-orange-dark: #D4A300;
  --color-primary-orange-light: #FFCF33;

  /* Reference Palette (from provided design) */
  --lsco-ref-navy: #1F2B3E;
  --lsco-ref-blue: #4C789A;
  --lsco-ref-blue-dark: #3F647F;
  --lsco-ref-gold: #C8A872;
  --lsco-ref-gold-dark: #B6894D;
  --lsco-ref-border: #F5F5F5;

  /* Secondary Colors - Pantone 564 C (Teal) */
  --color-steel-blue: #7CBCB9;
  --color-steel-blue-dark: #5A9A97;
  --color-steel-blue-light: #9ED4D1;

  /* Accent Colors - Pantone 1205 C (Light Yellow) */
  --color-gold: #FFE58A;
  --color-gold-dark: #F3BA00;
  --color-gold-light: #FFF3C4;

  /* Tertiary Color - Pantone 484 C (Brick Red) */
  --color-brick-red: #9A2C18;
  --color-brick-red-dark: #7A2010;
  --color-brick-red-light: #B84530;

  /* Neutral Colors - Pantone Black C */
  --color-dark-navy: #1A1A1A;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-100: #F8F9FA;
  --color-gray-200: #E9ECEF;
  --color-gray-300: #DEE2E6;
  --color-gray-400: #CED4DA;
  --color-gray-500: #ADB5BD;
  --color-gray-600: #6C757D;

  /* Typography - Neo Sans Arabic (Tajawal as alternative) */
  --font-arabic: 'Tajawal', sans-serif;
  --font-english: 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--color-white);
  color: var(--color-dark-navy);
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

a {
  color: var(--color-primary-orange);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-primary-orange-dark);
}

:where(a, button, [role="button"], input, textarea, select, summary, .floating-btn, .mobile-menu-btn):focus-visible {
  outline: 3px solid rgba(243, 186, 0, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-dark-navy);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(243, 186, 0, 0.22);
  transform: translateY(-160%);
  transition: transform 200ms ease;
  z-index: 20000;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Section Base */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  color: var(--color-dark-navy);
  position: relative;
  display: inline-block;
  padding-right: var(--space-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary-orange), var(--color-gold));
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Chevron Pattern */
.chevron-pattern {
  display: flex;
  gap: 2px;
  align-items: center;
}

.chevron-pattern span {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--color-primary-orange);
  animation: chevronPulse 1.5s ease-in-out infinite;
}

.chevron-pattern span:nth-child(2) {
  animation-delay: 0.1s;
}

.chevron-pattern span:nth-child(3) {
  animation-delay: 0.2s;
}

.chevron-pattern span:nth-child(4) {
  animation-delay: 0.3s;
}

.chevron-pattern span:nth-child(5) {
  animation-delay: 0.4s;
}

.chevron-pattern span:nth-child(6) {
  animation-delay: 0.5s;
}

.chevron-pattern span:nth-child(7) {
  animation-delay: 0.6s;
}

.chevron-pattern span:nth-child(8) {
  animation-delay: 0.7s;
}

.chevron-pattern.blue span {
  border-left-color: var(--color-steel-blue);
}

.chevron-pattern.gold span {
  border-left-color: var(--color-gold);
}

@keyframes chevronPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

.typing-logo {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.typing-logo::after {
  content: '|';
  display: inline-block;
  margin-inline-start: 0.15em;
  color: var(--lsco-ref-navy);
  opacity: 0;
  animation: typingCaretBlink 0.8s steps(1, end) infinite;
}

.typing-logo.is-typing::after {
  opacity: 1;
  color: var(--lsco-ref-gold-dark);
}

.typing-logo.is-done::after {
  opacity: 0;
}

.hero-logo-text.typing-logo.is-typing {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--color-white);
  color: var(--color-white);
}

.hero-logo-text.typing-logo.is-done {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--color-white);
  color: var(--color-white);
}

.hero-logo-text.typing-logo.is-typing::after {
  color: rgba(255, 255, 255, 0.95);
}

.typing-logo.is-shaking {
  animation: typingLogoShake 140ms ease-out;
}

@keyframes typingCaretBlink {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes typingLogoShake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-0.6px); }
  50% { transform: translateX(0.6px); }
  75% { transform: translateX(-0.4px); }
  100% { transform: translateX(0); }
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top);
  background-color: #FFFFFF;
  background-image: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #F7EAD6 24%,
    #FFFFFF 50%,
    #E6F0F7 76%,
    #FFFFFF 100%
  );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: background-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
  border-bottom: 1px solid var(--lsco-ref-border);
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 120, 154, 0.20), rgba(200, 168, 114, 0.45), rgba(76, 120, 154, 0.20));
  transform: scaleX(0);
  transform-origin: center;
  filter: blur(0.1px);
  opacity: 0.75;
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 300ms ease;
  pointer-events: none;
}

.header.scrolled {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}

.header:hover::after,
.header:focus-within::after {
  transform: scaleX(1);
  opacity: 1;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-family: var(--font-english);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--lsco-ref-gold) 0%, var(--lsco-ref-navy) 46%, var(--lsco-ref-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 2px;
  transition: transform 240ms ease, text-shadow 220ms ease, filter 220ms ease;
}

.logo:hover .logo-text {
  transform: translateY(-1px);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  filter: saturate(1.05);
}

.logo-tagline {
  font-size: 0.75rem;
  color: rgba(31, 43, 62, 0.72);
  border-top: 1px solid var(--lsco-ref-border);
  padding-top: var(--space-xs);
  margin-top: var(--space-xs);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-sm);
  align-items: center;
}

.nav-menu a {
  color: rgba(31, 43, 62, 0.90);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  position: relative;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  box-shadow: none;
  transition: transform 220ms ease, box-shadow 280ms ease, color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--lsco-ref-blue), var(--lsco-ref-gold), var(--lsco-ref-blue));
  transform: scaleX(0);
  transform-origin: right;
  opacity: 0.9;
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 220ms ease;
}

.nav-menu a.active {
  color: var(--lsco-ref-navy);
  background: rgba(248, 248, 248, 0.90);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.nav-menu a:hover:not(.active) {
  color: var(--lsco-ref-navy);
  background: rgba(248, 248, 248, 0.90);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: right;
}

.nav-menu a:active {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: rgba(31, 43, 62, 0.92);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover span {
  background: var(--lsco-ref-gold-dark);
}

.mobile-menu-btn:active {
  filter: drop-shadow(0 0 14px rgba(243, 186, 0, 0.35));
}

.mobile-menu-btn[aria-expanded="true"] span {
  background: var(--lsco-ref-gold-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #000;
  background:
    radial-gradient(1200px 560px at 18% 12%, rgba(243, 186, 0, 0.36), transparent 62%),
    radial-gradient(900px 560px at 85% 18%, rgba(229, 142, 39, 0.18), transparent 60%),
    radial-gradient(1100px 720px at 50% 40%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58) 70%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(90deg, rgba(243, 186, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.08) 55%, rgba(229, 142, 39, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.42) 40%, rgba(0, 0, 0, 0.70) 100%),
    url('assets/hero-bg.png');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 4%;
  width: clamp(84px, 10vw, 140px);
  height: clamp(84px, 10vw, 140px);
  background: rgba(243, 186, 0, 0.14);
  border: 1px solid rgba(255, 229, 138, 0.22);
  clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
  transform: rotate(10deg);
  z-index: 0;
  opacity: 1;
  filter: blur(0.2px);
}

.hero::after {
  content: '';
  position: absolute;
  top: 26%;
  right: 3.5%;
  width: clamp(92px, 11vw, 160px);
  height: clamp(92px, 11vw, 160px);
  background: rgba(243, 186, 0, 0.10);
  border: 1px solid rgba(255, 229, 138, 0.18);
  clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
  transform: rotate(-8deg);
  z-index: 0;
  opacity: 1;
  filter: blur(0.2px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--space-2xl);
}

.hero-logo {
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease;
}

.hero-logo-text {
  font-family: var(--font-english);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 8px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-logo-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary-orange), transparent);
}

.hero-tagline {
  font-size: 1.3rem;
  color: var(--color-gray-200);
  margin-top: var(--space-lg);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-tagline .arabic {
  font-weight: 600;
  color: var(--color-primary-orange);
}

.hero-chevrons {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-gray-100);
  max-width: 600px;
  margin: var(--space-2xl) auto;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  animation: fadeInUp 1s ease 0.8s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-orange), var(--color-primary-orange-dark));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(229, 142, 39, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 142, 39, 0.5);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-steel-blue);
  border: 2px solid var(--color-steel-blue);
}

.btn-secondary:hover {
  background: var(--color-steel-blue);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Geometric Shapes */
.geometric-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.28;
  filter: blur(0.2px);
}

.triangle-blue {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid rgba(124, 188, 185, 0.55);
  opacity: 0.14;
  top: 8%;
  left: -8%;
  transform: rotate(-15deg);
}

.triangle-gold {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid rgba(243, 186, 0, 0.70);
  opacity: 0.16;
  bottom: 18%;
  right: -2%;
  transform: rotate(8deg);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: var(--color-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-content {
  padding-right: var(--space-2xl);
}

.about-content .section-title {
  text-align: right;
}

.about-text-ar {
  font-size: 1.2rem;
  line-height: 2;
  margin-bottom: var(--space-xl);
  color: var(--color-dark-navy);
}

.about-text-ar strong {
  color: var(--color-steel-blue);
  font-weight: 700;
}

.about-text-en {
  font-family: var(--font-english);
  font-size: 1rem;
  color: var(--color-gray-600);
  border-right: 3px solid var(--color-gold);
  padding-right: var(--space-lg);
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision {
  background: linear-gradient(135deg, var(--color-steel-blue) 0%, var(--color-dark-navy) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.vision::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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.vision .section-title {
  color: var(--color-white);
}

.vision .section-title::after {
  background: linear-gradient(180deg, var(--color-primary-orange), var(--color-gold));
}

.vision-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vision-text-ar {
  font-size: 1.4rem;
  line-height: 2;
  margin-bottom: var(--space-2xl);
}

.vision-text-ar strong {
  color: var(--color-gold);
}

.vision-text-en {
  font-family: var(--font-english);
  font-size: 1.1rem;
  opacity: 0.9;
  border-right: 3px solid var(--color-gold);
  padding-right: var(--space-lg);
  text-align: right;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.vision-2030 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  margin-top: var(--space-2xl);
  backdrop-filter: blur(10px);
}

.vision-2030 span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
}

/* ========================================
   MESSAGE SECTION
   ======================================== */
.message {
  background: var(--color-gray-100);
  position: relative;
}

.message-content {
  max-width: 900px;
  margin: 0 auto;
}

.message-text-ar {
  font-size: 1.2rem;
  line-height: 2;
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.message-text-ar strong {
  color: var(--color-steel-blue);
  font-weight: 700;
}

.message-text-en {
  font-family: var(--font-english);
  font-size: 1rem;
  color: var(--color-gray-600);
  border-right: 3px solid var(--color-gold);
  padding-right: var(--space-lg);
  line-height: 1.8;
  text-align: right;
}

/* Values Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.value-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-primary-orange), var(--color-gold));
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.value-card:hover::before {
  height: 100%;
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-steel-blue), var(--color-steel-blue-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
}

.value-card h4 {
  color: var(--color-dark-navy);
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(74, 107, 138, 0.05) 40%, rgba(74, 107, 138, 0.05) 60%, transparent 60%),
    linear-gradient(-135deg, transparent 40%, rgba(201, 168, 108, 0.05) 40%, rgba(201, 168, 108, 0.05) 60%, transparent 60%);
  pointer-events: none;
}

/* 8-Grid Layout for Services */
.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* Numbered Service Card */
.service-card-numbered {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: var(--transition-normal);
  border: 1px solid var(--color-gray-200);
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card-numbered::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-primary-orange));
  transform: scaleX(0);
  transition: var(--transition-normal);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card-numbered:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-steel-blue);
}

.service-card-numbered:hover::before {
  transform: scaleX(1);
}

/* Service Number Circle */
.service-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-steel-blue), var(--color-steel-blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 15px rgba(74, 107, 138, 0.4);
  transition: var(--transition-normal);
}

.service-card-numbered:hover .service-number {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(74, 107, 138, 0.5);
}

/* Service Content */
.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: var(--color-dark-navy);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.service-content .service-en {
  font-family: var(--font-english);
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.service-content p:last-child {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: auto;
}

/* Keep old styles for backward compatibility */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: linear-gradient(135deg, var(--color-gray-100), var(--color-white));
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid var(--color-gray-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-orange), var(--color-gold));
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-steel-blue), var(--color-steel-blue-dark));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 2.5rem;
  color: var(--color-white);
}

.service-card h3 {
  color: var(--color-dark-navy);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--color-gray-600);
  line-height: 1.8;
}

/* Responsive for 8-grid */
@media (max-width: 1200px) {
  .services-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid-8 {
    grid-template-columns: 1fr;
  }

  .service-card-numbered {
    min-height: auto;
    padding: var(--space-lg);
  }
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(255, 229, 138, 0.18), transparent 60%),
    radial-gradient(700px 450px at 85% 25%, rgba(124, 188, 185, 0.20), transparent 60%),
    linear-gradient(135deg, #0F1114 0%, #1A1A1A 55%, #0E1A1A 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(243, 186, 0, 0.08), rgba(255, 229, 138, 0.02), rgba(124, 188, 185, 0.08)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.85;
  pointer-events: none;
}

.portfolio .section-title {
  color: var(--color-white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.portfolio .section-title::after {
  background: linear-gradient(180deg, var(--color-gold), var(--color-primary-orange));
}

.portfolio .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 380ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 300ms ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 229, 138, 0.12);
  position: relative;
  transform: translateY(0);
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-primary-orange), var(--color-steel-blue));
  opacity: 0.95;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(650px 240px at 20% 0%, rgba(255, 229, 138, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 380ms ease;
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  border-color: rgba(124, 188, 185, 0.35);
}

.portfolio-card:hover::after {
  opacity: 1;
}

.portfolio-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(15, 17, 20, 0.88) 100%),
    radial-gradient(420px 220px at 80% 15%, rgba(255, 229, 138, 0.15), transparent 60%);
  opacity: 0.85;
  transition: opacity 380ms ease;
  pointer-events: none;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(15, 17, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(243, 186, 0, 0.10), rgba(124, 188, 185, 0.08));
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity 300ms ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  background: linear-gradient(135deg, var(--color-gold), var(--color-primary-orange));
  color: var(--color-dark-navy);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.portfolio-content {
  padding: var(--space-lg);
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(255, 229, 138, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
}

.portfolio-content h3 {
  color: var(--color-dark-navy);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.portfolio-content p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-image {
    height: 220px;
  }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: linear-gradient(135deg, var(--color-dark-navy), var(--color-steel-blue-dark));
  color: var(--color-white);
}

.contact .section-title {
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info h3 {
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background:
    radial-gradient(900px 240px at 85% 0%, rgba(243, 186, 0, 0.14), transparent 65%),
    radial-gradient(900px 260px at 10% 0%, rgba(124, 188, 185, 0.12), transparent 62%),
    linear-gradient(to left, rgba(243, 186, 0, 0.08) 0%, rgba(0, 0, 0, 0.98) 45%, #000000 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(to left, rgba(243, 186, 0, 0.15), rgba(255, 229, 138, 0.45), rgba(124, 188, 185, 0.35), rgba(243, 186, 0, 0.12));
  opacity: 0.85;
  pointer-events: none;
}

.footer-logo .logo-text {
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  max-width: 34ch;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2xl);
}

.footer-title {
  margin: 0 0 var(--space-md);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.55rem;
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, box-shadow 280ms ease, border-color 220ms ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(243, 186, 0, 0.20);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 26px rgba(243, 186, 0, 0.10);
  transform: translateY(-1px);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.social-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.40);
  transition: transform 240ms ease, box-shadow 280ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-3px) scale(1.03);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(243, 186, 0, 0.30);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.60), 0 0 0 6px rgba(243, 186, 0, 0.14), 0 0 30px rgba(243, 186, 0, 0.16);
}

.social-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.70), 0 0 0 6px rgba(243, 186, 0, 0.18), 0 0 36px rgba(243, 186, 0, 0.20);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-content {
    padding-right: 0;
    order: 1;
  }

  .about-image {
    order: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-desc {
    max-width: 52ch;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header {
    background-color: #FFFFFF;
    background-image: linear-gradient(
      90deg,
      #FFFFFF 0%,
      #F7EAD6 24%,
      #FFFFFF 50%,
      #E6F0F7 76%,
      #FFFFFF 100%
    );
    border-bottom: 1px solid var(--lsco-ref-border);
  }

  .header .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .logo-tagline {
    display: none;
  }

  .logo-text {
    background: linear-gradient(90deg, var(--lsco-ref-gold) 0%, var(--lsco-ref-navy) 46%, var(--lsco-ref-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 1px;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 0s linear 420ms;
    z-index: 999;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease, visibility 0s;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height, 70px);
    left: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-sm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--lsco-ref-border);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.14);
    transform-origin: top;
    transform: translateY(0) scaleY(0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 300ms ease, visibility 0s linear 420ms;
  }

  .nav-menu.active {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 300ms ease, visibility 0s;
  }

  .nav-menu li,
  .nav-menu a {
    width: 100%;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    box-shadow: none;
    color: rgba(31, 43, 62, 0.92);
    background: rgba(248, 248, 248, 0.90);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-actions {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-view {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-view-btn {
    flex: 1 1 0;
    text-align: center;
  }

  .gallery-watermark-btn {
    width: 100%;
  }

  .lightbox-content {
    max-width: 94%;
  }

  .lightbox-ui {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .lightbox-tools {
    width: 100%;
    justify-content: flex-end;
  }

  .hero {
    padding-top: calc(var(--header-height, 70px) + 14px);
    background-attachment: scroll;
    background-position: center 45%;
  }

  .hero-content {
    padding: var(--space-xl);
  }

  .hero-description {
    font-size: 1.05rem;
    margin: var(--space-xl) auto;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }

  .hero-cta .btn {
    width: min(360px, 100%);
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo-text {
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  .lightbox-nav.prev {
    inset-inline-end: 10px;
  }

  .lightbox-nav.next {
    inset-inline-start: 10px;
  }

  .lightbox-tool {
    width: 42px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}

/* ========================================
   Floating Action Buttons
   ======================================== */
.floating-actions-left {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
  position: relative;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

/* WhatsApp Button */
.whatsapp-btn {
  background: #25D366;
}

.whatsapp-btn:hover {
  background: #22c35e;
}

/* Profile Button */
.profile-btn {
  background: var(--color-primary-orange);
}

.profile-btn:hover {
  background: var(--color-primary-orange-dark);
}

/* Scroll Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-steel-blue);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-steel-blue-dark);
  transform: translateY(-5px);
}

/* Tooltips */
.floating-btn .tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  font-family: var(--font-arabic);
}

.legal-page {
  padding-top: calc(var(--header-height, 70px) + var(--space-3xl));
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid rgba(255, 229, 138, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  color: var(--color-dark-navy);
  line-height: 2;
}

.legal-content p {
  margin: 0 0 var(--space-lg);
  color: rgba(8, 26, 36, 0.82);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

/* Adjust tooltip for scroll top button (on right) */
.scroll-top-btn .tooltip {
  left: auto;
  right: 100%;
  transform: translateY(-50%) translateX(-10px);
}

.floating-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(15px);
}

.scroll-top-btn:hover .tooltip {
  transform: translateY(-50%) translateX(-15px);
}

@media (max-width: 768px) {
  .floating-actions-left {
    bottom: 20px;
    left: 20px;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
  }

  .floating-btn .tooltip {
    display: none;
    /* Hide tooltips on mobile */
  }

  .profile-btn .tooltip {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(12px);
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid rgba(243, 186, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(243, 186, 0, 0.10);
  }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(255, 229, 138, 0.35), transparent 60%),
    radial-gradient(760px 520px at 90% 15%, rgba(124, 188, 185, 0.22), transparent 62%),
    linear-gradient(180deg, var(--color-gray-100), rgba(255, 255, 255, 0.9));
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 186, 0, 0.08), rgba(255, 229, 138, 0.03), rgba(124, 188, 185, 0.08)),
    url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cpath d='M0 32h64M32 0v64' stroke='%23000000' stroke-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.9;
}

.gallery .container {
  position: relative;
  z-index: 1;
}

.gallery .section-title::after {
  background: linear-gradient(180deg, var(--color-primary-orange), var(--color-gold));
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: 0 0 var(--space-xl);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.gallery-filter-btn {
  border: 1px solid rgba(243, 186, 0, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(8, 26, 36, 0.88);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 280ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.gallery-filter-btn:hover,
.gallery-filter-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(124, 188, 185, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14), 0 0 0 6px rgba(124, 188, 185, 0.12);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, rgba(243, 186, 0, 0.95), rgba(229, 142, 39, 0.92));
  color: rgba(0, 0, 0, 0.92);
  border-color: rgba(255, 229, 138, 0.45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16), 0 0 0 6px rgba(243, 186, 0, 0.14);
}

.gallery-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}

.gallery-view {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(243, 186, 0, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.gallery-view-btn,
.gallery-watermark-btn {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(8, 26, 36, 0.88);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 280ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.gallery-view-btn:hover,
.gallery-view-btn:focus-visible,
.gallery-watermark-btn:hover,
.gallery-watermark-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(124, 188, 185, 0.40);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12), 0 0 0 6px rgba(124, 188, 185, 0.12);
}

.gallery-view-btn.active {
  background: linear-gradient(135deg, rgba(124, 188, 185, 0.95), rgba(20, 63, 74, 0.92));
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(124, 188, 185, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14), 0 0 0 6px rgba(124, 188, 185, 0.16);
}

.gallery-watermark-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(243, 186, 0, 0.95), rgba(229, 142, 39, 0.92));
  color: rgba(0, 0, 0, 0.92);
  border-color: rgba(255, 229, 138, 0.45);
}

@media (pointer: coarse) {
  .gallery-filter-btn,
  .gallery-view-btn,
  .gallery-watermark-btn,
  .gallery-slideshow-nav,
  .gallery-slideshow-btn,
  .lightbox-nav,
  .lightbox-tool,
  .lightbox-close {
    min-width: 48px;
    min-height: 48px;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  #gallery .animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(243, 186, 0, 0.16);
  transition: transform 380ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 380ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 300ms ease, opacity 260ms ease;
  transform: translateY(0);
  opacity: 1;
}

.gallery-item.is-filtering-out {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
}

.gallery-item[hidden] {
  display: none !important;
}

.gallery-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(243, 186, 0, 0.18);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  color: rgba(8, 26, 36, 0.86);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.gallery-loading[hidden] {
  display: none !important;
}

.gallery-loading-spinner {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 3px solid rgba(31, 43, 62, 0.18);
  border-top-color: var(--lsco-ref-gold-dark);
  animation: gallerySpinner 0.8s linear infinite;
}

.gallery.is-loading .gallery-grid {
  opacity: 0.4;
  filter: saturate(0.96);
}

@keyframes gallerySpinner {
  to {
    transform: rotate(360deg);
  }
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 260px at 20% 0%, rgba(255, 229, 138, 0.20), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 380ms ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  border-color: rgba(124, 188, 185, 0.45);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 380ms ease;
  filter: saturate(1.03) contrast(1.03);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(420px 240px at 80% 18%, rgba(255, 229, 138, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 10%, rgba(15, 17, 20, 0.78) 100%),
    linear-gradient(90deg, rgba(243, 186, 0, 0.12), rgba(124, 188, 185, 0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 2;
  backdrop-filter: blur(3px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay svg {
  color: var(--color-white);
  transform: scale(0.92);
  transition: transform 300ms ease, color 300ms ease;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.gallery-item:hover .gallery-overlay svg {
  transform: scale(1.06);
  color: var(--color-gold);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(243, 186, 0, 0.45);
  outline-offset: 4px;
}

.gallery.watermark-enabled .gallery-item::after {
  content: 'LSCO';
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  font-family: var(--font-english);
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 229, 138, 0.22);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.gallery[data-view="carousel"] .gallery-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: var(--space-lg);
  padding-bottom: 0.4rem;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.gallery[data-view="carousel"] .gallery-item {
  flex: 0 0 clamp(240px, 72vw, 420px);
  scroll-snap-align: center;
}

.gallery-slideshow {
  display: none;
  margin-top: var(--space-xl);
}

.gallery[data-view="slideshow"] .gallery-grid {
  display: none;
}

.gallery[data-view="slideshow"] .gallery-slideshow {
  display: block;
}

.gallery-slideshow-stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(243, 186, 0, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(255, 229, 138, 0.14), transparent 60%),
    radial-gradient(600px 240px at 90% 0%, rgba(124, 188, 185, 0.14), transparent 60%),
    rgba(0, 0, 0, 0.04);
}

.gallery-slideshow-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-slideshow-open img {
  display: block;
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
  filter: saturate(1.03) contrast(1.03);
  transform: scale(1.01);
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 380ms ease;
}

.gallery-slideshow-open:hover img,
.gallery-slideshow-open:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.gallery-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 229, 138, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 280ms ease, border-color 220ms ease;
  z-index: 2;
}

.gallery-slideshow-nav.prev {
  inset-inline-end: 14px;
}

.gallery-slideshow-nav.next {
  inset-inline-start: 14px;
}

.gallery-slideshow-nav:hover,
.gallery-slideshow-nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(124, 188, 185, 0.45);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30), 0 0 0 6px rgba(124, 188, 185, 0.12);
}

.gallery-slideshow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(243, 186, 0, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}

.gallery-slideshow-caption {
  color: rgba(8, 26, 36, 0.86);
  font-weight: 700;
  line-height: 1.6;
}

.gallery-slideshow-controls {
  display: inline-flex;
  gap: var(--space-sm);
  align-items: center;
}

.gallery-slideshow-btn {
  border: 1px solid rgba(124, 188, 185, 0.40);
  background: rgba(124, 188, 185, 0.10);
  color: rgba(8, 26, 36, 0.86);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 280ms ease, background-color 220ms ease, border-color 220ms ease;
}

.gallery-slideshow-btn:hover,
.gallery-slideshow-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(124, 188, 185, 0.16);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12), 0 0 0 6px rgba(124, 188, 185, 0.12);
}

.gallery-slideshow-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(243, 186, 0, 0.95), rgba(229, 142, 39, 0.92));
  border-color: rgba(255, 229, 138, 0.45);
  color: rgba(0, 0, 0, 0.92);
}

.gallery.watermark-enabled .gallery-slideshow-stage::after {
  content: 'LSCO';
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  font-family: var(--font-english);
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 229, 138, 0.22);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(243, 186, 0, 0.12), transparent 60%),
    radial-gradient(800px 520px at 90% 20%, rgba(124, 188, 185, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
  backdrop-filter: blur(6px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 0s;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 300ms ease;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lightbox.active .lightbox-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lightbox-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 229, 138, 0.18);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  will-change: transform;
  transform: translate(0px, 0px) scale(1);
  transform-origin: center;
  cursor: grab;
  user-select: none;
}

.lightbox-media img:active {
  cursor: grabbing;
}

.lightbox-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-xl);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 229, 138, 0.16);
  backdrop-filter: blur(8px);
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 0.95rem;
}

.lightbox-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lightbox-tool {
  width: 44px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(124, 188, 185, 0.35);
  background: rgba(124, 188, 185, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 280ms ease, background-color 220ms ease, border-color 220ms ease;
}

.lightbox-tool:hover,
.lightbox-tool:focus-visible {
  transform: translateY(-1px);
  background: rgba(124, 188, 185, 0.18);
  border-color: rgba(124, 188, 185, 0.55);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30), 0 0 0 6px rgba(124, 188, 185, 0.12);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 229, 138, 0.22);
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 280ms ease, border-color 220ms ease;
  z-index: 10002;
}

.lightbox-nav.prev {
  inset-inline-end: 18px;
}

.lightbox-nav.next {
  inset-inline-start: 18px;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
  background: rgba(0, 0, 0, 0.52);
  border-color: rgba(124, 188, 185, 0.45);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30), 0 0 0 6px rgba(124, 188, 185, 0.12);
}

.lightbox-close {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 12px);
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.1);
  color: var(--color-primary-orange);
}
