/* Base Styles */
:root {
  --primary-color: #33C3F0;
  --secondary-color: #1EAEDB;
  --bg-dark: #0B0E18;
  --bg-light: #1A1F2C;
  --text-light: #FFFFFF;
  --text-muted: #8E9196;
  --accent: #FF4081;
  --border-radius: 5px;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 15px;
}

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

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

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: 30px;
}

.highlight {
  color: var(--primary-color);
}

.orbital-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 0 auto;
  position: relative;
}

.orbital-line::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: -3px;
  left: 45px;
  box-shadow: 0 0 15px var(--primary-color);
  animation: orbit 3s infinite linear;
}

@keyframes orbit {
  0% { transform: translateX(-20px); }
  50% { transform: translateX(20px); }
  100% { transform: translateX(-20px); }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  box-shadow: 0 5px 15px rgba(51, 195, 240, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 7px 20px rgba(51, 195, 240, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.btn-outline::before {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
}

.btn-outline:hover::before {
  opacity: 1;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background-color: rgba(11, 14, 24, 0.8);
  backdrop-filter: blur(10px);
}

#navbar.scrolled {
  padding: 15px 0;
  background-color: rgba(11, 14, 24, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

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

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  position: relative;
  padding: 5px 0;
  font-weight: 600;
  font-size: 16px;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
  padding-top: 80px;
}

#stars, #stars2, #stars3 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 10px;
  animation: fadeInUp 1s ease-out;
}

.hero h5 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.cta-buttons {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

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

/* Star animation */
#stars {
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 800 800"><g fill="rgba(255, 255, 255, 0.5)"><circle cx="400" cy="400" r="1"/><circle cx="200" cy="200" r="1"/><circle cx="300" cy="100" r="1"/><circle cx="500" cy="150" r="1"/><circle cx="700" cy="250" r="1"/><circle cx="650" cy="50" r="1"/><circle cx="150" cy="350" r="1"/><circle cx="250" cy="450" r="1"/><circle cx="550" cy="350" r="1"/><circle cx="650" cy="450" r="1"/><circle cx="370" cy="600" r="1"/><circle cx="480" cy="700" r="1"/><circle cx="125" cy="700" r="1"/><circle cx="330" cy="750" r="1"/><circle cx="730" cy="750" r="1"/><circle cx="50" cy="50" r="1"/><circle cx="50" cy="200" r="1"/><circle cx="50" cy="500" r="1"/><circle cx="780" cy="600" r="1"/><circle cx="750" cy="300" r="1"/></g></svg>') repeat;
  animation: animateStars 150s linear infinite;
}

#stars2 {
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 800 800"><g fill="rgba(255, 255, 255, 0.4)"><circle cx="100" cy="150" r="2"/><circle cx="300" cy="250" r="2"/><circle cx="500" cy="100" r="2"/><circle cx="700" cy="200" r="2"/><circle cx="100" cy="350" r="2"/><circle cx="200" cy="450" r="2"/><circle cx="500" cy="450" r="2"/><circle cx="700" cy="550" r="2"/><circle cx="300" cy="650" r="2"/><circle cx="680" cy="650" r="2"/><circle cx="180" cy="750" r="2"/><circle cx="450" cy="750" r="2"/></g></svg>') repeat;
  animation: animateStars 100s linear infinite;
}

#stars3 {
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 800 800"><g fill="rgba(255, 255, 255, 0.3)"><circle cx="200" cy="100" r="3"/><circle cx="500" cy="50" r="3"/><circle cx="700" cy="150" r="3"/><circle cx="100" cy="300" r="3"/><circle cx="300" cy="350" r="3"/><circle cx="600" cy="400" r="3"/><circle cx="750" cy="550" r="3"/><circle cx="250" cy="600" r="3"/><circle cx="450" cy="650" r="3"/><circle cx="650" cy="750" r="3"/><circle cx="150" cy="750" r="3"/></g></svg>') repeat;
  animation: animateStars 50s linear infinite;
}

@keyframes animateStars {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 5000px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 2s ease-out 1s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  position: relative;
}

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

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

.arrow-down {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  margin-top: 10px;
  animation: arrow 2s infinite;
}

@keyframes arrow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
}

/* About Section */
.about-section {
  padding: 22px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

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

.image-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: var(--box-shadow);
}

.image-orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed var(--primary-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: rotate 20s linear infinite;
}

.image-orbit::before,
.image-orbit::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
}

.image-orbit::before {
  top: -10px;
  left: calc(50% - 10px);
  animation: pulse 3s infinite;
}

