@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #1a2744;
  --navy-light: #243058;
  --steel: #6b8cba;
  --steel-light: #9bb5d4;
  --accent: #2d5fa6;
  --accent-glow: rgba(45, 95, 166, 0.18);
  --bg: #f4f7fc;
  --bg2: #edf1f9;
  --white: #ffffff;
  --text: #1a2744;
  --muted: #5a6a85;
  --card-bg: rgba(255, 255, 255, 0.85);
  --radius: 16px;
  --max-width: 1200px;
  --header-h: 100px;
}

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

html {
  scroll-behavior: auto
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden
}

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

a {
  text-decoration: none
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(107, 140, 186, 0.12);
  height: var(--header-h);
  transition: box-shadow .3s
}

.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(26, 39, 68, 0.10)
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
  padding: 6px 14px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.06);
  border: 1px solid rgba(107, 140, 186, 0.1)
}

.logo img {
  height: 64px;
  width: auto;
  object-fit: contain
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem
}

.main-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap
}

.main-nav a:hover {
  background: var(--bg2);
  color: var(--accent)
}

.main-nav a.cta {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: .55rem 1.4rem;
  font-weight: 600;
  margin-left: .5rem;
  transition: background .25s, box-shadow .25s
}

.main-nav a.cta:hover {
  background: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow)
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--navy);
  padding: .25rem
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2e60 45%, #1e3a72 70%, #0f2040 100%)
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none
}

.hero-bg-orb.o1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 95, 166, .35) 0%, transparent 70%);
  top: -150px;
  right: -100px
}

.hero-bg-orb.o2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 140, 186, .2) 0%, transparent 70%);
  bottom: 50px;
  left: -80px
}

.hero-bg-orb.o3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(155, 181, 212, .15) 0%, transparent 70%);
  top: 40%;
  left: 35%
}

.hero-grid-line {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(107, 140, 186, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 140, 186, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px)
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}

.site-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em
}

.site-title em {
  font-style: italic;
  color: var(--steel-light)
}

.hero-sub {
  color: rgba(255, 255, 255, .72);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem
}

.hero-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  transition: all .25s
}

.btn.primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15)
}

.btn.primary:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2)
}

.btn.ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22)
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-2px)
}

.hero-image-wrap {
  position: relative
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(107, 140, 186, .3), rgba(45, 95, 166, .1));
  z-index: 0
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  object-fit: cover;
  height: 480px
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap
}

.hero-stat {
  text-align: center
}

.hero-stat .num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Instrument Serif', serif
}

.hero-stat .lbl {
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500
}

/* ── SECTION BASE ── */
.section {
  padding: 6rem 0
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(45, 95, 166, .08);
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: .75rem
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px
}

/* ── ABOUT ── */
.about {
  background: var(--white)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 45%;
  gap: 4rem;
  align-items: center
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem
}

.about-text h3 {
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 .5rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .5rem
}

.about-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-size: .95rem
}

.about-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0
}

.about-image-wrap {
  position: relative
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(45, 95, 166, .12), transparent);
  border-radius: 16px;
  z-index: 0
}

.about-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(26, 39, 68, .15);
  position: relative;
  z-index: 1
}

/* ── COUNTERS ── */
.counters {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem
}

.counter-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform .3s, background .3s
}

.counter-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1)
}

.counter-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem
}

.counter-icon svg {
  width: 28px;
  height: 28px;
  fill: rgba(255, 255, 255, .9)
}

.count-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Instrument Serif', serif;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums lining-nums
}

.count-label {
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .5rem;
  display: block
}

/* ── SERVICES ── */
.services {
  background: var(--bg)
}

.services-header {
  text-align: center;
  margin-bottom: 4rem
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 1.6rem 2rem;
  border: 1px solid rgba(107, 140, 186, .1);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: default;
  text-align: center;
  min-height: 270px
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 39, 68, .12);
  border-color: rgba(45, 95, 166, .2)
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
  line-height: 1.3
}

.service-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ── FAQ/SERVICES DETAIL ── */
.faq-section {
  background: var(--white);
  padding: 6rem 0
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem
}

.faq-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  color: var(--navy);
  margin-bottom: 2.5rem
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.faq-item {
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid rgba(107, 140, 186, .1);
  overflow: hidden;
  transition: border-color .25s, background .25s
}

