:root{
  --navy:#0A1F44;
  --blue-deep:#123B7A;
  --blue:#2F6FED;
  --blue-light:#EAF1FF;
  --sky:#63A4FF;
  --ink:#101828;
  --muted:#5C6B85;
  --paper:#F6F9FF;
  --white:#FFFFFF;
  --radius:14px;
}

*{box-sizing:border-box;}

body{
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--white);
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk',sans-serif;
  color:var(--navy);
  margin:0;
}

a{ text-decoration:none; }

/* background decoration */
.bg-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.35;
  z-index:-1;
  pointer-events:none;
}
.blob-1{
  width:520px;height:520px;
  background:var(--sky);
  top:-180px;right:-160px;
}
.blob-2{
  width:420px;height:420px;
  background:var(--blue);
  top:900px;left:-180px;
  opacity:.18;
}

/* NAVBAR */
#mainNav{
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(10,31,68,.06);
  padding:14px 0;
  transition:.3s;
}
.navbar-brand{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:22px;
  color:var(--navy) !important;
}
.navbar-brand span{ color:var(--blue); }
.nav-link{
  color:var(--ink) !important;
  font-weight:500;
  font-size:15px;
  padding:8px 14px !important;
}
.nav-link:hover{ color:var(--blue) !important; }
.btn-contact{
  background:var(--navy);
  color:var(--white) !important;
  border-radius:30px;
  padding:8px 20px !important;
  margin-left:6px;
}
.btn-contact:hover{ background:var(--blue) !important; }
.nav-link.btn-contact:hover{ color:var(--white) !important; }

/* HERO */
.hero{
  padding:170px 0 90px;
  position:relative;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--blue-deep);
  background:var(--blue-light);
  padding:6px 14px;
  border-radius:30px;
  margin-bottom:22px;
}
.eyebrow .dot{
  width:8px;height:8px;border-radius:50%;
  background:#2FC26E;
  display:inline-block;
}
.hero-title{
  font-size:52px;
  font-weight:700;
  line-height:1.12;
  letter-spacing:-1px;
}
.highlight{ color:var(--blue); }
.hero-sub{
  font-size:17px;
  color:var(--muted);
  max-width:520px;
  margin:22px 0 32px;
  line-height:1.7;
}
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:48px; }

.btn-primary-custom{
  background:var(--navy);
  color:var(--white);
  border-radius:30px;
  padding:13px 26px;
  font-weight:600;
  font-size:15px;
  border:1px solid var(--navy);
  transition:.25s;
}
.btn-primary-custom:hover{ background:var(--blue); border-color:var(--blue); color:var(--white); transform:translateY(-2px); }

.btn-outline-custom{
  background:transparent;
  color:var(--navy);
  border:1px solid rgba(10,31,68,.2);
  border-radius:30px;
  padding:13px 26px;
  font-weight:600;
  font-size:15px;
  transition:.25s;
}
.btn-outline-custom:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }

.hero-stats{ display:flex; gap:40px; flex-wrap:wrap; }
.hero-stats div span{
  display:block;
  font-family:'Space Grotesk',sans-serif;
  font-size:28px;
  font-weight:700;
  color:var(--navy);
}
.hero-stats div small{ color:var(--muted); font-size:13px; }

.hero-avatar-wrap{ position:relative; display:inline-block; }
.hero-avatar{
  width:260px;height:260px;
  border-radius:50%;
  background:linear-gradient(160deg,var(--blue),var(--navy));
  display:flex;align-items:center;justify-content:center;
  font-family:'Space Grotesk',sans-serif;
  font-size:70px;font-weight:700;
  color:#fff;
  margin:0 auto;
  box-shadow:0 30px 60px -20px rgba(18,59,122,.45);
}
.floating-badge{
  position:absolute;
  background:#fff;
  padding:9px 16px;
  border-radius:30px;
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  box-shadow:0 12px 30px rgba(18,59,122,.15);
  display:flex;align-items:center;gap:8px;
}
.floating-badge i{ color:var(--blue); }
.badge-1{ top:10px; left:-30px; }
.badge-2{ bottom:40px; right:-30px; }
.badge-3{ bottom:-10px; left:20px; }

