:root {
  /* Light theme colors */
  --light-bg: #f8f9fa;
  --light-bg-alt: #eef1f6;
  --light-text: #2d3748;
  --light-text-muted: #718096;
  --light-accent: #4a6cf7;
  --light-accent-hover: #3153e0;
  --light-accent-muted: rgba(74, 108, 247, 0.1);
  --light-border: #e2e8f0;
  --light-card: #ffffff;
  --light-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  --light-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --light-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  
  /* Dark theme colors */
  --dark-bg: #131417;
  --dark-bg-alt: #1e2028;
  --dark-text: #f7fafc;
  --dark-text-muted: #a0aec0;
  --dark-accent: #4a6cf7;
  --dark-accent-hover: #5d7ef9;
  --dark-accent-muted: rgba(74, 108, 247, 0.15);
  --dark-border: #2d3748;
  --dark-card: #1a1c23;
  --dark-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  --dark-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --dark-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
  
  /* Default to light theme */
  --bg: var(--light-bg);
  --bg-alt: var(--light-bg-alt);
  --text: var(--light-text);
  --text-muted: var(--light-text-muted);
  --accent: var(--light-accent);
  --accent-hover: var(--light-accent-hover);
  --accent-muted: var(--light-accent-muted);
  --border: var(--light-border);
  --card: var(--light-card);
  --shadow: var(--light-shadow);
  --shadow-sm: var(--light-shadow-sm);
  --shadow-lg: var(--light-shadow-lg);
  
  /* Other variables */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --nav-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
  --section-padding: 100px 0;
}

/* Dark theme class */
html[data-theme="dark"] {
  --bg: var(--dark-bg);
  --bg-alt: var(--dark-bg-alt);
  --text: var(--dark-text);
  --text-muted: var(--dark-text-muted);
  --accent: var(--dark-accent);
  --accent-hover: var(--dark-accent-hover);
  --accent-muted: var(--dark-accent-muted);
  --border: var(--dark-border);
  --card: var(--dark-card);
  --shadow: var(--dark-shadow);
  --shadow-sm: var(--dark-shadow-sm);
  --shadow-lg: var(--dark-shadow-lg);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: color 0.3s;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn i {
  font-size: 0.9em;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.btn-secondary {
  background-color: var(--accent-muted);
  color: var(--accent);
}

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

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--bg);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

.right-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

#theme-toggle:hover {
  background-color: var(--accent-muted);
  color: var(--accent);
}

/* Show/hide sun and moon icons based on theme */
html[data-theme="light"] .fa-sun {
  display: none;
}

html[data-theme="dark"] .fa-moon {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.greeting {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.name {
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.hero .title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text);
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-muted);
  color: var(--accent);
  font-size: 1.2rem;
  transition: var(--transition);
}

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

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

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

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.blob {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
  animation: blob-animation 8s ease-in-out infinite;
}

@keyframes blob-animation {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
  }
  75% {
    border-radius: 30% 70% 70% 30% / 70% 50% 50% 30%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text);
  border-radius: 20px;
  position: relative;
}

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

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--text);
  border-right: 2px solid var(--text);
  transform: rotate(45deg);
  animation: arrows 2s infinite;
  opacity: 0;
}

.arrows span:nth-child(1) {
  animation-delay: 0s;
}

