/* ==========================================================================
   Hindam Space (مؤسسة هندام سبيس) - Main Stylesheet
   Excellence in Event & Retail Production
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy-900: #071428;
  --navy-800: #0d2244;
  --navy-700: #143362;
  --navy-600: #1d4582;
  --navy-500: #295ca8;
  
  --gold-500: #f5a623;
  --gold-600: #df8f10;
  --gold-400: #fbbd4e;
  --gold-100: #fef5e7;
  --gold-gradient: linear-gradient(135deg, #f5a623 0%, #ffc043 100%);

  /* Neutrals & UI */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-focus: #f5a623;

  /* Elevations */
  --shadow-sm: 0 1px 3px rgba(13, 34, 68, 0.08);
  --shadow-md: 0 4px 12px rgba(13, 34, 68, 0.08);
  --shadow-lg: 0 12px 28px rgba(13, 34, 68, 0.12);
  --shadow-xl: 0 20px 40px rgba(13, 34, 68, 0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-family: var(--font-ar);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* English mode font override */
html[lang="en"] {
  --font-family: var(--font-en);
  direction: ltr;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.topbar {
  background-color: var(--navy-900);
  color: #e2e8f0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-info, .topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.topbar-item .icon {
  width: 14px;
  height: 14px;
  color: var(--gold-400);
}

.topbar-item a:hover {
  color: var(--gold-400);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-switch-btn:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.lang-badge {
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.lang-switch-btn:hover .lang-badge {
  background: var(--navy-900);
  color: #ffffff;
}

/* ==========================================================================
   Main Navbar
   ========================================================================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.98rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold-500);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--gold-600);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--navy-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--navy-800);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 34, 68, 0.25);
}

.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 34, 68, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-800);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-900);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.icon-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

html[dir="rtl"] .icon-arrow {
  transform: rotate(180deg);
}

.btn:hover .icon-arrow {
  transform: translateX(-4px);
}

html[lang="en"] .btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091932 0%, #102a54 60%, #163668 100%);
  color: #ffffff;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(29, 69, 130, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-500);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 0%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-actions .btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-900);
  border: none;
}

.hero-actions .btn-primary:hover {
  filter: brightness(1.05);
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero-actions .btn-outline:hover {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #ffffff;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-400);
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.stat-separator {
  width: 1px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Visual Featured Card */
.hero-visual {
  position: relative;
}

.hero-card-featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.hero-card-featured:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.4);
}

.hero-image-wrapper {
  position: relative;
  background-color: #0b1c36;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.hero-card-featured:hover .hero-img {
  transform: scale(1.03);
}

.card-glass-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(13, 34, 68, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f1f5f9;
}

html[lang="en"] .card-glass-tag {
  right: auto;
  left: 1rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-card-footer {
  padding: 1.25rem 1.5rem;
  background: rgba(7, 20, 40, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.meta-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-400);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.hero-card-featured:hover .icon-btn {
  background: var(--gold-500);
  color: var(--navy-900);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.3;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin: 1rem auto 0;
}

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

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.image-stack {
  position: relative;
}

.main-img img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background-color: #0d2244;
  width: 100%;
}

.floating-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

html[lang="en"] .floating-badge {
  right: auto;
  left: -1rem;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 24px;
  height: 24px;
}

.badge-text strong {
  display: block;
  font-size: 1rem;
  color: var(--navy-800);
}

.badge-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-content .section-tag {
  margin-bottom: 0.5rem;
}

.about-content .section-title {
  margin-bottom: 1.25rem;
}

.lead-text {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.body-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.feature-bullet:hover {
  background: var(--bg-white);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

html[lang="en"] .feature-bullet:hover {
  transform: translateX(4px);
}

.bullet-icon {
  width: 36px;
  height: 36px;
  background: var(--navy-800);
  color: var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullet-icon svg {
  width: 18px;
  height: 18px;
}

.feature-bullet h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

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

/* ==========================================================================
   Core Services Section
   ========================================================================== */
.services-section {
  background-color: var(--bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 166, 35, 0.4);
}

.card-number {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(13, 34, 68, 0.05);
  font-family: var(--font-en);
  line-height: 1;
  pointer-events: none;
}

html[lang="en"] .card-number {
  left: auto;
  right: 1.5rem;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: var(--navy-800);
  color: var(--gold-400);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(13, 34, 68, 0.15);
  transition: var(--transition);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
}

.service-card:hover .service-icon-box {
  background: var(--gold-gradient);
  color: var(--navy-900);
  transform: scale(1.08) rotate(3deg);
}

.service-name-ar {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.service-name-en {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-500);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-accent-bar {
  width: 40px;
  height: 3px;
  background: var(--gold-500);
  margin-top: 1.5rem;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-card:hover .card-accent-bar {
  width: 100%;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.reason-card {
  background: var(--bg-white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}

.reason-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.reason-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold-500);
  font-family: var(--font-en);
}

.reason-icon {
  width: 46px;
  height: 46px;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-icon svg {
  width: 22px;
  height: 22px;
}

.reason-title-ar {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.reason-title-en {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

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

.reason-desc strong {
  color: var(--navy-800);
}

/* ==========================================================================
   Projects Showcase Section
   ========================================================================== */
.projects-section {
  background-color: var(--bg-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.25rem;
}

.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-400);
}

.project-img-container {
  position: relative;
  height: 280px;
  background-color: #091932;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.object-crop-top {
  object-fit: cover;
  object-position: center top;
}

.object-cover {
  object-fit: cover;
  padding: 0;
}

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

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

html[lang="en"] .project-overlay {
  right: auto;
  left: 1rem;
}

.project-category {
  background: rgba(13, 34, 68, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.project-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.project-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--navy-700);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Gallery Section & Lightbox
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-page);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-white);
  color: var(--navy-800);
  border: 1px solid var(--border-light);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--navy-800);
  color: var(--gold-400);
  border-color: var(--navy-800);
  box-shadow: 0 6px 16px rgba(13, 34, 68, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--navy-900);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-400);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 40, 0) 35%, rgba(7, 20, 40, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.92;
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  background: linear-gradient(180deg, rgba(7, 20, 40, 0.1) 20%, rgba(7, 20, 40, 0.95) 100%);
}

.gallery-cat-badge {
  align-self: flex-start;
  background: rgba(245, 166, 35, 0.92);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
}

.gallery-caption h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 40, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-info {
  text-align: center;
  margin-top: 1rem;
  color: #ffffff;
}

.lightbox-cat {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .lightbox-prev {
    left: 0.75rem;
  }
  .lightbox-next {
    right: 0.75rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Banner Section
   ========================================================================== */
.banner-section {
  background: linear-gradient(135deg, #07152b 0%, #0d2244 50%, #17386d 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.banner-content {
  max-width: 650px;
}

.banner-heading {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.highlight-gold {
  color: var(--gold-400);
}

.banner-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--bg-white);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.faq-item[open] {
  background: var(--bg-white);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-600);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-page);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--navy-800);
  color: var(--gold-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-details h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.role-badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}

.contact-line {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.contact-line a:hover {
  color: var(--gold-600);
}

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

.web-link {
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--navy-600);
}

.web-link a:hover {
  color: var(--gold-500);
}

/* Contact Form */
.contact-form-panel {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.form-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  color: var(--text-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.form-success-box {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  color: #065f46;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.success-icon {
  width: 24px;
  height: 24px;
  color: #059669;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--navy-900);
  color: #e2e8f0;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-md);
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--gold-500);
}

html[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

.footer-links-col ul li {
  margin-bottom: 0.75rem;
}

.footer-links-col ul li a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links-col ul li a:hover {
  color: var(--gold-400);
  padding-right: 5px;
}

html[lang="en"] .footer-links-col ul li a:hover {
  padding-right: 0;
  padding-left: 5px;
}

.contact-item {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.contact-item strong {
  color: var(--gold-400);
  margin-left: 0.35rem;
}

html[lang="en"] .contact-item strong {
  margin-left: 0;
  margin-right: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credits {
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ==========================================================================
   Floating Action Button (WhatsApp)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
}

html[lang="en"] .floating-actions {
  left: auto;
  right: 2rem;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: var(--transition);
}

.float-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.float-whatsapp svg {
  width: 32px;
  height: 32px;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.float-tooltip {
  position: absolute;
  left: 70px;
  background: var(--navy-900);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

html[lang="en"] .float-tooltip {
  left: auto;
  right: 70px;
  transform: translateX(10px);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 2px solid var(--gold-500);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 1.25rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
