/* =====================================================
   CLICK MEDIA - Premium Dark Theme Website
   ===================================================== */

:root {
  --primary-bg: #0E0E0E;
  --secondary-bg: #141414;
  --tertiary-bg: #1a1a1a;
  --accent-gold: #FBCB0A;
  --text-white: #FFFFFF;
  --text-gray: #BDBDBD;
  --text-dark-gray: #888888;
  --border-color: #2a2a2a;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-long: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== RESET & BASE ===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================== UTILITIES ===================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gold-text {
  color: var(--accent-gold);
  font-weight: 700;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.3;
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
}

/* ===================== TYPOGRAPHY ===================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

h1 {
  font-size: 64px;
  line-height: 1.2;
}

h2 {
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  border-radius: 2px;
}

h3 {
  font-size: 28px;
}

p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #FDD835);
  color: var(--primary-bg);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 20px rgba(251, 203, 10, 0.25);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FDD835, var(--accent-gold));
  color: var(--primary-bg);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(251, 203, 10, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--primary-bg);
  transform: translateX(5px);
}

.btn-large {
  padding: 16px 48px;
  font-size: 16px;
}

.btn i {
  font-size: 12px;
  transition: var(--transition);
}

.btn:hover i {
  transform: translateX(3px);
}

/* ===================== NAVBAR ===================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.98) 0%, rgba(14, 14, 14, 0.95) 100%);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(251, 203, 10, 0.1);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.99) 0%, rgba(14, 14, 14, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(251, 203, 10, 0.15);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.navbar-logo:hover {
  opacity: 0.9;
}

.navbar-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
}

.navbar-logo i {
  color: var(--accent-gold);
  font-size: 24px;
  animation: pulse 2s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 13px;
  color: var(--text-gray);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(14, 14, 14, 0.98);
    padding: 20px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active {
    max-height: 300px;
  }

  .nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .hamburger {
    display: flex;
  }
}

/* ===================== HERO SECTION ===================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

/* ===================== ADMIN PANEL STYLES ===================== */

.admin-card {
  max-width: 520px;
  margin: 8vh auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 34px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.03);
}

.admin-card h1 { margin: 0 0 14px; font-size: 20px; color: var(--text-white); }
.admin-row { margin: 12px 0; }
.admin-row label { display:block; margin-bottom:8px; font-weight:600; color:var(--text-gray); }
.admin-row input[type="text"], .admin-row input[type="password"], .admin-row input[type="url"], .admin-row textarea {
  width:100%; padding:12px 14px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background:transparent; color:var(--text-white);
}

button[type="submit"]{ display:block; margin-top:14px; width:100%; padding:12px; border-radius:10px; border:none; cursor:pointer; font-weight:700; color:#0e0e0e; background:linear-gradient(90deg,#6b63ff,#9b8bff); box-shadow:0 8px 20px rgba(107,99,255,0.18); }

.admin-help { margin-top:12px; font-size:13px; color:rgba(255,255,255,0.65); }
.admin-help a { color: rgba(255,255,255,0.8); }

.admin-error { background: linear-gradient(180deg,#7a1a1a,#5a0f0f); color:#fff; padding:10px 12px; border-radius:8px; margin-bottom:12px; font-weight:600 }

/* RTL tweaks for admin */
html[dir="rtl"] .admin-card { text-align: right; }
html[dir="rtl"] .admin-row label { text-align: right; }

@media (max-width: 600px) {
  .admin-card { margin: 6vh 16px; padding: 20px; }
  .admin-card h1 { font-size:18px }
}

/* Admin navigation layout */
.admin-layout { display:flex; gap:24px; align-items:flex-start; padding:28px 0 }
.admin-nav { width:220px; flex:0 0 220px }
.admin-nav-inner { position:sticky; top:90px }
.admin-nav .nav-logo { display:block; margin-bottom:18px; color:var(--text-white); font-size:18px }
.admin-nav nav ul { list-style:none }
.admin-nav nav li { margin:10px 0 }
.admin-nav .nav-link { display:block; padding:8px 12px; border-radius:8px; color:var(--text-gray) }
.admin-nav .nav-link:hover, .admin-nav .nav-link.active { background:rgba(255,255,255,0.02); color:var(--text-white) }
.admin-nav .nav-logout { display:block; margin-top:18px; color:var(--text-gray) }
.admin-main { flex:1 }

@media (max-width:900px) {
  .admin-layout { flex-direction:column }
  .admin-nav { width:auto }
  .admin-nav-inner { position:relative; top:0 }
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  line-height: 1.2;
  word-spacing: 100vw;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 50px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Floating Elements */
.hero-float-box {
  position: absolute;
  border: 2px solid rgba(251, 203, 10, 0.2);
  border-radius: 10px;
  z-index: 0;
  opacity: 0.6;
}

.hero-float-box.box-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-float-box.box-2 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-float-box.box-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 8%;
  animation: float 7s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================== SECTION HEADERS ===================== */

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  margin: 0 auto;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 36px;
  }

  .section-header {
    margin-bottom: 60px;
  }
}

/* ===================== ABOUT SECTION ===================== */

.about {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInLeft 0.8s ease-out;
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-gray);
}

.about-paragraph:first-child {
  font-size: 18px;
  color: var(--text-white);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  animation: slideInRight 0.8s ease-out;
}

.stat-card {
  padding: 30px;
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.08), rgba(251, 203, 10, 0.03));
  border: 2px solid rgba(251, 203, 10, 0.2);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 203, 10, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.15), rgba(251, 203, 10, 0.08));
  transform: translateX(8px) translateY(-3px);
  box-shadow: 0 12px 32px rgba(251, 203, 10, 0.12);
}

