:root {
  --primary: #9b87f5;
  --primary-dark: #7E69AB;
  --primary-light: #E5DEFF;
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #8E9196;
  --light-gray: #F6F6F7;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
}

section {
  padding: 100px 0;
  position: relative;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
}

.title-line {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 20px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

/* Alternate section background */
.about-section, .experience-section, .testimonials-section {
  background-color: var(--light-gray);
}

/* Header */
#header {
  padding: 20px 0;
  transition: var(--transition);
  z-index: 999;
}

#header.scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  font-weight: 500;
  padding: 10px 0;
  margin: 0 15px;
  position: relative;
}

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

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

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

.btn-hire {
  background-color: var(--primary);
  color: var(--light);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-hire:hover {
  background-color: var(--primary-dark);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

#mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px; /* Fixed width for mobile menu */
  max-width: 80%; /* Maximum width */
  height: 100vh;
  background: var(--light);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  height: 100%;
  width: 100%;
  padding: 80px 20px 30px;
  display: flex;
  flex-direction: column;
}

.mobile-menu .nav-link {
  display: block;
  font-size: 1rem;
  padding: 12px 0;
  margin: 0;
  color: var(--dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

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

.mobile-menu .btn-hire {
  margin-top: 1rem;
  text-align: center;
  padding: 10px;
}

/* Add backdrop when menu is active */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  border-radius: 50%;
  z-index: -1;
  filter: blur(100px);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: rgba(135, 206, 250, 0.1);
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
}

.hero-section .subtitle {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-section h2 {
  font-size: 1.5rem;
  color: var(--gray);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-section .description {
  max-width: 600px;
  margin-bottom: 30px;
}

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

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  border: 2px solid var(--gray);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--gray);
  color: var(--light);
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  font-size: 1.2rem;
  color: var(--gray);
  transition: var(--transition);
}

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

.profile-image-container {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.profile-image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.profile-image {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--light);
  box-shadow: var(--shadow);
  margin: 0 auto;
  display: block;
  animation: float 5s ease-in-out infinite;
}

.profile-icon {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  z-index: 3;
}

/* About Section */
.about-image {
  position: relative;
}

.about-image-border {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary);
  border-radius: 10px;
  z-index: 1;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.about-section h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.about-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

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

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

.skill-item {
  background-color: var(--light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.skill-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.skill-item h3 {
  font-size: 1rem;
  text-align: center;
}

.skill-item .skill-bar {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.skill-item .skill-progress {
  height: 100%;
  background-color: var(--primary);
  border-radius: 3px;
}

.skills-box {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  height: 100%;
}

.skills-box h3 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.skills-box ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.skills-box ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.skills-box ul li i {
  color: var(--primary);
  margin-right: 10px;
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  border: 4px solid var(--light);
  border-radius: 50%;
  top: 15px;
  z-index: 2;
  box-shadow: var(--shadow);
}

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

.timeline-item:nth-child(odd)::after {
  right: -14px;
}

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

.timeline-item:nth-child(even)::after {
  left: -14px;
}

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

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

.date {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.timeline-content h4 {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 15px;
}

.education-item {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Projects Section */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--light-gray);
  color: var(--dark);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: var(--shadow);
}

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

.project-item {
  background-color: var(--light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(155, 135, 245, 0.1);
  position: relative;
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.project-header {
  padding: 25px 25px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--primary-light), rgba(255, 255, 255, 0.8));
}

.project-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(155, 135, 245, 0.3);
}

.project-category {
  background-color: var(--light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-content {
  padding: 20px 25px 25px;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.project-content p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.project-tag {
  background-color: var(--light-gray);
  color: var(--dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(155, 135, 245, 0.2);
}

.project-actions {
  display: flex;
  justify-content: flex-end;
}

.project-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--light);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
}

.project-link:hover {
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 135, 245, 0.4);
}

.project-link i {
  font-size: 0.8rem;
}

.github-link {
  background-color: #24292e;
  color: var(--light);
  padding: 12px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  transition: var(--transition);
}

.github-link:hover {
  background-color: #000;
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.testimonial-quotes i {
  position: absolute;
  font-size: 4rem;
  color: var(--primary-light);
  z-index: 1;
}

.testimonial-quotes .fa-quote-left {
  top: 0;
  left: 0;
}

.testimonial-quotes .fa-quote-right {
  bottom: 85px;
  right: 0;
}

.testimonials-container {
  position: relative;
  height: 350px;
  margin-bottom: 20px;
}

.testimonial-item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  background-color: var(--light);
  padding: 35px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--primary-light);
  position: relative;
  overflow: hidden;
}

.testimonial-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(155, 135, 245, 0.3);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.testimonial-rating i {
  color: #ffd700;
  font-size: 1rem;
}

.testimonial-body {
  text-align: left;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: var(--gray);
  position: relative;
  z-index: 2;
}

.testimonial-author {
  border-top: 1px solid var(--light-gray);
  padding-top: 20px;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 1.2rem;
}

.testimonial-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-role {
  font-weight: 500;
  color: var(--primary);
  font-size: 0.95rem;
}

.testimonial-company {
  color: var(--gray);
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 20px 0;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(155, 135, 245, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.testimonial-dot:hover {
  background-color: rgba(155, 135, 245, 0.6);
  transform: scale(1.1);
}

.testimonial-dot.active {
  width: 30px;
  height: 12px;
  border-radius: 6px;
  background-color: var(--primary);
}

.upwork-badge {
  max-width: 400px;
  margin: 50px auto 0;
}

.upwork-badge a {
  display: block;
  background-color: var(--light);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--dark);
}

.upwork-badge a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.upwork-badge-content {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.upwork-badge i {
  font-size: 2.5rem;
  color: #6FDA44;
}

.upwork-badge h4 {
  margin-bottom: 0;
}

.upwork-badge p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* Contact Section */
.contact-info {
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 5px;
}

.contact-info-item a {
  color: var(--gray);
}

.contact-info-item a:hover {
  color: var(--primary);
}

.social-links {
  margin-top: 30px;
}

.social-links h4 {
  margin-bottom: 15px;
}

.social-links .social-icons a {
  width: 40px;
  height: 40px;
  background-color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  color: var(--dark);
}

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

/* Contact CTA Section */
.contact-cta {
  background-color: var(--light);
  padding: 15px 40px 10px 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--primary-light);
}

.contact-cta .lead {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
}

.why-choose-me {
  background-color: var(--light-gray);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.feature-item {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--dark);
}

.contact-methods {
  text-align: center;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.contact-buttons .btn {
  min-width: 180px;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 25px;
  transition: var(--transition);
}

.contact-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.response-time .alert {
  border-radius: 10px;
  border: none;
  background-color: rgba(13, 202, 240, 0.1);
  color: var(--dark);
  border-left: 4px solid #0dcaf0;
}

/* Footer */
.footer {
  background-color: #222;
  color: var(--light);
  padding: 80px 0 20px;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
}

.footer p {
  color: #bbb;
  margin-bottom: 25px;
}

.footer .social-icons {
  margin-top: 20px;
}

.footer .social-icons a {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--light);
}

.footer .social-icons a:hover {
  background-color: var(--primary);
}

.footer-links, .footer-services, .footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li, .footer-services li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #bbb;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-services li {
  color: #bbb;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: #bbb;
}

.footer-contact li i {
  color: var(--primary);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--light);
  transform: translateY(-5px);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.5; }
  100% { transform: scale(1); opacity: 0.3; }
}

/* Media Queries */
@media (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd) {
    text-align: left;
  }
  
  .timeline-item:nth-child(odd)::after {
    left: 17px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(even)::after {
    left: 17px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.3rem;
  }
  
  .hero-section h2 {
    font-size: 1.3rem;
  }
  
  .profile-image-container {
    width: 280px;
    height: 280px;
    margin-top: 30px;
  }
  
  .profile-image {
    width: 230px;
    height: 230px;
  }
  
  .profile-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 10px 25px;
  }
  
  .about-image-border {
    bottom: -15px;
    right: -15px;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .profile-image-container {
    width: 240px;
    height: 240px;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
  }
  
  .about-image-border {
    bottom: -10px;
    right: -10px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .testimonial-info {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonials-container {
    height: 400px;
  }
  
  .testimonial-content {
    padding: 25px;
  }
  
  .testimonial-header {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}