@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg-dark: #061327;
  --bg-mid: #0d2b56;
  --bg-soft: #1a4b88;
  --surface: rgba(16, 63, 128, 0.26);
  --surface-strong: rgba(28, 88, 169, 0.38);
  --line: rgba(134, 191, 255, 0.36);
  --text-main: #eef6ff;
  --text-muted: #b8d5f6;
  --blue-accent: #56adff;
  --blue-strong: #2d7ff9;
  --aqua-accent: #39e6cc;
  --aqua-strong: #18c4ae;
  --shadow: 0 24px 55px rgba(2, 10, 30, 0.48);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(86, 173, 255, 0.22), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(51, 124, 248, 0.24), transparent 38%),
    radial-gradient(circle at 45% 92%, rgba(57, 230, 204, 0.16), transparent 38%),
    linear-gradient(145deg, var(--bg-dark), var(--bg-mid), #143c73);
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.35px;
}

p,
a,
li {
  color: var(--text-muted);
}

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #143c73, #061327);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.logo-loader-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.loader-logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 8px rgba(57, 230, 204, 0.1), 0 10px 20px rgba(0, 0, 0, 0.35);
  animation: logoFloat 1.6s ease-in-out infinite;
}

.loader-dots {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: orbitSpin 1.15s linear infinite;
}

.dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
  animation: dotPulse 0.95s ease-in-out infinite;
}

.dot1 {
  left: calc(50% - 7px);
  top: 2px;
  background: #56adff;
}

.dot2 {
  right: 2px;
  top: calc(50% - 7px);
  background: #39e6cc;
}

.dot3 {
  left: calc(50% - 7px);
  bottom: 2px;
  background: #9fcfff;
}

.dot4 {
  left: 2px;
  top: calc(50% - 7px);
  background: #17c5af;
}

.loader-core h3 {
  font-size: 2rem;
  color: var(--text-main);
}

.loader-core p {
  color: #a6cbf5;
}

.scroll-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2500;
}

.scroll-progress {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4db5ff, var(--aqua-accent), #1f7fff);
  box-shadow: 0 3px 12px rgba(61, 164, 255, 0.7);
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.42;
  z-index: -1;
}

.orb-left {
  width: 350px;
  height: 350px;
  left: -110px;
  top: 120px;
  background: radial-gradient(circle, rgba(67, 167, 255, 0.46), transparent 66%);
}

.orb-right {
  width: 320px;
  height: 320px;
  right: -100px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(57, 230, 204, 0.36), transparent 66%);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #2f83fd, var(--aqua-strong));
  color: white;
  cursor: pointer;
  z-index: 1600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 6.8%;
  background: rgba(7, 26, 54, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.logo,
.brand {
  color: var(--text-main);
  font-size: 31px;
  font-weight: 700;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: color 0.25s ease;
}

.navbar a:hover {
  color: var(--aqua-accent);
}

.hire-btn,
.btn,
.btn-primary,
.btn-secondary,
.btn-email,
.btn-whatsapp,
.whatsapp,
.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hire-btn,
.btn-primary,
.btn-email,
.btn,
.whatsapp,
.floating-whatsapp {
  color: #e9f4ff;
  background: linear-gradient(135deg, #56adff, var(--aqua-accent), #2c7df5);
  box-shadow: 0 12px 26px rgba(20, 101, 206, 0.46);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: #c5e5ff;
  background: rgba(14, 53, 108, 0.42);
}

.hire-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-email:hover,
.btn-whatsapp:hover,
.whatsapp:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

section,
.container.page,
.about,
.portfolio,
.services,
.contact,
.trust,
.benefits,
.features,
.showcase {
  padding: 88px 9%;
  position: relative;
}

h1,
h2 {
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.15rem, 5.3vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4.3vw, 3.1rem);
}

.section-intro {
  max-width: 880px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 62px;
  min-height: calc(100vh - 94px);
  padding-top: 70px;
}

.hero h1 span {
  color: #8bcbff;
}

.hero p {
  max-width: 690px;
  font-size: 1.04rem;
  margin-bottom: 12px;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-right img,
.hero-img img {
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-container {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 20px;
}

.about-container img {
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-container p,
.section-desc,
.page p,
.contact p,
.portfolio p,
.services p,
.features p,
.benefits p,
.showcase p {
  color: var(--text-muted);
  max-width: 760px;
  margin: 10px auto;
}

.trust-grid,
.benefit-grid,
.service-grid,
.cards,
.portfolio-grid,
.gallery,
.feature-grid,
.showcase-grid {
  margin-top: 30px;
  display: grid;
  gap: 20px;
}

.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  text-align: center;
}

.trust-grid > div {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 88, 169, 0.36), rgba(16, 63, 128, 0.2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(0, 7, 20, 0.36);
}

.trust-grid > div::after {
  content: "";
  position: absolute;
  inset: auto -50px -60px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 230, 204, 0.24), transparent 70%);
}

.trust-grid h3 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  color: #9bd6ff;
}

