/* ============================
   Global Styles & Variables
   ============================ */
:root {
  --primary: #d4a853;
  --primary-dark: #b8923e;
  --dark: #0a0f1c;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --text-light: #f3f4f6;
  --text-muted: #9ca3af;
  --gradient-gold: linear-gradient(135deg, #d4a853 0%, #f0c96b 100%);
  --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection {
  background-color: var(--primary);
  color: #000;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ============================
   Header / Navigation
   ============================ */
#main-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

#main-header.scrolled {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

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

.cta-btn {
  background: var(--gradient-gold);
  color: #000;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 168, 83, 0.5);
}

.mobile-menu {
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

/* ============================
   Language Switcher
   ============================ */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  list-style: none;
  user-select: none;
}

.lang-switcher-btn::-webkit-details-marker {
  display: none;
}

.lang-switcher-btn::marker {
  content: '';
}

.lang-switcher-btn:hover,
.lang-switcher[open] .lang-switcher-btn {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(212, 168, 83, 0.08);
}

.lang-switcher .lang-flag {
  font-size: 15px;
  line-height: 1;
}

.lang-switcher .lang-chevron {
  font-size: 10px;
  opacity: 0.65;
  transition: transform 0.25s ease;
}

.lang-switcher[open] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}

.lang-switcher[open] .lang-dropdown {
  animation: langDropdownIn 0.22s ease forwards;
}

@keyframes langDropdownIn {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
  background: rgba(212, 168, 83, 0.1);
  color: var(--primary);
}

.lang-option.active {
  background: rgba(212, 168, 83, 0.14);
  color: var(--primary);
}

.lang-option .lang-flag {
  font-size: 19px;
  flex-shrink: 0;
}

.lang-option-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex: 1;
}

.lang-option-text strong {
  font-size: 13.5px;
  font-weight: 700;
}

.lang-option-text small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.lang-option.active .lang-option-text small {
  color: var(--primary);
  opacity: 0.75;
}

.lang-check {
  font-size: 11px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Mobile menu: compact row of language buttons */
.lang-mobile-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-mobile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.lang-mobile-btn .lang-flag {
  font-size: 15px;
}

.lang-mobile-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-mobile-btn.active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #000;
}

/* ============================
   Buttons
   ============================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-gold);
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================
   Hero Section
   ============================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://khaledmgroup.com/eeg/img/0125w.jpg?w=1920&h=1080&fit=crop') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 15, 28, 0.9) 0%,
    rgba(10, 15, 28, 0.7) 50%,
    rgba(10, 15, 28, 0.95) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 13px;
  margin: 0 auto;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes wheelScroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* ============================
   Page Hero (Sub Pages)
   ============================ */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=600&fit=crop') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================
   Stats Section
   ============================ */
.stats-section {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
  padding: 4rem 0;
  border-top: 1px solid rgba(212, 168, 83, 0.1);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-number::after {
  content: '+';
}

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

/* ============================
   Sections Common
   ============================ */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================
   Service Cards
   ============================ */
.service-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-link {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.service-cta-card {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.1) 0%, rgba(212, 168, 83, 0.05) 100%);
  border-color: rgba(212, 168, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   Service Detail Page
   ============================ */
.service-detail {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.service-nav-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.service-nav-btn:hover,
.service-nav-btn.active {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================
   Feature Cards
   ============================ */
.feature-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-gold);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================
   Project Cards (Home)
   ============================ */
.project-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-3);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.project-category {
  background: var(--gradient-gold);
  color: #000;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================
   Portfolio Grid
   ============================ */
.portfolio-item {
  transition: all 0.4s ease;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.portfolio-zoom {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-zoom:hover {
  transform: scale(1.1);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-cat {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.portfolio-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Filter Buttons */
.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
}

/* ============================
   Testimonials
   ============================ */
.testimonial-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 3px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-author span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================
   About Page - Vision Cards
   ============================ */
.vision-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
}

.vision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.vision-icon {
  width: 70px;
  height: 70px;
  background: rgba(212, 168, 83, 0.1);
  border: 2px solid rgba(212, 168, 83, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.mission-icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

/* Value Cards */
.value-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
}

/* Team Cards */
.team-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow-gold);
}

/* Timeline */
.timeline {
  position: relative;
  padding-right: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(212, 168, 83, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-right: 2rem;
}

.timeline-dot {
  position: absolute;
  right: -2.55rem;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--gradient-gold);
  border-radius: 50%;
  border: 3px solid var(--dark-2);
  box-shadow: 0 0 15px rgba(212, 168, 83, 0.3);
}

.timeline-content {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
}

.timeline-year {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* About Image Grid */
.about-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 1rem;
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.05) 0%, rgba(212, 168, 83, 0.02) 100%);
  border-top: 1px solid rgba(212, 168, 83, 0.1);
  padding: 5rem 0;
}

.contact-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 0;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-right: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient-gold);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================
   Back to Top
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 168, 83, 0.5);
}

/* ============================
   Animations
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Content Animation */
.hero-content {
  animation: fadeInUp 1s ease forwards;
}

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

/* Particle Animation */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.15);
  animation: floatParticle linear infinite;
  pointer-events: none;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: 100svh;
  }

  .page-hero {
    padding: 8rem 0 3rem;
    min-height: 300px;
  }

  .timeline {
    padding-right: 2rem;
  }

  .timeline-dot {
    right: -1.8rem;
  }

  .timeline-item {
    padding-right: 1rem;
  }

  .stats-section .grid {
    gap: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .cta-section {
    padding: 3rem 0;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .service-nav-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}
