
:root {
  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 8vw, 128px);
  --nav-h: 78px;

  /* radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  /* colour */
  --text-1: rgba(255, 255, 255, 0.96);
  --text-2: rgba(255, 255, 255, 0.74);
  --text-3: rgba(255, 255, 255, 0.55);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-strong: rgba(255, 255, 255, 0.3);
  --glass: rgba(255, 255, 255, 0.065);
  --glass-2: rgba(255, 255, 255, 0.11);
  --navy: #16327a;
  --accent: #9ec2ff;
  --gold: #ffd782;
  --ok: #7fd8a4;
  --danger: rgba(255, 120, 120, 0.7);

  /* elevation */
  --shadow-card: 0 18px 40px rgba(3, 10, 28, 0.35);
  --shadow-hover: 0 28px 60px rgba(3, 10, 28, 0.45);
  --inner-light: inset 0 1px 1px rgba(255, 255, 255, 0.28);

  /* type */
  --font-display: "Google Sans", "Plus Jakarta Sans", "Segoe UI", system-ui,
    sans-serif;
  --font-body: "Fira Sans", "Inter", "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(2.3rem, 1.3rem + 3.5vw, 4rem);
  --fs-h2: clamp(1.7rem, 1.1rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-lead: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  --fs-body: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  --lh-tight: 1.14;
  --lh-snug: 1.35;
  --lh-normal: 1.65;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1600px) {
  :root {
    --container: 1380px;
    --nav-h: 86px;
  }
}

/* ============ 02. BASE ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background:
    radial-gradient(circle 18px at 53% 76%, rgba(220, 235, 255, 0.95) 0%, rgba(120, 170, 255, 0.35) 40%, rgba(120, 170, 255, 0) 68%),
    radial-gradient(circle 10px at 57% 74%, rgba(190, 215, 255, 0.8) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 7px at 55.5% 79%, rgba(170, 200, 255, 0.7) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 9px at 62% 82%, rgba(170, 200, 255, 0.7) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 13px at 91% 68%, rgba(180, 210, 255, 0.75) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 9px at 92% 62%, rgba(170, 200, 255, 0.7) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 9px at 92% 56%, rgba(170, 200, 255, 0.7) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 15px at 17% 87%, rgba(190, 215, 255, 0.75) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(circle 18px at 6% 93%, rgba(200, 220, 255, 0.85) 0%, rgba(120, 170, 255, 0) 65%),
    radial-gradient(ellipse 700px 900px at 85% -5%, rgba(180, 215, 255, 0.55) 0%, rgba(120, 180, 255, 0.15) 40%, rgba(90, 150, 255, 0) 70%),
    radial-gradient(ellipse 450px 550px at 5% 45%, rgba(70, 130, 220, 0.4) 0%, rgba(70, 130, 220, 0) 70%),
    radial-gradient(ellipse 350px 400px at 0% 20%, rgba(80, 140, 230, 0.3) 0%, rgba(80, 140, 230, 0) 70%),
    linear-gradient(165deg, #06122e 0%, #0c2150 30%, #113068 50%, #0b1e48 75%, #071531 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* touch devices ignore fixed attachment and repaint badly — pin it instead */
@media (max-width: 860px) {
  body {
    background-attachment: scroll;
    background-size: cover;
  }
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-1);
  line-height: var(--lh-snug);
  font-weight: 600;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* keyboard accessibility: one consistent focus ring everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(158, 194, 255, 0.35);
  color: #fff;
}

/* ============ 03. LAYOUT HELPERS ============ */
.hero-section,
.ourservices,
.project_section,
.aboutUs,
.team_section,
.contect_section {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding-block: var(--section-y);
}

.hero-section {
  padding-block: calc(var(--nav-h) + clamp(48px, 9vh, 110px)) var(--section-y);
}

/* section eyebrow row: dot · label · rule */
.start-sec2,
.start-sec3 {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  row-gap: var(--s-4);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.dot1 {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(200, 225, 255, 0.7);
}

.headng-of-section {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-2);
  white-space: nowrap;
  margin: 0;
}

