/* --- variables.css --- */
:root {
  /* Primary accent color - blue */
  --primary-color: #00a3ff;
  --primary-hover: #0080cc;

  /* Use a more contrasting accent color */
  --accent-color: #a4cefd; /* This is the accent color */

  /* Text colors */
  --text-white: #ffffff; /* Main text color */
  --text-light: #cccccc; /* Secondary text */
  --text-muted: #999999; /* Less important text */

  /* Background colors - dark to light */
  --bg-darkest: #0a0a0a; /* Darkest areas (footer, etc) */
  --bg-main: #121212; /* Main background */
  --bg-card: #1e1e1e; /* Cards, containers */
  --bg-light: #252525; /* Lighter elements */
  --bg-card-header: var(--bg-darkest); /* Background for blog post header box */

  /* Functional colors */
  --border-color: #3a3a3a;
  --border-color-light: #444444; /* Lighter border color */
  --success-color: #00cc66;
  --danger-color: #ff4c4c;

  /* Layout */
  --max-width: 1200px;
  --transition: all 0.3s ease;
}


/* --- base.css --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-snap-type: y proximity; /* Optional stickiness */
  scroll-behavior: smooth;
  scroll-padding-top: 85px; /* Offset for fixed header */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-white);
  background-color: var(--bg-main);
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-white);
  line-height: 1.3;
}

p {
  color: var(--text-light);
}

html,
body {
  overflow-x: hidden; /* Allow horizontal scroll prevention if needed */
  overflow-y: visible; /* Ensure vertical overflow doesn't break sticky */
}


/* --- layout.css --- */
/* Header & Navigation */
header {
  background-color: rgba(10, 10, 10, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

main {
  padding-top: 80px; /* Prevent content from being hidden behind fixed header */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header Logo Styling */
.logo-link {
  display: flex; /* Keep flex for alignment */
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-name {
  display: none; /* Hidden on mobile */
  font-size: 1.1rem; /* Adjust size as needed */
  font-weight: 600; /* Optional: Make it slightly bold */
  white-space: nowrap; /* Prevent the name from wrapping */
  color: var(--text-white); /* Or your desired text color */
}

/* Add styling for the SVG logo image */
.logo-svg {
  display: block; /* Treat image as a block element */
  width: 40px; /* Set desired width */
  height: 40px; /* Set desired height */
  /* Add any other styles like border-radius if you want */
  /* border-radius: 50%; */
  /* Add transition if you plan hover effects */
  /* transition: transform 0.3s ease; */
}

.logo-name {
  display: none; /* Hidden on mobile */
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-white);
}

/* Optional: Style for when the logo link is hovered */
.logo-link:hover .logo-svg {
  /* Example: Slightly scale up on hover */
  transform: scale(1.1);
  /* Example: Change opacity */
  /* opacity: 0.8; */
}

/* Show the name only on desktop screens */
@media (min-width: 769px) {
  .logo-name {
    display: inline; /* Show the name */
  }
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
}

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

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--bg-darkest);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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


/* --- components.css --- */
/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
  margin: 0.5rem;
}

.primary {
  background-color: var(--primary-color);
  color: #000;
}

.primary:hover {
  background-color: #0088d1;
}

.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--dark-color);
  border: 1px solid var(--border-color);
}

.secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.tertiary {
  background-color: var(--accent-color) !important;
  color: #000 !important;
  border: 1px solid var(--accent-color) !important;
}

.tertiary:hover {
  background-color: rgba(164, 206, 253, 0.8) !important;
  color: #000 !important;
}
.back {
  background-color: var(--accent-color) !important;
  color: #000 !important;
  border: 1px solid var(--accent-color) !important;
  padding: 0.3rem 0.4rem !important; /* Smaller padding */
  font-size: 1rem !important; /* Smaller text */
  margin: 0.25rem 0 !important; /* Reduced vertical margins */
}

