/* ==========================================================================
   AGL IT TECH Solutions — Corporate Theme
   Palette derived from the brand logo background (#09213D) and mark gradient
   ========================================================================== */

:root {
  --navy-900: #061527;
  --navy-800: #09213D;   /* logo background — core theme colour */
  --navy-700: #0E2C4E;
  --navy-600: #14395F;
  --blue-500: #2A8AD4;
  --blue-600: #1B6FB8;
  --blue-700: #14568F;
  --teal-500: #22B0A8;
  --teal-600: #1A9098;
  --ink: #0B2138;
  --body: #4E6580;
  --muted: #7B8EA3;
  --line: #E3EAF2;
  --tint: #F4F8FC;
  --white: #ffffff;

  --grad: linear-gradient(135deg, #2A8AD4 0%, #22B0A8 100%);
  --grad-deep: linear-gradient(135deg, #09213D 0%, #14395F 55%, #1A6A9E 100%);
  --shadow-sm: 0 4px 16px rgba(9, 33, 61, .06);
  --shadow-md: 0 14px 40px rgba(9, 33, 61, .10);
  --shadow-lg: 0 26px 70px rgba(9, 33, 61, .16);
  --radius: 16px;

  --ff: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

html { overflow-x: hidden; }

/* Bootstrap g-5 rows use -24px side margins, which exceed the container's
   12px padding on small screens — keep gutters container-safe on mobile. */
@media (max-width: 767.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

body {
  font-family: var(--ff);
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-title {
  font-family: var(--ff);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }

a { color: var(--blue-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-600); }

img { max-width: 100%; height: auto; }

.section { padding: 92px 0; }
.section-sm { padding: 66px 0; }
.bg-tint { background: var(--tint); }
.bg-navy { background: var(--navy-800); }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #7FD8DC; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead-text { font-size: 1.06rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 10px;
  padding: .78rem 1.6rem;
  border: 0;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:focus-visible { outline: 3px solid rgba(42, 138, 212, .45); outline-offset: 2px; }
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px rgba(27, 111, 184, .30);
}
.btn-grad:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(27, 111, 184, .38); }
.btn-outline-light-2 {
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-outline-light-2:hover { background: #fff; color: var(--navy-800); transform: translateY(-2px); }
.btn-outline-navy {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-outline-navy:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn-lg-2 { padding: .95rem 2rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: box-shadow .25s ease, padding .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 34px rgba(6, 21, 39, .35); background: rgba(9, 33, 61, .97); backdrop-filter: blur(10px); }

.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar .sep { opacity: .4; margin: 0 .45rem; }
.topbar a:hover { color: #7FD8DC; }
.topbar i { color: var(--teal-500); }

.navbar { padding: .55rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .7rem; padding: 0; }
.brand-mark {
  width: 46px; height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(34, 176, 168, .28));
}
.brand-text { line-height: 1.05; }
.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.14rem;
  color: #fff;
  letter-spacing: -.01em;
}
.brand-name span { color: #58C7CB; }
.brand-tag {
  display: block;
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, .84);
  font-weight: 500;
  font-size: .96rem;
  padding: .55rem .95rem !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .28rem;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #fff; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .35rem .55rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(42, 138, 212, .35); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-700);
    border-radius: 12px;
    margin-top: .7rem;
    padding: .6rem;
  }
  .navbar-nav .nav-link { padding: .7rem .9rem !important; }
  .navbar-nav .nav-link::after { display: none; }
  .nav-cta { margin: .6rem .9rem 0; display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 104px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .8;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -170px; top: -220px;
  background: radial-gradient(circle, rgba(34, 176, 168, .34) 0%, transparent 62%);
  filter: blur(6px);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero p.hero-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #CFE9FF;
  padding: .42rem .95rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #38E5A0;
  box-shadow: 0 0 0 4px rgba(56, 229, 160, .22);
}
.hero-points { list-style: none; padding: 0; margin: 1.9rem 0 0; }
.hero-points li {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255, 255, 255, .86);
  font-size: .95rem;
  margin-bottom: .55rem;
}
.hero-points i { color: #48D6C4; }

/* page hero (inner pages) */
.page-hero { padding: 78px 0 82px; }
.page-hero .breadcrumb-nav {
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb-nav a { color: rgba(255, 255, 255, .82); }
.page-hero .breadcrumb-nav a:hover { color: #7FD8DC; }

/* Hero visual (inline SVG card) */
.hero-visual {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}
.hero-visual svg { display: block; width: 100%; height: auto; }
.float-card {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: .8rem 1rem;
  box-shadow: 0 18px 40px rgba(6, 21, 39, .28);
  display: flex; align-items: center; gap: .7rem;
  font-size: .86rem;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-card i { font-size: 1.1rem; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.float-card.fc-1 { left: -26px; bottom: 58px; }
.float-card.fc-2 { right: -18px; top: 46px; animation-delay: 1.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 991.98px) { .float-card { display: none; } }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy-900);
  padding: 20px 0;
  color: rgba(255, 255, 255, .68);
}
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; }
.trust-item i { color: var(--teal-500); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card-soft::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s ease;
}
.card-soft:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-soft:hover::after { transform: scaleX(1); }
.card-soft h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card-soft p { margin-bottom: 0; font-size: .95rem; }

.icon-box {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(42, 138, 212, .12), rgba(34, 176, 168, .14));
  color: var(--blue-600);
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.card-soft:hover .icon-box { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.04); }

.card-link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem;
  font-weight: 600; font-size: .9rem;
  color: var(--blue-600);
}
.card-link i { transition: transform .25s ease; }
.card-soft:hover .card-link i { transform: translateX(5px); }

/* feature (why choose us) */
.feature {
  text-align: center;
  padding: 34px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  height: 100%;
  transition: transform .28s ease, box-shadow .28s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .icon-box { margin-inline: auto; }
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: .92rem; margin: 0; }

/* ---------- About / split ---------- */
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: 22px;
  background: var(--grad-deep);
  padding: 34px 34px 54px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.about-visual .frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(34, 176, 168, .28), transparent 55%);
}
.about-visual img { position: relative; z-index: 2; }
.stat-chip {
  position: absolute;
  right: -14px; bottom: -18px;
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  z-index: 3;
}
.stat-chip .n { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-chip .l { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: .8rem;
  font-size: .97rem;
  color: var(--body);
}
.check-list i {
  color: var(--teal-600);
  margin-top: .3rem;
  flex: 0 0 auto;
}
.check-list.on-dark li { color: rgba(255, 255, 255, .84); }
.check-list.on-dark i { color: #48D6C4; }

/* ---------- Stats ---------- */
.stats {
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
  padding: 68px 0;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 0%, rgba(42, 138, 212, .35), transparent 55%),
              radial-gradient(ellipse at 85% 100%, rgba(34, 176, 168, .28), transparent 55%);
}
.stats .container { position: relative; z-index: 2; }
.stat { text-align: center; color: #fff; padding: 10px; }
.stat .num {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #9BE4FF, #61E0D0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .lbl { color: rgba(255, 255, 255, .74); font-size: .92rem; margin-top: .55rem; }
@media (min-width: 768px) {
  .stat { border-right: 1px solid rgba(255, 255, 255, .12); }
  .stats .col-md-3:last-child .stat { border-right: 0; }
}

/* ---------- Industries ---------- */
.industry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 16px;
  text-align: center;
  height: 100%;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.industry i {
  font-size: 1.7rem;
  color: var(--blue-600);
  transition: color .26s ease, transform .26s ease;
}
.industry span { display: block; margin-top: .8rem; font-weight: 600; color: var(--ink); font-size: .93rem; }
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.industry:hover i { color: var(--teal-600); transform: scale(1.12); }

/* ---------- Benefits (dark list) ---------- */
.benefit-pill {
  display: flex; align-items: center; gap: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  height: 100%;
  font-weight: 600;
  color: var(--ink);
  font-size: .97rem;
  transition: transform .24s ease, box-shadow .24s ease;
}
.benefit-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.benefit-pill .bp-ico {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
}

/* ---------- Process timeline ---------- */
.timeline { position: relative; margin-top: 2.6rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--teal-500));
  opacity: .35;
}
.tl-item { position: relative; padding-left: 78px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  font-weight: 800;
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
  transition: background .28s ease, color .28s ease, border-color .28s ease;
}
.tl-item:hover .tl-num { background: var(--grad); color: #fff; border-color: transparent; }
.tl-item h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.tl-item p { margin: 0; font-size: .95rem; }

@media (min-width: 992px) {
  .timeline.horizontal::before { left: 8%; right: 8%; top: 28px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  border-radius: 24px;
  padding: 58px 52px;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -140px; bottom: -240px;
  background: radial-gradient(circle, rgba(34, 176, 168, .38), transparent 62%);
}
.cta h2 { color: #fff; position: relative; z-index: 2; }
.cta p { color: rgba(255, 255, 255, .82); position: relative; z-index: 2; margin-bottom: 0; }
.cta .cta-actions { position: relative; z-index: 2; }
@media (max-width: 575.98px) { .cta { padding: 40px 26px; border-radius: 18px; } }

/* ---------- Contact ---------- */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  height: 100%;
  transition: transform .26s ease, box-shadow .26s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.info-card p, .info-card address { font-size: .95rem; margin: 0; color: var(--body); font-style: normal; }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
}
.form-label { font-weight: 600; color: var(--ink); font-size: .89rem; margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .74rem .9rem;
  font-size: .95rem;
  color: var(--ink);
  background-color: #FBFDFF;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 .22rem rgba(42, 138, 212, .14);
  background-color: #fff;
}
.map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 440px; border: 0; }

/* ---------- Review invite ---------- */
.review-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 52px 44px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  transition: transform .26s ease, box-shadow .26s ease;
}
.review-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-panel .eyebrow { margin-bottom: 1.25rem; }
.review-panel .icon-box { margin-inline: auto; margin-bottom: 1rem; }
.review-panel h2 { max-width: 560px; margin-inline: auto; }
.review-panel p { margin-inline: auto; max-width: 560px; }
.review-panel .eyebrow::before { display: none; }

.review-stars {
  display: flex;
  justify-content: center;
  gap: .3rem;
  color: #F5A524;
  font-size: 1.1rem;
  margin-bottom: 1.15rem;
}

.review-note {
  font-size: .84rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

@media (max-width: 575.98px) {
  .review-panel { padding: 38px 24px; border-radius: 18px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  padding: 72px 0 0;
  font-size: .95rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .7rem;
}
.site-footer h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .62rem; }
.footer-links a { color: rgba(255, 255, 255, .68); font-size: .94rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem; color: var(--teal-500); }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 44px; height: 50px; object-fit: contain; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; align-items: flex-start; }
.footer-contact i { color: var(--teal-500); margin-top: .32rem; }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}
.social-row { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .24s ease, transform .24s ease;
}
.social-row a:hover { background: var(--grad); transform: translateY(-3px); }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(20, 86, 143, .35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 1040;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .8, .28, 1), transform .7s cubic-bezier(.22, .8, .28, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }
.reveal.d5 { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* ---------- Utility ---------- */
.text-on-dark { color: rgba(255, 255, 255, .82); }
.divider-wave { line-height: 0; color: var(--tint); }
.rounded-20 { border-radius: 20px; }
@media (max-width: 767.98px) {
  .section { padding: 62px 0; }
  .hero { padding: 66px 0 74px; }
}
