/* ═════════════════════════════════════════════════════════════════
   EVOL DIGITAL SOLUTIONS - LARAVEL DESIGN SYSTEM & STYLESHEET
   Matching Design System of academy.evolstartup.com
   Includes Public Portal & Admin Dashboard Styles
   ═════════════════════════════════════════════════════════════════ */

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

:root {
  --blue: #0A2463;
  --blue2: #0D2E7A;
  --blue-light: #E8EDF8;
  --blue-mid: #C7D3EE;
  --blue-dark: #061540;
  --accent: #2B5FD9;
  --accent2: #7BA7F7;
  --secondary: #E8B700;
  --secondary-dark: #C69B00;
  --secondary-light: #FFF8DF;
  --secondary-glow: rgba(232, 183, 0, 0.35);
  --text: #0D0D14;
  --muted: #5A5B72;
  --border: #DDE2F0;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --radius: 14px;
  --sh: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(10, 36, 99, 0.08);
  --sh2: 0 4px 8px rgba(0, 0, 0, 0.07), 0 12px 32px rgba(10, 36, 99, 0.16);
  --pad: clamp(1.2rem, 5vw, 6%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

html.menu-open,
body.menu-open {
  overflow: hidden !important;
  height: 100% !important;
  position: fixed !important;
  width: 100% !important;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: 'Poppins', sans-serif;
}

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

/* ═══════ PAGE ROUTING ═══════ */
.page {
  display: none;
  animation: fadeIn 0.4s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* ═══════ STICKY NAVBAR ═══════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  height: 68px;
  background: rgba(250, 251, 255, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(10, 36, 99, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}

.logo-icon-card {
  height: 44px;
  padding: 5px 12px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.1);
  border: 1px solid rgba(10, 36, 99, 0.08);
}

.logo-icon-card img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0A2463;
  letter-spacing: -0.02em;
  font-family: 'Poppins', sans-serif;
}

.logo-text-muted {
  font-weight: 400;
  color: #5A5B72;
}

.logo-badge {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #E8B700;
  color: #041030;
  padding: 5px 15px;
  border-radius: 100px;
  margin-left: 0.2rem;
  box-shadow: 0 4px 14px rgba(232, 183, 0, 0.45);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.nav-active {
  color: var(--blue);
  font-weight: 600;
  position: relative;
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn-fill-sm {
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
  padding: 0.5rem 1.25rem;
  background: var(--blue);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(10, 36, 99, 0.2);
}

.btn-fill-sm:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(10, 36, 99, 0.3);
}

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--pad) 2.5rem;
  z-index: 9998;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 16px 40px rgba(6, 21, 64, 0.15);
}

.mobile-menu.open {
  display: flex !important;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
}

.mobile-menu-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-links a .mobile-arr {
  color: var(--accent);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.nav-active {
  color: var(--accent);
}

.mobile-menu-links a:hover .mobile-arr {
  transform: translateX(4px);
}

.mobile-menu-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ═══════ SHARED COMPONENTS ═══════ */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  background: var(--secondary-light);
  border: 1px solid rgba(232, 183, 0, 0.35);
  border-radius: 100px;
  padding: 0.26rem 0.85rem;
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 600px;
}

.sec-sub {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 520px;
  margin-top: 0.55rem;
  line-height: 1.75;
}

.section-header {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

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

.section-header.center h2,
.section-header.center .sec-sub {
  margin-inline: auto;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 0.78rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(10, 36, 99, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 36, 99, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  padding: 0.78rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-white {
  background: var(--secondary);
  color: #061540;
  padding: 0.78rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px var(--secondary-glow);
}

.btn-white:hover {
  background: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 183, 0, 0.45);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 0.78rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sec {
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad);
}

.sec.alt {
  background: var(--blue-light);
}

.sec.white {
  background: var(--white);
}

/* ═══════ HERO SECTION ═══════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(6.5rem, 12vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-backdrop {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(232, 183, 0, 0.12);
  border: 1px solid rgba(232, 183, 0, 0.35);
  border-radius: 100px;
  padding: 0.35rem 0.95rem;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.5s ease both;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  display: inline-block;
  box-shadow: 0 0 10px var(--secondary);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  animation: fadeUp 0.5s 0.08s ease both;
  margin: 0 auto;
}

h1 .accent {
  color: var(--accent2);
}

h1 .it {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.8;
  margin: clamp(1rem, 3vw, 1.5rem) auto clamp(1.5rem, 4vw, 2.4rem);
  animation: fadeUp 0.5s 0.16s ease both;
}

.hero-btns {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.5s 0.24s ease both;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  animation: fadeUp 0.5s 0.32s ease both;
  width: 100%;
}

.stat {
  padding: clamp(1rem, 2vw, 1.5rem) clamp(0.8rem, 2vw, 2rem);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-lbl {
  font-size: clamp(0.65rem, 0.65rem + 0.1vw, 0.76rem);
  color: rgba(255, 255, 255, 0.68);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ═══════ TECH MARQUEE ═══════ */
.marquee-wrap {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
}

.marquee-lbl {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.marquee-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.m-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  color: var(--blue);
}

/* ═══════ ABOUT GRID ═══════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-card-visual {
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh);
}

.about-card-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(43, 95, 217, 0.15);
}

.about-visual-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.about-visual-content p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-box {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
}

.metric-lbl {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.about-feat-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ═══════ SERVICES GRID ═══════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.8rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh2);
  border-color: rgba(10, 36, 99, 0.22);
}

.service-top {
  margin-bottom: 1.2rem;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  background: var(--secondary-light);
  border: 1px solid rgba(232, 183, 0, 0.3);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.2rem;
}

.service-features-list li {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.service-features-list li span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.75rem;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.service-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
}

.service-arrow {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.service-card:hover .service-arrow {
  background: var(--blue);
  color: #fff;
  transform: translateX(3px);
}

/* ═══════ FEATURES / WHY US ═══════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.2rem;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.8rem);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.feat-card:hover {
  border-color: rgba(10, 36, 99, 0.22);
  box-shadow: var(--sh2);
}

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feat-title {
  font-weight: 700;
  font-size: 0.96rem;
  margin-bottom: 0.45rem;
}

.feat-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════ PORTFOLIO / CASE STUDIES ═══════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  height: fit-content;
}

.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh2);
  border-color: rgba(10, 36, 99, 0.22);
}

.proj-header {
  padding: 1rem clamp(1.2rem, 3vw, 1.8rem);
  color: var(--blue-dark);
  position: relative;
}

.proj-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--secondary);
  color: #061540;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 8px var(--secondary-glow);
}

.proj-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.proj-body {
  padding: 1.4rem 1.4rem 1.6rem;
  padding-top: 0px;
}

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

.proj-tech-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.proj-tech {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

/* ═══════ TEAM MEMBERS ═══════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh2);
}

.team-av {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 2px solid #fff;
}

.team-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.team-bio {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════ TESTIMONIALS ═══════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.2rem;
}

.t-card {
  background: var(--white);
  border: 1px solid rgba(10, 36, 99, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.7rem);
  transition: box-shadow 0.25s;
}

.t-card:hover {
  box-shadow: var(--sh2);
}

.t-stars {
  color: #F59E0B;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.t-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-av {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #3A5BA0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.t-name {
  font-size: 0.86rem;
  font-weight: 700;
}

.t-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ═══════ FAQ ═══════ */
.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-q {
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
  user-select: none;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.25s, border-color 0.25s, transform 0.3s, color 0.25s;
  color: var(--muted);
}

.faq-item.open .faq-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.25s;
}

.faq-item.open .faq-a {
  max-height: 260px;
  margin-top: 0.75rem;
}

/* ═══════ CONTACT SECTION ═══════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  margin-bottom: 1.6rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--sh);
}

.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.38rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  padding: 0.85rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.4rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 14px rgba(10, 36, 99, 0.22);
}

.form-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ═══════ CTA BANNER ═══════ */
.cta-banner {
  margin: 0 var(--pad) clamp(3.5rem, 7vw, 5.5rem);
  background: var(--blue);
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 6%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin: 0 auto 0.75rem;
  max-width: 580px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
  margin: 0 auto 1.8rem;
  font-size: 0.94rem;
}

.cta-banner .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta-btns {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════ FOOTER ═══════ */
footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.65rem;
  max-width: 230px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all 0.2s;
  cursor: pointer;
}

.footer-social a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

/* ═══════ PAGE HERO (Subpages) ═══════ */
.page-hero {
  background: var(--blue);
  padding: clamp(6rem, 10vw, 8rem) var(--pad) clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  max-width: 680px;
  margin: 0.9rem auto 0;
  font-weight: 800;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 1.1rem auto 0;
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ═══════ SERVICE DETAIL VIEW ═══════ */
.sd-hero {
  background: var(--blue-dark);
  padding: clamp(6rem, 10vw, 8rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.sd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.36rem 0.95rem;
  border-radius: 100px;
  transition: background 0.2s;
}

.sd-back:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sd-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(123, 167, 247, 0.15);
  border-radius: 100px;
  padding: 0.26rem 0.82rem;
  margin-bottom: 0.85rem;
}

.sd-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 1rem;
}

.sd-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  max-width: 580px;
  line-height: 1.78;
  margin-bottom: 1.9rem;
}

.sd-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.2rem;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
}