.back:hover {
  background-color: rgba(164, 206, 253, 0.8) !important;
  color: #000 !important;
}
/* Cards */
.expertise-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.expertise-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.expertise-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* Profile Picture */
.profile-picture {
  width: 300px;
  height: 300px;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover; /* Ensures the image covers the area without distortion */
  object-position: center 10%; /* Adjusts vertical position - try values like 20%, 30%, 40% */
  border: 3px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Remove or comment out the old placeholder style */
/*
.profile-placeholder {
  width: 300px;
  height: 300px;
  background-color: var(--card-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  border: 2px solid var(--border-color);
}
*/

/* Thank you page styles */
.thanks-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem;
}

.thanks-content {
  max-width: 600px;
  padding: 3rem;
  background-color: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.thanks-content i {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.thanks-content h1 {
  margin-bottom: 1rem;
}

.thanks-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  padding: 1rem;
  z-index: 1000;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  flex: 3;
  margin: 0;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

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

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}


/* --- hero.css --- */
/* Hero Section */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start; /* Snap to top */
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  margin: 0; /* Override default button margin to use gap instead */
}


/* --- expertise.css --- */
/* Expertise Section */
.expertise {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1rem;
  scroll-snap-align: start;
  border-top: 1px solid var(--border-color);
  min-height: 85vh; /* Consistent height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-white);
  text-align: center;
}

.expertise-grid {
  display: grid;
  /* Force 2 columns on larger screens, 1 on mobile */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

/* Ensure 2x2 layout on desktop if width allows */
@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.expertise-card {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 8px;
  color: var(--text-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.expertise-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.expertise-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* --- timeline.css --- */
/* Timeline Section */
.highlights {
  background-color: var(--bg-main);
  padding: 4rem 1rem;
}

.highlights h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-white);
}

/* Timeline container */
.timeline {
  max-width: 1100px;
  margin: 0 auto;
  position: relative; /* Ensure position is relative */
  padding: 2rem 0;
}

/* The central timeline line */
.timeline::before {
  content: "";
  position: absolute;
  width: 4px; /* Increased from 2px to 4px */
  background-color: var(--border-color);
  top: 15px;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  /* Ensure it's always visible */
  opacity: 1 !important;
  display: block !important;
}

/* Fade-out effect for partially visible items */
.timeline::after {
  content: "";
  display: table;
  clear: both;
}

/* Create a gradient overlay using a different approach */
.timeline-fade-overlay {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px; /* Height of the fade effect */
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0) 0%,
    var(--bg-main) 90%
  );
  z-index: 5;
  pointer-events: none; /* Allow clicking through the gradient */
}

/* Keep the 4th item partially visible */
.timeline-item:nth-child(4) {
  /* opacity: 0.5; Removed for better readability */
  /* filter: blur(1px); Removed for better readability */
  margin-bottom: 100px; /* Add space for the fade effect */
}

/* Show all items when expanded */
.timeline.expanded .timeline-item:nth-child(4) {
  opacity: 1;
  filter: none;
}

/* Hide the gradient overlay when expanded */
.timeline.expanded .timeline-fade-overlay {
  display: none;
}

/* Clear floats */
.timeline::after {
  content: "";
  display: table;
  clear: both;
}

/* Common timeline item styles */
.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

/* RIGHT ITEMS */
.timeline-item-right {
  padding-left: 50px;
  margin-left: 50%;
}

.timeline-item-right .timeline-content {
  position: relative;
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.timeline-item-right .timeline-date {
  position: absolute;
  width: 120px;
  right: calc(100% + 30px);
  text-align: right;
  top: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

/* RIGHT ITEMS - Fix bullet centering */
.timeline-item-right::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--bg-card);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  left: -11px;
  top: 15px;
  z-index: 2;
}

/* RIGHT ITEMS - arrows pointing to timeline */
.timeline-item-right .timeline-content::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -10px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--border-color) transparent transparent;
}

/* LEFT ITEMS */
.timeline-item-left {
  padding-right: 50px;
  margin-right: 50%;
  text-align: right;
}

.timeline-item-left .timeline-content {
  position: relative;
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: left; /* Ensure all content is left-aligned */
  width: auto; /* Make boxes slightly wider */
}

.timeline-item-right .timeline-content,
.timeline-item-left .timeline-content {
  max-width: calc(100% - 20px); /* half container minus your 60px gutter */
}