.section2-line,
.section3-line {
  flex: 1 1 60px;
  min-width: 40px;
  height: 1px;
  margin: 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.04)
  );
}

/* shared glass surface */
.card1,
.card2,
.card3,
.team_card,
.box1,
.contect_box,
.modal-card,
.footer_box {
  background: var(--glass);
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-card), var(--inner-light);
}

/* ============ 04. NAVBAR ============ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease;
  animation: fadeDown 0.8s var(--ease) both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar.scrolled {
  background: rgba(8, 22, 54, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-3);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: #fff;
  flex: 0 0 auto;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background-image: url("assets/logo/f-logo.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.logo-text small {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-3);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.nav-links a {
  position: relative;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.mobile-getstarted {
  display: none;
}

.btn-getstarted {
  flex: 0 0 auto;
  padding: 11px 26px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease;
}

.btn-getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.22);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 0.35s var(--ease),
    opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(3, 10, 28, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .btn-getstarted {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(78%, 330px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--s-6);
    padding: var(--s-8) clamp(28px, 7vw, 44px);
    background: rgba(9, 24, 58, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.125rem;
  }

  .nav-links .mobile-getstarted {
    display: inline-block;
    margin-top: var(--s-2);
    padding: 12px 26px;
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
  }

  .nav-links .mobile-getstarted::after {
    display: none;
  }
}

/* ============ 05. HERO ============ */
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-5);
  width: 100%;
  max-width: 34rem;
  animation: heroRise 0.9s var(--ease) both;
}

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

.hero-h {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.hero-p {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  color: var(--text-2);
  max-width: 46ch;
  margin: 0;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
  padding: 14px 30px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  background: #f5f8ff;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(120, 170, 255, 0.35);
}

.btn-hero:active {
  transform: translateY(-1px) scale(0.98);
}

.social-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-4);
}

/* HTML has .social-links nested inside .social-links — neutralise the wrapper */
.social-links .social-links {
  margin-top: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.line1 {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-image1 {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 34vw, 480px);
  background-image: url("assets/hero image/hero_img.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroIntro 1.1s var(--ease) both;
}

@keyframes heroIntro {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.hero-claud,
.hero-claud2 {
  display: none;
}

.hero-claud3 {
  position: absolute;
  top: 14%;
  right: 4%;
  width: clamp(48px, 5vw, 74px);
  aspect-ratio: 1;
  background-image: url("assets/hero image/cloud.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: floatingclaud 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatingclaud {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-content {
    max-width: 38rem;
    order: 1;
  }

  .hero-image1 {
    order: 2;
    min-height: clamp(220px, 52vw, 340px);
  }

  .hero-claud3 {
    display: none;
  }
}

/* ============ 06. TECH MARQUEE ============ */
.carousel {
  --marquee-gap: clamp(2.5rem, 6vw, 5rem);
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  display: flex;
  gap: var(--marquee-gap);
  overflow: hidden;
  padding-block: var(--s-4);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.carousel::-webkit-scrollbar {
  display: none;
}

.group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--marquee-gap);
  min-width: 100%;
  flex-shrink: 0;
  animation: spin 26s linear infinite;
}

.carousel:hover .group {
  animation-play-state: paused;
}

@keyframes spin {
  to {
    transform: translateX(calc(-100% - var(--marquee-gap)));
  }
}

.carousel .card {
  display: grid;
  place-items: center;
  width: clamp(54px, 7vw, 68px);
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.85;
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
}

.carousel .card:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.carousel .card i {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important;
}

/* ============ 07. SERVICES ============ */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  align-items: stretch;
}

/* stray <img src=""> between the cards in the markup */
.services-cards > img:empty,
.services-cards > img:not([src]),
.services-cards > img[src=""] {
  display: none;
}

.card1,
.card2,
.card3 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  height: 100%;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    opacity 0.7s var(--ease),
    filter 0.7s ease;
}

/* reveal states (JS adds .reveal) */
.card1,
.card2,
.card3 {
  opacity: 0;
  transform: translateY(40px);
}

.card1.reveal,
.card2.reveal,
.card3.reveal {
  opacity: 1;
  transform: translateY(0);
}

