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

:root {
  --primary: #102233;
  --secondary: #1d3d56;
  --teal: #1f7a7a;
  --accent: #c99742;
  --accent-soft: #e7d7b5;
  --sunset: #da6f49;
  --light: #f4f1ea;
  --paper: #fffdf7;
  --white: #ffffff;
  --text: #203040;
  --muted: #5b6b78;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 50px rgba(16, 34, 51, 0.14);
  --shadow-strong: 0 28px 70px rgba(16, 34, 51, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(201, 151, 66, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 0%,
      rgba(31, 122, 122, 0.18),
      transparent 30%
    ),
    var(--paper);
  overflow-x: hidden;
}

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

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

main {
  position: relative;
}

section {
  position: relative;
  z-index: 1;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0f1f2f 0%, #17374f 60%, #255d69 100%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
  color: var(--white);
  padding: 1.5rem;
}

.loader-logo {
  font-family: "Changa", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  animation: pulse 1.8s ease-in-out infinite;
}

.loader-text {
  font-size: 1rem;
  opacity: 0.8;
  animation: fadeInOut 1.8s ease-in-out infinite;
}

/* Header / Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1200;
  transition: all 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 24, 36, 0.58);
  backdrop-filter: blur(14px);
}

.header-scrolled {
  background: rgba(12, 24, 36, 0.92);
  box-shadow: 0 12px 28px rgba(8, 17, 26, 0.3);
}

.navbar {
  width: min(1320px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Changa", sans-serif;
  color: var(--accent-soft);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  white-space: nowrap;
}

.logo i {
  color: var(--accent);
  font-size: 1.4em;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f2d79a);
  transition: width 0.28s ease;
}

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

.menu-toggle {
  display: none;
  color: var(--white);
  font-size: 1.45rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  padding: 7.5rem 5% 4.2rem;
  overflow: hidden;
  background:
    linear-gradient(
      118deg,
      rgba(12, 24, 36, 0.92),
      rgba(20, 60, 88, 0.75) 45%,
      rgba(26, 96, 96, 0.72)
    ),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2200&q=80")
      center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 25% 82%,
      rgba(218, 111, 73, 0.25),
      transparent 34%
    ),
    radial-gradient(circle at 85% 24%, rgba(201, 151, 66, 0.3), transparent 42%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.35;
  animation: drift 9s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-one {
  background: #e2ae58;
  top: -120px;
  right: -100px;
}

.hero-glow-two {
  background: #3ea6a6;
  bottom: -150px;
  left: -100px;
  animation-delay: 2.5s;
}

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

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  animation: float 7s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-family: "Changa", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  text-shadow: 0 12px 28px rgba(4, 8, 12, 0.42);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.7vw, 1.7rem);
  color: var(--accent-soft);
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.hero-description {
  width: min(760px, 100%);
  margin-inline: auto;
  font-size: clamp(0.98rem, 2.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-highlights {
  margin: 1.6rem auto 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(12, 24, 36, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-highlights i {
  color: #f2cd88;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}

.btn-primary {
  background: linear-gradient(130deg, #f2cd88, var(--accent));
  color: #1f2932;
  box-shadow: 0 12px 28px rgba(201, 151, 66, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.hero-metrics-section {
  position: relative;
  margin-top: -2.8rem;
  padding: 0 5% 4rem;
  z-index: 3;
}

.hero-metrics {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: min(900px, 92%);
  z-index: 1;
  padding: 0 1rem;
  margin: 0 auto;
}

.metric-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 2rem;
  min-height: 120px;
  min-width: 180px;
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffe3ad;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.metric-label {
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 227, 173, 0.6),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 227, 173, 0.6);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.12)
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.metric-card:hover::before {
  opacity: 1;
}
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.82rem;
  animation: bounceSoft 2s ease-in-out infinite;
}

/* Section Shared */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: "Changa", sans-serif;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  color: var(--primary);
  display: inline-block;
  position: relative;
  margin-bottom: 0.8rem;
}

.section-title::after {
  content: "";
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: -10px;
  width: 92px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #f0cc88);
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--muted);
  width: min(700px, 100%);
  margin: 0 auto;
}

/* About */
.about {
  padding: 7.5rem 5% 6.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 247, 0.9),
    rgba(245, 241, 234, 0.8)
  );
}

