:root {
  --bg: #03060a;
  --bg-soft: #0a0f18;
  --card: rgba(13, 19, 31, 0.45);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --glow: 0 0 32px rgba(59, 130, 246, 0.5);
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(13, 19, 31, 0.65);
}

* {
  box-sizing: border-box;
}
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;  
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    background: #1ebe5b;
    transform: translateY(-3px);
}
.card-img-top{
height:220px;
width:100%;
object-fit:cover;
border-radius:10px;
}

html, body {
  scroll-behavior: smooth;
}
.fixed-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

body {
  margin: 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  /*Inter*/
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000;
}

.navbar {
  background: rgba(3, 6, 10, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
}

.oi.oi-menu::before {
  content: "\f0c9";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--text);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.hero,
.hero-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero {
  background: url('https://mortuza.dev/images/code42.gif') center/cover no-repeat fixed;
}

.hero-overlay,
.hero-wrap .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 6, 10, 0.95), rgba(10, 15, 24, 0.6));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, 0.2), transparent 55%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
  pointer-events: none;
  transition: background-position 0.2s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--glow);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  font-weight: 600;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
}

.btn-primary {
  background: var(--accent);
  border: none;
  box-shadow: var(--glow);
}

.btn-outline {
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
}

.section,
.ftco-section {
  padding: 100px 0;
}

.section-header,
.heading-section,
.section-title,
.heading {
  margin-bottom: 24px;
}

.container > .row,
.container > .row + .row {
  row-gap: 28px;
}

.panel,
.resume-wrap,
.card,
.card2,
.skill-card,
.contact-card,
.image-card,
.box {
  margin-bottom: 22px;
}

.project-body,
.card-body {
  margin-top: 12px;
}

.footer {
  padding-top: 70px;
  padding-bottom: 40px;
}

.project-page {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.project-page .navbar {
  background: rgba(9, 12, 18, 0.75);
  backdrop-filter: blur(8px);
}

.project-hero {
  position: relative;
  padding: 140px 0 60px;
  background: linear-gradient(120deg, rgba(15, 22, 33, 0.95), rgba(9, 12, 18, 0.6));
  border-bottom: 1px solid rgba(107, 220, 255, 0.22);
}

.project-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -60px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(107, 220, 255, 0.24), rgba(47, 107, 255, 0.02) 65%);
  pointer-events: none;
  filter: blur(4px);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.project-gallery img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}

.project-page .section .card {
  height: 100%;
  border: 1px solid rgba(107, 220, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-page .section .card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 220, 255, 0.45);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

.project-gallery.is-enhanced {
  display: none;
}

.project-viewer {
  border: 1px solid rgba(107, 220, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 28, 40, 0.9), rgba(10, 14, 20, 0.94));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.project-viewer-main {
  position: relative;
  margin: 0;
  background: rgba(7, 12, 20, 0.8);
}

.project-viewer-main img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.project-viewer-main figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(6, 10, 16, 0.72);
  border: 1px solid rgba(107, 220, 255, 0.3);
  color: #dce9f8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.project-viewer-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.project-viewer-btn {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(107, 220, 255, 0.5);
  background: rgba(6, 11, 18, 0.74);
  color: #dce9f8;
  display: grid;
  place-items: center;
}

.project-viewer-btn:hover {
  background: rgba(38, 90, 200, 0.5);
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px;
  padding: 14px;
}

.project-thumb {
  border: 1px solid rgba(107, 220, 255, 0.25);
  border-radius: 10px;
  padding: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.project-thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-thumb:hover img,
.project-thumb.is-active img {
  opacity: 1;
  transform: scale(1.03);
}

.project-thumb.is-active {
  border-color: rgba(107, 220, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(107, 220, 255, 0.2);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 10, 0.84);
  z-index: 2500;
  padding: 20px;
}

.project-lightbox.is-open {
  display: flex;
}

.project-lightbox img {
  max-width: min(96vw, 1300px);
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid rgba(107, 220, 255, 0.4);
}

.project-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(107, 220, 255, 0.5);
  background: rgba(6, 11, 18, 0.8);
  color: #dce9f8;
  font-size: 1.1rem;
}

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

