/* ============================================================
   APEXDIGITS PORTFOLIO — styles.css
   Dark Enterprise Theme: Deep Navy + Slate + Electric Blue
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #050d1a;
  --navy-light: #0a1628;
  --navy-mid: #0e1f38;
  --slate: #1a2942;
  --slate-light: #243552;
  --blue: #4facfe;
  --blue-deep: #1a6fc4;
  --blue-glow: rgba(79, 172, 254, 0.18);
  --cyan: #00f2fe;
  --accent: #6ee7f7;
  --green: #43e97b;
  --purple: #a78bfa;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(79, 172, 254, 0.15);
  --card-bg: rgba(10, 22, 40, 0.85);
  --gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-r: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-p: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
  --font-main: 'Inter', system-ui, sans-serif;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-blue: 0 8px 32px rgba(79, 172, 254, 0.15);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--navy);
  color: var(--text);
  font-family: var(--font-main);
  line-height: var(--line-height);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 A 40 40 0 0 1 90 50 L 90 50 A 40 40 0 0 1 50 90 A 40 40 0 0 1 10 50 L 10 50 A 40 40 0 0 1 50 10 Z' fill='none' stroke='%234facfe' stroke-width='0.5' stroke-opacity='0.15'/%3E%3Cpath d='M50 10 C 65 30, 65 70, 50 90 M10 50 C 30 35, 70 35, 90 50' fill='none' stroke='%234facfe' stroke-width='0.3' stroke-opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 350px;
  z-index: -1;
  pointer-events: none;
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

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

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

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-deep);
  border-radius: 3px;
}

/* ── SELECTION ── */
::selection {
  background: var(--blue);
  color: var(--navy);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 13, 26, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  padding: 0.75rem 0;
}

#navbar.scrolled {
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oloid-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.4));
}

.logo-text {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--blue);
  background: var(--blue-glow);
}

.nav-link.active {
  color: var(--blue);
}

.cta-nav {
  background: var(--gradient) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 0.45rem 1.1rem !important;
}

.cta-nav:hover {
  opacity: 0.88;
  background: var(--gradient) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hero-decoration-oloid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}


.hero-decoration-oloid svg {
  width: 100%;
  height: 100%;
  animation: float-slow 20s ease-in-out infinite;
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}


.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-family: var(--font-main);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(79, 172, 254, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue-glow);
}

.btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 7rem 0;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

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

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

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes grid-move {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 60px 60px;
  }
}

@keyframes count-up {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.delay-5 {
  animation-delay: 0.75s;
}

/* Scroll-reveal */
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(26, 111, 196, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(79, 172, 254, 0.12) 0%, transparent 50%),
    var(--navy);
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(79, 172, 254, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 172, 254, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-move 12s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(79, 172, 254, 0.12);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 242, 254, 0.08);
  bottom: -80px;
  left: -80px;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(167, 139, 250, 0.08);
  top: 40%;
  left: 40%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 172, 254, 0.1);
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: var(--blue);
}

.hero-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tech-pill {
  background: rgba(79, 172, 254, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background var(--transition), border-color var(--transition);
}

.tech-pill:hover {
  background: rgba(79, 172, 254, 0.18);
  border-color: var(--blue);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-hint a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  animation: float 2.5s ease-in-out infinite;
  display: block;
  transition: color var(--transition);
}

.hero-scroll-hint a:hover {
  color: var(--blue);
}

/* Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
  min-width: 140px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-head);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.portrait-frame {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--slate-light));
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(79, 172, 254, 0.25);
  overflow: hidden;
  /* Added to clip the image to circle */
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(79, 172, 254, 0.3);
  animation: pulse-ring 3s ease-out infinite;
}

.portrait-ring-1 {
  width: 210px;
  height: 210px;
  animation-delay: 0s;
}

.portrait-ring-2 {
  width: 240px;
  height: 240px;
  animation-delay: 1s;
}

.about-quick-facts {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quick-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: border-color var(--transition);
}

.quick-fact:hover {
  border-color: var(--blue);
}

.quick-fact i {
  color: var(--blue);
  width: 16px;
  text-align: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-intro {
  font-size: 1.1rem;
  color: var(--white);
}

.about-text p {
  color: var(--text-muted);
}

.about-text p strong {
  color: var(--white);
}

.about-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}

.pillar-chip:hover {
  background: rgba(79, 172, 254, 0.22);
  transform: translateY(-2px);
}

