/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: rgb(251, 87, 69);
  --secondary-color: #1a1a1a;
  --text-color: #f0f0f0;
  --dark-bg: #121212;
  --card-bg: #1e1e1e;
  --gradient: rgb(251, 87, 69);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  font-family: Georgia, "Times New Roman", Times, serif;
  min-height: 100vh;
  width: 100%;
}

section {
  min-height: 100vh;
  padding: 100px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3 {
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 50px;
  text-align: center;
}

.section-title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
}

.red-text {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-small {
  display: inline-block;
  padding: 9px 24px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 10px;
}

.btn-small:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  z-index: -1;
}

.btn-small:hover:before {
  width: 100%;
}

/* Toast message styling */
.toast {
  visibility: hidden;
  min-width: 300px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 16px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 1.2rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.3s ease;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Header */
header {
  position: fixed;
  top: 10;
  left: 0;
  width: 100%;
  padding: 40px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  /* backdrop-filter: blur(10px); */
}

header.sticky {
  padding: 15px 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: inherit;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Beau Rivage";
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
}

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

/* .nav-links a:hover,
.nav-links a.active {
    color: green;
} */

#hamburger,
.close-sidebar {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Background Elements */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: #323334 !important;
  border-radius: 50%;
  /* opacity: 0.7; */
  box-shadow: 0 0 10px rgba(173, 216, 230, 0.6),
    inset -2px -2px 6px rgba(255, 255, 255, 0.3) !important;
  border-radius: 50%;
  opacity: 0.1 !important;
  animation: float 15s infinite linear;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 77, 90, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 77, 90, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.glow-effect {
  position: fixed;
  width: 40vw;
  height: 40vh;
  background: radial-gradient(
    circle,
    rgba(255, 77, 90, 0.15) 0%,
    rgba(255, 77, 90, 0.05) 30%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: moveGlow 20s infinite alternate ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.corner-accent {
  position: fixed;
  width: 150px;
  height: 150px;
  border: 2px solid var(--primary-color);
  z-index: 1;
  pointer-events: none;
}

.top-left {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  33% {
    transform: translateY(-100px) translateX(100px) rotate(120deg);
  }

  66% {
    transform: translateY(100px) translateX(-100px) rotate(240deg);
  }

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

@keyframes moveGlow {
  0% {
    top: 20%;
    left: 20%;
  }

  25% {
    top: 60%;
    left: 30%;
  }

  50% {
    top: 40%;
    left: 60%;
  }

  75% {
    top: 70%;
    left: 50%;
  }

  100% {
    top: 30%;
    left: 70%;
  }
}

/* Settings */
.settings {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.settings-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.settings-btn:hover {
  transform: scale(1.2);
}

.rotate {
  animation: rotate 2s linear infinite;
}

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

  to {
    transform: rotate(360deg);
  }
}

.color-options {
  position: absolute;
  right: 50px;
  padding: 10px;
  background: var(--card-bg);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
}

.color-circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.color-circle:hover {
  transform: scale(1.2);
}

.color-circle.red {
  background-color: #ff5733;
}

.color-circle.green {
  background-color: #27ae60;
}

.color-circle.blue {
  background-color: #2980b9;
}

.color-circle.pink {
  background-color: #e91e63;
}

.color-circle.purple {
  background-color: #9b59b6;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.profession-text {
  color: var(--primary-color);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 50px;
  background: var(--primary-color);
  margin-left: 8px;
  animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
}

.image-container {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  /* background: var(--gradient); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 77, 90, 0.3);
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 70% 30% 30% 70% / 70% 30% 70% 30%;
  }

  50% {
    border-radius: 30% 70% 70% 30% / 70% 70% 30% 30%;
  }

  75% {
    border-radius: 70% 30% 30% 70% / 30% 70% 30% 70%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-icons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.tech-icon {
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.tech-icon:hover {
  transform: translateY(-5px);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.profession {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.about-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.personal-info {
  margin-top: 30px;
}

.personal-info h3,
.skills h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.info-grid p {
  margin-bottom: 5px;
  border: 3px solid var(--card-bg);
  padding: 5px 10px;
  border-radius: 5px;
}

.info-grid p strong {
  color: var(--primary-color) !important;
}

.skills {
  margin-top: 30px;
}

.skill {
  margin-bottom: 20px;
}

.skills h3 {
  color: var(--primary-color);
}

.skill p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.buttons a {
  color: white;
  text-decoration: none;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
}

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

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  left: 13px;
  top: 5px;
}

.timeline-content {
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 77, 90, 0.1);
}

.date {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.study {
  display: flex;
  justify-content: space-between;
  margin-right: 20px;
}

.study a {
  color: inherit;
  text-decoration: none;
}

.degree {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-box {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-box:hover {
  transform: translateY(-10px);
}

.service-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Process Section Styles */
.process-section {
  margin-top: 100px;
}

.process-section h2 {
  font-size: 2rem;
}

.process-section p {
  font-size: 1.8rem;
}

.process-steps {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  flex: 1;
  min-width: 200px;
  padding: 0 20px;
  text-align: center;
  position: relative;
  margin-bottom: 60px;
}

.step-number {
  background: var(--gradient);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
  transition: transform 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgba(var(--primary-rgb), 0.2);
  z-index: 1;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 600;
}

.step-desc {
  color: var(--text-color);
  font-size: 0.95rem;
  opacity: 0.8;
}

/* FAQ Section Styles */
.faq-section {
  margin-top: 100px;
}

.faq-section h2 {
  font-size: 2rem;
}

.faq-section p {
  font-size: 1.8rem;
}

.faq-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

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

.faq-question {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-color);
  opacity: 0.8;
}

.faq-answer p {
  font-size: 1rem;
}

/* CTA Section Styles */
.cta-section {
  background-color: var(--card-bg);
  color: white;
  text-align: center;
  padding: 20px 10px !important;
  margin-top: 50px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  opacity: 0.5;
  z-index: -1;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  color: var(--primary-color);
}

.cta-section p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  opacity: 0.9;
  color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    margin-bottom: 40px;
  }

  .faq-items {
    grid-template-columns: 1fr;
  }
}

/*  Projects Section Styling */
.projects {
  position: relative;
  padding-bottom: 120px;
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

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

.filter-btn:hover {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: var(--gradient);
  color: white;
}

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

.project-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.project-img {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

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

.project-category {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 5px 15px;
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
  width: fit-content;
  margin-bottom: 10px;
}

.project-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.project-desc {
  margin-bottom: 20px;
  /* color: rgba(255, 255, 255, 0.8); */
  line-height: 1.6;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  padding: 4px 10px;
  background: rgba(255, 77, 90, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bolder;
}

.project-tech span:hover {
  font-size: 1rem;
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.project-link {
  padding: 8px 10px;
  background: rgba(255, 77, 90, 0.1);
  color: var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-link:hover {
  background: var(--primary-color);
  color: white;
}

.projects-pagination {
  text-align: center;
  margin-top: 50px;
}

/* Timeline container */
.exp-timeline {
  position: relative;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 15px;
}

/* Center line */
.exp-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ff4d5a, #9945db);
  left: 30px;
  border-radius: 3px;
}

/* Timeline item */
.exp-timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
  padding-left: 45px;
}

/* Timeline dot */
.exp-timeline-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff4d5a;
  left: 17px;
  top: 20px;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 77, 90, 0.2);
}

/* Gradient badge for dates */
.exp-timeline-date {
  display: inline-block;
  background: linear-gradient(to right, #ff4d5a, #9945db);
  color: white;
  padding: 6px 14px !important;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  width: fit-content !important;
}

/* The actual timeline content box */
.exp-timeline-content {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color);
}

.exp-timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Content style */
.exp-timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary-color);
  font-weight: 600;
}

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

.exp-timeline-content p {
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Tech tags */
.exp-timeline-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.exp-timeline-tech-tags span {
  padding: 4px 10px;
  background: rgba(255, 77, 90, 0.15);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bolder;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.exp-timeline-tech-tags span:hover {
  background: rgba(255, 77, 90, 0.25);
  font-size: 1rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.exp-timeline-item {
  animation: fadeIn 0.5s ease forwards;
}

.exp-timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.exp-timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.exp-timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
  .exp-timeline::before {
    left: 50px;
  }

  .exp-timeline-item {
    padding-left: 65px;
  }

  .exp-timeline-dot {
    left: 40px;
    width: 22px;
    height: 22px;
  }

  .exp-timeline-content {
    padding: 25px;
  }

  .exp-timeline-date {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .exp-timeline-content h3 {
    font-size: 1.4rem;
  }

  .exp-timeline-content h4 {
    font-size: 1.1rem;
  }
}

/* Desktop styles */
@media (min-width: 1025px) {
  .exp-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .exp-timeline-item {
    padding-left: 0;
    display: flex;
    justify-content: center;
  }

  .exp-timeline-item:nth-child(odd) .exp-timeline-content-wrapper {
    width: 50%;
    padding-right: 50px;
    text-align: right;
  }

  .exp-timeline-item:nth-child(even) .exp-timeline-content-wrapper {
    width: 50%;
    padding-left: 50px;
    text-align: left;
  }

  .exp-timeline-dot {
    left: 50%;
    top: 30px;
    width: 25px;
    height: 25px;
  }

  .exp-timeline-item:nth-child(odd) .exp-timeline-tech-tags {
    justify-content: flex-end;
  }

  .exp-timeline-content {
    max-width: 90%;
  }

  .exp-timeline-item:nth-child(odd) .exp-timeline-content {
    margin-left: auto;
  }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  .exp-timeline-content {
    background: rgba(30, 30, 30, 0.9);
  }

  .exp-timeline-content p {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Fullscreen Modal Styles */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.fullscreen-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-modal-content {
  position: relative;
  width: 70%;
  height: 70%;
  max-width: 1200px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #ddd;
}

.video-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Reset and simplify the modal structure */
.fullscreen-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Video container - direct child of modal */
.video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: #000;
}

/* Actual video element */
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Close button */
.close-modal {
  position: absolute;
  top: 70px;
  right: 300px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

/* Fullscreen Notification Styles */
.fullscreen-notification {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-notification.show {
  opacity: 1;
  visibility: visible;
}

.notification-content {
  background-color: #333;
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  max-width: 80%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Animation for notification */
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.notification-animate {
  animation: fadeInOut 3s ease forwards;
}

/* Responsive Design for Experience and Projects */
@media screen and (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .close-modal {
    right: 150px;
    top: 250px;
  }
}

@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-filter {
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: flex-start;
  }

  .close-modal {
    right: 80px;
    top: 320px;
  }
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}

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

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  /* color: rgba(255, 255, 255, 0.7); */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
}

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

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

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

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 15px;
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  resize: none;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
  align-self: center;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

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

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

/* Footer */
footer {
  /* background-color: var(--primary-color); */
  padding: 30px 0;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.footer-content p {
  margin-top: 10px;
  margin-left: -200px;
  /* color: rgba(255, 255, 255, 0.7); */
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 50px;
  }

  .hero-text h1 {
    font-size: x-large;
  }

  .hero-text h2 {
    justify-content: center;
    font-size: x-large;
  }

  .hero-text p {
    margin: 0 auto 30px;
  }

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

  .tech-icons {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    /* Single column for tablets */
    gap: 25px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  header {
    padding: 30px 30px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    padding-top: 5rem;
    height: 100vh;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    transition: var(--transition);
    z-index: 1001;
  }

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

  .nav-links li {
    margin: 15px 0;
  }

  #hamburger,
  .close-sidebar {
    display: block;
  }

  .close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
  }

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

  .settings {
    top: auto;
    bottom: 30px;
    right: 30px;
    flex-direction: row;
  }

  .settings-btn {
    margin: 0 5px;
  }

  .color-options {
    right: 10px;
    bottom: 50px;
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
    /* Single column for mobile */
    gap: 20px;
  }

  .study {
    display: flex;
    flex-direction: column;
  }

  .study h3{
    font-size: medium;
  }

  .study a{
    height: 40px;
    font-size: medium;
  }

  .footer-content{
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .footer-content p{
    text-align: center;
    margin: 0 30px;
  }

}
/* =========================================================== */