.section-light {
  background: var(--bg);
}

.section-dark {
  background: var(--bg-soft);
}

.image-card {
  background: rgba(16, 22, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.info-list li {
  margin-bottom: 8px;
}

.section-title, .heading {
  color: var(--text);
}

.ftco-section {
  padding: 90px 0;
}

.ftco-about,
.ftco-partner,
.ftco-project,
#blog-section,
.contact-section {
  background: var(--bg);
}

.card,
.card2,
.resume-wrap,
.box,
.bg-white,
.contact-form {
  background: var(--card) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-radius: 16px;
}

.card2 {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 28, 40, 0.9), rgba(10, 14, 20, 0.9));
  border: 1px solid rgba(99, 123, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card2 .carousel,
.card2 img {
  border-radius: 16px;
  overflow: hidden;
}

.card2 .carousel {
  flex: 0 0 auto;
}

.card2 > div:last-child {
  margin-top: 14px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card2 > div:last-child h6 {
  order: 1;
}

.card2 .project-title {
  order: 2;
  margin-top: auto;
}

.card2 > div:last-child .card-text {
  order: 3;
}

.ftco-project .row {
  align-items: stretch;
}

.card2 img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card2:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.card2 h6,
.card2 p,
.card2 .card-text {
  color: var(--text);
}

.card2 a b {
  color: var(--accent-2);
}

.card2 a b:hover {
  color: var(--accent);
}

.ftco-project .col-md-4,
.ftco-project .col-md-6 {
  padding-bottom: 24px;
}

.contact-info {
  row-gap: 24px;
}

.contact-info .box {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .icon {
  margin-bottom: 12px;
}

.contact-info .col-md-6,
.contact-info .col-lg-3 {
  padding-left: 12px;
  padding-right: 12px;
}

.card,
.card2,
.resume-wrap,
.box,
.bg-white,
.contact-form,
.testimonial-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.card2:hover,
.resume-wrap:hover,
.box:hover,
.bg-white:hover,
.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), var(--glow);
  border-color: rgba(6, 182, 212, 0.4);
}

.card *,
.card2 *,
.resume-wrap *,
.box *,
.bg-white * {
  color: var(--text);
}

.float-child ul {
  color: var(--text) !important;
}

.about-info span {
  color: var(--muted);
}

.resume-wrap.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 32px rgba(47, 107, 255, 0.25);
}

.resume-wrap {
  border-left: 3px solid rgba(47, 107, 255, 0.2);
  padding-left: 16px;
}

#page-1 .resume-wrap {
  padding: 14px 16px;
}

#page-1 .resume-wrap .text {
  padding-left: 14px !important;
}

#page-2 {
  margin-top: 16px;
  padding: 20px 16px 12px;
  border: 1px solid rgba(107, 220, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(14, 22, 34, 0.85), rgba(8, 12, 20, 0.95));
  overflow: hidden;
}

#page-2 .heading {
  margin-bottom: 14px;
}

#page-2 .experience-intro {
  margin: 0 0 20px;
  color: #9fb3ca;
  font-size: 0.96rem;
  line-height: 1.55;
}

#page-2 .experience-list {
  display: grid;
  gap: 18px;
}

#page-2 .resume-wrap {
  position: relative !important;
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(107, 220, 255, 0.22);
  border-left: 4px solid rgba(107, 220, 255, 0.7);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(11, 18, 29, 0.96), rgba(8, 13, 22, 0.96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

#page-2 .experience-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, rgba(107, 220, 255, 0.9), rgba(47, 107, 255, 0.65), rgba(107, 220, 255, 0.15));
}

#page-2 .resume-wrap .icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.22), rgba(107, 220, 255, 0.18));
  border: 1px solid rgba(107, 220, 255, 0.36);
}

