:root {
  --aina-technology-cyan: #17b9e6;
  --aina-technology-cyan-dark: #0f9fc9;
  --aina-technology-dark: #1c2733;
  --aina-technology-light-bg: #eaf6fb;
  --aina-technology-light-bg-2: #dbeff8;
  --text-muted: #5b6672;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--aina-technology-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* ============ HEADER / NAV ============ */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #ecf0f3;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  min-height: 94px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand-name {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--aina-technology-cyan);
  letter-spacing: -2px;
  line-height: 1;
}
.brand-name .brand-x {
  color: var(--aina-technology-cyan-dark);
}
.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-tagline {
  font-family: "Dancing Script", cursive;
  font-size: 1rem;
  color: var(--aina-technology-cyan);
  margin-top: -8px;
  letter-spacing: 0.02em;
}

.main-menu {
  gap: 0.3rem;
}

.main-menu .nav-link {
  color: #2a3138;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.5rem 0.8rem !important;
  position: relative;
  transition: color 0.2s ease;
}
.main-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 2px;
  height: 2px;
  background: var(--aina-technology-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-menu .nav-link:hover,
.main-menu .nav-link.active {
  color: var(--aina-technology-cyan);
}
.main-menu .nav-link:hover::after,
.main-menu .nav-link.active::after {
  transform: scaleX(1);
}

.nav-phone a {
  color: var(--aina-technology-cyan);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

/* ============ SOCIAL SIDEBAR ============ */
.social-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.social-sidebar a {
  color: #222;
  font-size: 1.1rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.social-sidebar a:hover {
  color: var(--aina-technology-cyan);
  transform: translateY(-2px) scale(1.15);
}
.social-sidebar .side-line {
  width: 1px;
  height: 60px;
  background: #b9c2c9;
  display: block;
}

/* ============ APPOINTMENT TAB ============ */
.appointment-tab {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--aina-technology-cyan);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 22px 10px;
  border-radius: 4px 0 0 4px;
  z-index: 900;
  transition:
    background 0.2s ease,
    padding 0.2s ease;
  animation: pulseTab 2.6s ease-in-out infinite;
}
.appointment-tab:hover {
  background: var(--aina-technology-cyan-dark);
  color: #fff;
  padding-right: 16px;
  animation-play-state: paused;
}

@keyframes pulseTab {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(23, 185, 230, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(23, 185, 230, 0);
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  margin-top: -70px;
  overflow: hidden;
  padding: 14px 0 10px;
  min-height: 620px;
  background: linear-gradient(180deg, #edf7fb 0%, #dfeef6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0) 42%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(152, 175, 188, 0.08),
      rgba(152, 175, 188, 0.08) 1px,
      transparent 1px,
      transparent 120px
    );
  pointer-events: none;
}

.hero::after {
  content: "Aina Technology Aina Technology Aina Technology Aina Technology";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: clamp(1.1rem, 2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: rgba(23, 185, 230, 0.06);
  text-align: center;
  white-space: normal;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.hero-shell {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
}

.hero .carousel-inner {
  position: relative;
  overflow: hidden;
}

.hero .carousel-item {
  display: none;
  min-height: 560px;
}

.hero .carousel-item.active,
.hero .carousel-item.carousel-item-next,
.hero .carousel-item.carousel-item-prev {
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 100%;
}

/* Hero entrance animation */
.reveal-hero .hero-card {
  animation: heroCardIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.reveal-hero .hero-kicker {
  animation: heroFadeUp 0.7s ease 0.15s both;
}
.reveal-hero .hero-title {
  animation: heroFadeUp 0.7s ease 0.3s both;
}
.reveal-hero .hero-text {
  animation: heroFadeUp 0.7s ease 0.45s both;
}
.reveal-hero .btn-aina-technology {
  animation: heroFadeUp 0.7s ease 0.6s both;
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  position: relative;
  max-width: 560px;
  padding: 28px 28px 18px 28px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.hero-kicker {
  font-family: "Dancing Script", cursive;
  font-size: 2.1rem;
  color: #2d3a45;
  margin-bottom: 8px;
}

.hero-title {
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-3d {
  display: inline-block;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 700;
  font-style: italic;
  color: var(--aina-technology-cyan);
  text-shadow: 0 3px 0 rgba(23, 185, 230, 0.2);
}

.hero-solution {
  display: block;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 800;
  color: #1b2731;
}

.hero-text {
  max-width: 450px;
  margin: 22px 0 24px;
  color: #4d5d6b;
  font-size: 1.12rem;
  line-height: 1.55;
}

.btn-aina-technology {
  position: relative;
  overflow: hidden;
  background: #0b1519;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: none;
  border-radius: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-aina-technology::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-aina-technology:hover {
  background: var(--aina-technology-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 185, 230, 0.3);
}
.btn-aina-technology:hover::before {
  left: 130%;
}

.btn-outline-aina-technology {
  border: 2px solid var(--aina-technology-cyan);
  color: var(--aina-technology-cyan);
  font-weight: 600;
  padding: 12px 28px;
  transition: all 0.2s ease;
}
.btn-outline-aina-technology:hover {
  background: var(--aina-technology-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 185, 230, 0.25);
}

.hero-visual {
  position: absolute;
  right: -30px;
  bottom: -26px;
  width: min(58vw, 820px);
  z-index: 0;
  opacity: 0.98;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image {
  position: absolute;
  right: 20px;
  bottom: 26px;
  width: 500px;
  max-width: 58%;
  height: auto;
  z-index: 2;
  padding: 18px 16px 14px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.1));
  animation: heroImageFloat 5s ease-in-out infinite;
}

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

.hero-image-mobile {
  width: 320px;
  max-width: 42%;
  right: 90px;
  bottom: 40px;
}

.hero-image-digital {
  width: 420px;
  max-width: 50%;
  right: 70px;
  bottom: 30px;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aina-technology-dark);
  font-size: 1.2rem;
  z-index: 5;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.hero-nav-btn.prev {
  left: 24px;
}
.hero-nav-btn.next {
  right: 24px;
}
.hero-nav-btn:hover {
  background: var(--aina-technology-cyan);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 991px) {
  .hero {
    padding-top: 10px;
    min-height: 720px;
  }
  .hero-shell {
    min-height: 640px;
    align-items: flex-start;
    justify-content: center;
  }
  .hero-copy {
    margin-top: 40px;
    text-align: center;
  }
  .hero-card {
    margin: 0 auto;
    padding: 26px 20px 24px;
  }
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 700px;
    margin: 10px auto 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-panel {
    padding: 28px;
  }
  .hero-nav-btn {
    display: none;
  }
}

/* ============ SCROLL REVEAL (generic) ============ */
.reveal-on-scroll {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.reveal-up {
  transform: translateY(32px);
}
.reveal-on-scroll.reveal-left {
  transform: translateX(-40px);
}
.reveal-on-scroll.reveal-right {
  transform: translateX(40px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-hero .hero-card,
  .reveal-hero .hero-kicker,
  .reveal-hero .hero-title,
  .reveal-hero .hero-text,
  .reveal-hero .btn-aina-technology,
  .hero-image {
    animation: none;
  }
}

/* ============ SECTION GENERIC ============ */
.section {
  padding: 90px 0;
}
.section-title-wrap {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-eyebrow {
  font-family: "Dancing Script", cursive;
  color: var(--aina-technology-cyan);
  font-size: 1.4rem;
}
.section-title {
  font-weight: 700;
  font-size: 2.1rem;
}
.section-desc {
  color: var(--text-muted);
}

/* ============ SERVICE / FEATURE CARDS ============ */
.service-card {
  background: #fff;
  border: 1px solid #eef2f5;
  padding: 36px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--aina-technology-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(23, 185, 230, 0.16);
  border-color: rgba(23, 185, 230, 0.25);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--aina-technology-light-bg);
  color: var(--aina-technology-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--aina-technology-cyan);
  color: #fff;
}
.service-card h5 {
  font-weight: 600;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* —— Homepage services carousel (3 visible, scroll right → left) —— */
.services-carousel {
  position: relative;
  max-width: 100%;
  --svc-gap: 24px;
  --svc-visible: 3;
  --svc-slide-w: 320px;
  --svc-duration: 36s;
}

.services-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 4px 2px 8px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
}

.services-carousel-track {
  display: flex;
  gap: var(--svc-gap);
  width: max-content;
  will-change: transform;
}

.services-carousel-track--rtl {
  animation: servicesScrollRtl var(--svc-duration) linear infinite;
}

.services-carousel:hover .services-carousel-track--rtl,
.services-carousel:focus-within .services-carousel-track--rtl {
  animation-play-state: paused;
}

@keyframes servicesScrollRtl {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.services-carousel-slide {
  flex: 0 0 var(--svc-slide-w);
  width: var(--svc-slide-w);
  min-width: var(--svc-slide-w);
}

@media (max-width: 767px) {
  .services-carousel {
    --svc-gap: 12px;
  }
  .services-carousel-viewport {
    margin: 0 -4px;
  }
  .services-carousel .service-card {
    padding: 22px 14px;
  }
  .services-carousel .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  .services-carousel .service-card h5 {
    font-size: 0.92rem;
  }
  .services-carousel .service-card p {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-carousel-track--rtl {
    animation: none;
  }
}

/* ============ PORTFOLIO ============ */
.portfolio-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12, 20, 26, 0.06);
  transition: box-shadow 0.3s ease;
}
.portfolio-item:hover {
  box-shadow: 0 18px 34px rgba(23, 185, 230, 0.2);
}
.portfolio-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 185, 230, 0) 40%,
    rgba(15, 20, 26, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-item:hover img {
  transform: scale(1.1);
}
.portfolio-overlay .cat-tag {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--aina-technology-cyan);
}
.filter-btns .btn {
  border: 1px solid #dde5ea;
  color: var(--aina-technology-dark);
  margin: 0 4px 8px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.filter-btns .btn.active,
.filter-btns .btn:hover {
  background: var(--aina-technology-cyan);
  border-color: var(--aina-technology-cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* —— Homepage portfolio carousel (3 visible, scroll right → left) —— */
.portfolio-carousel {
  position: relative;
  max-width: 100%;
  --pf-gap: 24px;
  --pf-visible: 3;
  --pf-slide-w: 360px;
  --pf-duration: 40s;
}

.portfolio-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 4px 2px 8px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
}

.portfolio-carousel-track {
  display: flex;
  gap: var(--pf-gap);
  width: max-content;
  will-change: transform;
}

.portfolio-carousel-track--rtl {
  animation: portfolioScrollRtl var(--pf-duration) linear infinite;
}

.portfolio-carousel:hover .portfolio-carousel-track--rtl,
.portfolio-carousel:focus-within .portfolio-carousel-track--rtl {
  animation-play-state: paused;
}

@keyframes portfolioScrollRtl {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.portfolio-carousel-slide {
  flex: 0 0 var(--pf-slide-w);
  width: var(--pf-slide-w);
  min-width: var(--pf-slide-w);
}

.portfolio-carousel-slide .portfolio-item {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .portfolio-carousel {
    --pf-gap: 12px;
    --pf-slide-w: 260px;
  }
  .portfolio-carousel-viewport {
    margin: 0 -4px;
  }
  .portfolio-carousel-slide .portfolio-item img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-carousel-track--rtl {
    animation: none;
  }
}

/* ============ ABOUT ============ */
.about-preview {
  position: relative;
  background: #f8f8f8;
  overflow: hidden;
}

.about-copy-wrap {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-left: 10px;
}

.about-intro {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: #2d3a45;
  margin-bottom: 4px;
}

.about-heading {
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 12px;
  color: #1c2733;
}

.about-heading {
  color: var(--aina-technology-cyan);
}

.about-subheading {
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: #1f2730;
}

.about-text {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.watermark-word {
  position: absolute;
  left: 0;
  bottom: -26px;
  font-size: clamp(5.5rem, 12vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: rgba(23, 185, 230, 0.08);
  z-index: 0;
  pointer-events: none;
}

.about-visual-stack {
  position: relative;
  height: 500px;
  width: 100%;
}

.about-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 185, 230, 0.14);
  box-shadow: 0 18px 30px rgba(12, 20, 26, 0.1);
  overflow: hidden;
  border-radius: 18px;
  padding: 9px;
  animation: floatCard 6s ease-in-out infinite alternate;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.about-card:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 24px 40px rgba(23, 185, 230, 0.22);
  z-index: 3;
}

.about-card-top {
  width: 260px;
  height: 200px;
  right: 90px;
  top: 10px;
  transform: rotate(-2deg);
}

.about-card-middle {
  width: 260px;
  height: 200px;
  left: 40px;
  top: 145px;
  transform: rotate(1deg);
  animation-delay: 0.6s;
}

.about-card-bottom {
  width: 260px;
  height: 200px;
  right: 20px;
  bottom: 10px;
  background: rgba(168, 219, 238, 0.7);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 9px;
  transform: rotate(2deg);
  animation-delay: 1.1s;
}

.about-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 2px solid rgba(17, 185, 230, 0.28);
  background: #f4f9fc;
}

.about-card-tag {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

.about-card-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
}

.about-card-tag {
  position: relative;
  z-index: 1;
}

@keyframes floatCard {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
  100% {
    transform: translateY(8px) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card {
    animation: none;
  }
}

.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: 4px;
}
.about-stats {
  display: flex;
  gap: 34px;
  margin-top: 30px;
}
.about-stats .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--aina-technology-cyan);
}
.about-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--aina-technology-cyan);
  color: #fff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: ctaBlobFloat 8s ease-in-out infinite;
}
@keyframes ctaBlobFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 40px);
  }
}
.cta-strip h3 {
  font-weight: 700;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.cta-strip .btn-light {
  position: relative;
  z-index: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.cta-strip .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* ============ FORMS (Enquiry / Contact) ============ */
.form-card {
  background: #fff;
  padding: 44px;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.form-control,
.form-select {
  border-radius: 3px;
  border: 1px solid #dfe6ea;
  padding: 12px 14px;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--aina-technology-cyan);
  box-shadow: 0 0 0 0.2rem rgba(23, 185, 230, 0.15);
}
.form-label {
  font-weight: 500;
  font-size: 0.88rem;
}

/* ============ PAGE HEADER (inner pages) ============ */
.page-banner {
  background: var(--aina-technology-dark);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
}
.page-banner h1 {
  font-weight: 700;
  font-size: 2.4rem;
}
.page-banner .breadcrumb-aina-technology a {
  color: var(--aina-technology-cyan);
}
.page-banner .breadcrumb-aina-technology span {
  color: #aeb8c1;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--aina-technology-dark);
  color: #c7ced4;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--aina-technology-cyan) 0%,
    var(--aina-technology-cyan-dark) 50%,
    var(--aina-technology-cyan) 100%
  );
}

.footer-brand {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--aina-technology-cyan);
  letter-spacing: -1.5px;
  line-height: 1;
  display: inline-block;
}
.footer-brand .brand-x {
  color: #fff;
  font-weight: 600;
}

.footer-tagline {
  font-family: "Dancing Script", cursive;
  color: var(--aina-technology-cyan);
  font-size: 1.15rem;
  margin: 6px 0 14px;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #9aa4ad;
  max-width: 380px;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--aina-technology-cyan);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #9aa4ad;
  font-size: 0.92rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.footer-links a::before {
  content: "\2192";
  display: inline-block;
  width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
  color: var(--aina-technology-cyan);
}
.footer-links a:hover {
  color: var(--aina-technology-cyan);
  padding-left: 2px;
}
.footer-links a:hover::before {
  width: 14px;
  opacity: 1;
  transform: translateX(0);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(23, 185, 230, 0.12);
  color: var(--aina-technology-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.footer-contact a,
.footer-contact span {
  color: #c7ced4;
  line-height: 1.5;
  padding-top: 6px;
}
.footer-contact a {
  transition: color 0.2s ease;
}
.footer-contact a:hover {
  color: var(--aina-technology-cyan);
}

.footer-social {
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #37424c;
  border-radius: 50%;
  color: #c7ced4;
  margin-right: 10px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}
.footer-social a:hover {
  background: var(--aina-technology-cyan);
  border-color: var(--aina-technology-cyan);
  color: #fff;
  transform: translateY(-3px);
}

.footer-divider {
  border-color: #333f49;
  margin: 40px 0 20px;
  opacity: 1;
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom {
  font-size: 0.85rem;
  color: #7d8790;
}
.footer-legal {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.footer-legal a {
  color: #7d8790;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--aina-technology-cyan);
}

@media (max-width: 991px) {
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ ALERTS ============ */
.alert-aina-technology-success {
  background: #e6f9f0;
  color: #1b8a53;
  border: 1px solid #c3edd8;
}
.alert-aina-technology-error {
  background: #fdeeee;
  color: #c0392b;
  border: 1px solid #f7cfcf;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-panel {
    padding: 28px;
  }
  .hero-nav-btn {
    display: none;
  }
}
