:root {
  --primary: #6ad4ff;
  --secondary: #7afac8;
  --accent: #a18aff;
  --dark: #0f172a;
  --darker: #0b1120;
  --light: #e6f7ff;
  --gray: #94a3b8;
  --glow: 0 0 20px rgba(106, 212, 255, 0.4);
  --fast: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 13px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent; /* prevents scrollbar from blocking header visually */
}

::-webkit-scrollbar-track {
  background: transparent; /* transparent background */
  border-radius: 10px;
  box-shadow: none; /* remove inset if not needed */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  border: 2px solid transparent; /* keeps thumb clean */
  background-clip: padding-box;   /* ensures gradient isn't cut by border */
  transition: background 0.3s ease, border 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border: 2px solid transparent;
}


/* Container */
.container {
  width: 90%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Add these new styles to your existing CSS file */

/* Cosmic Background */
.cosmic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000 url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
  background-size: cover;
  z-index: -2;
  overflow: hidden;
}

.cosmic-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
}

/* Stars animation */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.stars::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.6"/></svg>') repeat center center;
  animation: twinkle 5s infinite ease-in-out;
}

.twinkling {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  animation: twinkle 3s infinite ease-in-out alternate;
}

@keyframes twinkle {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* Titan Planet Animation */
.titan-orbit {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  margin: 0 auto;
}

.titan-planet {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: url('https://science.nasa.gov/wp-content/uploads/2023/09/titan-moon-pia21923-800x533.jpg?w=800') no-repeat center center;
  background-size: cover;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 165, 0, 0.8);
  animation: float 6s ease-in-out infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Update the hero-image class to center the planet */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .hero-image {
    margin-top: 0;
  }
}

/* Remove the hexagon styles and replace with planet styles */
.hexagon, .hexagon-inner {
  display: none;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 212, 255, 0.1);
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

/* Navigation */
.left-icons {
  display: flex;
  gap: 1.2rem;
}

.left-icons a {
  color: var(--light);
  font-size: 1.2rem;
  opacity: 0.8;
  transition: var(--fast);
}

.left-icons a:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px var(--glow));
}

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

.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--fast);
  border-radius: 2px;
}

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

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--light);
  margin: 5px 0;
  transition: var(--slow);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(106, 212, 255, 0.05) 0%, transparent 70%);
  animation: float 15s infinite linear;
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  max-width: 700px;
  text-align: center;
}

.main-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  animation: fadeInSlide 1s ease forwards;
  opacity: 0;
}

.ai-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  animation: fadeInSlide 1.2s ease forwards;
  opacity: 0;
}

.subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--gray);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInSlide 1.4s ease forwards;
  opacity: 0;
}

/* Terminal */
.terminal {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(106, 212, 255, 0.2);
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.terminal-header {
  padding: 0.8rem 1.2rem;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(106, 212, 255, 0.1);
}

.terminal-dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-body {
  padding: 1.5rem;
  font-family: 'Fira Code', 'Courier New', monospace;
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(122, 250, 200, 0.3);
  min-height: 120px;
  line-height: 1.8;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 50px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--darker);
  box-shadow: var(--glow);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(106, 212, 255, 0.5);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.pulse {
  animation: pulse 2.5s infinite;
}

/* Sections */
section {
  padding: 0 0 150px; 
  position: relative;
  background: transparent;
  z-index: 1;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--light);
  position: relative;
  animation: fadeInSlide 0.6s ease-in-out both;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100px, 25vw);
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.4s ease;
}

/* Optional: on scroll animation trigger */
section.in-view .section-title::after {
  width: min(120px, 30vw);
}


/* Experience Section */
.experience {
  background: rgba(10, 14, 23, 0.5);
  position: relative;
  overflow: hidden;
}

.experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
  z-index: -1;
}

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

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 10px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

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

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

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

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

.timeline-item:nth-child(even)::after {
  left: -10px;
}
@media screen and (max-width: 767px) {
  .timeline::after {
    left: 20px; /* Move vertical line to left side on mobile */
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px; /* Push content away from the vertical line */
    padding-right: 20px;
    left: 0 !important;
  }

  .timeline-item::after {
    left: 20px; /* Position the dot over the vertical line */
    right: auto;
    top: 20px;
    transform: translateX(-50%);
  }
}



.timeline-content {
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
}