.timeline-item-left .timeline-date {
  position: absolute;
  width: 120px;
  left: calc(100% + 30px);
  text-align: left;
  top: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

/* LEFT ITEMS - Fix bullet centering */
.timeline-item-left::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--bg-card);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  right: -11px;
  top: 15px;
  z-index: 2;
}

/* LEFT ITEMS - arrows pointing to timeline */
.timeline-item-left .timeline-content::before {
  content: "";
  position: absolute;
  top: 15px;
  right: -10px;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--border-color);
}

/* Styling for lists in timeline */
.timeline-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 0.5rem;
  text-align: left; /* Always left-align lists */
}

.timeline-content li {
  margin-bottom: 0.3rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Title colors for experience vs education */
.timeline-item[data-type="experience"] .timeline-content h3 {
  color: var(--primary-color);
}

.timeline-item[data-type="education"] .timeline-content h3 {
  color: var(--accent-color);
}

/* Location/first paragraph colors for experience vs education */
.timeline-item[data-type="experience"] .timeline-content p:first-of-type {
  color: var(--primary-color);
}

.timeline-item[data-type="education"] .timeline-content p:first-of-type {
  color: var(--accent-color);
}

/* Year/date colors based on item type */
.timeline-item[data-type="experience"] .timeline-date {
  color: var(--primary-color);
}

.timeline-item[data-type="education"] .timeline-date {
  color: var(--accent-color);
}

/* Make "at" not bold in headings */
.timeline-content h3 .at {
  font-weight: normal;
}

/* Timeline divider with fade effect */
.timeline-divider {
  position: relative;
  height: 80px;
  margin-top: -60px; /* Pull it up to overlap with content */
  margin-bottom: 20px; /* Space below the divider */
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0) 0%,
    var(--bg-main) 50%
  );
}

/* Collapsible section */
.timeline-collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  margin-top: -20px; /* Adjust as needed */
}

.timeline.expanded .timeline-collapsible {
  max-height: 1000px; /* Tall enough for content */
  opacity: 1;
  margin-top: 0;
}

/* Move the divider when expanded */
.timeline.expanded .timeline-divider {
  background: transparent; /* Remove gradient when expanded */
  margin-top: -30px; /* Less overlap when expanded */
  margin-bottom: 0;
}

/* Toggle button inside divider */
.timeline-toggle {
  text-align: center;
  position: relative;
}

