:root {
  --bg-main: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #0b1120;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-hover: #2563eb;
  --accent-secondary: #f97316;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.text-center {
  text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  display: block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-primary);
  border-radius: 2px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.btn-nav {
  background-color: var(--accent-primary);
  padding: 8px 20px;
  border-radius: 6px;
  color: #fff !important;
}

.btn-nav:hover {
  background-color: var(--accent-hover);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
  border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 100px 0;
}

.bg-darker {
  background-color: var(--bg-card);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 0 20px;
}

.hero-content .subtitle {
  color: var(--accent-secondary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .tags {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.15);
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(249, 115, 22, 0.15);
  bottom: 10%;
  right: -50px;
}

/* About / Summary */
.about-card {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.about-card p {
  margin-bottom: 20px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card strong {
  color: var(--accent-primary);
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.achievement-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-secondary);
  margin-bottom: 10px;
}

.achievement-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

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

/* Timeline (Experience) */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 3px solid var(--bg-main);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.timeline-content {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.timeline-date {
  display: inline-block;
  color: var(--accent-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.timeline-content ul {
  padding-left: 20px;
}

.timeline-content li {
  margin-bottom: 10px;
  color: var(--text-muted);
  position: relative;
}

.timeline-content li::before {
  content: '•';
  color: var(--accent-primary);
  position: absolute;
  left: -15px;
  font-weight: bold;
}

/* Skills & Education */
.skills-edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.skill-category {
  margin-bottom: 30px;
}

.skill-category h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.skill-tags span:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent-primary);
  color: var(--text-main);
}

.edu-card, .cert-card {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.edu-card h4, .cert-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.edu-card p, .cert-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.edu-date {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cert-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Footer / Contact */
.footer {
  background: var(--bg-card);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.footer p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}

.contact-pill svg {
  color: var(--accent-secondary);
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.fade-in.appear {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .skills-edu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: var(--bg-secondary);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 16px 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .timeline-dot {
    left: 4px;
  }

  .timeline-item {
    padding-left: 40px;
  }
}

/* =========================================
   Consulting Services Grid
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

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

/* =========================================
   Industries Grid
   ========================================= */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.industry-pill {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
  font-size: 1.05rem;
}

.industry-pill:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  transform: translateY(-2px);
}

/* =========================================
   Hero Split & Gallery
   ========================================= */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content-left {
  flex: 1;
  max-width: 650px;
  text-align: left;
}

.hero-content-left .hero-cta {
  justify-content: flex-start;
}

.hero-content-left .tags {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-image-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-portrait {
  width: 100%;
  max-width: 450px;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 4px solid var(--border-color);
  object-fit: cover;
  transition: var(--transition);
}

.hero-portrait:hover {
  transform: scale(1.02);
  border-color: var(--accent-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
    margin-top: 100px;
  }
  .hero-content-left {
    text-align: center;
  }
  .hero-content-left .hero-cta {
    justify-content: center;
  }
  .hero-portrait {
    max-width: 350px;
  }
}