.benefit-grid,
.service-grid,
.cards,
.portfolio-grid,
.feature-grid,
.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.benefit-card,
.service-card,
.card,
.project,
.feature-card,
.showcase-card,
.portfolio-grid > img,
.gallery img {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 7, 20, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.benefit-card,
.service-card,
.card,
.project,
.feature-card,
.showcase-card {
  padding: 24px;
}

.service-card i,
.showcase-card i {
  color: var(--aqua-accent);
  font-size: 2rem;
  margin-bottom: 12px;
}

.benefit-card h3,
.service-card h3,
.project h3,
.feature-card h3,
.showcase-card h3 {
  color: var(--text-main);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.feature-card,
.showcase-card,
.tilt-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.feature-card::after,
.showcase-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 188, 255, 0.34), transparent 70%);
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 34%, transparent 66%, rgba(57, 230, 204, 0.16));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.tilt-strong {
  box-shadow: 0 20px 40px rgba(0, 8, 28, 0.48);
}

.portfolio-grid > img,
.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.benefit-card:hover,
.service-card:hover,
.card:hover,
.project:hover,
.feature-card:hover,
.showcase-card:hover,
.portfolio-grid > img:hover,
.gallery img:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.45);
}

.contact-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.floating-whatsapp {
  width: 56px;
  height: 56px;
  padding: 0;
  font-size: 1.4rem;
}

footer {
  margin-top: 24px;
  padding: 24px 10%;
  border-top: 1px solid var(--line);
  background: rgba(6, 20, 44, 0.75);
  text-align: center;
}