#page-2 .resume-wrap .icon span {
  color: #a7e8ff;
  font-size: 20px;
}

#page-2 .resume-wrap .text {
  width: 100%;
  padding-left: 6px !important;
}

#page-2 .resume-wrap .date {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #bfefff;
  background: rgba(47, 107, 255, 0.22);
  border: 1px solid rgba(107, 220, 255, 0.35);
  margin-bottom: 8px;
}

#page-2 .resume-wrap h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  line-height: 1.35;
}

#page-2 .resume-wrap .position {
  display: inline-block;
  margin-bottom: 14px;
  color: #9fd9ff;
  font-weight: 600;
  letter-spacing: 0.2px;
}

#page-2 .resume-wrap ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  display: grid;
  gap: 10px;
}

#page-2 .resume-wrap li {
  position: static;
  padding-left: 0;
  margin-bottom: 0;
  line-height: 1.6;
  color: #d8e7f8;
}

#page-2 .resume-wrap:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  #page-2 {
    padding: 16px 12px 10px;
  }

  #page-2 .resume-wrap {
    padding: 14px 12px;
    gap: 12px;
  }

  #page-2 .experience-intro {
    margin-bottom: 16px;
  }

  #page-2 .resume-wrap h2 {
    font-size: 1.12rem;
  }

  #page-2 .resume-wrap .icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

.resume-nav-col {
  margin-bottom: 20px;
}

.resume-side-nav {
  position: sticky;
  top: 96px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(107, 220, 255, 0.24);
  background: linear-gradient(165deg, rgba(20, 28, 40, 0.9), rgba(10, 14, 22, 0.95));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.resume-side-title {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #8fe8ff;
  margin-bottom: 10px;
  padding: 0 6px 8px;
  border-bottom: 1px solid rgba(107, 220, 255, 0.2);
}

#navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#navi ul li {
  margin: 0;
}

#navi ul li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d6e3f4;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.2s ease;
}

#navi ul li a:hover,
#navi ul li a:focus-visible {
  color: #f5fbff;
  border-color: rgba(107, 220, 255, 0.42);
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.22), rgba(107, 220, 255, 0.14));
  transform: translateX(3px);
  outline: none;
}

.progress.mx-auto {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) var(--progress, 0%), rgba(255,255,255,0.1) 0);
}

.progress .progress-left,
.progress .progress-right {
  display: none;
}

.progress-value {
  background: #0b0f14;
  border-radius: 50%;
  width: 90px;
  height: 90px;
}

.progress-value .h2 {
  color: var(--text);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-layout .map-panel {
  order: 1;
}

.contact-layout .contact-form-panel {
  order: 2;
}

.contact-panel {
  border: 1px solid rgba(107, 220, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(15, 24, 38, 0.92), rgba(8, 13, 22, 0.96));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  padding: 18px;
}

.contact-panel-title {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #dceaff;
}

.contact-form-panel .contact-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 14px;
}

.contact-form .form-group:last-child {
  margin-bottom: 0;
}

.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid rgba(107, 220, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #e5eefc;
  padding: 12px 14px;
}

.contact-form .form-control::placeholder {
  color: #9eb3cb;
}