.about-content {
  width: min(1260px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.92fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text h3 {
  font-family: "Changa", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.about-text p {
  color: #415262;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.about-points {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.5rem;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #304150;
  font-weight: 600;
}

.about-points i {
  color: var(--teal);
}

.about-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-item {
  border-radius: var(--radius-md);
  padding: 1rem;
  color: #f8f3e5;
  background: linear-gradient(145deg, #163347, #214e68);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(26px);
  opacity: 0;
  transition: 0.7s ease;
}

.stat-item.animate {
  transform: translateY(0);
  opacity: 1;
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(248, 243, 229, 0.86);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(16, 34, 51, 0.38));
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: clamp(360px, 52vw, 560px);
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.07);
}

/* Services */
.services {
  padding: 7.5rem 5%;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(31, 122, 122, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 85%,
      rgba(218, 111, 73, 0.12),
      transparent 30%
    ),
    #f6f2e9;
}

.services-grid {
  width: min(1260px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem 1.4rem;
  border: 1px solid rgba(16, 34, 51, 0.09);
  box-shadow: 0 16px 38px rgba(16, 34, 51, 0.09);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(201, 151, 66, 0.12),
    transparent 35%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(16, 34, 51, 0.18);
  border-color: rgba(201, 151, 66, 0.4);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 2.2rem;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.service-card h3 {
  font-family: "Changa", sans-serif;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.service-card p {
  color: #50606f;
  font-size: 0.97rem;
}

/* Projects In Home */
.projects {
  padding: 7.5rem 5%;
  background: linear-gradient(145deg, #0f2233 0%, #143347 48%, #205469 100%);
  color: var(--white);
}

.projects .section-title,
.projects .section-subtitle {
  color: var(--white);
}

.projects .section-subtitle {
  opacity: 0.8;
}

.projects-grid {
  width: min(1260px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 36px rgba(7, 15, 22, 0.3);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 211, 144, 0.65);
}

.project-image {
  height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(5, 13, 20, 0.84), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-content h4 {
  color: #f7d696;
  margin-bottom: 0.2rem;
}

.project-overlay-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.project-info {
  padding: 1.15rem;
}

.project-info h3 {
  color: #f3d18f;
  font-size: 1.23rem;
  margin-bottom: 0.45rem;
}

.project-info p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.93rem;
  margin-bottom: 0.85rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #d7e8f4;
  font-size: 0.84rem;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.project-btn,
.project-btn-to-all-projects,
.projects .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  background: #f4cf86;
  color: #1e2f3e;
  padding: 0.58rem 1.15rem;
  border: 1px solid transparent;
  transition:
    transform 0.28s ease,
    background 0.28s ease;
}

.project-btn:hover,
.project-btn-to-all-projects:hover,
.projects .btn:hover {
  transform: translateY(-3px);
  background: #ffe5b3;
}

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

.mt-5 {
  margin-top: 2rem;
}

/* Contact */
.contact {
  padding: 7.5rem 5%;
  background: linear-gradient(180deg, #f4f1ea 0%, #fffdf8 100%);
}

.contact-content {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 34, 51, 0.08);
  box-shadow: 0 16px 35px rgba(16, 34, 51, 0.1);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px rgba(16, 34, 51, 0.17);
}

.contact-icon {
  color: var(--sunset);
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.contact-card h3 {
  font-family: "Changa", sans-serif;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.contact-card p {
  color: #556674;
  margin-bottom: 0.8rem;
  font-size: 0.94rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: linear-gradient(130deg, var(--teal), #2f8f95);
  color: var(--white);
  font-weight: 700;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.contact-info {
  margin-top: 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 34, 51, 0.1);
  box-shadow: 0 18px 42px rgba(16, 34, 51, 0.12);
  padding: 2rem 1.4rem;
}

.contact-info h3 {
  font-family: "Changa", sans-serif;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-info p {
  color: #4a5a69;
}

.contact-info strong {
  color: var(--sunset);
}

/* Footer */
footer {
  background: linear-gradient(155deg, #0f2233 0%, #132b40 45%, #1c4a5c 100%);
  color: var(--white);
  padding: 4.5rem 5% 2.2rem;
}

.footer-content {
  width: min(1260px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.1rem;
}

.footer-logo {
  font-family: "Changa", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: #f5d79b;
  margin-bottom: 0.5rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.86);
  max-width: 420px;
}

.footer-title {
  font-family: "Changa", sans-serif;
  margin-bottom: 0.5rem;
  color: #f5d79b;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #ffe6bb;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.92rem;
  text-align: center;
}

/* Reveal Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(180deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 18px);
  }
}

@keyframes bounceSoft {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid,
  .projects-grid,
  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: min(330px, 100%);
    height: calc(100vh - 80px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem;
    gap: 1rem;
    background: rgba(12, 24, 36, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-metrics-section {
    margin-top: -2rem;
    padding-bottom: 3rem;
  }

  .hero-metrics {
    position: static;
    margin-top: 0;
    transform: none;
    width: min(900px, 96%);
    gap: 1rem;
  }

  .scroll-indicator {
    display: none;
  }

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

@media (max-width: 640px) {
  .services-grid,
  .projects-grid,
  .contact-methods,
  .contact-info-grid,
  .footer-main,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-metrics-section {
    margin-top: -1.2rem;
    padding-bottom: 2.4rem;
  }

  .hero-metrics {
    width: min(420px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0;
  }

  .metric-card {
    width: 100%;
    max-width: none;
    min-height: 105px;
    padding: 1.1rem 1rem;
  }

  .metric-number {
    font-size: 2rem;
  }

  .hero-highlights {
    gap: 0.5rem;
  }

  .hero-highlights span {
    width: 100%;
    justify-content: center;
  }

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

  .btn {
    width: 100%;
  }

  .section-header {
    margin-bottom: 2.2rem;
  }
}


