*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%
}

:root {
  --navy: #0B1C3E;
  --navy-mid: #132347;
  --blue: #1A3A7C;
  --accent: #4A90D9;
  --al: #7BB8F4;
  --gold: #C8A84B;
  --white: #fff;
  --off: #F5F7FA;
  --gray: #8A9AB8;
  --lg: #E8EDF5;
  --text: #1C2B4A;
  --nh: 64px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden
}

/* CURSOR */
.cur,
.cur-r {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform
}

.cur {
  width: 10px;
  height: 10px;
  background: var(--accent)
}

.cur-r {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent);
  opacity: .45;
  z-index: 9998
}

@media(pointer:coarse) {

  .cur,
  .cur-r {
    display: none
  }
}

/* BACK TOP */
#btt {
  position: fixed;
  bottom: 22px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 900;
  border: none
}

#btt.show {
  opacity: 1;
  pointer-events: auto
}

#btt:hover {
  transform: translateY(-4px)
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nh);
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  transition: background .35s, box-shadow .35s
}

nav.sc {
  background: rgba(11, 28, 62, .97);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .28)
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  flex-shrink: 0;
  z-index: 1
}

.logo span {
  color: var(--gold)
}

.nl {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center
}

.nl a {
  text-decoration: none;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: color .25s;
  position: relative
}

.nl a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .28s
}

.nl a:hover,
.nl a.act {
  color: var(--white)
}

.nl a:hover::after,
.nl a.act::after {
  width: 100%
}

.nb {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: .42rem 1rem;
  border-radius: 5px;
  font-weight: 600 !important
}

.nb::after {
  display: none !important
}

.nb:hover {
  filter: brightness(1.1)
}

.nr {
  display: flex;
  align-items: center;
  gap: .8rem
}

.tb {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 100px;
  padding: .26rem .65rem;
  color: var(--white);
  font-size: .78rem;
  cursor: pointer;
  transition: background .25s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap
}

.tb:hover {
  background: rgba(255, 255, 255, .2)
}

/* HAMBURGER */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  background: none;
  border: none;
  flex-shrink: 0
}

.ham span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--white);
  transition: all .32s;
  transform-origin: center;
  border-radius: 2px
}

.ham.op span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.ham.op span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.ham.op span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* MOBILE MENU */
.mm {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.77, 0, .175, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch
}

.mm.op {
  transform: translateX(0)
}

.mm-top {
  padding: 1.4rem 1.3rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 2;
  gap: 1rem
}

.mm-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white)
}

.mm-logo span {
  color: var(--gold)
}

.mm-x {
  background: rgba(255, 255, 255, .1);
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s
}

.mm-x:hover {
  background: rgba(255, 255, 255, .2)
}

.mm-prof {
  padding: 1.4rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.mm-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white)
}

.mm-pn {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .1rem
}

.mm-pr {
  font-size: .72rem;
  color: var(--gray)
}

.mm-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: .35rem;
  font-size: .68rem;
  font-weight: 600;
  color: #86EFAC;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .2);
  padding: .18rem .55rem;
  border-radius: 100px
}

.mm-avail .gd {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s infinite;
  flex-shrink: 0
}

.mm-links {
  padding: .9rem 1.1rem;
  flex: 1
}

.mm-links a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem .75rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background .2s, color .2s, transform .18s;
  opacity: 0;
  transform: translateX(18px)
}

.mm.op .mm-links a {
  opacity: 1;
  transform: translateX(0)
}

.mm.op .mm-links a:nth-child(1) {
  transition: opacity .35s .1s, transform .35s .1s, background .2s, color .2s
}

.mm.op .mm-links a:nth-child(2) {
  transition: opacity .35s .15s, transform .35s .15s, background .2s, color .2s
}

.mm.op .mm-links a:nth-child(3) {
  transition: opacity .35s .2s, transform .35s .2s, background .2s, color .2s
}

.mm.op .mm-links a:nth-child(4) {
  transition: opacity .35s .25s, transform .35s .25s, background .2s, color .2s
}

.mm.op .mm-links a:nth-child(5) {
  transition: opacity .35s .3s, transform .35s .3s, background .2s, color .2s
}

.mm.op .mm-links a:nth-child(6) {
  transition: opacity .35s .35s, transform .35s .35s, background .2s, color .2s
}

.mm-links a:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  transform: translateX(5px)
}

.mm-links a .mi {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0
}

.mm-links a.mcta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  margin-top: .5rem
}

.mm-links a.mcta .mi {
  background: rgba(11, 28, 62, .18)
}

.mm-links a.mcta:hover {
  filter: brightness(1.07);
  transform: translateX(0)
}

.mm-foot {
  padding: 1.1rem 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem
}

.mm-soc {
  display: flex;
  gap: .6rem
}

