:root {
  --primary-color: #64ffda;
  --secondary-color: #ff6b6b;
  --accent-color: #4ecdc4;
  --bg-color: #0a192f;
  --light-bg: #112240;
  --lighter-bg: #233554;
  --text-color: #8892b0;
  --light-text: #ccd6f6;
  --white: #e6f1ff;
  --shadow: rgba(2, 12, 27, 0.7);
  --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

[data-theme="light"] {
  --bg-color: #ffffff;
  --light-bg: #f8f9fa;
  --lighter-bg: #e9ecef;
  --text-color: #495057;
  --light-text: #212529;
  --white: #000000;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg-color);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

.shape-5 {
  width: 140px;
  height: 140px;
  top: 10%;
  left: 60%;
  animation-delay: -7s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(90deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }

  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient);
  z-index: 1000;
  transition: width 0.3s ease;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lighter-bg);
  z-index: 999;
  transition: var(--transition);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text {
  color: var(--light-text);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

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


.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

/* Sections */
.section {
  padding: 6rem 0;
  opacity: 100;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
  opacity: 100;
  transform: translateY(0);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.title-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.typewriter-container {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  min-height: 2rem;
  font-family: var(--font-mono);
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
}

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

.image-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  animation: pulse 3s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  animation: bounce 2s infinite;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 24px;
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* About Section */
.about-content {
  display: grid;
  gap: 3rem;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--lighter-bg);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-color);
  font-weight: 500;
}

/* Skills Section */

#skills {
  display: block;
  visibility: visible;
  opacity: 1;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--lighter-bg);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 100 10px 30px var(--shadow);
}

.skill-category h3 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.skill-category i {
  color: var(--primary-color);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--lighter-bg);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: scale(1.05);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--bg-color);
}

.timeline-content {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--lighter-bg);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
}

.timeline-date {
  color: var(--primary-color);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  color: var(--light-text);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.timeline-content h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.timeline-content h4 a {
  color: var(--primary-color);
  text-decoration: none;
}

.timeline-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cert-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--lighter-bg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
  transition: left 0.5s ease;
}

.cert-card:hover::before {
  left: 100%;
}

.cert-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px var(--shadow);
}

.cert-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cert-card h3 {
  color: var(--light-text);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.cert-card p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.cert-link:hover {
  transform: translateX(5px);
}

.cert-status {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

.cert-status.ongoing {
  background: var(--secondary-color);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--light-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--lighter-bg);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: var(--primary-color);
}

.project-image {
  height: 200px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 100;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 100;
}

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

.project-link {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover {
  transform: scale(1.1);
  background: var(--light-text);
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  color: var(--light-text);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-content p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text h3 {
  color: var(--light-text);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--lighter-bg);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bg-color);
}

.contact-details h4 {
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

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

.contact-details a:hover {
  color: var(--light-text);
}

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

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

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

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--lighter-bg);
  color: var(--text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  .image-container {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .typewriter-container {
    font-size: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 1rem;
  }

  .timeline-dot {
    left: -1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .image-container {
    width: 200px;
    height: 200px;
  }
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--lighter-bg);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: var(--bg-color);
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease-out;
}

/* Hover effects */
.hover-glow:hover {
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

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

.hover-rotate:hover {
  transform: rotate(5deg);
}

/* Text effects */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

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

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Print styles */
@media print {

  .navbar,
  .back-to-top,
  .floating-shapes,
  .progress-bar {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #00ff00;
    --bg-color: #000000;
    --text-color: #ffffff;
    --light-text: #ffffff;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-shapes {
    display: none;
  }
}

/* Dark theme toggle */
[data-theme="light"] {
  --bg-color: #ffffff;
  --light-bg: #f8f9fa;
  --lighter-bg: #e9ecef;
  --text-color: #495057;
  --light-text: #212529;
  --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #e9ecef;
}

[data-theme="light"] .shape {
  opacity: 0.05;
}


/* Update these specific sections in your style.css */

.section {
  padding: 6rem 0;
  opacity: 0;
  /* Changed from 100 to 0 so the JS can fade it in */
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
  opacity: 1;
  /* Changed from 100 to 1 */
  transform: translateY(0);
}

.skill-category {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--lighter-bg);
  transition: var(--transition);
  opacity: 1;
  /* Ensure it starts visible once the section is visible */
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px var(--shadow);
  /* Fixed '100 10px' to '0 10px' */
}


/* Update the container to fit the image */
.project-image {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: none;
  /* Removes the placeholder gradient */
}

/* New class for the image itself */
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This ensures the image fills the box without stretching */
  transition: var(--transition);
}

/* Ensure the overlay is hidden until you hover */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.7);
  /* Darkens the image slightly on hover */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* Changed from 100 to 0 to hide it by default */
  transition: var(--transition);
}

/* Show overlay and zoom image slightly on hover */
.project-card:hover .project-overlay {
  opacity: 1;
}

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

/* --- Timeline Button on index.html --- */
#timeline-btn {
  display: inline-block;
  /* ensures proper centering with margin auto */
  background-color: #4ecdc4;
  /* primary theme color */
  color: #fff;
  /* text color */
  border: none;
  padding: 12px 28px;
  /* button size */
  font-family: 'Menlo', Consolas, monospace;
  /* match site font */
  font-size: 1rem;
  border-radius: 6px;
  /* rounded corners */
  cursor: pointer;
  transition: all 0.3s ease;
  /* smooth hover/active effects */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  /* subtle shadow */
  text-align: center;
  margin: 20px auto;
  /* center horizontally */
  display: block;
  /* ensure centering with auto margin */
}

/* Hover effect */
#timeline-btn:hover {
  background-color: #112240;
  /* darker shade on hover */
  transform: translateY(-2px);
  /* subtle lift */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  /* stronger shadow */
}

/* Pressed/active effect */
#timeline-btn:active {
  transform: translateY(0px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}