.card2.reveal {
  transition-delay: 0.1s;
}
.card3.reveal {
  transition-delay: 0.2s;
}

.card1.reveal:hover,
.card2.reveal:hover,
.card3.reveal:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-hover), var(--inner-light);
  transition-delay: 0s;
}

/* media block — was absolutely positioned, now part of the flow */
.service-image1,
.service-image2,
.service-image3 {
  position: static;
  width: 100%;
  height: clamp(140px, 16vw, 180px);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.service-image1 {
  background-image: url("assets/services-images/custom-web.webp");
}
.service-image2 {
  background-image: url("assets/services-images/wordpress.webp");
}
.service-image3 {
  background-image: url("assets/services-images/3d.webp");
}

.card1-content,
.card2-content,
.card3-content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "title  title"
    "desc   desc"
    "action arrow";
  align-items: end;
  gap: var(--s-3) var(--s-4);
  margin: 0;
  flex: 1;
}

.card-heading {
  grid-area: title;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--text-1);
  margin: 0;
}

.card-para {
  grid-area: desc;
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--text-2);
  margin: 0;
  max-width: 34ch;
}

.view-btn {
  grid-area: action;
  align-self: end;
  padding-top: var(--s-3);
}

.arrow {
  grid-area: arrow;
  align-self: end;
  padding-top: var(--s-3);
}

.view-btn a {
  position: static;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.view-btn a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--stroke-strong);
  transform: translateY(-2px);
}

.view-btn a:active {
  transform: translateY(0) scale(0.98);
}

.arrow a {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: var(--text-2);
  font-size: var(--fs-sm);
  transition:
    transform 0.3s var(--ease),
    background 0.3s ease,
    color 0.3s ease;
}

.arrow a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(3px);
}

/* ============ 08. MODALS (services + about) ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(5, 13, 32, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: min(88dvh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(32px, 4vw, 56px) clamp(22px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.4s var(--ease),
    opacity 0.35s ease;
}

.modal-overlay.active .modal-card {
  transform: none;
  opacity: 1;
}

.modal-card::-webkit-scrollbar {
  width: 8px;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    transform 0.25s var(--ease);
  z-index: 3;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto clamp(32px, 4vw, 48px);
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: var(--s-3);
}

.modal-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-2);
  margin: 0;
}

.modal-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  align-items: stretch;
  padding-top: var(--s-3);
}

.plan-card {
  --y: 22px;
  --sc: 0.98;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px) clamp(20px, 2.2vw, 26px);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), var(--inner-light);
  opacity: 0;
  transform: translateY(var(--y)) scale(var(--sc));
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s ease,
    border-color 0.3s ease;
}

.modal-overlay.active .plan-card {
  --y: 0px;
  --sc: 1;
  opacity: 1;
}

.modal-overlay.active .plan-card:nth-child(1) {
  transition-delay: 0.08s;
}
.modal-overlay.active .plan-card:nth-child(2) {
  transition-delay: 0.16s;
}
.modal-overlay.active .plan-card:nth-child(3) {
  transition-delay: 0.24s;
}

.modal-overlay.active .plan-card:hover {
  --y: -8px;
  border-color: var(--stroke-strong);
}

.plan-card.plan-premium {
  border-color: rgba(255, 215, 130, 0.45);
  background: rgba(255, 215, 130, 0.07);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(255, 215, 130, 0.1),
    var(--inner-light);
}

@media (min-width: 861px) {
  .modal-overlay.active .plan-card.plan-premium {
    --sc: 1.035;
  }
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #ffd782, #ffb648);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 182, 72, 0.35);
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--s-5);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.15rem;
}

.plan-premium .plan-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 130, 0.3),
    rgba(255, 182, 72, 0.14)
  );
  color: var(--gold);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--s-1);
}

.plan-price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--s-6);
}

.plan-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-3);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-2);
}

.plan-features li i {
  flex: 0 0 auto;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--ok);
}

.plan-premium .plan-features li i {
  color: var(--gold);
}

.plan-select {
  display: block;
  margin-top: auto;
  padding: 13px 0;
  border-radius: var(--r-pill);
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke-strong);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease);
}

.plan-select:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

.plan-premium .plan-select {
  background: linear-gradient(135deg, #ffd782, #ffb648);
  color: var(--navy);
  border-color: transparent;
}

.plan-premium .plan-select:hover {
  box-shadow: 0 10px 24px rgba(255, 182, 72, 0.3);
}

/* about modal */
.about-modal-card {
  max-width: 860px;
  text-align: left;
}