/* ============================================================
   EXPERTISE GRID
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(79, 172, 254, 0.18);
}

.card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--transition);
}

.expertise-card:hover .card-glow {
  opacity: 1.5;
}

.expertise-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 1.2rem;
  transition: background var(--transition), transform var(--transition);
}

.expertise-card:hover .expertise-icon {
  background: rgba(79, 172, 254, 0.2);
  transform: scale(1.08);
}

.expertise-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.expertise-card>p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.expertise-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.expertise-bullets li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.expertise-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.card-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-category {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.skill-category:hover {
  border-color: rgba(79, 172, 254, 0.35);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.skill-cat-header i {
  color: var(--blue);
  font-size: 1rem;
}

.skill-cat-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: default;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: all var(--transition);
}

.skill-tag:hover {
  transform: translateY(-2px);
}

/* colour variants */
.skill-tag.azure {
  background: rgba(0, 137, 214, 0.15);
  border-color: rgba(0, 137, 214, 0.35);
  color: #7ec8f7;
}

.skill-tag.azure:hover {
  background: rgba(0, 137, 214, 0.25);
}

.skill-tag.aws {
  background: rgba(255, 153, 0, 0.12);
  border-color: rgba(255, 153, 0, 0.3);
  color: #ffbd4f;
}

.skill-tag.aws:hover {
  background: rgba(255, 153, 0, 0.22);
}

.skill-tag.gcp {
  background: rgba(66, 133, 244, 0.12);
  border-color: rgba(66, 133, 244, 0.3);
  color: #82aef7;
}

.skill-tag.gcp:hover {
  background: rgba(66, 133, 244, 0.22);
}

.skill-tag.container {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: #4dd9f5;
}

.skill-tag.container:hover {
  background: rgba(0, 212, 255, 0.2);
}

.skill-tag.script {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.3);
  color: var(--purple);
}

.skill-tag.script:hover {
  background: rgba(167, 139, 250, 0.22);
}

.skill-tag.security {
  background: rgba(67, 233, 123, 0.1);
  border-color: rgba(67, 233, 123, 0.3);
  color: #7ef5a6;
}

.skill-tag.security:hover {
  background: rgba(67, 233, 123, 0.2);
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.cert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.cert-badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-card:hover .cert-badge-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.cert-details h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.cert-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cert-badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-top: 0.4rem;
}

.aws-tag {
  background: rgba(255, 153, 0, 0.15);
  color: #f7a840;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.azure-tag {
  background: rgba(0, 137, 214, 0.15);
  color: #7ec8f7;
  border: 1px solid rgba(0, 137, 214, 0.3);
}

.rhce-tag {
  background: rgba(231, 76, 60, 0.15);
  color: #f78080;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.itil-tag {
  background: rgba(111, 66, 193, 0.15);
  color: var(--purple);
  border: 1px solid rgba(111, 66, 193, 0.3);
}

.cert-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 36px solid rgba(79, 172, 254, 0.12);
  border-left: 36px solid transparent;
}

.learning-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.learning-bar i {
  color: var(--blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.learning-bar strong {
  color: var(--white);
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(79, 172, 254, 0.1) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  width: 50%;
  padding: 0 2.5rem 2.5rem;
  position: relative;
}

.timeline-item.left {
  margin-left: 0;
  justify-content: flex-end;
}

.timeline-item.right {
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  border: 3px solid var(--navy-light);
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.5);
  z-index: 1;
}

.timeline-item.left .timeline-dot {
  right: -8px;
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 380px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.timeline-company {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.timeline-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.timeline-location i {
  color: var(--blue);
  margin-right: 0.3rem;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.timeline-bullets li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.featured-blog {
  position: relative;
}

.featured-blog::after {
  content: 'Featured';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(67, 233, 123, 0.1);
  border: 1px solid rgba(67, 233, 123, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.blog-read-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card h3 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.6;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.blog-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* EXPERIENCE SUMMARY SECTION */
.experience-summary-container {
  margin-bottom: 4rem;
}

.experience-summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.experience-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue-gradient);
}

.summary-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(79, 172, 254, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue);
  border: 1px solid rgba(79, 172, 254, 0.2);
}

.summary-text-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.summary-text-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.summary-highlight {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 768px) {
  .experience-summary-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
    gap: 1.5rem;
  }

  .summary-icon-box {
    margin: 0 auto;
  }

  .experience-summary-card::before {
    width: 100%;
    height: 4px;
  }
}

.blog-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition), color var(--transition);
}

.blog-link:hover {
  gap: 0.6rem;
  color: var(--cyan);
}

.blog-cta-row {
  text-align: center;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-card:hover {
  border-color: var(--blue);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.1rem;
}

.contact-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-value:hover {
  color: var(--blue);
}

.contact-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn.linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.3);
}

.social-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.3);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.25);
}

