/* Base Styles */
:root {
  --primary-color: #8e1863;
  --primary-dark: #6b1149;
  --primary-light: #b13e85;
  --secondary-color: #10b981;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --gray-light: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.highlight {
  color: var(--primary-color);
}

.underline {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 20px;
  position: relative;
}

.underline::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 4px;
  background: var(--secondary-color);
  top: 0;
  left: -20px;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(142, 24, 99, 0.3);
}

.primary-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 24, 99, 0.4);
}

.secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.contact-btn {
  background: var(--primary-color);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(142, 24, 99, 0.3);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 20px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray-color);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero-image {
  position: relative;
  width: 500px;
  height: 500px;
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
  top: 50px;
  right: 50px;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--secondary-color), #34d399);
  bottom: 50px;
  right: 150px;
  animation: float 8s ease-in-out infinite;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  top: 150px;
  right: 250px;
  animation: float 7s ease-in-out infinite;
}

.tech-illustration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.circle-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(142, 24, 99, 0.2);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite 0.3s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite 0.6s;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 25px;
  color: var(--gray-color);
}

.about-image {
  flex: 1;
  position: relative;
}

.image-container {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 20px;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.fe-1 {
  width: 100px;
  height: 100px;
  top: 50px;
  left: 50px;
  animation: float 6s ease-in-out infinite;
}

.fe-2 {
  width: 150px;
  height: 150px;
  bottom: 50px;
  right: 50px;
  animation: float 8s ease-in-out infinite;
}

.fe-3 {
  width: 80px;
  height: 80px;
  top: 150px;
  right: 100px;
  animation: float 7s ease-in-out infinite;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-color);
}

/* Skills Section (formerly Services) */
.services {
  padding: 100px 0;
  background-color: #f8fafc;
}

.services-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.services-filter .filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.services-filter .filter-btn.active,
.services-filter .filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: absolute;
  top: -30px;
  left: 30px;
  box-shadow: 0 5px 15px rgba(142, 24, 99, 0.3);
}

.service-icon i {
  font-size: 24px;
  color: white;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

.service-content p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 25px;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--gray-color);
}

.service-features li i {
  color: var(--success-color);
  margin-right: 10px;
  font-size: 14px;
}

.service-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Responsive adjustments for services section */
@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-filter {
    flex-direction: column;
    align-items: center;
  }

  .services-filter .filter-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Experience Section (formerly Resources) */
.resources {
  padding: 100px 0;
  background-color: #f8fafc;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 15px;
  right: -10px;
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.timeline-date {
  display: inline-block;
  padding: 5px 10px;
  background: var(--primary-light);
  color: white;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.education-section {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.education-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.education-item {
  margin-bottom: 15px;
}

.education-item h4 {
  margin-bottom: 5px;
}

.education-item p {
  color: var(--gray-color);
}

/* Vision Section */
.vision-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.vision-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray-color);
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background-color: white;
}

.project-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: white;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(142, 24, 99, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-card:hover .project-link {
  transform: translateY(0);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--gray-color);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span {
  padding: 5px 10px;
  background: var(--gray-light);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gray-color);
}

.view-more-container {
  text-align: center;
  margin-top: 50px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: white;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--gray-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(142, 24, 99, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column {
  min-width: 150px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 15px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: all 1s ease;
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
  opacity: 1;
  transform: translate(0);
}

/* Services I Offer Section */
.services-section {
  padding: 100px 0;
  background-color: white;
}

.services-offered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-offered-card {
  background-color: #f8fafc;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.service-offered-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-offered-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-offered-icon i {
  font-size: 32px;
  color: white;
}

.service-offered-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-offered-card p {
  color: var(--gray-color);
}

/* Hobbies Section */
.hobbies-section {
  padding: 100px 0;
  background-color: #f8fafc;
}

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.hobby-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.hobby-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hobby-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.hobby-icon i {
  font-size: 32px;
  color: white;
}

.hobby-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.hobby-card p {
  color: var(--gray-color);
}

/* Responsive adjustments for new sections */
@media screen and (max-width: 768px) {
  .services-offered-grid,
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 150px 20px 100px;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content,
  .contact-content {
    flex-direction: column;
  }

  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  /* Timeline responsive */
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 20px;
    right: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 20px;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .project-filter {
    flex-direction: column;
  }
}