.sd-sec-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.sd-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.sd-deliv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
  background: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.sd-deliv-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  margin-top: 1px;
}

.sd-module {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--white);
}

.sd-mod-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.sd-mod-header:hover {
  background: var(--blue-light);
}

.sd-mod-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.sd-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  position: sticky;
  top: 85px;
  box-shadow: var(--sh);
}

.sd-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sd-sidebar-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

/* ═══════ PROPOSAL MODAL ═══════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: 0 20px 60px rgba(10, 36, 99, 0.22);
  position: relative;
  animation: fadeUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.2s;
}

.modal-close:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.modal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

/* ═══════ TOAST NOTIFICATION ═══════ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 999;
  transition: transform 0.35s ease, opacity 0.35s;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(10, 36, 99, 0.3);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.error {
  background: #EF4444;
}

/* ═════════════════════════════════════════════════════════════════
   ADMIN DASHBOARD SPECIFIC STYLES
   ═════════════════════════════════════════════════════════════════ */
.admin-nav {
  background: var(--blue-dark);
  color: #fff;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  width: 250px;
  background: var(--blue);
  color: #fff;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  transition: all 0.2s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
}

.admin-content {
  flex: 1;
  padding: 2rem var(--pad);
  background: var(--bg);
}

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

.admin-header h1 {
  font-size: 1.8rem;
  color: var(--text);
  font-weight: 800;
  margin: 0;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sh);
  margin-bottom: 1.5rem;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: var(--bg);
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--blue-light);
}

