/* A2Z-MySchoolApp — vibrant tech / neon UI (loads after styles.css) */

:root {
  --sw-void: #05040a;
  --sw-surface: #0c0a14;
  --sw-panel: #12101f;
  --sw-panel-2: #18162a;
  --sw-line: rgba(168, 85, 247, 0.35);
  --sw-violet: #a855f7;
  --sw-cyan: #22d3ee;
  --sw-magenta: #e879f9;
  --sw-lime: #bef264;
  --sw-amber: #fbbf24;
  --sw-text: #f1f5f9;
  --sw-muted: #94a3b8;
  --bs-primary: #a855f7;
  --bs-primary-rgb: 168, 85, 247;
  --bs-link-color: #22d3ee;
  --bs-link-hover-color: #67e8f9;
  --bs-body-font-family: "IBM Plex Sans", system-ui, sans-serif;
  --bs-body-color: var(--sw-text);
  --bs-border-radius: 0.875rem;
  --bs-border-radius-lg: 1.125rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body.site-tech {
  font-family: var(--bs-body-font-family);
  color: var(--sw-text);
  background-color: var(--sw-void);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(168, 85, 247, 0.08), transparent 50%),
    linear-gradient(rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-attachment: scroll, fixed, fixed;
}

.site-tech h1,
.site-tech h2,
.site-tech h3,
.site-tech h4,
.site-tech h5,
.site-tech h6,
.site-tech .section-heading {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-tech .text-muted {
  color: var(--sw-muted) !important;
}

.site-tech .bg-light {
  background-color: var(--sw-panel) !important;
}

.site-tech .text-primary {
  color: var(--sw-violet) !important;
}

/* ——— Navigation ——— */
#mainNav {
  background: rgba(5, 4, 10, 0.85) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

#mainNav .sw-nav-container {
  padding-top: 0;
  padding-bottom: 0;
}

#mainNav .sw-header-strip {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(168, 85, 247, 0.22);
}

#mainNav .sw-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sw-cyan);
  margin: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  flex-shrink: 0;
  line-height: 1.2;
}

#mainNav .sw-header-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--sw-lime);
  box-shadow: 0 0 10px var(--sw-lime);
  animation: sw-pulse 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  #mainNav .sw-header-badge::before {
    animation: none;
  }
}

#mainNav .sw-header-link {
  color: rgba(226, 232, 240, 0.92) !important;
  transition: color 0.2s, text-shadow 0.2s;
}

#mainNav .sw-header-link:hover {
  color: var(--sw-cyan) !important;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
}

#mainNav .sw-header-link i {
  color: var(--sw-cyan);
  opacity: 0.9;
}

#mainNav .sw-header-know-more {
  row-gap: 0.35rem;
}

#mainNav .sw-header-know-more-label {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
  white-space: nowrap;
  line-height: 1.2;
}

#mainNav .sw-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

#mainNav .sw-social-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(34, 211, 238, 0.25));
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
  transform: translateY(-1px);
}

#mainNav .sw-app-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.2rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.3);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}

#mainNav .sw-app-icon-link:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.25);
  transform: translateY(-1px);
}

#mainNav .sw-app-icon-link img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
  display: block;
}

@media (max-width: 575.98px) {
  #mainNav .sw-header-strip {
    font-size: 0.75rem;
  }

  #mainNav .sw-header-contact {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #mainNav .sw-social-btn {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.75rem;
  }

  #mainNav .sw-app-icon-link {
    width: 2rem;
    height: 2rem;
  }

  #mainNav .sw-app-icon-link img {
    width: 1.45rem;
    height: 1.45rem;
  }
}

#mainNav .navbar-brand {
  color: #fff !important;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-family: "Sora", sans-serif !important;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(34, 211, 238, 0.15));
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.25);
}

#mainNav .navbar-toggler {
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 0.5rem;
  color: var(--sw-cyan);
  font-family: "Sora", sans-serif !important;
  letter-spacing: 0.1em;
}