.about-modal-body {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 38px);
}

.about-modal-text {
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-2);
  max-width: 68ch;
}

.about-modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: var(--s-5);
}

.stat-item {
  padding: clamp(20px, 2.2vw, 26px) var(--s-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--stroke);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s var(--ease);
}

.modal-overlay.active .stat-item {
  opacity: 1;
  transform: none;
}

.modal-overlay.active .stat-item:nth-child(1) {
  transition-delay: 0.12s;
}
.modal-overlay.active .stat-item:nth-child(2) {
  transition-delay: 0.2s;
}
.modal-overlay.active .stat-item:nth-child(3) {
  transition-delay: 0.28s;
}

.stat-item i {
  display: block;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: var(--s-3);
}

.stat-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--s-1);
}

.stat-item p {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-3);
}

.about-modal-subheading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: #fff;
  margin-bottom: calc(var(--s-3) * -1);
}

.about-modal-services {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.about-service-item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s var(--ease);
}

.modal-overlay.active .about-service-item {
  opacity: 1;
  transform: none;
}

.modal-overlay.active .about-service-item:nth-child(1) {
  transition-delay: 0.18s;
}
.modal-overlay.active .about-service-item:nth-child(2) {
  transition-delay: 0.26s;
}
.modal-overlay.active .about-service-item:nth-child(3) {
  transition-delay: 0.34s;
}

.about-service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: 1.05rem;
}

.about-service-item h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--s-1);
}

.about-service-item p {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 62ch;
}

/* ============ 09. PROJECTS ============ */
.project_section .start-sec3 {
  gap: var(--s-4);
}

.projects_list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-left: auto;
}

.projects_list h4 {
  margin: 0;
  font-weight: 400;
}

.projects_list h4 a {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.projects_list h4 a:hover {
  color: #fff;
  border-color: var(--stroke-strong);
  background: rgba(255, 255, 255, 0.12);
}

.projects_list h4 a.filter-active {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.all_projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.box1 {
  position: relative;
  height: 100%;
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-lg);
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.box1.reveal {
  opacity: 1;
  transform: none;
}

.box1.reveal:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-hover), var(--inner-light);
}

.content_box {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 28px);
  margin: 0;
  height: 100%;
}

.image1_box,
.image2_box,
.image3_box,
.image4_box,
.image5_box,
.image6_box {
  position: static;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.image1_box {
  background-image: url("assets/project images/costome web 1.png");
}
.image2_box {
  background-image: url("assets/project images/costome web 2.png");
}
.image3_box {
  background-image: url("assets/project images/wordpress1.png");
}
.image4_box {
  background-image: url("assets/project images/wordpress2.png");
}
.image5_box {
  background-image: url("assets/project images/3dmodels.webp");
}
.image6_box {
  background-image: url("assets/project images/3d car.webp");
}

.content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title title"
    "tag   tag"
    "cta   arrow";
  align-items: center;
  gap: var(--s-3) var(--s-3);
  margin: 0;
}

.content h3 {
  grid-area: title;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--text-1);
}

.tag,
.tag2 {
  grid-area: tag;
  justify-self: start;
  width: auto;
  margin: 0;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}

.view_project {
  grid-area: cta;
  justify-self: start;
  position: static;
  display: inline-flex;
  align-items: center;
  margin-top: var(--s-2);
  padding: 11px 20px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.view_project:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--stroke-strong);
  transform: translateY(-2px);
}

.arrow_project {
  grid-area: arrow;
  justify-self: end;
  margin-top: var(--s-2);
}

.arrow_project a {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  color: var(--text-2);
  font-size: var(--fs-sm);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease);
}

