/* ===================================================================
   PRIYADHARSHINI VENKATESAN - PORTFOLIO STYLESHEET
   Design Theme: Deep Cyber Space / Neon Glow Glassmorphism
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

:root {
  /* Color Palette - Dark Theme (Default) */
  --bg-primary: #070a13;
  --bg-secondary: #0b1120;
  --bg-tertiary: #0f172a;
  --card-bg: rgba(15, 23, 42, 0.72);
  --card-bg-solid: #0d1527;
  --card-border: rgba(56, 189, 248, 0.14);
  --card-border-hover: rgba(56, 189, 248, 0.45);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --card-shadow-hover: 0 20px 40px -15px rgba(56, 189, 248, 0.25);

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #a855f7 100%);
  --gradient-text: linear-gradient(90deg, #67e8f9 0%, #60a5fa 45%, #c084fc 100%);
  --gradient-btn: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-btn-hover: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  --gradient-card-glow: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 70%);

  --nav-bg: rgba(7, 10, 19, 0.85);
  --nav-border: rgba(255, 255, 255, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Fira Code', monospace;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-bg-solid: #ffffff;
  --card-border: rgba(56, 189, 248, 0.25);
  --card-border-hover: rgba(2, 132, 199, 0.5);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 20px 35px -10px rgba(2, 132, 199, 0.18);

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --nav-bg: rgba(248, 250, 252, 0.9);
  --nav-border: rgba(0, 0, 0, 0.08);
  --gradient-card-glow: radial-gradient(circle at top left, rgba(2, 132, 199, 0.08), transparent 70%);
}

/* Base Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title-underline {
  width: 70px;
  height: 4px;
  background: var(--gradient-brand);
  margin: 0.75rem auto 0;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

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

/* Ambient Cyber Glow Background */
.ambient-glow-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-orb-1 {
  top: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: #0284c7;
}

.glow-orb-2 {
  top: 30%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: #7c3aed;
}

.glow-orb-3 {
  bottom: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: #0ea5e9;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--card-bg);
  background-image: var(--gradient-card-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

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

/* Navigation Bar */
.navbar-custom {
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--nav-border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

a, a:hover, a:focus, a:visited {
  text-decoration: none !important;
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.brand-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.45rem 0.75rem !important;
  transition: var(--transition-smooth);
  position: relative;
  border-radius: 8px;
  font-size: 0.92rem;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--accent-cyan) !important;
  background: rgba(56, 189, 248, 0.12);
  text-decoration: none !important;
}

/* User requested: remove text underlines */
.nav-link-custom.active::after,
.nav-link-custom::after {
  display: none !important;
}

/* Top Action Icons & Theme Switch */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.nav-icon-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

/* Pill Buttons */
.btn-primary-gradient {
  background: var(--gradient-btn);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  transition: var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-gradient:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main) !important;
  border: 1px solid var(--card-border);
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-glass:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan) !important;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 6.5rem 0 5rem;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 20%, rgba(14, 165, 233, 0.12), transparent 70%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-greeting {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.hero-name {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-typewriter-wrap {
  font-size: 1.75rem;
  font-weight: 600;
  color: #f43f5e;
  margin-bottom: 1.4rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.hero-typewriter-text {
  color: #f472b6;
  font-family: var(--font-heading);
}

.hero-cursor {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 300;
  animation: typingBlink 0.9s infinite;
}

.hero-bio {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Hero Profile Avatar Container (Matching Screenshot 1) */
.hero-avatar-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-avatar-outer-glow {
  position: relative;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.8), rgba(99, 102, 241, 0.6), rgba(168, 85, 247, 0.8));
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.35), 0 0 100px rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: borderGlow 6s infinite alternate;
}

.hero-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #020617;
  border: 4px solid #070a13;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.hero-avatar-inner:hover .hero-avatar-img {
  transform: scale(1.05);
}

.status-badge {
  position: absolute;
  bottom: -14px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 1.8s infinite;
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.hero-scroll-indicator:hover {
  color: var(--accent-cyan);
}

.scroll-arrow-anim {
  animation: bounceDown 2s infinite;
}

/* Floating Bottom Right Resume Pill */
.floating-resume-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--gradient-btn);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 6px 25px rgba(2, 132, 199, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: var(--transition-bounce);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-resume-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.6);
}