.badge-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}

.badge-success {
  background: #DEF7EC;
  color: #03543F;
}

.badge-warning {
  background: #FEF3C7;
  color: #92400E;
}

.btn-sm-action {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.btn-edit {
  background: var(--blue-light);
  color: var(--blue);
}

.btn-delete {
  background: #FEE2E2;
  color: #991B1B;
}

/* ═══════ ANIMATIONS & RESPONSIVE ═══════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media(max-width: 960px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 0.8rem;
  }

  .sd-body {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media(max-width: 768px) {
  nav {
    height: 62px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }

  nav .nav-links,
  .desktop-only-btn {
    display: none !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center;
  }

  .nav-hamburger {
    display: flex !important;
  }

  .mobile-menu {
    top: 62px;
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
  }

  .hero {
    padding: clamp(5.5rem, 11vw, 7.5rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    margin-top: 2.8rem;
  }

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

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

  footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem 1.25rem !important;
  }

  .footer-brand p {
    max-width: 100% !important;
  }
}

@media(max-width: 580px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.8rem 1rem !important;
  }
}

/* ═══════ GENERATED IMAGE ASSETS STYLES ═══════ */
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(10, 36, 99, 0.3);
}

.hero-photo-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
}

.hero-photo-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 64, 0.555);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(10, 36, 99, 0.08);
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-photo-wrapper:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(6, 21, 64, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  color: #fff;
}

.about-floating-badge h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 0.2rem;
}

.about-floating-badge p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 36, 99, 0.12);
}

.team-avatar-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue);
  margin: 0 auto 1.2rem;
  display: block;
}

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

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.2rem;
}