@media (min-width: 992px) {
  #mainNav {
    background: transparent !important;
    border-bottom-color: transparent;
  }

  #mainNav.navbar-shrink {
    background: rgba(5, 4, 10, 0.92) !important;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

#mainNav .navbar-brand img {
  height: auto !important;
  max-height: 3.25rem;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.35));
}

@media (min-width: 992px) {
  .site-tech #mainNav .navbar-brand img {
    max-height: 4.75rem;
  }

  .site-tech #mainNav.navbar-shrink .navbar-brand img {
    max-height: 3.25rem !important;
  }
}

/* ——— Hero ——— */
header.masthead {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 4rem;
  text-align: left;
  background-color: var(--sw-void);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(168, 85, 247, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(34, 211, 238, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(232, 121, 249, 0.1), transparent),
    linear-gradient(180deg, rgba(5, 4, 10, 0.75) 0%, rgba(5, 4, 10, 0.92) 100%),
    url("../assets/img/a2z_mobileapp_background_10.png");
  background-size: auto, auto, auto, cover, cover;
  background-position: center, center, center, center, center center;
  background-repeat: no-repeat;
}

/* ——— Hero layout: ticker first, then content (top spacing on wrapper) ——— */
.masthead-inner {
  position: relative;
  z-index: 4;
  padding-top: calc(env(safe-area-inset-top, 0px) + 11.25rem);
}

.hero-ticker-outer {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 0.75rem 1rem;
}

@media (min-width: 576px) {
  .hero-ticker-outer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 1200px) {
  .hero-ticker-outer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ——— Hero ticker: rounded translucent glass, one line at a time (5s) ——— */
.hero-ticker {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0.78rem 1.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(34, 211, 238, 0.08) 42%,
    rgba(168, 85, 247, 0.1) 100%
  );
  background-color: rgba(8, 6, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(34, 211, 238, 0.12) inset,
    0 0 36px -8px rgba(168, 85, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.hero-ticker::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.07) 48%,
    rgba(165, 243, 252, 0.12) 52%,
    transparent 65%
  );
  animation: hero-ticker-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-ticker-sheen {
  0%, 100% {
    transform: translateX(-12%) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translateX(12%) rotate(0deg);
    opacity: 0.85;
  }
}

.hero-ticker-text {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: min(52rem, 100%);
  min-height: 2.75em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  text-wrap: balance;
  font-family: "Sora", sans-serif;
  font-size: clamp(0.8125rem, 2.15vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.97);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(34, 211, 238, 0.28),
    0 0 36px rgba(168, 85, 247, 0.18);
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-ticker-text::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.12em;
  border-radius: 50%;
  background: linear-gradient(145deg, #22d3ee 0%, #a855f7 100%);
  box-shadow:
    0 0 0 2px rgba(8, 6, 18, 0.5),
    0 0 12px rgba(34, 211, 238, 0.65),
    0 0 22px rgba(168, 85, 247, 0.35);
  animation: hero-ticker-dot 2.4s ease-in-out infinite;
}

@keyframes hero-ticker-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 2px rgba(8, 6, 18, 0.5),
      0 0 12px rgba(34, 211, 238, 0.65),
      0 0 22px rgba(168, 85, 247, 0.35);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.08);
    box-shadow:
      0 0 0 2px rgba(8, 6, 18, 0.5),
      0 0 16px rgba(34, 211, 238, 0.85),
      0 0 28px rgba(168, 85, 247, 0.45);
  }
}

.hero-ticker-text--hide {
  opacity: 0;
  transform: translateY(-0.35rem);
  filter: blur(3px);
}