footer p {
  color: #9ec9f0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}
.hero,
.about-container,
.benefit-card,
.service-card,
.feature-card,
.showcase-card,
.portfolio-grid > img,
.gallery img,
.card,
.project {
  animation: riseIn 0.75s ease both;
}

@media (max-width: 992px) {
  .navbar {
    padding-inline: 5%;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    gap: 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-container img {
    margin: 0 auto;
  }

  .navbar ul {
    display: none;
  }
}

@media (max-width: 640px) {
  section,
  .container.page,
  .about,
  .portfolio,
  .services,
  .contact,
  .trust,
  .benefits,
  .features,
  .showcase {
    padding: 72px 6%;
  }

  .hire-btn,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-email,
  .btn-whatsapp,
  .whatsapp {
    width: 100%;
  }
}



:root {
  --violet-soft: #7aa8ff;
  --mint-soft: #6ef3d2;
}

.navbar {
  background: linear-gradient(115deg, rgba(8, 27, 56, 0.9), rgba(13, 47, 95, 0.82));
  box-shadow: 0 10px 26px rgba(2, 10, 30, 0.35);
}

.hero h1 span {
  background: linear-gradient(100deg, #8fd5ff 0%, #5edfff 45%, #69f0d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(155, 219, 255, 0.5);
  background: linear-gradient(120deg, rgba(85, 167, 255, 0.25), rgba(57, 230, 204, 0.18));
  color: #d8eeff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-badge i {
  color: #9be8ff;
}

.hire-btn,
.btn,
.btn-primary,
.btn-email,
.btn-whatsapp,
.whatsapp,
.floating-whatsapp {
  background-size: 200% 200%;
  animation: gradientPulse 7s ease infinite;
}

.btn-secondary {
  background: linear-gradient(145deg, rgba(14, 53, 108, 0.66), rgba(24, 86, 158, 0.52));
  border-color: rgba(162, 217, 255, 0.5);
}

.trust,
.services,
.portfolio,
.contact,
.benefits {
  border-radius: 28px;
  margin-inline: 4%;
  margin-bottom: 16px;
  border: 1px solid rgba(132, 198, 255, 0.2);
  background:
    linear-gradient(150deg, rgba(19, 61, 118, 0.36), rgba(9, 33, 72, 0.2)),
    radial-gradient(circle at 92% 8%, rgba(104, 187, 255, 0.2), transparent 42%);
}

.benefit-card,
.service-card,
.card,
.project,
.feature-card,
.showcase-card,
.portfolio-grid > img,
.gallery img {
  border-color: rgba(152, 212, 255, 0.45);
  box-shadow: 0 16px 32px rgba(0, 8, 30, 0.45);
}

.benefit-card:hover,
.service-card:hover,
.card:hover,
.project:hover,
.feature-card:hover,
.showcase-card:hover,
.portfolio-grid > img:hover,
.gallery img:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(163, 240, 225, 0.9);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.client-strip {
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(166, 227, 255, 0.44);
  background: linear-gradient(120deg, rgba(55, 126, 240, 0.36), rgba(57, 230, 204, 0.22));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 14px 28px rgba(3, 12, 36, 0.36);
}

.client-strip p {
  margin: 0;
  max-width: none;
  color: #e8f6ff;
  font-weight: 600;
}

@keyframes gradientPulse {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 992px) {
  .trust,
  .services,
  .portfolio,
  .contact,
  .benefits {
    margin-inline: 2.5%;
  }
}

@media (max-width: 640px) {
  .hero-badge-row {
    justify-content: center;
  }

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

  .client-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile usability and polish */
@media (max-width: 992px) {
  .navbar {
    position: sticky;
    top: 8px;
    margin: 0 3% 10px;
    border-radius: 16px;
    padding: 12px 14px;
    gap: 12px;
    align-items: center;
  }

  .navbar nav {
    width: 100%;
    order: 3;
  }

  .navbar ul {
    display: flex !important;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .navbar ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(149, 210, 255, 0.35);
    background: rgba(8, 43, 91, 0.58);
    font-size: 0.9rem;
  }

  .hire-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  section,
  .container.page,
  .about,
  .portfolio,
  .services,
  .contact,
  .trust,
  .benefits,
  .features,
  .showcase {
    padding: 62px 6%;
  }

  .hero {
    gap: 26px;
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.4vw, 3rem);
  }

  .hero p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-right img,
  .hero-img img {
    width: min(100%, 440px);
    max-height: 320px;
    margin: 0 auto;
    object-fit: cover;
  }

  .about-container {
    gap: 20px;
  }

  .about-container img {
    width: min(100%, 360px);
  }

  .benefit-grid,
  .service-grid,
  .cards,
  .portfolio-grid,
  .gallery,
  .feature-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-grid > img,
  .gallery img {
    height: 220px;
  }

  .client-strip {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .logo,
  .brand {
    font-size: 1.55rem;
  }

  .logo-img {
    height: 42px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 7px 11px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }

  h2 {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
  }

  .service-card,
  .benefit-card,
  .card,
  .project,
  .feature-card,
  .showcase-card {
    padding: 18px;
    border-radius: 16px;
  }

  .to-top {
    right: 14px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* Final responsive header and media cards */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(149, 210, 255, 0.45);
  background: rgba(8, 43, 91, 0.72);
  color: #e9f5ff;
  font-size: 1rem;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
}

.portfolio-media {
  overflow: hidden;
}

.portfolio-grid .portfolio-media,
.gallery .portfolio-media {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid rgba(152, 212, 255, 0.45);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 8, 30, 0.45);
}

.portfolio-grid .portfolio-media img,
.portfolio-grid .portfolio-media video,
.gallery .portfolio-media img,
.gallery .portfolio-media video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.portfolio-grid .portfolio-media video,
.gallery .portfolio-media video {
  background: #07172f;
}

@media (max-width: 992px) {
  .navbar {
    position: sticky;
    top: 8px;
    margin: 0 3% 10px;
    border-radius: 16px;
    padding: 12px 14px;
    gap: 10px;
    align-items: center;
    overflow: visible;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .navbar nav {
    order: 3;
    width: 100%;
  }

  .navbar .nav-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(149, 210, 255, 0.35);
    background: rgba(6, 28, 62, 0.95);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.44);
    flex-direction: column;
    gap: 8px;
    z-index: 1300;
  }

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

  .navbar .nav-menu a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(149, 210, 255, 0.25);
    background: rgba(8, 43, 91, 0.55);
    text-align: center;
  }

  .navbar .hire-btn {
    order: 2;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .portfolio-grid .portfolio-media img,
  .portfolio-grid .portfolio-media video,
  .gallery .portfolio-media img,
  .gallery .portfolio-media video {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .navbar {
    top: 6px;
    margin: 0 2.5% 8px;
    padding: 10px 12px;
  }

  .navbar .logo,
  .navbar .brand {
    font-size: 1.4rem;
  }

  .navbar .hire-btn {
    display: none;
  }

  .portfolio-grid .portfolio-media img,
  .portfolio-grid .portfolio-media video,
  .gallery .portfolio-media img,
  .gallery .portfolio-media video {
    height: 200px;
  }
}

/* Ultra mobile polish and unified header */
.navbar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar .logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.navbar .site-nav {
  margin-left: auto;
}

.navbar .nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar .brand {
  white-space: nowrap;
}

.navbar .hire-btn {
  margin-left: 8px;
}

@media (max-width: 992px) {
  body.menu-open {
    overflow: hidden;
  }

  .navbar {
    top: 8px;
    margin: 0 3% 12px;
    padding: 10px 12px;
    border-radius: 16px;
    backdrop-filter: blur(16px);
  }

  .navbar .logo-img {
    height: 40px;
    border-radius: 10px;
  }

  .navbar .brand {
    font-size: 1.35rem;
  }

  .navbar .hire-btn {
    display: none;
  }

  .navbar .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(149, 210, 255, 0.45);
    background: linear-gradient(160deg, rgba(20, 86, 164, 0.88), rgba(13, 50, 108, 0.88));
    color: #eff8ff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 1400;
  }

  .navbar .site-nav {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    z-index: 1350;
  }

  .navbar.open .site-nav {
    display: block !important;
  }

  .navbar .nav-menu {
    width: 94%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(156, 219, 255, 0.34);
    background: linear-gradient(170deg, rgba(10, 35, 74, 0.97), rgba(7, 27, 61, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }

  .navbar .nav-menu li {
    width: 100%;
  }

  .navbar .nav-menu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(149, 210, 255, 0.22);
    background: rgba(13, 56, 116, 0.5);
    text-align: center;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 8px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.6rem);
    line-height: 1.14;
  }

  .hero p,
  .section-intro,
  .section-desc,
  .contact p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .benefit-card,
  .service-card,
  .card,
  .project,
  .feature-card,
  .showcase-card,
  .portfolio-media {
    padding: 16px;
    border-radius: 14px;
  }

  .portfolio-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .portfolio-grid .portfolio-media img,
  .portfolio-grid .portfolio-media video,
  .gallery .portfolio-media img,
  .gallery .portfolio-media video {
    height: 180px;
  }
}

@media (max-width: 640px) {
  section,
  .container.page,
  .about,
  .portfolio,
  .services,
  .contact,
  .trust,
  .benefits,
  .features,
  .showcase {
    padding: 56px 5%;
  }

  .navbar {
    margin: 0 2% 10px;
    padding: 9px 10px;
  }

  .navbar .logo-img {
    height: 36px;
  }

  .navbar .brand {
    font-size: 1.2rem;
  }

  .hero-right img,
  .hero-img img,
  .about-container img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
  }

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

  .portfolio-grid .portfolio-media img,
  .portfolio-grid .portfolio-media video,
  .gallery .portfolio-media img,
  .gallery .portfolio-media video {
    height: 210px;
  }

  .contact-buttons {
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-email {
    width: 100%;
  }
}

/* Decorative curves and sparkles */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.34;
  filter: blur(2px);
}

body::before {
  top: 14%;
  left: -120px;
  background:
    radial-gradient(circle at 30% 30%, rgba(144, 214, 255, 0.6), transparent 58%),
    radial-gradient(circle at 65% 60%, rgba(95, 238, 213, 0.35), transparent 64%);
  animation: floatGlow 11s ease-in-out infinite;
}

body::after {
  right: -120px;
  bottom: 12%;
  background:
    radial-gradient(circle at 60% 30%, rgba(111, 174, 255, 0.55), transparent 58%),
    radial-gradient(circle at 35% 70%, rgba(64, 229, 203, 0.3), transparent 64%);
  animation: floatGlow 13s ease-in-out infinite reverse;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(160, 225, 255, 0.12), transparent 38%, rgba(117, 238, 213, 0.1));
  pointer-events: none;
}

.hero,
.about,
.services,
.portfolio,
.contact,
.trust,
.benefits,
.container.page {
  overflow: hidden;
}

.hero::before,
.about::before,
.services::before,
.portfolio::before,
.contact::before,
.trust::before,
.benefits::before,
.container.page::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 130px;
  border-radius: 0 0 160px 160px;
  top: -62px;
  right: -46px;
  background: linear-gradient(140deg, rgba(143, 211, 255, 0.18), rgba(88, 227, 206, 0.05));
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero::after,
.about::after,
.services::after,
.portfolio::after,
.contact::after,
.trust::after,
.benefits::after,
.container.page::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: 20px;
  right: 26px;
  background: #b1edff;
  box-shadow:
    -28px 20px 0 -2px rgba(111, 233, 214, 0.95),
    -62px 2px 0 -4px rgba(150, 214, 255, 0.9),
    -20px 46px 0 -5px rgba(102, 244, 215, 0.9);
  opacity: 0.7;
  animation: sparkleTwinkle 4.2s ease-in-out infinite;
  pointer-events: none;
}

