/* ==========================================================================
   CSS Variables (Design Tokens)
   ========================================================================== */

:root {
  /* Colors - Brand */
  --primary: #0A1628;
  --secondary: #C9A84C;
  --secondary-hover: #B39543;

  /* Colors - Background */
  --bg-light: #F9F8F6;
  --bg-gray: #EDECEA;

  /* Colors - Text */
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --text-muted: #8A94A6;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  --transition-slow: 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}


/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.3;
}


/* ==========================================================================
   Accessibility
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}


/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
  border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 120px 0;
}


/* ==========================================================================
   Typography
   ========================================================================== */

.section-title {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(50%);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 4rem;
  max-width: 700px;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: #D6B75D;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-3px);
  background: rgba(201, 168, 76, 0.05);
}


/* ==========================================================================
   Loading Screen
   ========================================================================== */

#loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  text-align: center;
  color: var(--secondary);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(201, 168, 76, 0.1);
  border-top-color: var(--secondary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-content h3 {
  font-size: 1.8rem;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUpLoader 1s ease forwards 0.3s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUpLoader {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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


/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.8rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.2rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.logo svg {
  width: 36px;
  height: 36px;
  fill: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1.05rem;
  opacity: 0.85;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  position: relative;
  background: linear-gradient(140deg, #060E1A 0%, var(--primary) 100%);
}

/* Dark-mode variant keeps a background image */
.hero--image {
  background-image: url('../hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 25, 47, 0.95) 0%,
      rgba(10, 25, 47, 0.70) 50%,
      rgba(10, 25, 47, 0.40) 100%);
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40c0-22.091-17.909-40-40-40V0c22.091 0 40 17.909 40 40h0zM80 40c0-22.091-17.909-40-40-40v0c22.091 0 40 17.909 40 40h0zM40 80c0-22.091-17.909-40-40-40v0c22.091 0 40 17.909 40 40h0zM80 80c0-22.091-17.909-40-40-40v0c22.091 0 40 17.909 40 40h0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

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

/* Decorative floating numbers */
.floating-num {
  position: absolute;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

.fn-1 {
  top: 15%;
  left: 8%;
  font-size: 8rem;
  animation: float 18s ease-in-out infinite;
}

.fn-2 {
  top: 55%;
  right: 4%;
  font-size: 12rem;
  animation: float 22s ease-in-out infinite reverse;
}

.fn-3 {
  bottom: 12%;
  left: 18%;
  font-size: 6rem;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {

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

  50% {
    transform: translateY(-30px) rotate(3deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  color: var(--text-light);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  background: linear-gradient(to left, #ffffff, #e0e0e0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.8s;
}

.hero-title span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 3.5rem;
  max-width: 650px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1s;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.2s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 1.2s forwards 1.6s;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--secondary);
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 13px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

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


/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar-container {
  position: relative;
  z-index: 20;
  margin-top: -60px;
}

.stats-bar {
  background: linear-gradient(135deg, var(--secondary) 0%, #B39543 100%);
  padding: 3.5rem 0;
  color: var(--primary);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(10, 22, 40, 0.15);
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(10, 22, 40, 0.15);
}

/* Dark-theme variant */
.stat-item--dark {
  background: rgba(17, 34, 64, 0.7);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
  transition: var(--transition-fast);
}

.stat-item--dark:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.9;
}


/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  background: var(--bg-light);
  overflow: hidden;
}

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

.about-content {
  padding-left: 2rem;
}

.about-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

/* Feature list inside About */
.features-list {
  display: grid;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  color: var(--secondary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke-width: 1.5;
}

.feature-text h4 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.feature-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About illustration */
.about-visual {
  position: relative;
}

.about-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  z-index: 0;
}

.about-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: slowPulse 12s ease-in-out infinite alternate;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 50px rgba(10, 25, 47, 0.8);
  pointer-events: none;
}

/* Dark-theme stats grid inside about */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@keyframes slowPulse {
  0% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1.05);
  }
}


/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
  background: var(--bg-gray);
}

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

.service-card {
  display: block;
  padding: 3.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  background: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

/* Dark-theme service card */
.service-card--dark {
  background: var(--primary);
  /* --primary-dark alias */
  border-color: rgba(212, 175, 55, 0.15);
}

.service-card--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(10, 22, 40, 0.08);
}

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

.service-card--dark:hover {
  border-color: var(--secondary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.1);
}

/* Dark-theme: icon uses gold color */
.service-card--dark .service-icon {
  font-size: 3rem;
  color: var(--secondary);
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
}

.service-title {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.service-desc {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
}

.service-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  transition: transform 0.3s;
}

.service-card:hover .service-link {
  color: var(--primary);
}

.service-card:hover .service-link svg {
  transform: translateX(-8px);
}


/* ==========================================================================
   Why Us Section — Bento Grid
   ========================================================================== */

.why-us {
  background: var(--bg-light);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 2rem;
}

.bento-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.06);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--primary) 0%, #112543 100%);
  color: white;
  border: none;
}

.bento-tall {
  grid-row: span 2;
}

.bento-number {
  position: absolute;
  top: -15px;
  left: 15px;
  font-size: 10rem;
  font-weight: 900;
  font-family: Arial, sans-serif;
  color: rgba(10, 22, 40, 0.03);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.bento-large .bento-number {
  color: rgba(255, 255, 255, 0.03);
  font-size: 15rem;
  top: -20px;
}

.bento-content {
  position: relative;
  z-index: 1;
}

.bento-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 2rem;
  color: var(--secondary);
}

.bento-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.bento-large .bento-title {
  color: #FFF;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.bento-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.bento-large .bento-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  max-width: 80%;
}

/* Why Us — features grid (dark-theme variant) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.feature-item--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: var(--transition-fast);
}

.feature-item--center:hover .feature-icon-wrapper {
  background: var(--secondary);
  transform: scale(1.1);
}

.feature-icon-wrapper i {
  font-size: 2rem;
  color: var(--secondary);
  transition: var(--transition-fast);
}

.feature-item--center:hover .feature-icon-wrapper i {
  color: var(--primary);
}


/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #060E1A 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #FFF;
}

.cta-desc {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}


/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}

.contact-info {
  padding: 4rem 3rem;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
}

.contact-info::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
}

.contact-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--secondary);
}

.contact-text a,
.contact-text p {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--secondary);
}

.contact-text span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.3rem;
}

/* Contact form */
.contact-form {
  padding: 2rem 0;
}

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

.form-control {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: #FFF;
  border: 1px solid rgba(10, 22, 40, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #A0AABF;
}

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

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
  border-radius: 8px;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--primary);
  color: white;
  padding-top: 6rem;
}