.faq-item.is-open {
  background: var(--navy);
  border-color: var(--navy)
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: .98rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif
}

.faq-item.is-open .faq-header {
  color: #fff
}

.faq-header:hover {
  background: rgba(0, 0, 0, .03)
}

.faq-item.is-open .faq-header:hover {
  background: rgba(255, 255, 255, .04)
}

.faq-question {
  flex: 1
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transform-origin: center;
  transition: transform .25s, opacity .25s
}

.faq-icon::before {
  transform: translate(-50%, -50%)
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg)
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff
}

.faq-item.is-open .faq-icon::before {
  transform: translate(-50%, -50%) rotate(45deg)
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg)
}

.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out, padding-bottom .3s
}

.faq-item.is-open .faq-body {
  padding-bottom: 1.5rem
}

.faq-body p {
  color: rgba(255, 255, 255, .75);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: .75rem
}

.faq-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.faq-body li {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .6rem
}

.faq-body li::before {
  content: '→';
  color: var(--steel-light);
  font-size: .85rem;
  flex-shrink: 0
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--bg2);
  padding: 6rem 0
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 3rem
}

.testimonial-wrap {
  display: flex;
  align-items: center;
  gap: 1rem
}

.testimonial-slider {
  flex: 1;
  overflow: hidden;
  border-radius: 16px
}

.testimonial-track {
  display: flex;
  will-change: transform
}

.testimonial {
  flex: 0 0 100%;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(107, 140, 186, .1)
}

.quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  font-style: normal;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.5rem
}

.quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -.25rem;
  font-size: 2.5rem;
  color: var(--steel-light);
  font-family: 'Instrument Serif', serif;
  line-height: 1
}

.author {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem
}

.t-prev,
.t-next {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(107, 140, 186, .2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s
}

.t-prev:hover,
.t-next:hover {
  background: var(--navy);
  border-color: var(--navy)
}

.t-prev:hover .nav-icon,
.t-next:hover .nav-icon {
  fill: #fff
}

.nav-icon {
  width: 20px;
  height: 20px;
  fill: var(--navy);
  display: block
}

.t-prev .nav-icon {
  transform: rotate(180deg)
}

.testimonial-dots {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-top: 1.25rem
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(107, 140, 186, .25);
  border: 0;
  cursor: pointer;
  transition: all .2s;
  padding: 0
}

.dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px
}

/* ── CONTACT ── */
.contact {
  background: var(--white);
  padding: 6rem 0
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start
}

.contact-info-card {
  display: none
}

.contact .section-title {
  margin-bottom: .5rem
}

.contact-desc {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: .95rem
}

.form-row {
  display: flex;
  gap: .75rem;
  margin-bottom: .75rem
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(107, 140, 186, .18);
  background: var(--bg);
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 95, 166, .08)
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px
}

.contact-form .btn.primary {
  background: var(--navy);
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 12px
}

.contact-form .btn.primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow)
}

.contact-info-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 20px;
  padding: 2rem;
  color: #fff
}

.contact-info-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: #fff
}

.contact-info-card p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: .5rem
}

.contact-info-card a {
  color: var(--steel-light);
  text-decoration: none;
  transition: color .2s
}

.contact-info-card a:hover {
  color: #fff
}

.contact-person {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .1)
}

.contact-person h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem
}

.contact-info-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--steel-light);
  margin-bottom: .25rem;
  margin-top: .75rem
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  height: 100px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem
}

.footer-brand img {
  height: 64px;
  width: auto;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg) brightness(1.5);
  opacity: 0.9
}

.footer-brand span {
  font-size: .85rem
}

.footer-links a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: .85rem;
  transition: color .2s
}

