/* ═══════════════════════════════════════
   Smart Tech - Public Website Styles
   Premium Security & Tech Company Design
   ═══════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --bg-dark: #0a0e27;
  --bg-darker: #060920;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-bright: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 212, 255, 0.3);
  --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-dark: linear-gradient(135deg, #0a0e27, #1a1f3a);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Cairo', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0, 212, 255, 0.45);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
}

.nav-logo .logo-icon {
  font-size: 28px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-bright);
  background: rgba(0, 212, 255, 0.1);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.12), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.12), transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 212, 255, 0.06), transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    url('https://res.cloudinary.com/dxuftfp5j/image/upload/v1772064500/download_lnpnoi.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 65% center;
  /* linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); */
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  /* background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 42px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  animation: bounceDown 2s infinite;
  transition: all 0.3s;
}

.hero-scroll a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@keyframes bounceDown {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }
}

/* ── Section Styles ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Services ── */
.services {
  padding: 100px 0;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  animation: fadeInUp 0.8s ease calc(var(--delay, 0s)) both;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s;
}

.service-icon i {
  font-size: 28px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.service-card:hover .service-icon i {
  -webkit-text-fill-color: #fff;
  background: none;
}

.service-image {
  margin: -8px -8px 16px;
  border-radius: 12px;
  overflow: hidden;
  height: 160px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.service-card:hover .service-hover-line {
  transform: scaleX(1);
}

/* ── Projects ── */
.projects {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: fadeInUp 0.8s ease calc(var(--delay, 0s)) both;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.project-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.05);
}

.project-placeholder i {
  font-size: 48px;
  color: rgba(0, 212, 255, 0.2);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.project-overlay-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover .project-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

.project-category {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.project-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.project-client {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
  opacity: 0.8;
}

/* ── About ── */
.about {
  padding: 100px 0;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.about-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
}

.about-feature i {
  color: var(--primary);
  font-size: 18px;
}

.about-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-bright);
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}

.about-float-card i {
  font-size: 28px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-1 {
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 45%;
  left: 5%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 15%;
  right: 15%;
  animation-delay: 4s;
}

@keyframes floatCard {

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

  50% {
    transform: translateY(-15px);
  }
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 16px;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.social-link.whatsapp:hover {
  background: #25D366;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  font-family: var(--font);
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

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

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

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

.footer-logo {
  display: flex;
  align-items: center;
  width: 100px;
  height: auto;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.footer-logo i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
}

.footer-about p span {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
  padding-right: 6px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact i {
  color: var(--primary);
  width: 18px;
}

.white-space {
  white-space: pre-line;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

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

/* ── Project Modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.project-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: linear-gradient(145deg, #111538, #0d1030);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 212, 255, 0.08);
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-gallery {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-main-image {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.modal-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.15);
}

.modal-no-image i {
  font-size: 48px;
}

.modal-no-image span {
  font-size: 14px;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.6;
}

.modal-thumb:hover,
.modal-thumb.active {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.05);
}

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

.modal-details {
  padding: 36px 36px 36px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 14px;
  line-height: 1.4;
}

.modal-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
  flex: 1;
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-meta-item i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.modal-meta-item div {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-value {
  font-size: 14px;
  color: var(--text-bright);
  font-weight: 600;
}

/* ── Animations ── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-up:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-fade-up:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-fade-up:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-fade-up:nth-child(4) {
  animation-delay: 0.4s;
}

.animate-fade-up:nth-child(5) {
  animation-delay: 0.5s;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    /* Changed from right: -100% to open from left */
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-right: 1px solid var(--border);
    z-index: 1001;
  }

  .nav-links.open {
    left: 0;
    /* Changed from right: 0 */
  }

  .nav-links a {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .hero-stats {
    gap: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    height: 300px;
  }

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

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

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

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .project-modal {
    width: 95%;
    max-height: 85vh;
  }

  .modal-body {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }

  .modal-main-image {
    height: 200px;
  }

  .modal-details {
    padding: 24px;
  }

  .modal-title {
    font-size: 22px;
  }
}

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

  .hero-content {
    padding: 100px 0 60px;
  }

  .stat-number {
    font-size: 32px;
  }

  .contact-form {
    padding: 24px;
  }
}