.timeline-toggle button {
  background-color: var(--bg-card);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.timeline-toggle button:hover {
  background-color: var(--primary-color);
  color: white;
}

.timeline-toggle button i {
  transition: transform 0.3s ease;
}

.timeline-toggle button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.timeline-toggle .show-more {
  display: inline;
}

.timeline-toggle .show-less {
  display: none;
}

.timeline-toggle button[aria-expanded="true"] .show-more {
  display: none;
}

.timeline-toggle button[aria-expanded="true"] .show-less {
  display: inline;
}

/* Read more buttons - make them move with the content */
.read-more {
  clear: both;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transition: margin-top 0.5s ease;
}

.timeline.expanded + .read-more {
  margin-top: 3rem; /* More space when expanded */
}

/* Education vs Experience Distinction - CORRECTED */
.timeline-item[data-type="education"] .timeline-content {
  border-left: 3px solid var(--accent-color);
}

.timeline-item[data-type="experience"] .timeline-content {
  border-left: 3px solid var(--primary-color);
}

/* These override the default arrow colors */
.timeline-item.timeline-item-right[data-type="experience"]
  .timeline-content::before {
  border-color: transparent var(--primary-color) transparent transparent !important;
}

.timeline-item.timeline-item-left[data-type="experience"]
  .timeline-content::before {
  /* border-color: transparent transparent transparent transparent !important; */
  border-color: transparent transparent transparent var(--primary-color) !important;
}
.timeline-item.timeline-item-right[data-type="education"]
  .timeline-content::before {
  border-color: transparent var(--accent-color) transparent transparent !important;
}

.timeline-item.timeline-item-left[data-type="education"]
  .timeline-content::before {
  border-color: transparent transparent transparent var(--accent-color) !important;
}

/* Fix the dots too */
.timeline-item-right[data-type="experience"]::after {
  background-color: var(--bg-card);
  border: 3px solid var(--primary-color);
}

.timeline-item-left[data-type="experience"]::after {
  background-color: var(--bg-card);
  border: 3px solid var(--primary-color);
}

.timeline-item-right[data-type="education"]::after {
  background-color: var(--bg-card);
  border: 3px solid var(--accent-color);
}

.timeline-item-left[data-type="education"]::after {
  background-color: var(--bg-card);
  border: 3px solid var(--accent-color);
}

/* Timeline Headers */
.timeline-headers {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.header-left,
.header-right {
  width: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-left {
  text-align: right;
  padding-right: 60px;
}

.header-right {
  text-align: left;
  padding-left: 60px;
}

@media (max-width: 768px) {
  .timeline-headers {
    display: none;
  }
}

/* Mobile Timeline Adjustments */
@media (max-width: 768px) {
  /* Timeline line on the left */
  .timeline::before {
    left: 30px;
    margin-left: 0;
    transform: none;
    width: 4px;
  }

  /* All timeline items - consistent structure */
  .timeline-item,
  .timeline-item-left,
  .timeline-item-right {
    width: 100%;
    padding: 0;
    padding-left: 60px;
    margin: 0 0 50px 0;
  }

  /* Content boxes - full width, consistent styling */
  .timeline-content {
    width: 100%;
    text-align: left;
  }

  /* Circle indicators on the line */
  .timeline-item::after,
  .timeline-item-left::after,
  .timeline-item-right::after {
    left: 20px; /* Center on the timeline */
    margin-left: 0;
    top: 15px;
    width: 16px;
    height: 16px;
  }

  /* Make ALL arrows visible and point consistently */
  .timeline-item[data-type="experience"] .timeline-content::before,
  .timeline-item-left[data-type="experience"] .timeline-content::before,
  .timeline-item-right[data-type="experience"] .timeline-content::before {
    display: block !important;
    left: -10px !important;
    right: auto !important;
    top: 15px !important;
    border-width: 10px 10px 10px 0 !important;
    border-color: transparent var(--primary-color) transparent transparent !important;
  }

  .timeline-item.timeline-item-right[data-type="education"]
    .timeline-content::before,
  .timeline-item.timeline-item-left[data-type="education"]
    .timeline-content::before {
    content: "" !important;
    border-style: solid !important;
    border-width: 10px 10px 10px 0 !important;
    border-color: transparent var(--accent-color) transparent transparent !important;
    left: -10px !important;
    right: auto !important;
    top: 15px !important;
    display: block !important;
  }
  /* Year labels */
  .timeline-item .timeline-date,
  .timeline-item-left .timeline-date,
  .timeline-item-right .timeline-date {
    position: absolute;
    left: 40px;
    top: -25px;
    width: auto;
    text-align: left;
    font-weight: bold;
    display: inline-block;
    right: auto;
  }

  /* Fade and toggle positioning */
  .timeline-divider {
    text-align: center;
    margin: 0;
    padding: 20px 0;
    background: none;
  }

  .timeline-toggle {
    margin-left: 30px;
  }

  /* Fade overlay position */
  .timeline-fade-overlay {
    left: 0;
    right: 0;
  }
  /* allow “year” label to escape the collapsed container when expanded */
  .timeline.expanded .timeline-collapsible {
    overflow: visible !important;
  }

  /* lift the divider (and its toggle) up */
  .timeline-divider {
    margin-top: -20px !important; /* adjust as needed */
  }

  /* nudge the toggle button itself */
  .timeline-toggle {
    position: relative !important;
    top: -10px !important; /* adjust as needed */
  }
}


/* --- home.css --- */
/* Home Page Specific Styles */

/* Shared Section Styles for Consistency */
.work-with-me,
.credibility {
  min-height: 85vh; /* Make sections fill most of the screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Work With Me Section */
.work-with-me {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  scroll-snap-align: start;
  border-top: 1px solid var(--border-color);
}

.work-with-me h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.work-with-me p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.work-with-me ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  list-style-type: disc;
  color: var(--text-light);
}

.work-with-me li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.work-with-me strong {
  color: var(--primary-color);
}

/* Credibility Section */
.credibility {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  scroll-snap-align: start;
  border-top: 1px solid var(--border-color);
}

.credibility h2 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--text-white);
  text-align: center;
}

.credibility-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.credibility-item {
  flex: 1 1 280px; /* Slightly wider base */
  background: linear-gradient(145deg, var(--bg-card), rgba(0, 163, 255, 0.08));
  padding: 2.5rem 2rem; /* More padding for presence */
  border-radius: 8px;
  color: var(--text-white);
  font-weight: 400;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 163, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-height: 160px; /* Taller minimum */
  transition: var(--transition);
}

.credibility-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 163, 255, 0.15);
}