.arrows span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrows {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* About section */
.about-content {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.about-text {
  flex: 3;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text);
}

.about-stats {
  flex: 2;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
  padding: 0 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.about-cta {
  margin-top: 30px;
}

/* Skills section */
.skills-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.skill-category {
  background-color: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title::after {
  content: '';
  display: block;
  height: 3px;
  flex-grow: 1;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 3px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.skill-item {
  text-align: center;
  padding: 20px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  background-color: var(--accent-muted);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.skill-name {
  font-weight: 600;
  color: var(--text);
}

/* Projects section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  background-color: var(--bg-alt);
  color: var(--text);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.project-link:hover {
  background-color: white;
  color: var(--accent);
  transform: translateY(-3px);
}

.project-info {
  padding: 25px;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.project-description {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 10px;
  background-color: var(--accent-muted);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.projects-cta {
  text-align: center;
}

/* Contact section */
.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-details {
  flex: 1;
}

.contact-details h3 {
  margin-bottom: 5px;
  color: var(--text);
}

.contact-details p,
.contact-details a {
  color: var(--text-muted);
}

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

.social-links-large {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-muted);
  color: var(--accent);
  font-size: 1.3rem;
  transition: var(--transition);
}

.social-links-large a:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.contact-form-container {
  flex: 1;
  background-color: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-submit {
  align-self: flex-start;
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: var(--bg-alt);
  padding: 60px 0 30px;
  position: relative;
}

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

.footer-logo a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.footer-nav ul {
  display: flex;
  gap: 30px;
}

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

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

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.designer i {
  color: #e25555;
}

#back-to-top {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-5px);
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .image-container {
    width: 300px;
    height: 300px;
  }
  
  .about-content {
    gap: 3rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content, .hero-image {
    flex: none;
  }
  
  .hero-cta, .social-links {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-stats {
    padding: 20px;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .image-container {
    width: 250px;
    height: 250px;
  }
  
  .skill-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--card);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .hamburger {
    display: flex;
    z-index: 1000;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .title {
    font-size: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .image-container {
    width: 200px;
    height: 200px;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .project-filters {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
  }
}
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--accent-muted);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--accent);
  border: 4px solid var(--card);
  top: 22px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  position: absolute;
  width: 170px;
  text-align: right;
  right: -200px;
  top: 22px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -200px;
  text-align: left;
}

.timeline-content {
  padding: 25px;
  background-color: var(--card);
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.3rem;
}

.timeline-content h4 {
  margin-top: 5px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

.timeline-content p {
  margin-bottom: 15px;
}

.skills-used {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.skills-used span {
  padding: 5px 10px;
  background-color: var(--accent-muted);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Education Section */
.education-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.education-item {
  display: flex;
  gap: 20px;
  background-color: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.education-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.education-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.education-details {
  flex: 1;
}

.education-details h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 1.2rem;
}

.education-details h4 {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.education-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Certifications Section */
.certifications-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.certification-item {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  gap: 20px;
  background-color: var(--card);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.certification-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.certification-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.certification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--accent-muted);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.3rem;
}

.certification-details {
  flex: 1;
}

.certification-details h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.1rem;
}

.certification-details h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Form success message */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 40px 20px;
  animation: fadeIn 0.5s;
  text-align: center;
}

.form-success i {
  font-size: 3rem;
  color: #4caf50;
}

.form-success p {
  font-size: 1.1rem;
  color: var(--text);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* User info display */
.user-info {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background-color: var(--bg-alt);
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 100;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.user-info:hover {
  opacity: 1;
}

/* Responsive adjustments for timeline */
@media (max-width: 992px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 21px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
  }
  
  .timeline-date {
    position: relative;
    width: auto;
    right: auto;
    left: auto;
    top: auto;
    text-align: left;
    margin-bottom: 10px;
  }
  
  .timeline-item:nth-child(even) .timeline-date {
    left: auto;
    text-align: left;
  }
  
  .certifications-content {
    flex-direction: column;
    align-items: center;
  }
  
  .certification-item {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline::after {
    left: 21px;
  }
  
  .timeline-dot {
    left: 11px;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
  }
  
  .education-item,
  .certification-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .education-icon,
  .certification-icon {
    margin-bottom: 15px;
  }
}

.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--accent-muted);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--accent);
  border: 4px solid var(--card);
  top: 22px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  position: absolute;
  width: 170px;
  text-align: right;
  right: -200px;
  top: 22px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -200px;
  text-align: left;
}

.timeline-content {
  padding: 25px;
  background-color: var(--card);
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.3rem;
}

.timeline-content h4 {
  margin-top: 5px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

.timeline-content p {
  margin-bottom: 15px;
}

.skills-used {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.skills-used span {
  padding: 5px 10px;
  background-color: var(--accent-muted);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Education Section */
.education-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.education-item {
  display: flex;
  gap: 20px;
  background-color: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.education-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.education-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.education-details {
  flex: 1;
}

.education-details h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 1.2rem;
}

.education-details h4 {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.education-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Certifications Section */
.certifications-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.certification-item {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  gap: 20px;
  background-color: var(--card);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.certification-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.certification-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.certification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--accent-muted);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.3rem;
}

.certification-details {
  flex: 1;
}

.certification-details h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.1rem;
}

.certification-details h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contact-info {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-details {
  flex: 1;
}

.contact-details h3 {
  margin-bottom: 5px;
  color: var(--text);
}

.contact-details p,
.contact-details a {
  color: var(--text-muted);
}

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

.social-links-large {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.social-links-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-muted);
  color: var(--accent);
  font-size: 1.3rem;
  transition: var(--transition);
}

.social-links-large a:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* Responsive adjustments for timeline */
@media (max-width: 992px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 21px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
  }
  
  .timeline-date {
    position: relative;
    width: auto;
    right: auto;
    left: auto;
    top: auto;
    text-align: left;
    margin-bottom: 10px;
  }
  
  .timeline-item:nth-child(even) .timeline-date {
    left: auto;
    text-align: left;
  }
  
  .certifications-content {
    flex-direction: column;
    align-items: center;
  }
  
  .certification-item {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline::after {
    left: 21px;
  }
  
  .timeline-dot {
    left: 11px;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
  }
  
  .education-item,
  .certification-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .education-icon,
  .certification-icon {
    margin-bottom: 15px;
  }
}