.social-btn.twitter {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.social-btn.twitter:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.social-btn.website {
  background: var(--blue-glow);
  color: var(--blue);
  border-color: var(--border);
}

.social-btn.website:hover {
  background: rgba(79, 172, 254, 0.2);
  box-shadow: var(--shadow-blue);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(67, 233, 123, 0.08);
  border: 1px solid rgba(67, 233, 123, 0.25);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.form-success.show {
  display: flex;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--blue-glow);
  color: var(--blue);
  border-color: var(--blue);
}

.footer-links-col h4 {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: color var(--transition);
}

.footer-links-col ul li a:hover {
  color: var(--blue);
}

.footer-links-col ul li a i {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(79, 172, 254, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-layout {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-portrait {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-blog {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 13, 26, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    display: none;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
    position: relative;
  }

  .section {
    padding: 5rem 0;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .skills-layout {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .featured-blog {
    grid-column: span 1;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-item {
    width: 100%;
    margin-left: 0 !important;
    padding-left: 3rem;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 8px;
    right: auto;
  }

  .timeline-card {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem 1.25rem;
    min-width: 120px;
  }
}

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .contact-social-row {
    flex-wrap: wrap;
  }
}

/* ============================================================
   MULTI-PAGE: PAGE HERO (inner pages)
   ============================================================ */
/* HERO BACKGROUND ENHANCEMENT */
#hero.hero-with-bg {
  background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
  background-color: var(--navy);
}

.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(26, 111, 196, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(79, 172, 254, 0.12) 0%, transparent 50%),
    var(--navy);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 0.6s ease both;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb i {
  font-size: 0.65rem;
}

/* Active page nav link */
.nav-link.active-page {
  color: var(--blue) !important;
  background: var(--blue-glow) !important;
}

/* navbar always glass on inner pages */
.page-navbar-solid {
  background: rgba(5, 13, 26, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  border-color: var(--border) !important;
}

/* ============================================================
   HOME CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy-mid);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.08) 0%, rgba(0, 242, 254, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
}

.cta-banner-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Home preview 3-card grid */
.home-preview-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* Timeline tags */
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   BLOG PAGE — filter, featured, full grid
   ============================================================ */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue-glow);
  border-color: var(--blue);
  color: var(--blue);
}

/* Featured article */
.blog-featured-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-featured-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-featured-card h2 {
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.3;
}

.blog-featured-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  flex: 1;
}

.blog-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* Author pill */
.blog-author-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  font-family: var(--font-head);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Blog visual card */
.blog-featured-visual {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-visual-card {
  width: 100%;
  aspect-ratio: 1;
  max-width: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(79, 172, 254, 0.1), transparent 70%);
  border-radius: var(--radius-lg);
}

.bv-icon {
  animation: float 3s ease-in-out infinite;
}

.bv-tag {
  position: absolute;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bv-tag.azure {
  top: 20%;
  right: 10%;
  background: rgba(0, 137, 214, 0.2);
  color: #7ec8f7;
  border: 1px solid rgba(0, 137, 214, 0.3);
}

.bv-tag.aws {
  background: rgba(255, 153, 0, 0.15);
  color: #ffbd4f;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.bv-tag.gcp {
  background: rgba(66, 133, 244, 0.15);
  color: #82aef7;
  border: 1px solid rgba(66, 133, 244, 0.3);
}

/* Full blog grid on blog.html */
.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-date-line {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-card.hidden {
  display: none;
}

/* Subscribe strip */
.blog-subscribe {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}

.subscribe-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.subscribe-text {
  flex: 1;
}

.subscribe-text h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.subscribe-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subscribe-form input {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50px;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  min-width: 240px;
  transition: border-color var(--transition);
}

.subscribe-form input:focus {
  border-color: var(--blue);
}

.subscribe-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

.subscribe-success.show {
  display: flex;
}

/* ============================================================
   BLOG POST PAGE
   ============================================================ */
.post-hero {
  min-height: 50vh;
}

.post-author-strip {
  margin-top: 1.25rem;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.post-layout {
  padding: 4rem 0;
}

.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  /* Wider sidebar for WP feel */
  gap: 3.5rem;
  align-items: start;
}

/* ============================================================
   WORDPRESS-STYLE BLOG HUB
   ============================================================ */
.blog-wp-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-top: 2rem;
}

.blog-main-feed {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: 100px;
}

/* WP Side Widgets */
.wp-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.wp-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wp-search-form {
  display: flex;
  gap: 0.5rem;
}

.wp-search-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  flex: 1;
  font-size: 0.85rem;
}

.wp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-list li {
  margin-bottom: 0.75rem;
}

.wp-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
  display: flex;
  justify-content: space-between;
}

.wp-list a:hover {
  color: var(--blue);
}

.wp-list .post-count {
  background: var(--navy-mid);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
}

/* WP Blog Card (Horizontal/List focused) */
.blog-wp-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-wp-card:hover {
  transform: translateX(5px);
  border-color: var(--blue);
}

.blog-wp-thumb {
  background: linear-gradient(135deg, var(--navy-mid), var(--blue-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue);
}

.blog-wp-content {
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.blog-wp-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-wp-card h3 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-wp-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-wp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* HUMAN-DEVELOPED OVERLOOK REFINEMENTS */
body {
  letter-spacing: -0.01em;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Grounded Experience Timeline */
.timeline-card {
  background: rgba(10, 25, 47, 0.7);
  box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
  border: 1px solid var(--border);
}

.timeline-period {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  background: rgba(79, 172, 254, 0.1);
  padding: 2px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Background classes for Expertise and Experience */
.expertise-with-bg {
  background-image: linear-gradient(rgba(5, 13, 26, 0.85), rgba(5, 13, 26, 0.9)), url('assets/images/expertise-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.experience-with-bg {
  background-image: linear-gradient(rgba(5, 13, 26, 0.9), rgba(5, 13, 26, 0.85)), url('assets/images/experience-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 992px) {
  .blog-wp-container {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-wp-card {
    grid-template-columns: 1fr;
  }

  .blog-wp-thumb {
    height: 180px;
  }

  .blog-wp-content {
    padding: 1.5rem;
  }
}

/* Post body typography */
.post-body {
  line-height: 1.8;
}

.post-body h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.post-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.post-body a {
  color: var(--blue);
}

/* Intro quote box */
.post-intro-box {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.04));
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.post-intro-box i {
  color: var(--blue);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.post-intro-box p {
  color: var(--white);
  font-style: italic;
  font-size: 1rem;
  margin: 0;
}

/* Principles grid */
.post-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.post-principle {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.post-principle h4 {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.post-principle p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* List */
.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 1.5rem;
  padding: 0;
}

.post-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.post-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.post-list li strong {
  color: var(--white);
}

/* Code block */
.post-code-block {
  background: rgba(5, 13, 26, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.5rem 0;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(79, 172, 254, 0.06);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}

.code-lang {
  color: var(--blue);
  font-weight: 600;
}

.code-header i {
  color: var(--text-muted);
  cursor: pointer;
}

.post-code-block pre {
  padding: 1.25rem;
  overflow-x: auto;
}

.post-code-block code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
  color: var(--accent);
  white-space: pre;
}

/* Tags & Share */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.share-btns {
  display: flex;
  gap: 0.5rem;
}

/* Author box */
.post-author-box {
  display: flex;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  align-items: flex-start;
}

/* Sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-card h4 {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.sidebar-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.toc-list a {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.toc-list a:hover {
  color: var(--blue);
  background: var(--blue-glow);
}

.toc-list a i {
  font-size: 0.6rem;
  color: var(--blue);
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.related-item:hover {
  border-color: var(--blue);
}

.related-item p {
  font-size: 0.82rem;
  color: var(--white);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   CONTACT PAGE EXTRAS
   ============================================================ */
.availability-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(67, 233, 123, 0.08);
  border: 1px solid rgba(67, 233, 123, 0.2);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--green);
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(67, 233, 123, 0.6);
  flex-shrink: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.engagement-types {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.engagement-types h4 {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.engagement-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.engagement-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.engagement-item i {
  color: var(--green);
  font-size: 0.8rem;
}

.location-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}

.location-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.location-info h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.location-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.location-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ============================================================
   MULTI-PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .blog-featured-row {
    grid-template-columns: 1fr;
  }

  .blog-featured-visual {
    display: none;
  }

  .blog-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-content-wrap {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }

  .post-principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .blog-full-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 35vh;
  }

  .post-principles-grid {
    grid-template-columns: 1fr;
  }

  .post-author-box {
    flex-direction: column;
  }

  .subscribe-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .subscribe-form {
    width: 100%;
  }

  .subscribe-form input {
    min-width: auto;
    flex: 1;
  }

  .location-banner {
    flex-direction: column;
  }

  .blog-featured-row {
    grid-template-columns: 1fr;
  }
}

/* SERVICES PAGE STYLES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--blue-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--white);
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  flex-grow: 1;
}

/* DELIVERY MODEL SECTION */
.model-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, transparent, rgba(79, 172, 254, 0.03), transparent);
}

.model-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.model-visual {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.model-node {
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: absolute;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.services-with-bg {
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('assets/images/services-hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.node-onsite {
  top: 10%;
  left: 0%;
  border-color: var(--blue);
}

.node-offshore {
  bottom: 10%;
  right: 0%;
  border-color: var(--blue);
}

.model-arrow {
  position: absolute;
  width: 60%;
  height: 2px;
  background: var(--blue-gradient);
  transform: rotate(-30deg);
  z-index: 1;
}

.model-node i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.model-node span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.value-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.value-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-point i {
  color: var(--blue);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.value-point h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.value-point p {
  color: var(--text-muted);
  font-size: 0.95rem;
}