.mm-sl {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, transform .2s
}

.mm-sl:hover {
  background: rgba(74, 144, 217, .25);
  transform: translateY(-2px)
}

.mm-tr {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--gray)
}

.mm-tog {
  width: 40px;
  height: 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  position: relative;
  cursor: pointer;
  transition: background .28s;
  flex-shrink: 0
}

.mm-tog.on {
  background: var(--gold)
}

.mm-tog::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform .28s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.mm-tog.on::after {
  transform: translateX(18px)
}

/* HERO */
#home {
  min-height: 100svh;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nh) + 36px) 4% 56px
}

.hbg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(74, 144, 217, .12) 0%, transparent 60%), radial-gradient(ellipse 50% 80% at -10% 80%, rgba(200, 168, 75, .06) 0%, transparent 50%)
}

.gl {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(74, 144, 217, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 144, 217, .04) 1px, transparent 1px);
  background-size: 60px 60px
}

.hi {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto
}

.hc {
  max-width: 600px
}

.hew {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fu .8s forwards .3s
}

.hew::before {
  content: '';
  display: block;
  width: 26px;
  height: 1px;
  background: var(--gold)
}

h1.hn {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .85rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fu .9s forwards .5s
}

.ht {
  font-size: clamp(.88rem, 2vw, 1.1rem);
  color: var(--al);
  font-weight: 400;
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(18px);
  animation: fu .8s forwards .7s
}

.hd {
  color: rgba(255, 255, 255, .62);
  font-size: .93rem;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.85;
  opacity: 0;
  transform: translateY(18px);
  animation: fu .8s forwards .9s
}

.hbs {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  animation: fu .8s forwards 1.1s
}

.bp {
  background: var(--gold);
  color: var(--navy);
  padding: .75rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  letter-spacing: .4px;
  transition: transform .2s, box-shadow .28s;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.bp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(200, 168, 75, .4)
}

.bo {
  border: 1.5px solid rgba(255, 255, 255, .26);
  color: var(--white);
  padding: .75rem 1.6rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: .86rem;
  text-decoration: none;
  transition: border-color .28s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.bo:hover {
  border-color: var(--al);
  transform: translateY(-3px)
}

.bgo {
  border-color: rgba(200, 168, 75, .4) !important;
  color: var(--gold) !important
}

.hcw {
  opacity: 0;
  animation: fi 1.2s forwards 1.3s;
  flex-shrink: 0
}

.hcard {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  width: 210px
}

.hav {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .9rem
}

.hn2 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .18rem
}

.hs {
  font-size: .7rem;
  color: var(--gray);
  margin-bottom: 1.1rem
}

.stags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem
}

.st {
  background: rgba(74, 144, 217, .15);
  border: 1px solid rgba(74, 144, 217, .24);
  color: var(--al);
  font-size: .64rem;
  font-weight: 600;
  padding: .22rem .55rem;
  border-radius: 100px
}

.hsr {
  display: flex;
  gap: .5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.hst {
  flex: 1;
  text-align: center
}

.hsn {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1
}

.hsl {
  font-size: .6rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: .25rem;
  display: block
}

.ptcl {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: flt 6s infinite ease-in-out
}

.sind {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  animation: fi 1s forwards 2s
}

.sd {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: sb 1.5s infinite
}

.sd:nth-child(2) {
  animation-delay: .15s;
  opacity: .6
}

.sd:nth-child(3) {
  animation-delay: .3s;
  opacity: .3
}

/* METRICS */
.mets {
  background: var(--navy-mid);
  padding: 2.2rem 4%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.met {
  text-align: center;
  padding: .7rem
}

.mn {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .35rem
}

.ml {
  font-size: .78rem;
  color: rgba(255, 255, 255, .48);
  font-weight: 400
}

/* SECTIONS */
section {
  padding: 72px 4%
}

.sl {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .65rem;
  display: flex;
  align-items: center;
  gap: 9px
}

.sl::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold)
}

.sh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.2rem
}

.sb {
  max-width: 540px;
  color: #5A6A8A;
  font-size: .93rem;
  line-height: 1.85
}

.dv {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin: 1.2rem 0
}

/* ABOUT */
#about {
  background: var(--off)
}

.ag {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center
}

.avis {
  position: relative;
  max-width: 360px
}

.afr {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden
}

.afr::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(74, 144, 217, .3) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(200, 168, 75, .2) 0%, transparent 40%)
}

.amono {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, .08);
  position: relative;
  z-index: 1;
  letter-spacing: -4px
}

.abadge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 11px;
  padding: .8rem 1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 10px 26px rgba(200, 168, 75, .38)
}

.abn {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  display: block
}

.abt {
  font-size: .67rem
}