.credibility-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 1.1rem;
}

.credibility-item strong {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1em;
}

/* Final CTA Section */
.final-cta {
  min-height: 60vh; /* Distinct height, not quite full page but substantial */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
  margin: 0;
  scroll-snap-align: start;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(to bottom, var(--bg-main), var(--bg-darkest));
}

.final-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.final-cta p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.final-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.final-cta .secondary-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.final-cta .secondary-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.final-cta .secondary-links a:hover {
  color: var(--primary-color);
}


/* --- about.css --- */
/* About Page */
.about-hero {
  padding: 4rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

/* Education Section - consolidated styles */
.education {
  padding: 4rem 1rem;
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-main);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--border-color);
}

.education h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-white);
}

.education-item {
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.education-header h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* Education meta information - fixed display issues */
.education-meta {
  margin-bottom: 1.5rem;
}

.education-meta div {
  display: block;
  margin-bottom: 0.4rem;
}

.education-meta .institution {
  font-weight: 600;
  color: var(--text-white);
  font-size: 1.05rem;
}

.education-meta .location {
  font-style: italic;
  color: var(--text-light);
}

.education-meta .duration {
  color: var(--primary-color);
}

.education-description p {
  margin-bottom: 1rem;
}

.education-description ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.education-description li {
  margin-bottom: 0.7rem;
  color: var(--text-light);
}

/* How I Work Section */
.about-how-i-work {
  padding: 4rem 1rem;
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-main);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--border-color);
}

.about-how-i-work h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-white);
}

.about-how-i-work ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  list-style: none;
}

.about-how-i-work li {
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.about-how-i-work li strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

/* Capabilities Section */
.about-capabilities {
  padding: 4rem 1rem;
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-main);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--border-color);
}

.about-capabilities h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-white);
}

.about-capabilities ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  list-style: none;
}

.about-capabilities li {
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.about-capabilities li strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.about-tech-note {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
}

/* Current Focus Section */
.about-current-focus-section {
  padding: 4rem 1rem;
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-main);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-current-focus-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.about-current-focus-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 800px;
}


/* --- blog.css --- */
/* Blog page styles */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Blog header */
.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Tab navigation */
.blog-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-tab {
  padding: 1rem 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.blog-tab:hover {
  color: var(--primary-color);
}

.blog-tab.active {
  color: var(--primary-color);
  font-weight: 500;
}

.blog-tab.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
}

/* Blog category sections */
/* Make sure these rules are present and not overridden elsewhere */
.blog-category-section {
  display: none !important;
}

.blog-category-section.active {
  display: block !important;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-white);
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Blog Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Blog Cards */
.blog-card {
  /* UPDATED: Set this to your DEFAULT card background color */
  background-color: var(
    --card-bg
  ); /* Or var(--bg-main) if that's your default */
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* REMOVE or COMMENT OUT this rule that made linked cards dark black */
/*
.blog-card:has(a.blog-card-link) {
  background-color: var(--bg-darkest);
}
*/

/* NEW or ENSURE THIS IS PRESENT: Style for non-linked (placeholder) cards to be grey */
.blog-card:not(:has(a.blog-card-link)) {
  background-color: var(--bg-light); /* Grey background for non-linked cards */
  cursor: default; /* Optional: indicates non-interactivity */
}

/* MODIFIED: Hover effect ONLY for cards WITH a link */
.blog-card:has(a.blog-card-link):hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-card h3 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 1rem 0;
  color: var(--text-white); /* Uniform title color */
}