.hero-ticker-text--show {
  animation: hero-ticker-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-ticker-enter {
  from {
    opacity: 0;
    transform: translateY(0.55rem) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker::before {
    animation: none;
    opacity: 0.35;
    transform: none;
  }

  .hero-ticker-text::before {
    animation: none;
  }

  .hero-ticker-text {
    transition: none;
    filter: none;
  }

  .hero-ticker-text--hide {
    filter: none;
  }

  .hero-ticker-text--show {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .hero-ticker {
    padding: 0.68rem 1.1rem;
    border-radius: 1.25rem;
  }

  .hero-ticker-text {
    min-height: 3.1em;
    letter-spacing: 0.035em;
    gap: 0.5rem;
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
  }

  .hero-ticker-text::before {
    width: 7px;
    height: 7px;
  }
}

.masthead-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  pointer-events: none;
}

header.masthead .container {
  position: relative;
  z-index: 2;
  padding-top: 0.25rem;
}

@keyframes sw-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

header.masthead .masthead-heading {
  font-family: "Sora", sans-serif !important;
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  background: linear-gradient(105deg, #fff 0%, #e9d5ff 35%, #67e8f9 70%, #bef264 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(168, 85, 247, 0.3);
}

header.masthead .hero-tagline {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sw-muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

/* Floating module cluster */
.hero-cluster {
  position: relative;
  height: min(420px, 55vw);
  max-width: 400px;
  margin: 2rem auto 0;
}

.hero-cluster .hc {
  position: absolute;
  width: 118px;
  padding: 0.85rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(24, 22, 42, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(34, 211, 238, 0.08);
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cluster .hc {
    animation: hc-drift 7s ease-in-out infinite;
  }

  .hero-cluster .hc-b {
    animation-delay: -1.5s;
  }

  .hero-cluster .hc-c {
    animation-delay: -3s;
  }

  .hero-cluster .hc-d {
    animation-delay: -2s;
  }

  .hero-cluster .hc-e {
    animation-delay: -4.5s;
  }

  .hero-cluster .hc-f {
    animation-delay: -1s;
  }
}

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

.hero-cluster .hc img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-cluster .hc-a {
  top: 2%;
  left: 4%;
  z-index: 3;
}

.hero-cluster .hc-b {
  top: 18%;
  right: 2%;
  width: 100px;
  z-index: 2;
  border-color: rgba(34, 211, 238, 0.4);
}

.hero-cluster .hc-c {
  bottom: 28%;
  left: 0;
  width: 108px;
  z-index: 2;
}

.hero-cluster .hc-d {
  bottom: 8%;
  right: 12%;
  width: 104px;
  z-index: 3;
}

.hero-cluster .hc-e {
  top: 42%;
  left: 32%;
  width: 96px;
  z-index: 1;
  opacity: 0.95;
}

.hero-cluster .hc-f {
  top: 6%;
  right: 28%;
  width: 88px;
  z-index: 1;
  border-color: rgba(190, 242, 100, 0.35);
}

@media (min-width: 992px) {
  header.masthead {
    padding-bottom: 5rem;
  }

  .masthead-inner {
    padding-top: calc(env(safe-area-inset-top, 0px) + 11rem);
  }

  .hero-cluster {
    margin: 0 0 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  header.masthead {
    text-align: center;
  }

  header.masthead .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

}

/* ——— Buttons ——— */
.btn-primary {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  --bs-btn-color: #0a0812;
  --bs-btn-hover-color: #0a0812;
  font-family: "Sora", sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  padding: 1rem 1.85rem !important;
  border-radius: 0.65rem !important;
  border: none !important;
  background: linear-gradient(115deg, var(--sw-violet), var(--sw-magenta), var(--sw-cyan)) !important;
  background-size: 180% 180%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 40px rgba(168, 85, 247, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.35s ease;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 50% !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 20px 50px rgba(34, 211, 238, 0.35);
}

.btn-primary:disabled {
  opacity: 0.45;
  filter: grayscale(0.3);
  box-shadow: none;
}

.btn-xl {
  padding: 1.05rem 2.25rem !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover:not(:disabled),
  #portfolio .portfolio-item:hover,
  .hero-cluster .hc {
    transform: none;
    animation: none;
  }
}

/* ——— Sections ——— */
.site-tech .page-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  background-color: var(--sw-surface);
}

.site-tech #services.page-section {
  background: linear-gradient(180deg, var(--sw-void) 0%, var(--sw-surface) 30%, var(--sw-surface) 100%);
}

.site-tech .section-heading {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.03em;
}

.site-tech .section-heading.text-uppercase {
  text-transform: none;
  letter-spacing: -0.02em;
}

.site-tech .section-heading::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sw-violet), var(--sw-cyan), var(--sw-lime));
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.site-tech .section-subheading {
  font-family: "IBM Plex Sans", sans-serif !important;
  font-style: normal !important;
  font-weight: 400;
  font-size: 1.05rem !important;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--sw-muted) !important;
}

/* ——— Service cards ——— */
.sw-service-card {
  height: 100%;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(24, 22, 42, 0.95), rgba(12, 10, 20, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.sw-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sw-violet), var(--sw-cyan));
  opacity: 0.9;
}

.sw-service-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 24px 60px rgba(168, 85, 247, 0.15);
  transform: translateY(-4px);
}

