  /* ===== Variables ===== */
:root {
  --orange: #f0680e;
  --orange-dark: #d45a08;
  --blue: #3c4cd8;
  --blue-dark: #2d3ab0;
  --dark: #1a1a2e;
  --text: #4a4a68;
  --text-light: #6c6c8a;
  --light-bg: #f8f9fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ===== Navbar ===== */
.navbar {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  z-index: 9999;
  border: none;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 1px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240, 104, 14, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(60, 76, 216, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.z-2 { z-index: 2; }

.hero-greeting {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-titles {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: 2px solid var(--orange);
}

.btn-hero-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 104, 14, 0.35);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator a:hover {
  color: var(--orange);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== Fade In Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Scroll Animations ===== */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Styling ===== */
.section-padding {
  padding: 100px 0;
}

.section-subtitle {
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* ===== About Section ===== */
.about-icon-wrapper {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(60, 76, 216, 0.3);
}

.about-icon-wrapper i {
  font-size: 100px;
  color: var(--white);
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8f0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--blue));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.timeline-header {
  margin-bottom: 1rem;
}

.timeline-company {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.timeline-role {
  display: block;
  color: var(--orange);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--light-bg);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
}

.timeline-content p {
  font-size: 0.95rem;
}

.btn-outline-details {
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-outline-details:hover {
  background: var(--blue);
  color: var(--white);
}

.detail-card {
  background: var(--light-bg);
  border-left: 3px solid var(--blue);
  padding: 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.detail-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ===== Qualities Section ===== */
.quality-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
}

.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 104, 14, 0.1);
}

.quality-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
}

.quality-icon-orange {
  background: rgba(240, 104, 14, 0.1);
  color: var(--orange);
}

.quality-icon-blue {
  background: rgba(60, 76, 216, 0.1);
  color: var(--blue);
}

.quality-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.quality-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== Thoughts Carousel ===== */
.thoughts-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
}

.thought-slide {
  padding: 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.thought-slide .bi-quote {
  font-size: 3rem;
  color: var(--orange);
  display: block;
  margin-bottom: 1rem;
}

.thought-slide h4 {
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.thought-attribution {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.thoughts-section .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
}

.thoughts-section .carousel-indicators .active {
  background: var(--orange);
}

.thoughts-section .carousel-control-prev-icon,
.thoughts-section .carousel-control-next-icon {
  filter: none;
  width: 30px;
  height: 30px;
}

/* ===== ROA Section ===== */
.btn-roa {
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--orange);
  transition: var(--transition);
}

.btn-roa:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 104, 14, 0.35);
}

/* ===== Contact Section ===== */
.contact-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-card i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 0.8rem;
  display: block;
}

.contact-card h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 0;
}

.contact-card a {
  color: var(--blue);
}

.contact-card a:hover {
  color: var(--orange);
}

/* ===== Map ===== */
.map-section {
  line-height: 0;
}

.map-section iframe {
  filter: grayscale(30%) contrast(1.05);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  padding: 2.5rem 1rem 1.5rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-name {
    font-size: 2.8rem;
  }

  .about-icon-wrapper {
    width: 180px;
    height: 180px;
  }

  .about-icon-wrapper i {
    font-size: 70px;
  }

  .about-stats {
    justify-content: center;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-marker {
    left: -27px;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-section {
    min-height: 100vh;
    padding: 80px 0 60px;
  }

  .hero-titles {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .thought-slide h4 {
    font-size: 1.1rem;
  }

  .navbar-collapse {
    background: rgba(26, 26, 46, 0.98);
    padding: 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: 0.5rem;
  }
}

/* ===== Floating Particles ===== */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatParticle linear infinite;
}

.particle:nth-child(1) { width: 6px; height: 6px; background: var(--orange); left: 10%; top: 20%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { width: 10px; height: 10px; background: var(--blue); left: 25%; top: 60%; animation-duration: 22s; animation-delay: -3s; }
.particle:nth-child(3) { width: 4px; height: 4px; background: var(--white); left: 40%; top: 35%; animation-duration: 16s; animation-delay: -6s; }
.particle:nth-child(4) { width: 8px; height: 8px; background: var(--orange); left: 55%; top: 75%; animation-duration: 20s; animation-delay: -2s; }
.particle:nth-child(5) { width: 5px; height: 5px; background: var(--blue); left: 70%; top: 15%; animation-duration: 24s; animation-delay: -5s; }
.particle:nth-child(6) { width: 12px; height: 12px; background: var(--orange); left: 85%; top: 50%; animation-duration: 19s; animation-delay: -8s; }
.particle:nth-child(7) { width: 7px; height: 7px; background: var(--white); left: 15%; top: 80%; animation-duration: 21s; animation-delay: -1s; }
.particle:nth-child(8) { width: 9px; height: 9px; background: var(--blue); left: 60%; top: 45%; animation-duration: 17s; animation-delay: -4s; }

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-120vh) translateX(40px);
    opacity: 0;
  }
}

/* ===== Typewriter Cursor ===== */
.typewriter-cursor {
  font-weight: 300;
  color: var(--orange);
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===== Stagger Delays ===== */
.stagger-1 { transition-delay: 0s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.2s; }
.stagger-4 { transition-delay: 0.3s; }
.stagger-5 { transition-delay: 0.4s; }
.stagger-6 { transition-delay: 0.5s; }

/* ===== Skills Section ===== */
.skill-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(240, 104, 14, 0.15);
}

.skill-bar-item {
  margin-bottom: 1.2rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: #e8e8f0;
  border-radius: 50px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid #e8e8f0;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.tech-tag i {
  color: var(--blue);
  font-size: 0.9rem;
}

.tech-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 104, 14, 0.15);
}

.tech-tag:hover i {
  color: var(--orange);
}

/* ===== Social Links ===== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== Hero Cursor Glow ===== */
.hero-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 104, 14, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hero-glow.active {
  opacity: 1;
}