.afl {
  position: absolute;
  top: -14px;
  left: -14px;
  background: var(--white);
  border-radius: 11px;
  padding: .75rem 1rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .1);
  font-size: .74rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px
}

.gd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s infinite;
  flex-shrink: 0
}

.hls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.8rem
}

.hl {
  background: var(--white);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  transition: transform .28s, box-shadow .28s
}

.hl:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .1)
}

.hli {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem
}

.hlt {
  font-size: .78rem;
  color: #5A6A8A;
  font-weight: 500;
  line-height: 1.4
}

/* EXPERTISE */
#expertise {
  background: var(--white)
}

.eg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem
}

.ec {
  background: var(--off);
  border: 1px solid var(--lg);
  border-radius: 13px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: default
}

.ec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .36s
}

.ec:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 58, 124, .1);
  border-color: rgba(74, 144, 217, .26)
}

.ec:hover::before {
  transform: scaleX(1)
}

.ei {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem
}

.et {
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .45rem
}

.ed {
  font-size: .8rem;
  color: #6A7A9A;
  line-height: 1.7
}

/* ARCH */
.arch {
  background: var(--navy);
  padding: 64px 4%;
  text-align: center
}

.arch .sh {
  color: var(--white)
}

.arch .sl {
  justify-content: center
}

.arch .sl::before {
  display: none
}

.adiag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.2rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto
}

.an {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  text-align: center;
  min-width: 120px;
  transition: background .28s, transform .28s;
  cursor: default
}

.an:hover {
  background: rgba(74, 144, 217, .2);
  transform: scale(1.05)
}

.ani {
  font-size: 1.7rem;
  display: block;
  margin-bottom: .35rem
}

.ant {
  font-size: .78rem;
  font-weight: 600;
  color: var(--white)
}

.ans {
  font-size: .65rem;
  color: var(--gray);
  margin-top: .2rem
}

.aar {
  color: var(--gold);
  font-size: 1.3rem;
  padding: 0 .35rem;
  animation: ap 2s infinite
}

/* PROJECTS */
#projects {
  background: var(--off)
}

.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem
}

.pc {
  background: var(--white);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  transition: transform .3s, box-shadow .3s
}

.pc:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 58, 124, .13)
}

.pt {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden
}

.pc:nth-child(1) .pt {
  background: linear-gradient(135deg, #0B1C3E, #1A3A7C)
}

.pc:nth-child(2) .pt {
  background: linear-gradient(135deg, #1A3A7C, #2563EB)
}

.pc:nth-child(3) .pt {
  background: linear-gradient(135deg, #0B1C3E, #4A90D9)
}

.pt::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200, 168, 75, .13) 0%, transparent 60%)
}

.pt span {
  position: relative;
  z-index: 1
}

.pb {
  padding: 1.2rem
}

.ptag {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .45rem
}

.pti {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .65rem
}

.pdesc {
  font-size: .8rem;
  color: #6A7A9A;
  line-height: 1.7;
  margin-bottom: .9rem
}

.ptechs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem
}

.ptc {
  font-size: .66rem;
  font-weight: 600;
  background: var(--off);
  color: var(--navy);
  padding: .2rem .5rem;
  border-radius: 4px;
  border: 1px solid var(--lg)
}

/* CERTS */
#certifications {
  background: var(--white)
}

.cg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem
}

.cc {
  background: var(--off);
  border: 1px solid var(--lg);
  border-radius: 13px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s
}

.cc:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 58, 124, .09)
}

.ci {
  font-size: 2rem;
  display: block;
  margin-bottom: .8rem
}

.ct {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35
}

.co {
  font-size: .7rem;
  color: var(--gray);
  margin-top: .3rem
}

.cb {
  display: inline-block;
  margin-top: .8rem;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: .2rem .65rem;
  border-radius: 100px
}

/* TECH */
.ts {
  background: var(--off);
  padding: 56px 4%;
  text-align: center
}

.ts .sl {
  justify-content: center
}

.ts .sl::before {
  display: none
}

.tps {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.8rem
}

.tp {
  background: var(--white);
  border: 1px solid var(--lg);
  border-radius: 100px;
  padding: .52rem 1.2rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .24s, border-color .24s, transform .2s, color .24s;
  cursor: default
}

.tp:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px)
}

/* CONTACT */
#contact {
  background: var(--navy)
}

#contact .sh {
  color: var(--white)
}

#contact .sb {
  color: rgba(255, 255, 255, .48)
}

.cg2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2.8rem;
  align-items: start
}

.ci2 {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1.5rem
}

.cic {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem
}

.clb {
  font-size: .7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: .22rem
}

.cv {
  color: var(--white);
  font-size: .9rem;
  font-weight: 500
}