.sw-service-card--b::before {
  background: linear-gradient(90deg, var(--sw-cyan), var(--sw-lime));
}

.sw-service-card--c::before {
  background: linear-gradient(90deg, var(--sw-magenta), var(--sw-violet));
}

.sw-service-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sw-service-card--b .sw-service-icon {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.35);
}

.sw-service-card--c .sw-service-icon {
  background: rgba(232, 121, 249, 0.1);
  border-color: rgba(232, 121, 249, 0.35);
}

#services .sw-service-card .fa-stack {
  font-size: 2.75rem !important;
}

#services .sw-service-card h4 {
  font-family: "Sora", sans-serif !important;
  font-weight: 700;
  color: #fff;
}

#services .sw-service-card p.text-muted {
  color: var(--sw-muted) !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ——— Portfolio / modules ——— */
#portfolio.page-section {
  background: var(--sw-panel) !important;
  position: relative;
}

#portfolio.page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(168, 85, 247, 0.12), transparent 60%);
  pointer-events: none;
}

#portfolio .container {
  position: relative;
  z-index: 1;
}

#portfolio .portfolio-item {
  max-width: none;
  border-radius: 1.125rem;
  overflow: hidden;
  background: var(--sw-panel-2);
  border: 1px solid rgba(168, 85, 247, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
}

#portfolio .portfolio-item:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 40px rgba(168, 85, 247, 0.12);
}

#portfolio .portfolio-item .portfolio-link {
  background: linear-gradient(180deg, #1a1830 0%, #12101f 100%);
}

#portfolio .portfolio-item .portfolio-link img {
  padding: 1.25rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.88), rgba(34, 211, 238, 0.75));
}

#portfolio .portfolio-item .portfolio-caption {
  padding: 1.25rem 1.15rem;
  background: var(--sw-panel-2);
  border-top: 1px solid rgba(168, 85, 247, 0.12);
}

#portfolio .portfolio-item .portfolio-caption .portfolio-caption-heading {
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sw-cyan) !important;
}

#portfolio .portfolio-item .portfolio-caption .portfolio-caption-subheading {
  font-family: "IBM Plex Sans", sans-serif !important;
  font-style: normal !important;
  font-size: 0.92rem;
  color: #e2e8f0 !important;
  margin-top: 0.4rem;
}

/* ——— About / timeline ——— */
.site-tech #about.page-section {
  background: linear-gradient(180deg, var(--sw-panel) 0%, var(--sw-void) 100%);
}

.timeline::before {
  background: linear-gradient(180deg, var(--sw-violet), var(--sw-cyan), var(--sw-magenta)) !important;
  width: 3px;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}

.timeline > li .timeline-image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-color: var(--sw-panel-2) !important;
  background: linear-gradient(145deg, #1e1b36, #2d2654) !important;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35), 0 12px 32px rgba(0, 0, 0, 0.4);
}

.timeline > li .timeline-image img {
  width: 58%;
  max-height: 58%;
  height: auto;
  object-fit: contain;
  position: static;
  transform: none;
  margin: 0;
}

.timeline > li .timeline-image h4 {
  color: #fff !important;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.timeline .timeline-heading h4 {
  color: #fff !important;
  font-family: "Sora", sans-serif !important;
}

