@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --dark: #050D1A;
  --dark2: #0A1628;
  --dark3: #0D1F3C;
  --blue: #1565C0;
  --blue2: #1976D2;
  --accent: #00B4FF;
  --accent2: #0CF;
  --white: #FFFFFF;
  --gray: #94A3B8;
  --gray2: #64748B;
  --card-bg: rgba(13, 31, 60, 0.8);
  --border: rgba(0, 180, 255, 0.15);
  --glow: 0 0 20px rgba(0, 180, 255, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  color: var(--gray);
}

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

/* ─── CONTAINER ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

@media(max-width:768px) {
  .container {
    padding: 0 16px;
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 12px;
  }
}

/* ─── RESPONSIVE GRID HELPERS ─── */
/* Used to replace hard-coded inline grid styles in HTML */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-contact-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.grid-about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

/* Service detail alternating rows */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* Reverse column order for alternating RTL effect */
.service-detail-row--rtl {
  direction: rtl;
}

.service-detail-row--rtl > div {
  direction: ltr;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

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

.badge {
  display: inline-block;
  background: rgba(0, 180, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 180, 255, 0.3);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(5,13,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,180,255,0.12);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5,13,26,0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  padding: 8px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

@media(max-width:480px) {
  .logo-icon img {
    height: 38px;
    width: 38px;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-name span {
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.6rem;
  color: rgba(0,180,255,0.7);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: var(--transition);
}

@media(max-width:768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Unified mobile dropdown: nav-links + cta in one panel */
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,13,26,0.98);
    padding: 20px 24px 8px;
    gap: 4px;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    z-index: 999;
  }

  .navbar.open .nav-links li {
    border-bottom: 1px solid rgba(0,180,255,0.08);
  }

  .navbar.open .nav-links li:last-child {
    border-bottom: none;
  }

  .navbar.open .nav-links a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
  }

  .navbar.open .nav-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,13,26,0.98);
    padding: 0 24px 24px;
    gap: 10px;
    /* nav-links: 6 items × (12px+12px+~20px line) + 28px top padding + 8px bottom + border offsets */
    margin-top: calc(6 * 44px + 36px);
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  }

  .navbar.open .nav-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hamburger X animation when open */
  .navbar.open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar.open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .navbar.open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ─── CARDS ─── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,255,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: rgba(0, 180, 255, 0.35);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 20px rgba(0,180,255,0.12);
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(21,101,192,0.35), rgba(0,180,255,0.2));
  border: 1px solid rgba(0,180,255,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,180,255,0.1);
}

/* ─── GRID ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media(max-width:1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Responsive helpers for inline grids */
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-contact-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail-row {
    grid-template-columns: 1fr !important;
    gap: 32px;
    direction: ltr !important;
    margin-bottom: 56px;
  }

  .service-detail-row > div {
    direction: ltr !important;
  }
}

@media(max-width:768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-about-cards,
  .grid-about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media(max-width:480px) {
  .grid-about-cards,
  .grid-about-stats {
    grid-template-columns: 1fr;
  }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #0a1f45 100%);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 40%, rgba(21,101,192,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(0,180,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(0,180,255,0.08) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent), #80e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
  color: rgba(148,163,184,0.95);
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(0,180,255,0.15);
}

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

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Hero trust row */
.hero-trust {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(148,163,184,0.9);
  font-weight: 500;
}

.trust-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* Hero image side */
.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,180,255,0.2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px rgba(0,180,255,0.15);
  animation: hero-float 4s ease-in-out infinite;
}

.hero-img-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(5,13,26,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,180,255,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-img-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-img-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.hero-img-badge .badge-sub {
  font-size: 0.7rem;
  color: var(--accent);
}

.hero-glow-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: -6px;
  right: 40px;
  box-shadow: 0 0 16px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-camera {
  display: none;
}

@media(max-width:900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrap { order: -1; }
  .hero-img-card img { height: 280px; }
}

@media(max-width:480px) {
  .hero {
    padding-top: 70px;
    min-height: auto;
    padding-bottom: 40px;
  }
  .hero-img-card img { height: 220px; }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    flex-direction: column;
    align-items: center;
  }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-bar .grid-4 {
  gap: 0;
}

.stat-box {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}

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

.stat-box .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-box .lbl {
  color: var(--gray);
  font-size: 0.9rem;
}

@media(max-width:768px) {
  .stats-bar .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  /* Remove right border on even items (2nd column) */
  .stat-box:nth-child(2n) {
    border-right: none;
  }

  .stat-box:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media(max-width:480px) {
  .stats-bar .grid-4 {
    grid-template-columns: 1fr;
  }

  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-box:last-child {
    border-bottom: none;
  }
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--dark) 0%, #0a1f3d 60%, var(--dark2) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media(max-width:768px) {
  .page-hero {
    padding: 110px 0 60px !important;
  }
}

@media(max-width:480px) {
  .page-hero {
    padding: 90px 0 48px !important;
  }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(0,180,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(21,101,192,0.12) 0%, transparent 50%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,255,0.3), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 12px;
}

.breadcrumb a {
  color: var(--accent);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 16px 0 20px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--gray);
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item .icon {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray2);
}

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

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

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

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.8);
  }
}

/* ─── 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-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.4s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.5s;
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-card p {
  color: var(--white);
  font-style: italic;
  margin-bottom: 20px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.t-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.t-loc {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.product-img {
  height: 200px;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.product-cat {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.product-body p {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.product-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* ─── PROJECT GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--dark3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 26, 0.9), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.gallery-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0, 180, 255, 0.3);
}

@media(max-width:768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ─── CONTACT ─── */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

@media(max-width:600px) {
  .contact-form-wrap {
    padding: 24px 16px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.1);
}

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

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

@media(max-width:600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, #050d1a 0%, #0d1f3c 50%, #071628 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media(max-width:600px) {
  .cta-section {
    padding: 60px 0;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,180,255,0.14) 0%, transparent 65%),
    radial-gradient(ellipse at 0% 100%, rgba(21,101,192,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(0,180,255,0.08) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── ALERT / TOAST ─── */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--dark2);
  border: 1px solid var(--accent);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateX(200%);
  transition: transform 0.4s ease;
  box-shadow: var(--glow);
}

.toast.show {
  transform: translateX(0);
}