.footer-links a:hover {
  color: #fff
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: rgba(107, 140, 186, .35);
  border-radius: 3px
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 2rem 3rem
  }

  .hero-image-wrap img {
    height: 360px
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .about-image-wrap img {
    height: 360px
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:700px) {
  .main-nav {
    display: none
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    right: 1rem;
    background: #fff;
    border-radius: 14px;
    padding: .75rem;
    box-shadow: 0 12px 40px rgba(26, 39, 68, .15);
    gap: .25rem;
    z-index: 200
  }

  .nav-toggle {
    display: block
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .counter-grid {
    grid-template-columns: 1fr
  }

  .form-row {
    flex-direction: column
  }

  .footer-grid {
    flex-direction: column;
    gap: 1rem;
    text-align: center
  }

  .footer-links {
    margin-top: .5rem
  }

  .footer-links a {
    margin: 0 .5rem
  }

  .testimonial-wrap {
    flex-wrap: wrap;
    justify-content: center
  }

  .testimonial-slider {
    order: -1;
    flex: 0 0 100%;
    margin-bottom: 0.5rem
  }

  .testimonial {
    padding: 1.5rem
  }

  .quote {
    font-size: 0.95rem;
    line-height: 1.6
  }

  .t-prev,
  .t-next {
    width: 40px;
    height: 40px
  }
}

/* CUSTOM CURSOR REMOVED — using default OS cursor */
/* SCROLL PROGRESS */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a2744, #6b8cba, #2d5fa6);
  z-index: 9999;
  width: 0%;
  transition: width .05s linear;
  border-radius: 0 2px 2px 0
}

/* GRADIENT HERO TITLE */
.site-title {
  background: linear-gradient(135deg, #fff 0%, rgba(155, 181, 212, 1) 40%, #fff 70%, rgba(107, 140, 186, .9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% 300%;
  animation: shimmer-text 6s ease infinite
}

@keyframes shimmer-text {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

/* FLOAT ANIMATION */
.hero-image-wrap {
  animation: float 6s ease-in-out infinite
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

/* CARD GLOW BORDER */
.service-card {
  background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(135deg, rgba(107, 140, 186, .15), rgba(26, 39, 68, .05)) border-box;
  border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s, border-color .35s
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(26, 39, 68, .15), 0 0 0 1px rgba(45, 95, 166, .15);
  border: 1.5px solid rgba(45, 95, 166, .2)
}

/* COUNTER CARD SHINE */
.counter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .06) 50%, transparent 60%);
  opacity: 0;
  transition: opacity .4s
}

.counter-card:hover::after {
  opacity: 1
}

.counter-card {
  position: relative;
  overflow: hidden
}

/* GLOWING BTN */
.btn.primary {
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1)
}

.btn.primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .3), transparent 70%);
  opacity: 0;
  transition: opacity .3s
}

.btn.primary:hover::after {
  opacity: 1
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .25)
}

/* SECTION REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1)
}

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

/* NAV ACTIVE */
.main-nav a.active {
  color: var(--accent);
  background: rgba(45, 95, 166, .08)
}

/* HERO PARTICLE CANVAS */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none
}

.hero-content {
  z-index: 3
}

/* BADGE PULSE */
.hero-badge {
  animation: badge-in .8s .5s both cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.9)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* TYPEWRITER CURSOR */
.tw-cursor {
  display: inline-block;
  width: 3px;
  height: .85em;
  background: rgba(155, 181, 212, .8);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* MAGNETIC BTN WRAPPER */
.mag-wrap {
  display: inline-block
}

/* ABOUT IMAGE PARALLAX FRAME */
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(45, 95, 166, .12), rgba(107, 140, 186, .06));
  z-index: 0;
  animation: pulse-border 4s ease infinite
}

@keyframes pulse-border {

  0%,
  100% {
    opacity: .6
  }

  50% {
    opacity: 1
  }
}

/* TESTIMONIAL CARD */
.testimonial {
  background: var(--white);
  border: 1.5px solid rgba(107, 140, 186, .1);
  box-shadow: 0 8px 32px rgba(26, 39, 68, .06);
  transition: box-shadow .3s
}

.testimonial:hover {
  box-shadow: 0 16px 48px rgba(26, 39, 68, .12)
}

/* CONTACT FORM FOCUS GLOW */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 95, 166, .1), 0 2px 12px rgba(45, 95, 166, .08)
}

/* SCROLL REVEAL STAGGER */
.stagger-1 {
  transition-delay: .05s
}

.stagger-2 {
  transition-delay: .12s
}

.stagger-3 {
  transition-delay: .2s
}

.stagger-4 {
  transition-delay: .28s
}

/* HERO BADGE DOT GLOW */
.hero-badge::before {
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .5);
  animation: ping 1.5s ease-out infinite
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .6)
  }

  70% {
    box-shadow: 0 0 0 8px transparent
  }

  100% {
    box-shadow: 0 0 0 0 transparent
  }
}