/* Ensure these conflicting rules for title colors remain commented out or removed */
/*
.blog-card a.blog-card-link h3 {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.blog-card a.blog-card-link:hover h3 {
  color: var(--primary-hover);
}

.blog-card:not(:has(a.blog-card-link)) h3 {
  color: var(--text-white);
}
*/

.blog-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1; /* Helps push meta to bottom */
}

.blog-tag {
  display: inline-block;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light); /* Default meta text color */
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto; /* Pushes meta to the bottom */
}

/* Style for the hidden author name */
.blog-author-hidden {
  display: block; /* Or inline, depending on desired flow */
  font-size: 1px; /* Extremely small font size */
  color: var(--card-bg); /* Match the card background color */
  opacity: 0; /* Ensure it's fully transparent */
  position: absolute; /* Take it out of normal flow */
  /* left: -9999px; Move it off-screen */
  /* Alternative: Use clip-path for modern screen readers */
  /* clip-path: inset(50%); */
  /* height: 1px; */
  /* width: 1px; */
  /* overflow: hidden; */
}

/* Section description */
.section-description {
  color: var(--text-light);
  text-align: center;
  max-width: 700px;
  margin: -1rem auto 3rem;
}

/* Miscellaneous content container */
.misc-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Individual miscellaneous content sections */
.misc-content {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
}