.contact-form .form-control:focus {
  border-color: rgba(107, 220, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(107, 220, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

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

.contact-form .btn {
  margin-top: 6px;
}

.map-panel {
  display: flex;
  flex-direction: column;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.map-open-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #8fe8ff;
  text-decoration: none;
  border: 1px solid rgba(107, 220, 255, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.map-open-link:hover {
  color: #d4f5ff;
  border-color: rgba(107, 220, 255, 0.8);
  background: rgba(107, 220, 255, 0.1);
}

.map-frame-wrap {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(107, 220, 255, 0.32);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-caption {
  margin: 10px 0 0;
  color: #9fb3ca;
  font-size: 0.92rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.float-child {
  position: relative;
  overflow: hidden;
}

.float-child[data-insight]::after {
  content: attr(data-insight);
  position: absolute;
  inset: auto 16px 16px 16px;
  background: rgba(10, 16, 25, 0.9);
  color: var(--text);
  padding: 12px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.float-child[data-insight]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.skills-showcase {
  position: relative;
}

.skills-intro {
  color: var(--muted);
  margin-bottom: 20px;
}

.skills-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
  margin-bottom: 26px;
}

.skills-showcase .skills-grid:last-of-type {
  margin-bottom: 0;
}

.skills-showcase .float-container.skills-grid + .float-container.skills-grid {
  margin-top: 26px !important;
}

.skill-card-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(107, 220, 255, 0.55);
  background: linear-gradient(165deg, rgba(20, 28, 40, 0.9), rgba(10, 14, 20, 0.95)) !important;
  box-shadow: 0 0 0 1px rgba(107, 220, 255, 0.2), 0 20px 42px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  width: 100%;
  align-self: stretch;
}

.skill-card-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(140deg, rgba(107, 220, 255, 0.2), rgba(47, 107, 255, 0), rgba(107, 220, 255, 0.15));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.skill-card-item:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(107, 220, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(107, 220, 255, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(47, 107, 255, 0.25);
}

.skill-card-item:hover::before {
  opacity: 1;
}

.skill-card-item .myskill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #f5f9ff;
  margin-bottom: 12px;
}

.skill-card-item .myskill i {
  transition: transform 0.25s ease, color 0.25s ease;
}

.skill-card-item:hover .myskill i {
  transform: translateY(-2px) scale(1.08);
  color: #8fe8ff;
}

.skill-card-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.skill-card-item .card-body ul {
  margin-bottom: auto;
}

.skill-card-item ul li {
  margin-bottom: 8px;
}

.skill-featured {
  border-color: rgba(107, 220, 255, 0.55);
  background: linear-gradient(165deg, rgba(20, 28, 40, 0.9), rgba(10, 14, 20, 0.95)) !important;
  box-shadow: 0 0 0 1px rgba(107, 220, 255, 0.2), 0 20px 42px rgba(0, 0, 0, 0.4);
}

.skill-featured .myskill {
  color: #8fe8ff;
}

@media (max-width: 991px) {
  .project-viewer-main img {
    max-height: 420px;
  }

  .project-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-layout .map-panel,
  .contact-layout .contact-form-panel {
    order: initial;
  }

  .map-frame-wrap,
  .map-frame-wrap iframe {
    min-height: 300px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .skill-card-item {
    min-height: auto;
  }

  .resume-side-nav {
    position: static;
    top: auto;
  }

  #navi ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  #navi ul li {
    flex: 1 1 calc(50% - 8px);
  }
}

.card img,
.card2 img,
.testimonial-img {
  border-radius: 12px;
}

.partner img {
  filter: grayscale(1) brightness(0.8);
  transition: all 0.3s ease;
}

.ftco-partner {
  padding-top: 72px;
  padding-bottom: 72px;
}

.partner-grid {
  row-gap: 18px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 144px;
  padding: 16px 12px;
  background: linear-gradient(165deg, rgba(20, 28, 40, 0.92), rgba(10, 14, 22, 0.95));
  border: 1px solid rgba(107, 220, 255, 0.22);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.partner-name {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #c9d8ec;
}

.icon-map-signs::before,
.icon-phone2::before,
.icon-paper-plane::before,
.icon-globe::before,
.icon-twitter::before,
.icon-facebook::before,
.icon-instagram::before,
.icon-map-marker::before,
.icon-phone::before,
.icon-envelope::before,
.icon-long-arrow-right::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  color: var(--accent-2);
}

.icon-map-signs::before { content: "\f3c5"; }
.icon-phone2::before { content: "\f095"; }
.icon-paper-plane::before { content: "\f1d8"; }
.icon-globe::before { content: "\f0ac"; }
.icon-twitter::before { content: "\f099"; font-weight: 400; }
.icon-facebook::before { content: "\f09a"; font-weight: 400; }
.icon-instagram::before { content: "\f16d"; font-weight: 400; }
.icon-map-marker::before { content: "\f3c5"; }
.icon-phone::before { content: "\f095"; }
.icon-envelope::before { content: "\f0e0"; }
.icon-long-arrow-right::before { content: "\f061"; }

.flaticon-ideas::before {
  content: "\f0eb";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-2);
  margin-right: 8px;
}

.partner img:hover {
  filter: grayscale(0) brightness(1);
  transform: translateY(-4px);
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: rgba(107, 220, 255, 0.65);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42), 0 0 18px rgba(47, 107, 255, 0.2);
  transform: translateY(-6px);
  outline: none;
}

.partner-card:hover img,
.partner-card:focus-visible img {
  filter: grayscale(0) brightness(1.04);
}

.responsive-image {
  width: 100vw;
  height: 100vh;
}

@media (max-width: 768px) {
  .responsive-image {
    height: 60vh;
  }
}

.progress {
  background: rgba(255,255,255,0.08);
}

.progress-bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section-bg {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 24px;
}

.testimonial-item {
  background: rgba(15, 22, 33, 0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.card a {
  color: var(--accent-2);
}

.ml-auto { margin-left: auto !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.ml-md-4 { margin-left: 1.5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-md-5 { padding-left: 3rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.float-md-left { float: left !important; }
.float-lft { float: left !important; }

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.nav-tabs {
  border-bottom: 1px solid var(--border);
}

.nav-tabs .nav-link {
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-tabs .nav-link.active {
  background: rgba(47, 107, 255, 0.15);
  color: var(--text);
  border-color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.w3-modal-content {
  max-width: 90vw;
  max-height: 90vh;
}

.certificate {
  cursor: zoom-in;
  border-radius: 8px;
}

#page-5 .section-bg {
  background:
    radial-gradient(circle at 12% 12%, rgba(107, 220, 255, 0.08), transparent 42%),
    radial-gradient(circle at 88% 88%, rgba(47, 107, 255, 0.08), transparent 42%),
    rgba(12, 18, 28, 0.95);
  border: 1px solid rgba(107, 220, 255, 0.2);
  border-radius: 22px;
  padding: 32px;
}

#page-5 .section-title {
  margin-bottom: 18px;
}

#page-5 .section-title .heading {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

#page-5 #myTabs {
  gap: 10px;
  border-bottom: none;
  margin-bottom: 16px;
}

#page-5 #myTabs .nav-item {
  margin-bottom: 0;
}

#page-5 #myTabs .nav-link {
  border-radius: 999px;
  border: 1px solid rgba(107, 220, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
  color: #c9d7ea;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.2s ease;
}

#page-5 #myTabs .nav-link:hover {
  border-color: rgba(107, 220, 255, 0.6);
  color: #eaf6ff;
}

#page-5 #myTabs .nav-link.active {
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.25), rgba(107, 220, 255, 0.22));
  border-color: rgba(107, 220, 255, 0.85);
  color: #f5fbff;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.25);
}

#page-5 .tab-content {
  margin-top: 18px;
}

#page-5 .tab-pane .row {
  row-gap: 20px;
}

#page-5 .tab-pane .col-md-5 {
  background: linear-gradient(165deg, rgba(20, 28, 40, 0.92), rgba(10, 14, 22, 0.95));
  border: 1px solid rgba(107, 220, 255, 0.24);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

#page-5 .tab-pane .col-md-5:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 220, 255, 0.65);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42), 0 0 18px rgba(47, 107, 255, 0.2);
}