.stat-card:hover::before {
  left: 100%;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-card {
    padding: 20px;
  }

  .stat-number {
    font-size: 32px;
  }
}

/* ===================== SERVICES SECTION ===================== */

.services {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.service-card {
  padding: 40px;
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--tertiary-bg) 100%);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-long);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 203, 10, 0.1), transparent);
  transition: var(--transition-long);
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(251, 203, 10, 0.1);
  transform: translateY(-10px);
}

.service-icon {
  font-size: 48px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(251, 203, 10, 0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: rgba(251, 203, 10, 0.2);
  transform: scale(1.1);
}

.service-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-white);
}

.service-description {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 25px;
  line-height: 1.8;
}

.service-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-tag {
  font-size: 12px;
  padding: 6px 14px;
  background-color: rgba(251, 203, 10, 0.1);
  color: var(--accent-gold);
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.service-card:hover .feature-tag {
  background-color: var(--accent-gold);
  color: var(--primary-bg);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 30px;
  }
}

/* ===================== PROJECTS SECTION ===================== */

.projects {
  background-color: var(--primary-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  group: hover;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  height: 600px;
}

.project-image {
  width: 100%;
  height: 100%;
  position: relative;
  transition: var(--transition-long);
  background: linear-gradient(135deg, var(--secondary-bg), var(--tertiary-bg));
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.8) 50%, transparent);
  z-index: 2;
  transition: var(--transition);
}

.project-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}

.project-category {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.project-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(251, 203, 10, 0.15);
  transform: translateY(-5px);
}

.project-card:hover .project-image {
  transform: scale(1.08);
}

.project-hover-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(251, 203, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.project-card:hover .project-hover-content {
  opacity: 1;
}

.project-hover-content p {
  text-align: center;
  color: var(--text-white);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card.featured {
    grid-column: span 2;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    height: 250px;
  }

  .project-card.featured {
    grid-column: span 1;
    height: 250px;
  }

  .project-title {
    font-size: 20px;
  }
}

/* ===================== PARTNERS SECTION ===================== */

.partners {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  padding: 60px 0;
}

.partners-slider {
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--tertiary-bg) 100%);
  padding: 40px 0;
  border-radius: 12px;
  border: 1px solid rgba(251, 203, 10, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.partners-track {
  display: flex;
  animation: scroll 50s linear infinite;
  gap: 40px;
}

.partner-logo {
  flex-shrink: 0;
  min-width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.05), rgba(251, 203, 10, 0.02));
  color: var(--text-dark-gray);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.partner-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(251, 203, 10, 0.1), transparent);
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.4s ease;
}

.partner-logo:hover {
  border-color: var(--accent-gold);
  color: var(--text-white);
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.15), rgba(251, 203, 10, 0.08));
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 32px rgba(251, 203, 10, 0.15);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9) brightness(1.05);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.partner-logo:hover img {
  filter: none;
  transform: translateY(-3px) scale(1.02);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 18 - 40px * 18));
  }
}

@media (max-width: 768px) {
  .partner-logo {
    min-width: 150px;
    height: 60px;
    font-size: 10px;
  }
}

/* ===================== CONTACT SECTION ===================== */

.contact {
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--tertiary-bg) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--tertiary-bg) 100%);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-white);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  resize: vertical;
}

.form-input::placeholder {
  color: var(--text-dark-gray);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.03), rgba(251, 203, 10, 0.01));
  box-shadow: 0 0 30px rgba(251, 203, 10, 0.15), inset 0 0 20px rgba(251, 203, 10, 0.05);
  transform: translateY(-2px);
}