.arrow_project a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

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

  .image1_box,
  .image2_box,
  .image3_box,
  .image4_box,
  .image5_box,
  .image6_box {
    aspect-ratio: 16 / 10;
  }
}

/* ============ 10. ABOUT ============ */
.aboutUs {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "head head"
    "text media";
  align-items: center;
  column-gap: clamp(32px, 5vw, 72px);
}

.aboutUs > .start-sec3 {
  grid-area: head;
}

.about_content {
  grid-area: text;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-5);
  width: 100%;
  max-width: 34rem;
  margin: 0;
}

.about_h {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: #fff;
}

.about_pera {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--text-2);
  max-width: 56ch;
}

.about_btn {
  margin-top: var(--s-2);
}

.about_btn a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 13px 28px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.about_btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(17, 48, 104, 0.22),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.about_btn a:hover::before {
  left: 125%;
}

.about_btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.2);
}

.about_btn a:active {
  transform: translateY(-1px) scale(0.98);
}

.about_image {
  grid-area: media;
  position: static;
  width: 100%;
  min-height: clamp(260px, 30vw, 420px);
  border-radius: var(--r-lg);
  background-image: url("assets/about us pics/about_img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-card);
}

@media (max-width: 960px) {
  .aboutUs {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "text"
      "media";
    row-gap: clamp(28px, 5vw, 44px);
  }

  .aboutUs > .start-sec3 {
    margin-bottom: 0;
  }

  .about_content {
    max-width: 38rem;
  }

  .about_image {
    min-height: clamp(220px, 45vw, 320px);
  }
}

/* ============ 11. TEAM ============ */
.team_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  margin: 0;
  align-items: stretch;
}

.team_card {
  position: relative;
  height: 100%;
  padding: clamp(26px, 2.6vw, 32px) var(--s-5) clamp(24px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.team_card.reveal {
  opacity: 1;
  transform: none;
}

.team_card:nth-child(2).reveal {
  transition-delay: 0.08s;
}
.team_card:nth-child(3).reveal {
  transition-delay: 0.16s;
}
.team_card:nth-child(4).reveal {
  transition-delay: 0.24s;
}

.team_card.reveal:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-hover), var(--inner-light);
  transition-delay: 0s;
}

.team_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-2);
  margin: 0;
  height: 100%;
}

.kabeer_img,
.ali_img,
.ameer_img,
.husnain_img {
  position: static;
  width: clamp(104px, 11vw, 128px);
  aspect-ratio: 1;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
}

.kabeer_img {
  background-image: url("assets/team images/Kabeer khan.webp");
}
.ali_img {
  background-image: url("assets/team images/ali.webp");
}
.ameer_img {
  background-image: url("assets/team images/ameer.webp");
}
.husnain_img {
  background-image: url("assets/team images/husnain.webp");
}

.member_name,
.member_name3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--text-1);
}

.member_grade,
.member_grade2,
.member_grade3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text-3);
  text-align: center;
}

.member_grade2 small {
  font-size: inherit;
}

.members_social_links {
  display: flex;
  justify-content: center;
  gap: var(--s-3);
  margin: auto 0 0;
  padding-top: var(--s-5);
}

.social_links_m a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  color: #fcfdff;
  font-size: 0.85rem;
  transition:
    transform 0.35s var(--ease),
    background 0.3s ease,
    color 0.3s ease;
}

.social_links_m a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--navy);
}

.social_links_m a:active {
  transform: translateY(0) scale(0.96);
}

.portfolio_link {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  color: #fcfdff;
  font-size: 0.8rem;
  transition:
    transform 0.35s var(--ease),
    background 0.3s ease,
    color 0.3s ease;
}

.portfolio_link:hover {
  transform: translateY(-2px) scale(1.06);
  background: #fff;
  color: var(--navy);
}

/* ============ 12. CONTACT ============ */
.contect_box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr) minmax(0, 0.6fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  margin: 0;
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.contect_box.reveal {
  opacity: 1;
  transform: none;
}

.contact_info {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  width: auto;
  margin: 0;
}

.form_heading {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: #fff;
}

.form_title {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--text-2);
  max-width: 34ch;
}

.contect_links {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-top: var(--s-2);
}