.timeline-date {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

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

.timeline-content ul {
  padding-left: 20px;
}

.timeline-content li {
  color: var(--light);
  margin-bottom: 8px;
  font-size: 0.9rem;
  position: relative;
}

.timeline-content li::before {
  color: var(--secondary);
  position: absolute;
  left: -20px;
}


/* Projects Section */
.projects {
  background: rgba(11, 17, 32, 0.6);
}

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

.project-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(106, 212, 255, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(106, 212, 255, 0.2);
}

.project-image {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(135deg, rgba(106, 212, 255, 0.05), rgba(122, 250, 200, 0.05));
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}


.project-info {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.project-description {
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(106, 212, 255, 0.1);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  border: 1px solid rgba(106, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(106, 212, 255, 0.2);
  color: var(--light);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.modal-content {
  background-color: var(--dark);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  color: var(--light);
  box-shadow: var(--glow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--light);
  cursor: pointer;
}

/* Project Buttons */
.project-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-buttons .btn-details,
.project-buttons .btn-github {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all var(--fast);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(106, 212, 255, 0.15);
}

.btn-details {
  background: var(--primary);
  color: var(--dark);
}

.btn-details:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-github {
  background: var(--accent);
  color: var(--dark);
}

.btn-github:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}


/* Certifications Section */
.certifications {
  position: relative;
  overflow: hidden;
}

.certifications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(106, 212, 255, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.certification-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(11, 17, 32, 0.9));
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(106, 212, 255, 0.1);
  transition: all var(--fast);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(106, 212, 255, 0.03) 0%,
    rgba(122, 250, 200, 0.02) 50%,
    transparent 100%
  );
  z-index: -1;
}

.certification-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(106, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--slow);
}

.certification-card:hover {
  transform: translateY(-8px);
  border-color: rgba(106, 212, 255, 0.3);
  box-shadow: var(--glow);
}

.certification-card:hover::after {
  opacity: 1;
  transform: scale(1.5);
}

.certification-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  text-shadow: 0 0 15px rgba(106, 212, 255, 0.4);
  transition: all var(--fast);
}

.certification-card:hover .certification-icon {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(106, 212, 255, 0.6);
}

.certification-card h3 {
  color: var(--light);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.certification-card h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  transition: width var(--fast);
}

.certification-card:hover h3::after {
  width: 80px;
}

.certification-card p {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(90deg, rgba(106, 212, 255, 0.1), rgba(122, 250, 200, 0.1));
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--fast);
  border: 1px solid rgba(106, 212, 255, 0.2);
  backdrop-filter: blur(5px);
}

.btn-small:hover {
  background: linear-gradient(90deg, rgba(106, 212, 255, 0.2), rgba(122, 250, 200, 0.2));
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(106, 212, 255, 0.2);
}

.btn-small i {
  transition: transform var(--fast);
}

.btn-small:hover i {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .certification-card {
    padding: 25px;
  }
}
/* Hobbies Section */
.hobbies {
  position: relative;
  background: rgba(11, 17, 32, 0.6);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--light);
  font-weight: 700;
}

.ai-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hobby-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--fast);
  border: 1px solid rgba(106, 212, 255, 0.1);
}

.hobby-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
  border-color: rgba(106, 212, 255, 0.3);
}

.hobby-header {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, rgba(106, 212, 255, 0.1), rgba(122, 250, 200, 0.1)) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.hobby-icon {
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(106, 212, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hobby-header h3 {
  margin: 0;
  color: var(--light);
  font-size: 1.3rem;
}

.hobby-content {
  padding: 20px;
}

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

.hobby-tag {
  background: rgba(161, 138, 255, 0.1);
  color: var(--gray);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--fast);
  border: 1px solid rgba(161, 138, 255, 0.1);
}

.hobby-tag:hover {
  background: rgba(161, 138, 255, 0.2);
  color: var(--light);
  transform: translateY(-2px);
}

.hobby-tag i {
  color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hobbies {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: rgba(11, 17, 32, 0.8);
  padding: 1.6rem 0;
  text-align: center;
  border-top: 1px solid rgba(106, 212, 255, 0.1);
  backdrop-filter: blur(5px);
}

.thank-you {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-summary {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.footer-copyright {
  color: var(--gray);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

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

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

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInSlide {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}

/* Responsive Styles */
@media (min-width: 992px) {
  .hero-text {
    text-align: left;
  }
  
  .subtitle {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* Timeline */
  .timeline::after {
    left: 25px;
    margin-left: 0;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding: 0 20px 0 70px;
    margin-bottom: 40px;
  }

  .timeline-item::after {
    left: 5px !important;
    right: auto;
  }

  .timeline-content {
    padding: 20px;
    text-align: left;
    width: 100%;
  }

  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    left: 0 !important;
  }

  /* Mobile Menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(11, 17, 32, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--slow);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(106, 212, 255, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Hero */
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
  }

  /* Grid Layouts */
  .certifications-grid,
  .hobbies-container {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-content {
    flex-direction: column;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .timeline-content {
    padding: 15px;
  }
  
  .timeline-content h3 {
    font-size: 1.1rem;
  }
  
  .timeline-content h4 {
    font-size: 0.9rem;
  }
  
  .timeline-content li {
    font-size: 0.8rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}