/* GRADIENT SECTION DIVIDER */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(107, 140, 186, .3), transparent);
  margin: 0
}

/* HERO STATS SEPARATOR */
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.75rem;
  margin-top: 2rem
}

.hero-stat {
  position: relative;
  padding-right: 2rem
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, .15)
}

/* ══════════════════════════════════════
   SUCCESS POPUP MODAL
══════════════════════════════════════ */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.popup-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.popup-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 26, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.popup-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.popup-particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFly var(--dur, 4s) var(--delay, 0s) ease-in-out infinite alternate;
  opacity: 0;
}

@keyframes particleFly {
  0%   { opacity: 0;  transform: translateY(0) scale(.6) rotate(0deg); }
  20%  { opacity: .9; }
  80%  { opacity: .7; }
  100% { opacity: 0;  transform: translateY(-130px) scale(1.4) rotate(360deg); }
}

/* Animated gradient border wrapper */
.popup-border-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  border-radius: 30px;
  padding: 2.5px;
  background: linear-gradient(135deg, #2d5fa6, #6b8cba, #4ade80, #38bdf8, #a78bfa, #2d5fa6);
  background-size: 300% 300%;
  animation: borderShift 4s linear infinite;
  box-shadow:
    0 0 50px rgba(45, 95, 166, .4),
    0 0 100px rgba(107, 140, 186, .15),
    0 40px 80px rgba(0, 0, 0, .6);
  transform: scale(.82) translateY(50px);
  opacity: 0;
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .45s ease;
}

.popup-overlay.is-visible .popup-border-wrap {
  transform: scale(1) translateY(0);
  opacity: 1;
}

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

/* Inner card */
.popup-card {
  position: relative;
  background: linear-gradient(160deg, #0d1933 0%, #111e3a 45%, #0a1428 100%);
  border-radius: 28px;
  padding: 2.75rem 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.popup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,140,186,.6), rgba(45,95,166,.9), rgba(107,140,186,.6), transparent);
}

.popup-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
  animation: ringPulse 3.5s ease-in-out infinite;
}

.popup-ring.r1 {
  width: 340px; height: 340px;
  top: -80px; left: 50%; transform: translateX(-50%);
  border-color: rgba(45, 95, 166, .2);
}

.popup-ring.r2 {
  width: 520px; height: 520px;
  top: -170px; left: 50%; transform: translateX(-50%);
  border-color: rgba(107, 140, 186, .07);
  animation-delay: .8s;
}

@keyframes ringPulse {
  0%, 100% { opacity: .4; transform: translateX(-50%) scale(1);    }
  50%       { opacity: .9; transform: translateX(-50%) scale(1.05); }
}

.popup-sparkle {
  position: absolute;
  color: rgba(155, 181, 212, .65);
  animation: sparkleTwinkle 2.2s ease-in-out infinite;
  pointer-events: none;
  line-height: 1;
}

.sp1 { top: 1.4rem;    left: 1.8rem;  font-size: 1rem;   animation-delay: 0s;   }
.sp2 { top: 1.4rem;    right: 1.8rem; font-size: .65rem; animation-delay: .5s;  color: rgba(56,189,248,.85); }
.sp3 { bottom: 4.5rem; left: 1.5rem;  font-size: .6rem;  animation-delay: 1s;   }
.sp4 { bottom: 4.5rem; right: 1.5rem; font-size: .9rem;  animation-delay: 1.4s; color: rgba(167,139,250,.75); }
.sp5 { top: 45%;       left: .8rem;   font-size: .55rem; animation-delay: .75s; color: rgba(74,222,128,.75); }

@keyframes sparkleTwinkle {
  0%, 100% { opacity: .2; transform: scale(1)   rotate(0deg); }
  50%       { opacity: 1;  transform: scale(1.55) rotate(25deg); }
}

/* Top-right X button */
.popup-x-btn {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s, transform .25s;
  z-index: 10;
}

.popup-x-btn svg { width: 14px; height: 14px; transition: transform .3s; }

.popup-x-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
  color: #fff;
  transform: rotate(90deg);
}

/* Icon */
.popup-icon-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.75rem;
}

.popup-orbit {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(107,140,186,.35);
  animation: orbitSpin 8s linear infinite;
}

.popup-orbit::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 8px; height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  transform: translateX(-50%);
}

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