/* SECTIONS */
.section{ padding:90px 0; }
section[id], header[id]{ scroll-margin-top:100px; }
.section-alt{ background:var(--paper); }
.section-tag{
  color:var(--blue);
  font-weight:700;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px;
}
.section-title{
  font-size:32px;
  font-weight:700;
  letter-spacing:-.5px;
}
.about-photo-wrap{
  position:relative;
  max-width:320px;
  margin:0 auto;
}
.about-photo-wrap::before{
  content:'';
  position:absolute;
  inset:-14px -14px auto auto;
  width:90%;
  height:90%;
  background:linear-gradient(160deg,var(--blue),var(--navy));
  border-radius:var(--radius);
  z-index:0;
}
.about-photo{
  position:relative;
  z-index:1;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:0 30px 60px -20px rgba(18,59,122,.45);
  display:block;
}
.about-text{ color:var(--muted); font-size:16px; line-height:1.8; margin-bottom:18px; }
.about-tags{ display:flex; gap:14px; flex-wrap:wrap; margin-top:24px; }
.about-tags span{
  background:var(--blue-light);
  color:var(--blue-deep);
  padding:8px 16px;
  border-radius:30px;
  font-size:13px;
  font-weight:600;
}

/* TESTIMONIALS */
.testi-card{
  background:#fff;
  border:1px solid rgba(10,31,68,.08);
  border-radius:var(--radius);
  padding:30px;
  height:100%;
}
.testi-quote-icon{ color:var(--blue); font-size:22px; opacity:.5; margin-bottom:14px; display:block; }
.testi-quote{ color:var(--muted); font-size:15px; line-height:1.7; margin-bottom:20px; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width:42px;height:42px;border-radius:50%;
  background:var(--blue-light); color:var(--blue-deep);
  display:flex;align-items:center;justify-content:center;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px;
}
.testi-name{ font-weight:600; font-size:14px; color:var(--navy); }
.testi-role{ font-size:12px; color:var(--muted); }

/* PRICING */
.price-card{
  background:#fff;
  border:1px solid rgba(10,31,68,.08);
  border-radius:var(--radius);
  padding:28px;
  height:100%;
  transition:.25s;
}
.price-card:hover{ transform:translateY(-4px); border-color:var(--blue); box-shadow:0 14px 30px rgba(47,111,237,.12); }
.price-card h4{ font-size:17px; margin-bottom:8px; }
.price-amount{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:22px; color:var(--blue); margin-bottom:10px; }
.price-desc{ color:var(--muted); font-size:14px; line-height:1.6; margin:0; }

/* SKILLS */
.skills-also{ color:var(--muted); font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; margin-bottom:14px; }
.skills-grid-primary{ grid-template-columns:repeat(5,1fr); }
.skill-primary{ border-color:var(--blue); background:var(--blue-light); }
.skill-primary i, .skill-primary span{ color:var(--blue-deep); }
.skills-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.skill-card{
  background:#fff;
  border:1px solid rgba(10,31,68,.08);
  border-radius:var(--radius);
  padding:26px 10px;
  text-align:center;
  transition:.25s;
}
.skill-card:hover{ transform:translateY(-4px); border-color:var(--blue); box-shadow:0 14px 30px rgba(47,111,237,.12); }
.skill-card i{ font-size:30px; color:var(--blue); display:block; margin-bottom:12px; }
.skill-card span{ font-size:13px; font-weight:600; color:var(--navy); }

/* CAROUSEL / CERTS */
.cert-slide{
  display:flex;
  align-items:center;
  gap:36px;
  flex-wrap:wrap;
  justify-content:center;
  padding:10px 0 40px;
}
.cert-slide img{
  max-width:480px;
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius:var(--radius);
  box-shadow:0 20px 50px rgba(18,59,122,.18);
  border:1px solid rgba(10,31,68,.08);
}
.cert-info h4{ font-size:20px; margin-bottom:6px; }
.cert-info p{ color:var(--muted); font-size:14px; }
.carousel-control-prev, .carousel-control-next{ width:60px; opacity:1; }
.custom-arrow{
  width:44px;height:44px;
  background:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--navy);
  box-shadow:0 10px 25px rgba(18,59,122,.15);
}