.form-input select {
  cursor: pointer;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.15), rgba(251, 203, 10, 0.05));
  border: 2px solid rgba(251, 203, 10, 0.3);
  border-radius: 12px;
  color: var(--accent-gold);
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover .info-icon {
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.25), rgba(251, 203, 10, 0.1));
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(251, 203, 10, 0.15);
}

.info-content h4 {
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.info-content p {
  color: var(--text-gray);
  font-size: 14px;
}

.form-message {
  padding: 15px 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(27, 200, 100, 0.1);
  color: #1bc864;
  border: 1px solid #1bc864;
}

.form-message.error {
  display: block;
  background-color: rgba(220, 50, 50, 0.1);
  color: #dc3232;
  border: 1px solid #dc3232;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    gap: 15px;
  }

  .form-input {
    padding: 14px 16px;
  }

  .contact-info {
    gap: 30px;
  }
}

/* ===================== FOOTER ===================== */

.footer {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--tertiary-bg) 100%);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 20px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section:first-child {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.footer-logo i {
  color: var(--accent-gold);
  font-size: 20px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dark-gray);
  font-style: italic;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-gray);
  position: relative;
  transition: var(--transition);
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-links a:hover::before {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(251, 203, 10, 0.1);
  border-radius: 50%;
  color: var(--accent-gold);
  transition: var(--transition);
  font-size: 16px;
}

.social-icon:hover {
  background-color: var(--accent-gold);
  color: var(--primary-bg);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-dark-gray);
}

.footer-bottom a {
  color: var(--accent-gold);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-section:first-child {
    grid-column: span 2;
  }

  .footer {
    padding: 40px 0 20px;
  }
}

/* ===================== ANIMATIONS ===================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll animations (AOS-like behavior) */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0);
  transition: var(--transition-long);
}

/* ===================== SCROLLBAR ===================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 203, 10, 0.8);
}
/* ===================== RTL SUPPORT (Arabic) ===================== */

html[dir="rtl"] .navbar-container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .lang-switcher {
  margin-right: auto;
  margin-left: 0;
  flex-direction: row-reverse;
}

html[dir="rtl"] .lang-link i {
  margin-left: 4px;
}

html[dir="rtl"] .stat-card {
  border-left: none;
  border-right: 2px solid rgba(251, 203, 10, 0.2);
  text-align: right;
}

html[dir="rtl"] .stat-card:hover {
  transform: translateX(-10px);
}

html[dir="rtl"] .about-content {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-title {
  word-spacing: normal;
}

html[dir="rtl"] .services-grid {
  direction: rtl;
}

html[dir="rtl"] .projects-grid {
  direction: rtl;
}

html[dir="rtl"] .contact-wrapper {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .footer-links a::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .info-item {
  flex-direction: row-reverse;
}

html[dir="rtl"] .project-overlay {
  text-align: right;
}

html[dir="rtl"] .btn {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hamburger {
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .service-card {
  text-align: right;
}

html[dir="rtl"] .section-header {
  text-align: right;
}

html[dir="rtl"] .form-row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .social-icons {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-text {
  text-align: center;
  margin: 0 auto;
}

html[dir="rtl"] [data-aos="fade-left"] {
  transform: translateX(-30px);
}

html[dir="rtl"] [data-aos="fade-right"] {
  transform: translateX(30px);
}

html[dir="rtl"] [data-aos="fade-left"].aos-animate,
html[dir="rtl"] [data-aos="fade-right"].aos-animate {
  transform: translateY(0) translateX(0);
}

html[dir="rtl"] .btn:hover {
  transform: translateX(-5px);
}

html[dir="rtl"] .btn-primary:hover {
  transform: translateX(-5px);
}

html[dir="rtl"] .btn-outline:hover {
  transform: translateX(-5px);
}

html[dir="rtl"] .btn:hover i {
  transform: translateX(-3px);
}

html[dir="rtl"] .feature-tag {
  text-align: center;
}

/* Language Switcher Styles */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.1), rgba(251, 203, 10, 0.05));
  border: 2px solid rgba(251, 203, 10, 0.2);
  border-radius: 50px;
  padding: 8px 12px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switcher:hover {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(251, 203, 10, 0.15), rgba(251, 203, 10, 0.08));
  box-shadow: 0 8px 24px rgba(251, 203, 10, 0.1);
}

.lang-sep {
  color: rgba(251, 203, 10, 0.3);
  margin: 0 8px;
  font-weight: 300;
}

.lang-link {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang-link i {
  font-size: 14px;
  margin-right: 4px;
}

.lang-link.active {
  color: var(--accent-gold);
  background: rgba(251, 203, 10, 0.15);
}

.lang-link:hover:not(.active) {
  color: var(--text-white);
}

.lang-sep {
  color: rgba(251, 203, 10, 0.2);
  margin: 0 4px;
  font-weight: 300;
}