.misc-content-title {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.misc-content-title i {
  color: var(--primary-color);
}

.misc-content-intro {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Reading List Styles - Add these to your existing blog.css file */

/* Reading List Tab Navigation */
.reading-list-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.reading-tab {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.reading-tab:hover {
  color: var(--primary-color);
}

.reading-tab.active {
  background-color: var(--primary-color);
  color: white;
}

/* Book Categories */
.reading-category {
  display: none;
}

.reading-category.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Override any inherited center alignment with !important */
.blog-header .blog-navigation {
  text-align: left !important;
  width: 100%;
  display: block;
}

.blog-header .blog-navigation .btn.back {
  float: left;
  margin-right: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Book Grid Layout */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Book Cards */
.book-card {
  background-color: var(--bg-main);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.book-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: var(--text-white);
}

.book-author {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.book-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Quick Thoughts Styles */
.quick-thoughts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quick-thought {
  background-color: var(--bg-main);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.quick-thought-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.quick-thought-content {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* Optional: Style for published dates to ensure they are readable but not overly prominent */
.blog-card:has(a.blog-card-link) .blog-meta .blog-date {
  color: var(--text-muted); /* Subtle color */
}

/* --- START: Blog Post Content Styles --- */

/* Adjustments for the main article container within a blog post page */
.blog-container article {
  max-width: 800px; /* Narrows content for better readability & wider side margins on desktop */
  margin-left: auto;
  margin-right: auto;
}

/* Spacing for the 'Back to All Blogs' button container */
.blog-navigation-top {
  max-width: 800px; /* Align with article content */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem; /* Space below the button */
}

/* Styling for the header within a single blog post (title, meta, intro) */
article .blog-header {
  /* Make it wider, potentially full width of its container or a bit less than page max-width */
  max-width: 950px; /* Adjust as needed, or remove if you want it to span the full width of .blog-container article */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem; /* Increased space between post header and main content */
  text-align: left;
  /* border: 1px solid var(--border-color-light); */ /* REMOVE THE BORDER */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* ADD A SUBTLE SHADOW */
  padding: 2rem; /* Add padding inside the border */
  border-radius: 8px; /* Direct value for rounded corners */
  background-color: var(
    --bg-card-header
  ); /* Use defined background for header */
}

article .blog-header h1 {
  font-size: 2.4rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

article .blog-header .blog-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  border-top: none;
  padding-top: 0;
  justify-content: flex-start;
  gap: 1rem;
}

article .blog-header .blog-intro {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  /* margin-bottom: 2.5rem; */ /* Removed bottom margin here as padding on .blog-header handles it */
}

/* General styling for the main blog post content area */
.blog-content {
  font-size: 1.05rem; /* Base font size for post content, adjust as needed */
  line-height: 1.8; /* Generous line height for readability */
  color: var(--text-light);
}

.blog-content p {
  margin-bottom: 1.75rem; /* Space after paragraphs */
}

.blog-content h2 {
  font-size: 1.9rem; /* Size for H2 headings within the post */
  color: var(--text-white);
  margin-top: 3.5rem; /* More space before H2 */
  margin-bottom: 1.5rem; /* Space after H2 */
  line-height: 1.3;
}

.blog-content h3 {
  /* If you use H3s within posts */
  font-size: 1.6rem;
  color: var(--text-white);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

/* Bullet point formatting */
.blog-content ul {
  list-style-type: disc; /* Standard disc bullets */
  margin-left: 1.5rem; /* Indentation from the left */
  padding-left: 1rem; /* Additional padding for the bullet itself */
  margin-bottom: 1.75rem; /* Space after the entire list */
}

.blog-content ul li {
  margin-bottom: 0.85rem; /* Space between individual list items */
  padding-left: 0.5rem; /* Small padding to align text nicely after bullet */
}

/* Styling for emphasized (italic) text within blog content */
.blog-content em,
.blog-content i {
  /* Target both <em> and <i> for italics */
  font-style: italic;
  /* Optional: make emphasized text stand out more, e.g., with a subtle color change */
  /* color: var(--primary-color); */
}

/* Style for highlighted standalone statements */
.highlighted-statement {
  text-align: center;
  margin-top: 2.5rem; /* Increased top margin */
  margin-bottom: 2.5rem; /* Increased bottom margin */
  padding-left: 1rem; /* Horizontal padding for better centering of multi-line text */
  padding-right: 1rem; /* Horizontal padding */
  font-size: 1.2em; /* Slightly larger than surrounding paragraph text */
  font-weight: 500; /* Medium weight to make it stand out */
  line-height: 1.6; /* Adjust line height for readability if multi-line */
  /* Optional: Add a distinct color or keep it inherited */
  /* color: var(--primary-color); */
}

/* Ensure em within highlighted statement retains its style or adjust as needed */
.highlighted-statement em {
  font-style: italic; /* Explicitly set if needed, though usually inherited */
}

/* --- Ensure Heading Hierarchy in Blog Content --- */

/* H1 is typically the main blog post title, styled in article .blog-header h1 */
/* article .blog-header h1 { font-size: 2.4rem; ... } */ /* Already exists */

.blog-content h2 {
  font-size: 1.9rem; /* Size for H2 headings within the post */
  color: var(--text-white);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 1.6rem; /* Size for H3 headings within the post */
  color: var(--text-white);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.blog-content h4 {
  /* Style for H4 headings if you use them */
  font-size: 1.4rem;
  color: var(--text-white);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600; /* H4 usually bolder than paragraph but less than H3 */
}

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

  .blog-tabs {
    flex-direction: column;
    align-items: center;
  }

  .blog-tab {
    margin-bottom: 0.5rem;
  }

  .reading-item {
    flex-direction: column;
  }

  .reading-item-cover {
    width: 100px;
    margin: 0 auto;
  }
}


/* --- experience.css --- */
/* Experience Page Styles */
.experience-container {
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 4rem;
  background-color: var(--bg-main); /* Add background color */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.experience-hero {
  background-color: var(--bg-card);
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.experience-hero h1 {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.experience-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Fix Experience Timeline */
.experience-timeline {
  padding: 5rem 0;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.experience-timeline h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-white);
}

.experience-item {
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
}

.experience-header {
  margin-bottom: 1.5rem;
}

.experience-header h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.company {
  font-weight: 600;
}

.experience-description p.company-description {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.experience-description ul {
  padding-left: 1.2rem;
}

.experience-description li {
  margin-bottom: 0.7rem;
  color: var(--text-light);
}


/* Additional Info Section */
.additional-info {
  padding: 5rem 0;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.additional-info h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-white);
}

.additional-info ul {
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  list-style-position: inside;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.additional-info li {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--bg-main);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-white);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  
  .experience-meta, .education-meta {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .experience-item, .education-item {
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}


/* --- responsive.css --- */
/* --- Default Styles (Desktop) --- */

/* Hide hamburger button on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px; /* Adjust as needed */
  width: 40px; /* Adjust as needed */
  height: 40px; /* Adjust as needed */
  position: relative; /* Needed for hamburger line positioning */
  z-index: 101; /* Ensure it's above other header elements if needed */
}

/* Hamburger Icon Lines (Hidden on Desktop via parent) */
.hamburger {
  position: relative;
  display: block;
  width: 24px; /* Width of the lines */
  height: 2px; /* Thickness of the lines */
  background-color: var(--text-white); /* Color of the middle line */
  margin: 0 auto; /* Center the lines within the button */
  transition: background-color 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px; /* Thickness of the lines */
  background-color: var(--text-white); /* Color of the lines */
  transition: transform 0.3s ease-in-out;
}

.hamburger::before {
  top: -8px; /* Space between top and middle line */
}

.hamburger::after {
  bottom: -8px; /* Space between bottom and middle line */
}

/* Navigation Links - Desktop Layout */
.nav-links {
  display: flex; /* Arrange links horizontally */
  flex-direction: row;
  position: static; /* Normal document flow */
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  border-top: none;
  /* Add other desktop nav styles like list-style: none; if needed */
}

.nav-links li {
  margin-left: 1.5rem; /* Space between desktop links */
}

.nav-links a {
  display: inline; /* Default link display */
  padding: 0; /* No extra padding needed */
  color: var(--text-light); /* Desktop link color */
  /* Add other desktop link styles (font-weight, text-decoration) */
}

.nav-links a:hover,
.nav-links a.active {
  background-color: transparent; /* No background change */
  color: var(--primary-color); /* Desktop hover/active color */
}

/* Mobile Menu Overlay (Hidden on Desktop) */
.menu-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 99; /* Below nav menu (100) but above page content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* --- Mobile Overrides --- */
@media (max-width: 768px) {
  /* Adjust breakpoint as needed */

  /* Show hamburger button on mobile */
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide desktop nav links and style for mobile dropdown */
  .nav-links {
    display: none; /* Hide by default on mobile */
    position: absolute;
    top: 60px; /* Position below header (adjust height as needed) */
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95); /* Mobile menu background */
    flex-direction: column; /* Stack links vertically */
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
    z-index: 100; /* Ensure menu is above overlay */
  }

  .nav-links li {
    margin-left: 0; /* Remove desktop spacing */
    text-align: center; /* Center mobile links */
  }

  .nav-links a {
    display: block; /* Make links take full width */
    padding: 0.75rem 1rem; /* Padding for easier tapping */
    color: var(--text-white); /* Mobile link color */
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: var(--primary-color); /* Mobile hover/active background */
    color: var(--text-white); /* Ensure text stays white */
  }

  /* Show overlay container on mobile (still hidden by opacity/visibility) */
  .menu-overlay {
    display: block;
  }

  /* --- Mobile Menu Open State --- */
  /* (Triggered by 'mobile-menu-open' class on body) */

  /* Show the nav links */
  .mobile-menu-open .nav-links {
    display: flex;
  }

  /* Show the overlay */
  /* JS adds .active class, but we can use the body class too */
  .mobile-menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Transform hamburger lines to 'X' */
  .mobile-menu-open .hamburger {
    background-color: transparent; /* Hide middle line */
  }

  .mobile-menu-open .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px); /* Adjust translate values as needed */
  }

  .mobile-menu-open .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px); /* Adjust translate values as needed */
  }
}


/* --- contact.css --- */
/* Contact Page Styles */

/* Main section container */
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

.contact-section h1 {
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

/* Contact layout */
.contact-container {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

/* Left column - contact info cards */
.contact-info {
  flex: 1;
}

.contact-card {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Right column - contact form */
.contact-form-container {
  flex: 2;
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-form-container h2 {
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  border-radius: 4px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 163, 255, 0.2);
}

.contact-form .btn {
  margin-top: 0.5rem;
}

/* Form validation styles */
.contact-form input:invalid:focus,
.contact-form textarea:invalid:focus {
  border-color: var(--danger-color);
}

/* Responsive styles */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-container,
  .contact-info {
    width: 100%;
  }

  .contact-section {
    padding: 1rem;
  }
}