/* WORK */
.work-card{
  background:#fff;
  border:1px solid rgba(10,31,68,.08);
  border-radius:var(--radius);
  padding:30px;
  height:100%;
}
.work-card-lg{ min-height:230px; }
.work-icon{
  width:52px;height:52px;
  border-radius:14px;
  background:var(--blue-light);
  color:var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  margin-bottom:16px;
}
.work-card h4{ font-size:19px; margin-bottom:10px; }
.work-card p{ color:var(--muted); font-size:14.5px; line-height:1.7; }
.work-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.work-tags span{
  background:var(--blue-light);
  color:var(--blue-deep);
  padding:5px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

.phone-row{ display:flex; gap:18px; overflow-x:auto; padding-bottom:6px; }
.phone-frame{
  flex:0 0 auto;
  width:150px;
  border:6px solid var(--navy);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 30px rgba(18,59,122,.15);
}
.phone-frame img{ width:100%; aspect-ratio: 9 / 19; object-fit:cover; display:block; }

.shot-row, .poster-row{ display:flex; gap:16px; overflow-x:auto; padding-bottom:6px; }
.shot-row img{
  flex:0 0 auto;
  width:280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius:10px;
  border:1px solid rgba(10,31,68,.08);
}
.poster-row img{
  flex:0 0 auto;
  width:200px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius:var(--radius);
  box-shadow:0 14px 30px rgba(18,59,122,.15);
}

/* PAYMENTS */
.pay-card{
  background:#fff;
  border:1px solid rgba(10,31,68,.08);
  border-radius:var(--radius);
  padding:28px 12px;
  text-align:center;
  transition:.25s;
}
.pay-card:hover{ border-color:var(--blue); transform:translateY(-4px); }
.pay-card i{ font-size:28px; color:var(--blue); display:block; margin-bottom:12px; }
.pay-card span{ font-size:13px; font-weight:600; color:var(--navy); }
.pay-note{ color:var(--muted); margin-top:26px; font-size:15px; }
.pay-note a{ color:var(--blue); font-weight:600; }

/* CONTACT */
.section-contact{
  background:linear-gradient(160deg,var(--navy),var(--blue-deep));
  border-radius:40px;
  margin:0 16px 40px;
  color:#fff;
}
.section-contact .section-tag{ color:var(--sky); }
.section-contact .section-title{ color:#fff; }
.section-contact .hero-sub{ color:#C9D8F5; }
.section-contact .btn-primary-custom{ background:#fff; color:var(--navy); border-color:#fff; }
.section-contact .btn-primary-custom:hover{ background:var(--sky); color:#fff; border-color:var(--sky); }

.contact-form{ max-width:560px; margin:36px auto 0; text-align:left; }
.field-label{ color:#C9D8F5; font-size:12.5px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; margin-bottom:6px; display:block; }
.form-control-custom{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  border-radius:10px;
  padding:13px 16px;
  font-size:14px;
  width:100%;
  margin-bottom:16px;
}
.form-control-custom::placeholder{ color:#C9D8F5; opacity:.8; }
.form-control-custom:focus{ outline:none; border-color:var(--sky); background:rgba(255,255,255,.18); }
select.form-control-custom option{ color:#101828; }

.social-row{ display:flex; justify-content:center; gap:18px; }
.social-icon{
  width:52px;height:52px;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  font-size:19px;
  transition:.25s;
}
.social-icon:hover{ background:var(--sky); transform:translateY(-4px); }

.footer{ padding:28px 0; }
.footer p{ color:var(--muted); font-size:13.5px; }
.navbar-toggler{
  border:none;
  color:var(--navy);
  font-size:22px;
  padding:4px 8px;
}
.navbar-toggler:focus{ box-shadow:none; }
.phone-row, .shot-row, .poster-row, .cert-slide{
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
}

/* Fix: flex/grid items default to min-width:auto, which lets fixed-width
   image rows (phone-row/shot-row/poster-row/cert-slide) force their parent
   .col / .row / .container / body wider than the viewport instead of
   scrolling internally. min-width:0 lets them shrink properly so overflow-x:auto
   actually contains the scroll instead of leaking it to the whole page. */
.work-card,
.row > [class*="col-"]{
  min-width:0;
}
html{
  overflow-x:hidden;
  max-width:100%;
}
.work-card,
.row > [class*="col-"] {
  min-width: 0;
}


@media (max-width:991px){
  .floating-badge{ display:none; }
}
/* RESPONSIVE */
@media (max-width:991px){
  .hero{ padding:140px 0 60px; text-align:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-cta, .hero-stats{ justify-content:center; }
  .hero-avatar-wrap{ margin-top:20px; }
  .skills-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:575px){
  .hero-title{ font-size:38px; }
  .skills-grid{ grid-template-columns:repeat(2,1fr); }
  .cert-slide img{ max-width:100%; }
}