.image-orbit::after {
  bottom: -10px;
  left: calc(50% - 10px);
  animation: pulse 3s infinite 1.5s;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.about-text {
  flex: 1;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.tech-category {
  flex: 1;
  min-width: 160px;
  background-color: rgba(26, 31, 44, 0.5);
  padding: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 3px solid var(--primary-color);
}

.tech-category h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tech-category ul {
  list-style-type: none;
}

.tech-category li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 15px;
}

.tech-category li::before {
  content: "⦿";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.download-btn {
  margin-left: 0 !important;
}

/* Projects Section */
.projects-section {
  padding: 22px 0;
  background-color: var(--bg-dark);
}

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


/* Responsive layout for smaller screens */
@media (max-width: 600px) {
  .projects-filter {
    flex-direction: column;
    gap:15px;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 300px; /* Optional: limit max button width */
    text-align: center;
  }
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  margin: 0 15px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

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

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-light);
}

.filter-btn:hover::after,
.filter-btn.active::after {
  width: 100%;
}

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

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

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

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

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 14, 24, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

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

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

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

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

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  background-color: rgba(51, 195, 240, 0.1);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Skills Section */
.skills-section {
  padding: 22px 0;
  background-color: var(--bg-light);
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-category {
  margin-bottom: 20px;
}

.skill-category h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.skill-category h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  
  gap: 15px;
}


.skill-icon {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.skill-item {
  display: flex;
  align-items: center;
  background-color: #1e1f2b; /* Matches dark background */
  padding: 8px 12px;
  border: 1px solid #2f2f3d; /* Soft border */
  border-radius: 12px; /* Rounded rectangle */
  margin: 6px 0;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.skill-item:hover {
  background-color: #2a2b3d;
}

.skill-circle {
  width: 10px;
  height: 10px;
  background-color: #00bfff; /* Light blue glow */
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 8px #00bfff;
}

.skill-name {
  font-weight: 600;
  color: white;
}

.skill-bar {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 3px;
  position: relative;
  animation: fillBar 2s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes fillBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Contact Section */
.contact-section {
  padding: 22px 0;
  background-color: var(--bg-dark);
  position: relative;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.contact-info, 
.contact-form {
  flex: 1;
  min-width: 300px;
}

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

.contact-methods {
  margin: 40px 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  background-color: rgba(51, 195, 240, 0.1);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-detail p {
  color: var(--text-muted);
}

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

.social-link {
  padding: 8px 15px;
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--primary-color);
  background-color: rgba(51, 195, 240, 0.1);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: rgba(11, 14, 24, 0.5);
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius);
  color: var(--text-light);
  font-family: 'Open Sans', sans-serif;
  position: relative;
  z-index: 1;
}

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: 2;
}

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

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
  width: 100%;
}

.submit-btn {
  width: 100%;
}

/* Experience Section */
.experience-section {
  padding: 22px 0;
  background-color: var(--bg-dark);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 20px;
}

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

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 100%;
  padding-left: 80px;
  padding-right: 20px;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
  text-align: left;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  left: 30px;
  top: 24px;
  box-shadow: 0 0 10px var(--primary-color);
  z-index: 2;
}

.timeline-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 5px 15px;
  background-color: rgba(51, 195, 240, 0.1);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  display: inline-block;
  color: var(--primary-color);
}

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

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.timeline-tags span {
  background-color: rgba(51, 195, 240, 0.1);
  color: var(--primary-color);
  padding: 4px 8px;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

#footer-stars {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 800 800"><g fill="rgba(255, 255, 255, 0.5)"><circle cx="400" cy="400" r="1"/><circle cx="200" cy="200" r="1"/><circle cx="300" cy="100" r="1"/><circle cx="500" cy="150" r="1"/><circle cx="700" cy="250" r="1"/><circle cx="650" cy="50" r="1"/><circle cx="150" cy="350" r="1"/><circle cx="250" cy="450" r="1"/><circle cx="550" cy="350" r="1"/><circle cx="650" cy="450" r="1"/><circle cx="370" cy="600" r="1"/><circle cx="480" cy="700" r="1"/><circle cx="125" cy="700" r="1"/><circle cx="330" cy="750" r="1"/><circle cx="730" cy="750" r="1"/><circle cx="50" cy="50" r="1"/><circle cx="50" cy="200" r="1"/><circle cx="50" cy="500" r="1"/><circle cx="780" cy="600" r="1"/><circle cx="750" cy="300" r="1"/></g></svg>') repeat;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 1rem;
  }

  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    max-width: 100%;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
  }
  
  .timeline-item:nth-child(odd) {
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot {
    right: auto;
    left: 30px;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 30px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
}

@media (max-width: 360px) {
  /* Styles for Galaxy S8+ and similar devices */
  h1 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 0.8rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
  }

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

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

  .hamburger {
    display: block;
    z-index: 1000;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .tech-stack {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }

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

  .footer-links {
    justify-content: center;
    margin-top: 20px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn-outline {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 0.75rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

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