#page-5 .tab-pane h5 {
  margin-bottom: 10px;
}

#page-5 .tab-pane h5 a {
  color: #e9f4ff;
  font-weight: 700;
}

#page-5 .tab-pane .card-body {
  padding: 0;
}

#page-5 .tab-pane .card-body p {
  margin-bottom: 8px;
  color: #c6d5e9;
}

#page-5 .certificate {
  width: 100%;
  max-width: 100%;
  height: 220px !important;
  object-fit: cover;
  border: 1px solid rgba(107, 220, 255, 0.3);
  border-radius: 12px;
  margin-top: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

#page-5 .tab-pane h4 {
  color: #9fb4d0;
  font-weight: 600;
}

.testimonials-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.testimonials-carousel::-webkit-scrollbar {
  height: 6px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
}

.testimonial-item {
  min-width: 280px;
  scroll-snap-align: start;
}

#page-4 .section-bg {
  background:
    radial-gradient(circle at 20% 10%, rgba(107, 220, 255, 0.08), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(47, 107, 255, 0.1), transparent 45%),
    rgba(12, 18, 28, 0.95);
  border: 1px solid rgba(107, 220, 255, 0.2);
  border-radius: 22px;
  padding: 34px;
}

#page-4 .section-title {
  margin-bottom: 20px;
}