.link_icon1,
.link_icon2,
.link_icon3 {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400 !important;
  line-height: 1.5;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.link_icon1 i,
.link_icon2 i,
.link_icon3 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  color: #fcfdff;
  font-size: 0.8rem;
}

.contact_form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
}

.form_row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: var(--s-4);
}

.form_group {
  position: relative;
  width: 100%;
}

.form_group_full {
  width: 100%;
}

.form_group input,
.form_group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--stroke);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.form_group textarea {
  min-height: 150px;
  resize: vertical;
}

.form_group input::placeholder,
.form_group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form_group input:hover,
.form_group textarea:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.form_group input:focus,
.form_group textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(158, 194, 255, 0.14);
}

.input_glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffffff, var(--accent));
  transform: translateX(-50%);
  transition: width 0.4s var(--ease);
  pointer-events: none;
}

.form_group input:focus ~ .input_glow,
.form_group textarea:focus ~ .input_glow {
  width: 86%;
}

.btn_send {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
  padding: 14px 30px;
  border: none;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    background 0.3s ease;
}

.btn_send::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(17, 48, 104, 0.22),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.btn_send:hover::before {
  left: 125%;
}

.btn_send:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.2);
}

.btn_send:active {
  transform: translateY(-1px) scale(0.98);
}

.btn_send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn_send i {
  transition: transform 0.35s var(--ease);
}

.btn_send:hover i {
  transform: translateX(3px) translateY(-2px) rotate(12deg);
}

.btn_send.sent {
  background: var(--ok);
  color: #0c3d22;
}

.f_img {
  align-self: center;
  width: 100%;
  min-height: 220px;
  background-image: url("assets/form_img/cube_form.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .contect_box {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  }

  .f_img {
    display: none;
  }
}

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

  .btn_send {
    align-self: stretch;
    justify-content: center;
  }
}

/* ============ 13. FOOTER ============ */
.footer_section {
  margin-top: clamp(48px, 6vw, 88px);
  width: 100%;
}

.footer_box {
  padding: clamp(44px, 5vw, 72px) var(--gutter) clamp(24px, 3vw, 32px);
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--stroke);
  box-shadow: none;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.footer_box.reveal {
  opacity: 1;
  transform: none;
}

.footer_top {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.footer_brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer_logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: #fff;
}

.footer_logo .logo-text {
  font-family: var(--font-display);
}

.footer_about {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--text-2);
  max-width: 38ch;
}

.footer_social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

.footer_social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  color: #fcfdff;
  font-size: 0.85rem;
  transition:
    transform 0.35s var(--ease),
    background 0.3s ease,
    color 0.3s ease;
}

.footer_social a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--navy);
}

.footer_heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-1);
  margin-bottom: var(--s-5);
}

.footer_links {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer_links li a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-2);
  transition:
    color 0.3s ease,
    transform 0.3s var(--ease);
}

.footer_links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.footer_links li a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer_links li a:hover::after {
  transform: scaleX(1);
}

.footer_contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.footer_contact li i {
  margin-top: 6px;
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer_divider {
  width: min(100%, var(--container));
  margin: clamp(36px, 4vw, 52px) auto clamp(20px, 2.4vw, 26px);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer_bottom {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer_bottom p,
.footer_bottom_links a {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  color: var(--text-3);
}

.footer_bottom_links {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.footer_bottom_links a:hover {
  color: #fff;
}

.footer_bottom_links span {
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
  .footer_top {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    row-gap: clamp(28px, 6vw, 40px);
  }
}

@media (max-width: 560px) {
  .footer_bottom {
    justify-content: flex-start;
  }
}

/* ============ 14. MOTION / ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .card1,
  .card2,
  .card3,
  .box1,
  .team_card,
  .contect_box,
  .footer_box,
  .plan-card,
  .stat-item,
  .about-service-item,
  .hero-content,
  .hero-image1 {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* fallback: if JS never runs, nothing stays invisible */
@media (scripting: none) {
  .card1,
  .card2,
  .card3,
  .box1,
  .team_card,
  .contect_box,
  .footer_box {
    opacity: 1;
    transform: none;
  }
}