/* ===== QATAR RACKINGS — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #080d1a;
  --navy-light: #0e1530;
  --navy-mid: #151e3d;
  --blue: #00e5a0;
  --blue-dark: #00c488;
  --blue-glow: rgba(0, 229, 160, 0.15);
  --gold: #ff8c42;
  --gold-dark: #e07030;
  --gold-glow: rgba(255, 140, 66, 0.15);
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #c8d5e3;
  --gray-400: #8b9cb8;
  --gray-500: #5e6f8a;
  --gray-600: #405170;
  --gray-700: #2c3a56;
  --text-primary: #ffffff;
  --text-secondary: #8b9cb8;
  --text-dark: #080d1a;
  --gradient-blue: linear-gradient(135deg, #00e5a0, #00c4ff);
  --gradient-gold: linear-gradient(135deg, #ff8c42, #ffb347);
  --gradient-dark: linear-gradient(180deg, #080d1a, #0e1530);
  --gradient-hero: linear-gradient(135deg, rgba(8, 13, 26, 0.97), rgba(0, 229, 160, 0.06));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue: 0 0 35px rgba(0, 229, 160, 0.2), 0 0 80px rgba(0, 196, 255, 0.06);
  --shadow-glow-gold: 0 0 35px rgba(255, 140, 66, 0.2), 0 0 80px rgba(255, 179, 71, 0.06);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--gray-400);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar a:hover {
  color: var(--blue);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 13, 26, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.nav-logo span:last-child {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(0, 229, 160, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta {
  background: var(--gradient-blue) !important;
  color: var(--text-dark) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 229, 160, 0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 160, 0.5) !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0, 229, 160, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 160, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(0, 229, 160, 0.08);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(255, 140, 66, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 229, 160, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(0, 196, 255, 0.06) 0%, transparent 40%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--navy), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero h1 .highlight {
  display: inline;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 2.2rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 160, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(0, 196, 255, 0.05) 0%, transparent 50%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Cards ---------- */
.card {
  background: rgba(14, 21, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 160, 0.25);
  box-shadow: var(--shadow-glow-blue);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--white);
}

.card p {
  font-size: 0.92rem;
}

.card-gold .card-icon {
  background: var(--gold-glow);
  color: var(--gold);
}

.card-gold::before {
  background: var(--gradient-gold);
}

.card-gold:hover {
  border-color: rgba(255, 140, 66, 0.25);
  box-shadow: var(--shadow-glow-gold);
}

/* ---------- Grid Layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---------- Feature List ---------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-item .check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--blue-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.feature-item p {
  margin: 0;
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 4.5rem 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(0, 229, 160, 0.1), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(255, 140, 66, 0.06), transparent 60%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FAQ Section ---------- */
.faq-item {
  background: rgba(14, 21, 48, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 229, 160, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  gap: 1rem;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}

.faq-question .icon {
  font-size: 1.2rem;
  color: var(--blue);
  transition: var(--transition);
  min-width: 20px;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ---------- Industries / Icon Grid ---------- */
.industry-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.industry-card .card-icon {
  margin: 0 auto 1rem;
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
}

/* ---------- Process Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.88rem;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(14, 21, 48, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer p {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray-400);
}

.footer-contact-item .icon {
  color: var(--blue);
  min-width: 18px;
  margin-top: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-mid);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* staggered children */
.stagger>* {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ---------- Utility ---------- */
.bg-alt {
  background: var(--navy-light);
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.pt-0 {
  padding-top: 0 !important;
}

/* ---------- Service Detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) .service-detail-text {
  order: 2;
}

.service-detail:nth-child(even) .service-detail-visual {
  order: 1;
}

.service-detail-text h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

.service-detail-text p {
  margin-bottom: 1.2rem;
}

.service-detail-visual {
  background: rgba(15, 31, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 240px;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--navy-mid);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--gray-300);
}

tr:hover td {
  background: rgba(0, 180, 216, 0.03);
}

/* ---------- Project Card ---------- */
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(15, 31, 58, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-blue);
}

.project-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 31, 58, 0.6), transparent);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-card-body p {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--blue-glow);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-right: 0.5rem;
  margin-bottom: 0.4rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-text {
    order: 1;
  }

  .service-detail:nth-child(even) .service-detail-visual {
    order: 2;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(8, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: var(--transition-slow);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat h3 {
    font-size: 1.6rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .page-hero {
    padding: 6rem 0 3rem;
  }
}