#page-4 .section-title .heading {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.3px;
}

#page-4 .section-title p {
  color: var(--muted);
  margin: 0;
}

#page-4 .testimonials-carousel {
  display: flex;
  gap: 22px;
  padding: 6px 4px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

#page-4 .testimonial-item {
  min-width: min(360px, 92vw);
  max-width: 420px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 20px;
  border: 1px solid rgba(107, 220, 255, 0.3);
  background: linear-gradient(165deg, rgba(20, 28, 40, 0.92), rgba(9, 14, 24, 0.96));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

#page-4 .testimonial-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(107, 220, 255, 0.9), rgba(47, 107, 255, 0.9));
}

#page-4 .testimonial-item p {
  color: #d9e3f2;
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 18px;
  min-height: 0;
  display: block;
  overflow: visible;
}

#page-4 .testimonial-item h3 {
  font-size: 1.18rem;
  margin: 10px 0 6px;
  color: #f1f6ff;
  line-height: 1.35;
}

#page-4 .testimonial-item h4 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: #9eb1cb;
  font-weight: 500;
  line-height: 1.35;
}

#page-4 .testimonial-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(107, 220, 255, 0.6);
  object-fit: cover;
  margin-top: auto;
  margin-bottom: 12px;
}

#page-4 .testimonial-item h4:last-of-type {
  margin-bottom: 0;
}

#page-4 .quote-icon-left::before,
#page-4 .quote-icon-right::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: rgba(107, 220, 255, 0.7);
  margin: 0 6px;
}

#page-4 .quote-icon-left::before {
  content: "\f10d";
}

#page-4 .quote-icon-right::before {
  content: "\f10e";
}

#page-4 .testimonial-item a {
  color: #8fe8ff;
  text-decoration: underline;
}

#page-4 .testimonial-item:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 220, 255, 0.6);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 0 0 24px rgba(47, 107, 255, 0.2);
}

@media (max-width: 1199px) {
  #page-4 .testimonial-item {
    min-width: min(340px, 88vw);
  }
}

@media (max-width: 767px) {
  #page-4 .testimonials-carousel { gap: 16px; }
  #page-4 .testimonial-item {
    min-width: 88vw;
    min-height: 0;
  }
}

#page-5 {
  margin-top: 42px;
}

.post-card .card {
  height: 100%;
}

.footer {
  background: #070a0f;
}

.ftco-footer,
.ftco-footer .text,
.ftco-footer a {
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--glow);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.back-to-top.show {
  display: inline-flex;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }

  #page-5 {
    margin-top: 26px;
  }

  #page-5 .section-bg {
    padding: 20px 14px;
  }

  #page-5 #myTabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  #page-5 #myTabs .nav-link {
    padding: 8px 14px;
    font-size: 0.92rem;
  }

  #page-5 .tab-pane .col-md-5 {
    width: 100%;
    margin-right: 0 !important;
  }

  #page-5 .certificate {
    height: 190px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}