.ab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .22);
  padding: .46rem 1rem;
  border-radius: 100px;
  color: #86EFAC;
  font-size: .8rem;
  font-weight: 600;
  margin-top: .7rem
}

.fg {
  margin-bottom: 1rem
}

.fg label {
  display: block;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-bottom: .4rem
}

.fg input,
.fg textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: .78rem .95rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .26s, background .26s;
  resize: vertical
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--accent);
  background: rgba(74, 144, 217, .08)
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: rgba(255, 255, 255, .2)
}

.fsub {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: .9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .26s, filter .2s;
  letter-spacing: .4px
}

.fsub:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(200, 168, 75, .36)
}

/* FOOTER */
footer {
  background: #060E1F;
  padding: 2.2rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.1rem
}

.fl {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white)
}

.fl span {
  color: var(--gold)
}

.fls {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  flex-wrap: wrap
}

.fls a {
  color: rgba(255, 255, 255, .36);
  text-decoration: none;
  font-size: .78rem;
  transition: color .24s
}

.fls a:hover {
  color: var(--white)
}

.fc {
  color: rgba(255, 255, 255, .2);
  font-size: .75rem;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 1.2rem;
  margin-top: .2rem
}

/* ANIMATIONS */
@keyframes fu {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fi {
  to {
    opacity: 1
  }
}

@keyframes flt {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  50% {
    transform: translateY(-16px) rotate(180deg)
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .4)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0)
  }
}

@keyframes sb {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(5px)
  }
}

@keyframes ap {

  0%,
  100% {
    opacity: .5
  }

  50% {
    opacity: 1
  }
}

.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease
}

.rv.vs {
  opacity: 1;
  transform: translateY(0)
}

.d1 {
  transition-delay: .1s
}

.d2 {
  transition-delay: .2s
}

.d3 {
  transition-delay: .3s
}

.d4 {
  transition-delay: .4s
}

/* DARK MODE */
body.dm {
  background: #0A1020;
  color: #CDD9F0
}

body.dm #about,
body.dm #projects,
body.dm .ts {
  background: #0F1930 !important
}

body.dm #expertise,
body.dm #certifications {
  background: #0A1020 !important
}

body.dm .ec,
body.dm .cc,
body.dm .hl {
  background: #0A1020;
  border-color: rgba(255, 255, 255, .07)
}

body.dm .pc {
  background: #0A1020
}

body.dm .sh {
  color: #E8F0FF
}

body.dm .et,
body.dm .ct,
body.dm .pti {
  color: #D0DFF8
}

body.dm .tp {
  background: #0A1020;
  border-color: rgba(255, 255, 255, .1);
  color: #CDD9F0
}

body.dm .tp:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white)
}

body.dm .afl {
  background: #0A1020;
  color: #CDD9F0
}

body.dm .sb,
body.dm .ed,
body.dm .pdesc,
body.dm .hlt {
  color: #7A90B8
}

body.dm .ptc {
  background: #0F1930;
  border-color: rgba(255, 255, 255, .07);
  color: #CDD9F0
}

body.dm .hl {
  background: #0A1020
}

/* RESPONSIVE */
@media(max-width:1100px) {
  .eg {
    grid-template-columns: repeat(2, 1fr)
  }

  .cg {
    grid-template-columns: repeat(2, 1fr)
  }

  .hcw {
    display: none
  }
}

@media(max-width:900px) {

  .nl,
  .tb {
    display: none
  }

  .ham {
    display: flex
  }

  .ag {
    grid-template-columns: 1fr;
    gap: 2.2rem
  }

  .avis {
    max-width: 320px;
    margin: 0 auto
  }

  .pg {
    grid-template-columns: repeat(2, 1fr)
  }

  .cg2 {
    grid-template-columns: 1fr;
    gap: 2.2rem
  }
}

@media(max-width:640px) {
  :root {
    --nh: 58px
  }

  section {
    padding: 56px 4%
  }

  .mets {
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
    padding: 2rem 4%
  }

  .eg {
    grid-template-columns: 1fr
  }

  .pg {
    grid-template-columns: 1fr
  }

  .cg {
    grid-template-columns: repeat(2, 1fr)
  }

  .hls {
    grid-template-columns: 1fr
  }

  .adiag {
    gap: .4rem
  }

  .an {
    min-width: unset;
    padding: .9rem
  }

  .aar {
    font-size: 1rem;
    padding: 0 .18rem
  }

  footer {
    flex-direction: column;
    align-items: flex-start
  }

  .hbs {
    gap: .55rem
  }

  .bp,
  .bo {
    padding: .7rem 1.25rem;
    font-size: .83rem
  }
}

@media(max-width:430px) {
  .cg {
    grid-template-columns: 1fr
  }

  .ans {
    display: none
  }

  .hls {
    grid-template-columns: 1fr
  }
}