.timeline .timeline-heading h4.subheading {
  color: var(--sw-cyan) !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-weight: 600;
}

.timeline .timeline-body > p.text-muted {
  color: var(--sw-muted) !important;
}

@media (min-width: 768px) {
  .timeline > li .timeline-panel {
    background: rgba(24, 22, 42, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }
}

/* ——— Features grid ——— */
.site-tech #team.page-section {
  background: var(--sw-surface) !important;
}

.team-member {
  padding: 1.5rem 1.1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(165deg, rgba(24, 22, 42, 0.9), rgba(10, 8, 18, 0.95));
  border-radius: 1.125rem;
  border: 1px solid rgba(34, 211, 238, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.team-member:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 16px 48px rgba(168, 85, 247, 0.12);
  transform: translateY(-3px);
}

.team-member img {
  border: none !important;
  border-radius: 1rem !important;
  object-fit: contain;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.team-member h4 {
  font-family: "Sora", sans-serif !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
}

.team-member p.text-muted {
  font-size: 0.85rem;
  color: var(--sw-muted) !important;
}

.site-tech #team .large.text-muted {
  color: #cbd5e1 !important;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ——— Contact ——— */
section#contact {
  background-color: var(--sw-void) !important;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(168, 85, 247, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(5, 4, 10, 0.92) 0%, rgba(5, 4, 10, 0.97) 100%),
    url("../assets/img/map-image.png");
  background-size: auto, cover, cover;
  background-position: center, center, center;
  background-blend-mode: normal, normal, luminosity;
}

section#contact .section-heading {
  background: linear-gradient(90deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section#contact .section-heading::after {
  background: linear-gradient(90deg, var(--sw-cyan), var(--sw-lime));
}

section#contact .section-subheading.text-muted {
  color: rgba(148, 163, 184, 0.95) !important;
}

section#contact form#A2ZcontactForm .form-group {
  margin-bottom: 1.5rem;
}

section#contact form#A2ZcontactForm .form-group input,
section#contact form#A2ZcontactForm .form-group textarea {
  padding: 1.1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(24, 22, 42, 0.65);
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

section#contact form#A2ZcontactForm .form-group input::placeholder,
section#contact form#A2ZcontactForm .form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.65);
  font-family: "IBM Plex Sans", sans-serif;
}

section#contact form#A2ZcontactForm .form-group input:focus,
section#contact form#A2ZcontactForm .form-group textarea:focus {
  border-color: var(--sw-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
  background: rgba(24, 22, 42, 0.85);
  color: #fff;
}

section#contact form#A2ZcontactForm .form-group input.form-control {
  height: auto;
}

section#contact form#A2ZcontactForm .form-group-textarea textarea {
  min-height: 10rem;
}

/* ——— Modals ——— */
.portfolio-modal .modal-content {
  border-radius: 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: linear-gradient(180deg, #16142a 0%, #0c0a14 100%);
  color: #e2e8f0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.portfolio-modal .modal-content h2 {
  font-family: "Sora", sans-serif !important;
  color: #fff !important;
}

.portfolio-modal .modal-content p.item-intro {
  font-family: "IBM Plex Sans", sans-serif !important;
  font-style: normal !important;
  color: var(--sw-cyan) !important;
}

.portfolio-modal .modal-content p {
  color: var(--sw-muted);
}

.portfolio-modal .modal-content img {
  filter: drop-shadow(0 8px 24px rgba(168, 85, 247, 0.2));
}

.portfolio-modal .btn-primary {
  color: #0a0812 !important;
}

.portfolio-modal .close-modal img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.portfolio-modal .close-modal:hover img {
  opacity: 1;
}

/* ——— Footer ——— */
.footer {
  background: #030208 !important;
  color: var(--sw-muted) !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.footer .link-dark,
.footer a {
  color: var(--sw-cyan) !important;
}

.footer .link-dark:hover,
.footer a:hover {
  color: #fff !important;
}

.footer .text-lg-start,
.footer .text-lg-end {
  color: var(--sw-muted) !important;
}