.popup-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2e60, #2d5fa6 55%, #3b77c9);
  box-shadow: 0 0 0 6px rgba(45,95,166,.15), 0 16px 50px rgba(45,95,166,.5);
  animation: iconBgPop .6s .1s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes iconBgPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.popup-check { position: relative; z-index: 1; width: 110px; height: 110px; }

.popup-check-circle {
  fill: none;
  stroke: rgba(255,255,255,.1);
  stroke-width: 1;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeDraw .9s .55s cubic-bezier(.65,0,.45,1) forwards;
}

.popup-check-path {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeDraw .55s 1.2s cubic-bezier(.65,0,.45,1) forwards;
}

@keyframes strokeDraw { to { stroke-dashoffset: 0; } }

.popup-icon-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(45,95,166,.45);
  animation: iconPulseRing 2.2s 1.3s ease-out infinite;
}

.popup-icon-pulse.p2 {
  inset: -20px;
  border-color: rgba(45,95,166,.2);
  animation-delay: 1.7s;
}

@keyframes iconPulseRing {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.7); opacity: 0;  }
}

/* ── Body ── */
.popup-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  padding: .3rem 1rem;
  border-radius: 100px;
  margin-bottom: .9rem;
  animation: fadeSlideUp .5s 1.35s ease both;
}

.popup-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

.popup-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: .55rem;
  letter-spacing: -.01em;
  animation: fadeSlideUp .5s 1.5s ease both;
}

.popup-subtitle {
  color: rgba(255,255,255,.6);
  font-size: .98rem;
  line-height: 1.72;
  max-width: 360px;
  margin: 0 auto .2rem;
  animation: fadeSlideUp .5s 1.65s ease both;
}

.popup-subtitle strong { color: rgba(255,255,255,.92); font-weight: 700; }

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

/* Stars */
.popup-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  margin: 1.1rem 0 .1rem;
  animation: fadeSlideUp .5s 1.8s ease both;
}

.popup-stars > span {
  font-size: 1.15rem;
  color: #facc15;
  text-shadow: 0 0 10px rgba(250,204,21,.6);
}

.popup-stars-label {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  margin-left: .4rem;
  letter-spacing: .03em;
}

/* Chips */
.popup-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.1rem 0 0;
  animation: fadeSlideUp .5s 2s ease both;
}

.popup-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}

.popup-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(107,140,186,.4);
  color: rgba(255,255,255,.9);
}

.chip-icon { font-size: .85rem; }

/* Divider */
.popup-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,140,186,.25), rgba(45,95,166,.4), rgba(107,140,186,.25), transparent);
  margin: 1.4rem 0;
  animation: fadeSlideUp .5s 2.1s ease both;
}

/* Info rows */
.popup-info-row {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  animation: fadeSlideUp .5s 2.2s ease both;
}

.popup-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
}

.popup-info-icon { font-size: .95rem; flex-shrink: 0; }

.popup-info-item a { color: #9bb5d4; font-weight: 600; transition: color .2s; }
.popup-info-item a:hover { color: #fff; }

/* Footer */
.popup-footer {
  margin-top: 1.75rem;
  animation: fadeSlideUp .5s 2.3s ease both;
}

/* Main CTA close button */
.popup-close-main-btn {
  width: 100%;
  padding: .9rem 2rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #1a3a6e, #2d5fa6 50%, #4a7fc1);
  background-size: 200% 200%;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .03em;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 8px 30px rgba(45,95,166,.45);
}

.popup-close-main-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.popup-close-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(45,95,166,.6);
}

.popup-close-main-btn:hover::after { transform: translateX(100%); }
.popup-close-main-btn:active { transform: translateY(-1px); }

/* Confetti */
.confetti-piece {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  animation: confettiFall var(--dur) var(--delay) ease-in forwards;
  transform-origin: center;
}

@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg) scale(1);         opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(var(--spin)) scale(.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 560px) {
  .popup-border-wrap { border-radius: 24px; max-width: 100%; }
  .popup-card { padding: 2rem 1.4rem 1.6rem; border-radius: 22px; }
  .popup-title { font-size: 2rem; }
  .popup-chips { gap: .4rem; }
  .popup-chip  { font-size: .73rem; padding: .3rem .7rem; }
  .popup-ring.r2 { display: none; }
  .sp3, .sp4, .sp5 { display: none; }
}