.hero-right,
.about-container img,
.portfolio-media,
.benefit-card,
.service-card,
.card,
.project {
  position: relative;
}

.hero-right::after,
.about-container .tilt-card::after,
.portfolio-media::after,
.benefit-card::after,
.service-card::after,
.card::after,
.project::after {
  content: "";
  position: absolute;
  inset: auto 10px 10px auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 236, 255, 0.35), transparent 70%);
  pointer-events: none;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.05);
  }
}

@keyframes sparkleTwinkle {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.95;
  }
}

@media (max-width: 992px) {
  body::before,
  body::after {
    width: 250px;
    height: 250px;
    opacity: 0.24;
  }

  .hero::before,
  .about::before,
  .services::before,
  .portfolio::before,
  .contact::before,
  .trust::before,
  .benefits::before,
  .container.page::before {
    width: 230px;
    height: 95px;
    right: -34px;
    top: -48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero::after,
  .about::after,
  .services::after,
  .portfolio::after,
  .contact::after,
  .trust::after,
  .benefits::after,
  .container.page::after {
    animation: none;
  }
}


/* Home portfolio toggle */
.portfolio-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.portfolio-more {
  display: none;
}

.portfolio-more.show {
  display: block;
}

.portfolio-toggle-btn.is-disabled {
  opacity: 0.78;
  cursor: default;
}

/* Mobile hero special look + about photo fix */
@media (max-width: 640px) {
  .hero {
    position: relative;
    padding-top: 14px;
  }

  .hero-left {
    position: relative;
    padding: 18px 14px;
    border-radius: 18px;
    border: 1px solid rgba(152, 212, 255, 0.34);
    background:
      radial-gradient(circle at 82% 10%, rgba(114, 193, 255, 0.3), transparent 45%),
      linear-gradient(155deg, rgba(15, 52, 106, 0.58), rgba(7, 29, 67, 0.48));
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
  }

  .hero-left::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    right: -10px;
    top: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 215, 255, 0.28), transparent 72%);
    pointer-events: none;
  }

  .hero h1 {
    letter-spacing: 0.2px;
    text-wrap: balance;
  }

  .hero-buttons {
    margin-top: 16px;
  }

  .hero-right img,
  .hero-img img {
    border-radius: 18px;
    max-height: 230px;
  }

  .about-container {
    gap: 14px;
  }

  .about-container img {
    width: min(100%, 320px);
    max-height: none !important;
    height: auto;
    object-fit: contain !important;
    object-position: center top;
    margin: 0 auto;
    border-radius: 18px;
    padding: 4px;
    background: linear-gradient(160deg, rgba(106, 185, 255, 0.22), rgba(82, 227, 202, 0.14));
  }
}