/* Dark-theme variant */
.footer--darker {
  background-color: #050D18;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
  fill: var(--secondary);
}

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

/* for light-text spans inside logo */

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 350px;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--secondary);
}

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

.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
}


/* ==========================================================================
   Financial Ticker
   ========================================================================== */

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #040A12;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  direction: ltr;
  /* Keep LTR so numbers and symbols render correctly */
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-right: 100%;
  animation: ticker 40s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 3rem;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.ticker-item .up {
  color: #4CAF50;
}

.ticker-item .down {
  color: #F44336;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}


/* ==========================================================================
   Scroll-Reveal Animations (Intersection Observer)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large screens */
@media (max-width: 1440px) {
  .container {
    max-width: 1140px;
  }

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

/* Tablets landscape */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

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

  .stat-item:nth-child(even)::after {
    display: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .bento-large {
    grid-column: span 2;
  }

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

  .contact-info {
    padding: 3rem 2rem;
  }
}

/* Tablets portrait */
@media (max-width: 992px) {

  .about-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .desktop-btn {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .floating-num {
    display: none;
  }

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

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

  .bento-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-tall {
    grid-row: span 1;
  }

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

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

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

  .section-padding {
    padding: 80px 0;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem 0;
  }

  .stat-item::after {
    display: none;
  }

  .section-padding {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 15px;
  }

  .about-svg {
    display: none;
  }
}


/* ==========================================================================
   Mobile Hamburger Menu
   ========================================================================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  z-index: 1050;
  animation: fadeInMenu 0.35s ease forwards;
}

.nav-links.mobile-open a {
  font-size: 1.8rem;
  font-weight: 700;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}


/* ==========================================================================
   3D Animations & Depth Effects
   ========================================================================== */

/* 3D Card Tilt on hover */
.service-card,
.bento-item {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* 3D floating hero graphic */
.about-svg {
  filter: drop-shadow(0 30px 60px rgba(10, 22, 40, 0.15));
}

/* 3D Rotating ring behind about visual */
.about-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 50%;
  animation: ring3d 18s linear infinite;
  transform-style: preserve-3d;
}

.about-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border: 1px dashed rgba(201, 168, 76, 0.08);
  border-radius: 50%;
  animation: ring3d 12s linear infinite reverse;
}

@keyframes ring3d {
  0%   { transform: rotateX(60deg) rotateZ(0deg); }
  100% { transform: rotateX(60deg) rotateZ(360deg); }
}

/* Animated gradient border on bento-large */
.bento-large {
  position: relative;
}
.bento-large::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(201,168,76,0.3), transparent 60%);
  z-index: -1;
  animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0%   { opacity: 0.3; }
  100% { opacity: 0.8; }
}

/* Hero 3D floating cards */
.floating-num {
  transition: transform 0.1s ease;
}

/* Stats bar 3D depth */
.stats-bar {
  transform-style: preserve-3d;
  box-shadow: 0 25px 50px rgba(10, 22, 40, 0.2),
              0 1px 0 rgba(255,255,255,0.1) inset;
}

/* Service card 3D hover glow */
.service-card:hover {
  box-shadow: 0 30px 60px rgba(10, 22, 40, 0.1),
              0 0 0 1px rgba(201, 168, 76, 0.08);
}


/* ==========================================================================
   Contact Section Label
   ========================================================================== */

.contact-section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  opacity: 0.7;
  padding: 0.8rem 0 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

/* Contact grid updated for the new expanded info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  padding: 3rem 2.5rem;
}

/* Hours item styling */
.contact-hours .contact-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}


/* ==========================================================================
   Responsive — Mobile Hamburger Trigger
   ========================================================================== */

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
  }

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

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

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

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

  .about-visual::before,
  .about-visual::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .contact-info {
    padding: 2rem 1.5rem;
  }
}