/* Floating WhatsApp Direct Icon */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition-bounce);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

/* ABOUT ME SECTION (Matching Screenshot 2) */
.about-section {
  position: relative;
  padding: 5.5rem 0;
  z-index: 1;
}

.about-intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3rem;
}

.what-i-do-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.what-i-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.what-i-do-card {
  text-align: center;
  padding: 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.what-i-do-icon {
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
  color: var(--accent-cyan);
}

.what-i-do-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0;
}

/* SKILLS SECTION (Matching Screenshot 3) */
.skills-section {
  position: relative;
  padding: 5.5rem 0;
  z-index: 1;
}

.skill-category-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.skill-cat-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.skill-tiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.skill-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 72px;
  transition: var(--transition-smooth);
}

.skill-tile:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
}

.skill-tile-icon {
  font-size: 1.7rem;
}

.skill-tile-icon-svg {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.skill-tile-name {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

/* PROJECTS SECTION (Matching Screenshot 4) */
.projects-section {
  position: relative;
  padding: 5.5rem 0;
  z-index: 1;
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  overflow: hidden;
}

.project-card-banner {
  height: 180px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #0b1329;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-img {
  transform: scale(1.06);
}

.project-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.project-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.pricing-package-slide {
  transition-delay: 0ms;
}

.pricing-package-slide:nth-child(2) {
  transition-delay: 100ms;
}

.pricing-package-slide:nth-child(3) {
  transition-delay: 200ms;
}

.project-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.client-projects-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.5rem 0.25rem 1rem;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent-cyan) var(--bg-secondary);
  scrollbar-width: thin;
}

.client-project-slide {
  flex: 0 0 calc(50% - 0.75rem);
  min-width: 0;
  scroll-snap-align: start;
}

.client-projects-track::-webkit-scrollbar {
  height: 8px;
}

.client-projects-track::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 999px;
}

.client-projects-track::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 999px;
}

/* ACHIEVEMENTS & STATS (Matching Screenshot 5) */
.achievements-section {
  position: relative;
  padding: 5.5rem 0;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.stat-card {
  text-align: center;
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

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

/* Freelance Preview Cards in Home (Matching Screenshot 5) */
.freelance-preview-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.freelance-preview-card {
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.freelance-card-banner {
  height: 160px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #020617;
}

.freelance-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.freelance-preview-card:hover .freelance-card-img {
  transform: scale(1.05);
}

.freelance-card-body {
  padding: 1.4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.freelance-domain-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.6rem;
}

.freelance-domain-link:hover {
  text-decoration: underline;
  color: #67e8f9;
}

.freelance-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* EXPERIENCE & EDUCATION TIMELINE */
.experience-section {
  position: relative;
  padding: 5.5rem 0;
  z-index: 1;
}

.timeline-wrap {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
  display: inline-block;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 1rem;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-bullets {
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.timeline-bullets li {
  margin-bottom: 0.4rem;
}

/* CERTIFICATIONS CARDS */
.cert-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-badge-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cert-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cert-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cert-issuer {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 500;
}

/* CONTACT SECTION & FOOTER */
.contact-section {
  position: relative;
  padding: 5.5rem 0 3rem;
  z-index: 1;
}

.form-control-custom {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  transition: var(--transition-smooth);
}

#freelance-pkg,
#freelance-pkg option {
  background-color: #111827;
  color: #f8fafc;
}

.form-control-custom:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-cyan);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--text-dim);
}

.contact-info-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.contact-info-tile:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
  color: var(--accent-cyan);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--nav-border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* MODAL STYLES */
.modal-content-custom {
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  color: var(--text-main);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-header-custom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
}

.modal-footer-custom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
}

.btn-close-white-custom {
  filter: invert(1);
  opacity: 0.7;
}

.btn-close-white-custom:hover {
  opacity: 1;
}