.team-card .team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.team-social-links {
  display: flex;
  gap: 0.6rem;
}

.team-social-links a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(10, 36, 99, 0.06);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.team-social-links a:hover {
  background: var(--blue);
  color: #fff;
}

.proj-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--blue-dark);
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.proj-actions {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
}

.btn-visit-project {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--blue-dark);
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.2);
}

.btn-visit-project:hover {
  background: var(--accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 116, 144, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE BUTTON (HEADER & MOBILE)
   ═══════════════════════════════════════════════════════════════ */
.lang-toggle-btn {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  border: 1.5px solid var(--blue-mid);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(10, 36, 99, 0.08);
  letter-spacing: 0.02em;
}

.lang-toggle-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 36, 99, 0.25);
}

.mobile-lang-btn {
  margin-top: 0.6rem;
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   ARABIC & RTL STYLING OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
body.lang-ar {
  font-family: 'Cairo', 'Poppins', sans-serif;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] nav {
  direction: rtl;
}

[dir="rtl"] .nav-links {
  direction: rtl;
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .logo-badge {
  margin-left: 0;
  margin-right: 0.25rem;
}

[dir="rtl"] .mobile-menu {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .mobile-menu-links a {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .hero-eyebrow {
  flex-direction: row;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .hero h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .hero-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .hero-btns {
  flex-direction: row;
  justify-content: center;
}

[dir="rtl"] .stats-bar {
  direction: rtl;
}

[dir="rtl"] .about-grid {
  direction: rtl;
}

[dir="rtl"] .about-features {
  direction: rtl;
}

[dir="rtl"] .about-feat {
  flex-direction: row;
}

[dir="rtl"] .about-floating-badge {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .section-header.center {
  direction: rtl;
  text-align: center;
}

[dir="rtl"] .service-card {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .service-top {
  text-align: right;
}

[dir="rtl"] .service-features-list li {
  flex-direction: row;
  text-align: right;
}

[dir="rtl"] .service-footer {
  flex-direction: row-reverse;
}

[dir="rtl"] .service-meta {
  text-align: right;
}

[dir="rtl"] .feat-card {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .proj-card {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .proj-header {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .proj-tech-tags {
  direction: rtl;
  justify-content: flex-start;
}

[dir="rtl"] .testi-grid {
  direction: rtl;
}

[dir="rtl"] .t-card {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .t-author {
  flex-direction: row;
}

[dir="rtl"] .faq-item {
  direction: rtl;
}

[dir="rtl"] .faq-q {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .faq-a {
  text-align: right;
}

[dir="rtl"] .cta-banner {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .cta-btns {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

[dir="rtl"] .page-hero {
  direction: rtl;
  text-align: center;
}

[dir="rtl"] .team-card {
  direction: rtl;
  text-align: center;
}

[dir="rtl"] .contact-grid {
  direction: rtl;
}

[dir="rtl"] .contact-info-item {
  flex-direction: row;
  text-align: right;
}

[dir="rtl"] .contact-form {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .form-group label {
  text-align: right;
  display: block;
}

[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Poppins', sans-serif;
}

[dir="rtl"] .modal {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 1.5rem;
}

[dir="rtl"] footer {
  direction: rtl;
}

[dir="rtl"] .footer-brand p,
[dir="rtl"] .footer-col {
  text-align: right;
}

[dir="rtl"] .footer-col ul {
  padding-right: 0;
  padding-left: 0;
}

[dir="rtl"] .footer-social {
  justify-content: flex-start;
}

[dir="rtl"] .footer-bottom {
  direction: rtl;
  flex-direction: row-reverse;
}

/* Service Detail Page RTL */
[dir="rtl"] .sd-back {
  direction: rtl;
}

[dir="rtl"] .sd-hero {
  text-align: right;
}

[dir="rtl"] .sd-body {
  direction: rtl;
}

[dir="rtl"] .sd-deliverables-grid {
  direction: rtl;
}

[dir="rtl"] .sd-deliv-item {
  flex-direction: row;
  text-align: right;
}

[dir="rtl"] .sd-module {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .sd-mod-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .sd-sidebar-card {
  text-align: right;
}