@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .container, section, .project-card, .stats-container, .skills-stats, .timeline-item, .award-card, .certification-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 480px) {
  .stats-container {
    margin-top: 1.5rem !important;
  }
  .skills-stats {
    margin-top: 1.5rem !important;
  }
}
/* CSS Variables for consistent theming */
:root {
  --primary-bg: #1a1d29;
  --secondary-bg: #252938;
  --hero-bg: #1e2235;
  --accent-blue: #4A90E2;
  --accent-blue-light: #5A9BF2;
  --text-primary: #ffffff;
  --text-secondary: #b0b7c3;
  --text-muted: #8892a3;
  --border-color: #3a4553;
  --card-bg: #2a3441;
  --gradient-start: #1a1d29;
  --gradient-end: #252938;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --purple-accent: #8b5cf6;
  --green-accent: #22c55e;
  --orange-accent: #f97316;
  --red-accent: #ef4444;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
  /* This creates the persistent separating line */
    border-bottom: 2px solid white;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  margin-left: 1rem;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent-blue);
  position: relative;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger::before {
  top: -9px;
}
.hamburger::after {
  top: 9px;
}

.nav-menu-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background: var(--primary-bg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  flex-direction: column;
  gap: 0;
  list-style: none;
  z-index: 9999;
  padding: 1.5rem 0;
}
.nav-menu-mobile li {
  width: 100%;
  text-align: center;
  margin: 0.5rem 0;
}
.nav-menu-mobile .nav-link {
  color: var(--text-primary);
  font-size: 1.25rem;
  padding: 1rem 0;
  display: block;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-menu-mobile .nav-link:hover {
  background: var(--accent-blue);
  color: white;
}

.nav-menu-mobile.active {
  display: flex;
}

.navbar.scrolled {
  /* Set a semi-transparent background to allow the blur to show through */
  background: rgba(26, 29, 41, 0.5);
  
  /* Add the blur effect to the background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--card-bg);
  color: var(--text-primary);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    
    /* Layering a semi-transparent dark blue gradient over the image */
    background-image: linear-gradient(to bottom, rgba(26, 29, 41, 0.6), rgba(26, 29, 41, 0.6)), 
                      url('images/hero2.jpg');

    background-size: cover; /* Ensures the image covers the entire hero section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    position: relative;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 5rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-highlight {
  color: var(--accent-blue);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-tag {
  color: var(--accent-blue);
  font-weight: 500;
  font-size: 1.1rem;
}

.hero-dot {
  color: var(--text-muted);
}

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

.hero-location i {
  color: var(--accent-blue);
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-image {
  animation: fadeInUp 1s ease-out 0.3s both;
  display: flex;
  justify-content: center;
}

/* Container for the profile image */
.profile-image-container {
    /* Adjust these values to control the size of your profile circle */
    width: 350px;
    height: 350px;
    
    border-radius: 50%; /* Makes the container a perfect circle */
    border: 2px solid white;
    overflow: hidden; /* Clips the image to the circle's shape */
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05); /* Adds a subtle outer ring effect */

    /* Keep parallax effect, but remove zoom */
    transform: translateY(0) scale(1);
    transition: transform 0.1s ease-out;
}

/* Styles for the image itself */
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the circle without distortion */
}


.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-blue);
  animation: bounce 2s infinite;
}

@keyframes pulse {
  0%, 100% { 
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
  }
  50% { 
    border-color: rgba(74, 144, 226, 0.6);
    box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
  }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  text-align: center;
  font-size: 1.375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

/* About Section */
.about {
  background: var(--secondary-bg);
  padding: 6rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 3rem 0;
  align-items: start;
}

.about-left {
  
}

.about-intro-title {
  color: var(--accent-blue);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.about-intro-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
}

.about-card h4 {
  color: var(--accent-blue);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.4;
}

.about-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styling for the container of the image */
.about-right {
    /* Use flexbox to center the content */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling for the image itself */
.about-image-right {
    display: block;
    width: 100%;
    max-width: 900px; /* Adjust this value to make the image bigger or smaller */
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Remove any margin properties that might be interfering */
    margin: 0;
}

.code-header {
  background: var(--primary-bg);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.code-dots {
  display: flex;
  gap: 0.5rem;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27ca3f; }

.code-content {
  padding: 1.5rem;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

.code-line {
  display: flex;
  margin-bottom: 0.5rem;
}

.line-number {
  color: var(--text-muted);
  margin-right: 1rem;
  user-select: none;
}

.keyword { color: #ff7b72; }
.function { color: #d2a8ff; }
.string { color: #a5d6ff; }
.punct { color: var(--text-secondary); }
.param { color: #ffa657; }
.indent { white-space: pre; }

/* Stats */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card.blue {
  border-left: 4px solid var(--accent-blue);
}

.stat-card.green {
  border-left: 4px solid var(--green-accent);
}

.stat-card.purple {
  border-left: 4px solid var(--purple-accent);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card.blue .stat-number {
  color: var(--accent-blue);
}

.stat-card.green .stat-number {
  color: var(--green-accent);
}

.stat-card.purple .stat-number {
  color: var(--purple-accent);
}

.stat-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.4;
}

.professional-journey {
  margin-top: 4rem;
  text-align: center;
}

.journey-title {
  color: var(--accent-blue);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.journey-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Skills Section */
.skills {
  background: #000;
  padding: 6rem 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid white;
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-category h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  font-size: 1rem;
  font-weight: 800;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.skill-item span:first-child {
  color: var(--text-primary);
  font-weight: 400;
  flex: 1;
}

.progress-bar {
  flex: 2;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 0.75rem;
}

/* Progress bar animation */
.progress {
    height: 100%;
    width: 0;
    transition: width 1.5s ease-out;
    border-radius: 3px;
}

/* 1. Programming Languages - Blue Gradient */
.skill-category:nth-child(1) .progress {
    background: linear-gradient(90deg, #0b66f8 0%, #60a5fa 100%);
}

/* 2. Web Dev & Tools - Blue Gradient */
.skill-category:nth-child(2) .progress {
    background: linear-gradient(90deg, #25e74f 0%, #60a5fa 100%);
}

/* 3. Database Systems - Blue Gradient */
.skill-category:nth-child(3) .progress {
    background: linear-gradient(90deg, #8e25f0 0%, #60a5fa 100%);
}

/* 4. Data Science & ML - Orange-to-Red Gradient */
.skill-category:nth-child(4) .progress {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

/* 5. Cloud Platforms - Purple Gradient */
.skill-category:nth-child(5) .progress {
    background: linear-gradient(90deg, #a886f8 0%, #8515f5 100%);
}

/* 6. DevOps & Version Control - Orange Gradient */
.skill-category:nth-child(6) .progress {
    background: linear-gradient(90deg, #f97316 0%, #fbbf24 100%);
}

/* 7. Specialized Areas - Alternating Purple and Blue */
.skill-category:nth-child(7) .skill-item:nth-child(2n-1) .progress {
    background: linear-gradient(90deg, #ff58b4 0%, #a14df5 100%);
}
.skill-category:nth-child(7) .skill-item:nth-child(2n) .progress {
    background: linear-gradient(90deg, #ff58b4 0%, #a14df5 100%);
}

/* 8. Soft Skills - Green Gradient */
.skill-category:nth-child(8) .progress {
    background: linear-gradient(90deg, #8ef7d4 0%, #1cf3a4 100%);
}

.percentage {
  min-width: 35px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-align: right;
}

.skills-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

.skills-stat {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.skills-stat:nth-child(1) {
  border-left: 4px solid var(--accent-blue);
}

.skills-stat:nth-child(2) {
  border-left: 4px solid var(--green-accent);
}

.skills-stat:nth-child(3) {
  border-left: 4px solid var(--purple-accent);
}

.skills-stat .stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.skills-stat:nth-child(1) .stat-number {
  color: var(--accent-blue);
}

.skills-stat:nth-child(2) .stat-number {
  color: var(--green-accent);
}

.skills-stat:nth-child(3) .stat-number {
  color: var(--purple-accent);
}

.skills-stat .stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.project-card {
  background: black;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid white;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
  height: 200px;
  background: var(--secondary-bg);
  display: block;
  overflow: hidden; /* Ensures the image is clipped to the container */
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This is the key property */
  object-position: center;
}

.project-content {
  padding: 2rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.project-header h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
}

.project-date {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.project-category {
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.project-description {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.project-features {
  margin-bottom: 1.5rem;
}

.project-features h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.project-features ul {
  list-style: none;
  padding-left: 0;
}

.project-features li {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
}

.project-features li::before {
  content: '•';
  color: var(--accent-blue);
  position: absolute;
  left: 0;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tech-tag.python { background: rgba(52, 168, 83, 0.2); color: #34a853; }
.tech-tag.tensorflow { background: rgba(255, 111, 0, 0.2); color: #ff6f00; }
.tech-tag.opencv { background: rgba(59, 130, 246, 0.2); color: var(--accent-blue); }
.tech-tag.ml { background: rgba(139, 92, 246, 0.2); color: var(--purple-accent); }
.tech-tag.image { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.tech-tag.bootstrap { background: rgba(133, 24, 196, 0.2); color: #c513f1; }
.tech-tag.auth { background: rgba(239, 68, 68, 0.2); color: var(--red-accent); }
.tech-tag.realtime { background: rgba(231, 211, 33, 0.192); color: #b9d636; }
.tech-tag.integrity { background: rgba(245, 158, 11, 0.2); color: var(--warning-color); }
.tech-tag.flask { background: rgba(207, 130, 15, 0.2); color: #f8aa18; }
.tech-tag.sql { background: rgba(59, 130, 246, 0.2); color: var(--accent-blue); }
.tech-tag.web { background: rgba(139, 92, 246, 0.2); color: var(--purple-accent); }
.tech-tag.mysql { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.tech-tag.mongodb { background: rgba(235, 43, 193, 0.2); color: #f74ec4; }
.tech-tag.jwt { background: rgba(239, 68, 68, 0.2); color: var(--red-accent); }
.tech-tag.beautifulsoup { background: rgba(95, 41, 221, 0.2); color: #520ef0; }
.tech-tag.analytics { background: rgba(245, 158, 11, 0.2); color: var(--warning-color); }
.tech-tag.security-architecture { background: rgba(236, 72, 153, 0.2); color: #ec4899; }

.project-actions {
  display: flex;
  gap: 1rem;
}

/* Experience Section Styling */
/* Career Journey Section Styling */
.experience {
    background: #000;
    padding: 6rem 0;
}

.journey-section {
    margin-bottom: 4rem;
}

.journey-title {
    color: var(--accent-blue);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

/* Base style for all timeline cards */
.timeline-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/*
 * STYLING FOR PROFESSIONAL EXPERIENCE ENTRIES
 * --------------------------------------------
 */
.timeline-item.professional .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.timeline-item.professional .timeline-header h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
}

.timeline-item.professional .timeline-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.timeline-item.professional .company-name {
    color: var(--accent-blue);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-item.professional .job-type {
    color: var(--purple-accent);
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.2);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.timeline-item.professional .timeline-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.timeline-item.professional .timeline-achievements h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item.professional .timeline-achievements ul {
    list-style: none;
    padding-left: 0;
}

.timeline-item.professional .timeline-achievements li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.timeline-item.professional .timeline-achievements li::before {
    content: '▸';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

.timeline-item.professional .timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/*
 * STYLING FOR EDUCATION ENTRIES
 * -----------------------------
 */
.timeline-item.education .timeline-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-item.education .timeline-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.timeline-item.education .timeline-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.timeline-item.education .timeline-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item.education .institution-name {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-item.education .degree-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #2a478c;
    color: #a8b2d1;
}

.timeline-item.education .timeline-date,
.timeline-item.education .location {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.timeline-item.education .grade-value {
    font-weight: 500;
    font-size: 0.875rem;
}

.timeline-item.education .grade-value.green {
    color: var(--success-color);
}

.timeline-item.education .grade-value.purple {
    color: var(--purple-accent);
}

/* Recognition Section */
.recognition-section {
  margin-bottom: 4rem;
}

.awards-title {
  color: var(--accent-blue);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.certs-title {
  color: var(--accent-blue);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

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

.award-card {
  background: black;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid goldenrod;
  transition: all 0.3s ease;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.award-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.award-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.award-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.award-icon.winner {
  background: #d4a574;
  color: #1a1d29;
}

.award-icon.finalist {
  background: var(--accent-blue);
  color: white;
}

.award-info h4 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.award-organizer {
  color: var(--accent-blue);
  font-size: 0.875rem;
  margin: 0;
}

.award-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.award-badge.winner {
  background: #d4a574;
  color: #1a1d29;
}

.award-badge.finalist {
  background: var(--accent-blue);
  color: white;
}

.award-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.award-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.award-type {
  background: var(--green-accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.award-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.award-card.winner .award-icon {
  background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
  color: white;
}

.award-card.finalist .award-icon {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--purple-accent) 100%);
  color: white;
}

.award-content {
  flex: 1;
}

.award-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.award-header h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
}

.award-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.award-status.winner {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-color);
}

.award-status.finalist {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.award-organizer {
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.award-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.award-category {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.award-description {
  color: var(--text-secondary);
}

.award-view-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1.5rem; /* Add some space above the button */
    transition: all 0.3s ease;
}

.award-view-btn:hover {
    background: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.25);
}
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.certification-card {
  background: black;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid white;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);

    /* The key to making the button align to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.certification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cert-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cert-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.cert-icon.blue {
  background: var(--accent-blue);
}

.cert-icon.green {
  background: var(--green-accent);
}

.cert-icon.purple {
  background: var(--purple-accent);
}

.cert-info h4 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0;
  line-height: 1.3;
}

.cert-provider {
  color: var(--accent-blue);
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0;
}

.cert-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.skill-tag.red {
    background: var(--red-accent);
}

.skill-tag.yellow {
    background: var(--warning-color);
}

.skill-tag.orange {
    background: var(--orange-accent);
}

.skill-tag.purple {
    background: var(--purple-accent);
}

.skill-tag.green {
    background: var(--green-accent);
}

.skill-tag.pink {
    background: #ec4899;
}

.skill-tag.cyan {
    background: #2dd4bf;
}

.skill-tag.teal {
    background: #0d9488;
}

.skill-tag.indigo {
    background: #4f46e5;
}

.skill-tag.gray {
    background: #6b7280;
}


.cert-view-btn {
  background: var(--accent-blue);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;

  width: 100%; /* Makes the button stretch to full width */
  margin-top: auto; /* Pushes the button to the bottom */
  text-align: center; /* Centers the text inside the button */
}

.cert-view-btn:hover {
  background: var(--accent-blue-light);
  transform: translateY(-1px);
}

.cert-btn {
  margin-top: auto;
}

/* Contact Section */
.contact {
  background: #000;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 3rem 0;
}

.contact-info h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.contact-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-methods {
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.contact-icon.email {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--purple-accent) 100%);
}

.contact-icon.phone {
  background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.contact-icon.location {
  background: linear-gradient(135deg, var(--purple-accent) 0%, #7c3aed 100%);
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.contact-value {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

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

.social-links h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icon.linkedin {
  background: #0077b5;
  color: white;
}

.social-icon.github {
  background: #333;
  color: white;
}

/* Add these new styles for the Instagram and X icons */
.social-icon.instagram {
    background: #E1306C;
    color: white;
}

.social-icon.x {
    background: #464646;
    color: white;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-handles {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.social-handles span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.availability-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: black;
  border-radius: 12px;
  border: 1px solid white;
}

.availability-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.availability-info > p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.availability-details p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.availability-details strong {
  color: var(--text-secondary);
}

/* Base button style to be used by all buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Style for the solid blue "Send Email" button */
.btn-primary {
    background: var(--accent-blue);
    color: white;
    border: 2px solid var(--accent-blue);
}

.btn-primary:hover {
    background: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.25);
}

/* Style for the outlined "Connect on LinkedIn" button */
.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* New style for the outlined green "Call Me" button */
.btn-green {
    background: transparent;
    color: var(--green-accent);
    border: 2px solid var(--green-accent);
}

.btn-green:hover {
    background: var(--green-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
/* Styling for the form container */
.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid white;
}

/* Styling for the form itself */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* This controls the vertical spacing between form groups */
}

/* Row for side-by-side inputs (e.g., Name and Email) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Styling for each label */
.contact-form label {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Basic styling for all form fields */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: black;
    border: 1px solid white;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Styling for the textarea height and resizing */
.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Styling for the placeholder text */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

/* Focus effect on input fields */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Styling for the "Send Message" button */
.contact-form .btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-blue-light));
    border: none;
    font-weight: 600;
}

.contact-form .btn-primary i {
    margin-left: 0.75rem;
}

/* Container for all info boxes */
.availability-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Base style for each info box */
.availability-card {
    background: var(--card-bg);
    color: white; /* Ensure all text is white */
    border-radius: 12px;
    padding: 2rem 1.5rem; /* Adjust padding for a balanced look */
    text-align: center;
    border: none; /* Removed the side borders */
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Added a subtle shadow */
}

/* Hover effect */
.availability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Icon container style */
.availability-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%; /* Made the icon container a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Main title text */
.availability-card h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Description text */
.availability-card p {
    color: var(--text-muted); /* Slightly muted white for description */
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Specific styling for each card's color and icon */
.availability-card.available {
    background-color: #1e5031; /* Dark green card background */
}
.availability-card.available .card-icon {
    background-color: #1e5031; /* A slightly darker green for the icon background */
    color: #86efac; /* Light green icon color */
}

.availability-card.responsive {
    background-color: #1c3145; /* Dark blue card background */
}
.availability-card.responsive .card-icon {
    background-color: #1c3145; /* Dark blue for the icon background */
    color: #87bdd8; /* Light blue icon color */
}

.availability-card.collaborate {
    background-color: #4a306d; /* Dark purple card background */
}
.availability-card.collaborate .card-icon {
    background-color: #4a306d; /* Dark purple for the icon background */
    color: #c084fc; /* Light purple icon color */
}

/* Footer */
.footer {
  background: var(--primary-bg);
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

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

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

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }
  .hero-image {
    justify-content: center;
    margin-top: 2rem;
  }
  .profile-image-container {
    width: 220px;
    height: 220px;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
  }
  .about-right {
    margin-top: 2rem;
  }
  .about-image-right {
    max-width: 100%;
    height: auto;
  }
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  section {
    padding: 3rem 0;
  }
  .container {
    padding: 0 1rem;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  .nav-container {
    padding: 0 0.5rem;
  }
  .nav-menu {
    display: none !important;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu-mobile {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  .profile-image-container {
    width: 150px;
    height: 150px;
  }
  .about-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .availability-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  section {
    padding: 2rem 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}


@media (max-width: 480px) {
  .skills-stats {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    padding: 0 1.5rem 1rem 1.5rem;
    margin: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--primary-bg);
  }
  .skills-stat {
    display: inline-block;
    vertical-align: top;
    min-width: 220px;
    margin: 0 0.75rem 0 0;
    box-sizing: border-box;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    white-space: normal;
  }
  .container {
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .profile-image-container {
    width: 100px;
    height: 100px;
  }
  .stats-container {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    padding: 0 1.5rem 1rem 1.5rem;
    margin: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--primary-bg);
  }
  .stat-card, .skills-stat {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    vertical-align: top;
    min-width: 220px;
    max-width: 220px;
    height: 160px;
    margin: 0 0.75rem 0 0;
    box-sizing: border-box;
    padding: 1rem 0.5rem;
    white-space: normal;
    overflow: hidden;
  }
  .project-card {
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .timeline-item {
    margin: 0 0 1rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .award-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .certification-card {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  section {
    padding: 0.5rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}
