/* Professional carousel section title */
.carousel-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 1.2rem;
  margin-top: 0;
  line-height: 1.1;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(90deg, #e3f0ff 0%, #fafdff 100%);
  border-radius: 10px;
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(11,94,215,0.04);
  display: block;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Base styles */
:root {
  --primary: #0b5ed7;
  --secondary:rgb(0, 28, 155);
  --text: #222;
  --bg: #ffffff;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --nav-gradient-start: #ffffff;
  --nav-gradient-mid: #d0e8ff;
  --nav-gradient-end: #90c8ff;
}

/* Prevent accidental horizontal scroll caused by wide elements like the carousel */
html, body {
  overflow-x: hidden;
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml;utf8,%3Csvg width=%222000%22 height=%221400%22 xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3ClinearGradient id=%22a%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%234b83e2%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%2378a2e9%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22b%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%237caae3%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%239cbfea%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22c%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%23a6cae7%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23bcd7ed%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22d%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%23c3dbef%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23d2e4f3%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22e%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%23dfecf6%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23e7f0f8%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22f%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%23d4e9fb%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23deeefc%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22g%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%23b4dcfd%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23c6e4fd%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient id=%22h%22 gradientTransform=%22rotate(90)%22%3E%3Cstop offset=%225%25%22 stop-color=%22%2394cfff%22%2F%3E%3Cstop offset=%2295%25%22 stop-color=%22%23aedbff%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath fill=%22%231a5ce0%22 d=%22M0 0h2000v1400H0z%22%2F%3E%3Cpath d=%22M0 155c120.164-3.088 240.329-6.177 346-6 105.671.177 196.849 3.618 301 0 104.151-3.618 221.275-14.295 336-9s227.05 26.564 341 32c113.95 5.436 229.525-4.96 353-5 123.475-.04 254.85 10.274 310 10 55.15-.274 34.075-11.137 53-22l-40 1245H0Z%22 fill=%22url(%23a)%22%2F%3E%3Cpath d=%22M0 311c108.66-11.883 217.318-23.766 328-19 110.682 4.766 223.386 26.182 335 29 111.614 2.818 222.137-12.963 338-15 115.863-2.037 237.066 9.67 346 14s205.598 1.281 328-6c122.402-7.281 270.544-18.795 329-20 58.456-1.205 27.228 7.897 36 17l-40 1089H0Z%22 fill=%22url(%23b)%22%2F%3E%3Cpath d=%22M0 466c110.92 4.704 221.84 9.408 333 3 111.16-6.408 222.559-23.93 337-18s231.925 35.31 347 36c115.075.69 227.742-27.31 334-29 106.258-1.69 206.108 22.93 330 27s271.826-12.408 329-19c57.174-6.592 23.587-3.296 30 0l-40 934H0Z%22 fill=%22url(%23c)%22%2F%3E%3Cpath d=%22M0 622c111.255-2.138 222.51-4.276 338-9 115.49-4.724 235.212-12.033 341-13 105.788-.967 197.642 4.41 304 7s227.22 2.395 344 5 229.48 8.009 358 6c128.52-2.009 272.863-11.431 328-12 55.137-.569 21.068 7.716 27 16l-40 778H0Z%22 fill=%22url(%23d)%22%2F%3E%3Cpath d=%22M0 777c119.233-1.426 238.466-2.851 355-6 116.534-3.149 230.37-8.02 330-3s185.053 19.934 296 28c110.947 8.066 247.419 9.286 361 1 113.581-8.286 204.272-26.077 330-28 125.728-1.923 286.494 12.022 347 16 60.506 3.978 20.753-2.011 21-8l-40 623H0Z%22 fill=%22url(%23e)%22%2F%3E%3Cpath d=%22M0 933c126.69-11.861 253.38-23.722 358-21 104.62 2.722 187.17 20.029 296 25 108.83 4.971 243.94-2.392 365-3 121.06-.608 228.067 5.538 329 7 100.933 1.462 195.79-1.76 314-3 118.21-1.24 259.774-.497 320-1s39.113-2.251 58-4l-40 467H0Z%22 fill=%22url(%23f)%22%2F%3E%3Cpath d=%22M0 1088c118.963-4.84 237.927-9.68 352-8 114.073 1.68 223.256 9.882 326 19s199.05 19.153 315 10c115.95-9.153 251.543-37.495 362-36 110.457 1.495 195.777 32.825 319 35 123.223 2.175 284.35-24.807 345-33 60.65-8.193 20.825 2.404 21 13l-40 312H0Z%22 fill=%22url(%23g)%22%2F%3E%3Cpath d=%22M0 1244c110.37 11.922 220.738 23.843 335 20s232.416-23.452 343-23c110.584.452 213.599 20.964 322 21 108.401.036 222.19-20.403 328-23 105.81-2.597 203.641 12.647 325 11 121.359-1.647 266.245-20.185 328-24 61.755-3.815 40.377 7.092 59 18l-40 156H0Z%22 fill=%22url(%23h)%22%2F%3E%3C%2Fsvg%3E");
  background-attachment: fixed;
  color: var(--text);
  padding-top: 70px; /* Add padding for fixed navbar */
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */
.container { 
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  padding: 0 24px;
}

main.container {
  padding: 24px;
  margin: 22px auto;
  flex: 1;
  background: transparent;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  padding: 1rem 0;
}

.navbar.nav-up {
  transform: translateY(-100%);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: auto;
  background: linear-gradient(135deg, var(--secondary) 0%, #1a75ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-link {
  color: var(--secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  background: transparent;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 2px 4px rgba(11, 94, 215, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 2px 4px rgba(11, 94, 215, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-50%);
}

.nav-toggle {
  display: none;
}

/* Footer */
.footer {
  /* background: var(--white); */
  padding: 1.5rem 0;
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.03);
  position: relative;
  z-index: 10;
}

/* Typography */
h1 { 
  color: var(--primary);
  margin-top: 0;
}

h2 {
  color: var(--primary);
  margin: 1.5rem 0 1rem;
}

h3 {
  color: var(--text);
  margin: 1rem 0 0.5rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

/* About Page */
.about-content {
  max-width: 700px;
}

.about-content ul {
  list-style: none;
  padding-left: 0;
}

.about-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.about-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Contact Page */
.contact-content {
  max-width: 600px;
}

.contact-method {
  margin-bottom: 2rem;
}

.contact-method a {
  color: var(--primary);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  padding: 0.5rem 1rem;
  background: var(--bg);
  border-radius: 4px;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background: #e9ecef;
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 2rem 0;
  margin-top: -2rem;
  position: relative;
  /* allow vertical overflow so taller slide content isn't clipped */
  overflow: visible;
  width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: none;
  z-index: -1;
}

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

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0rem;
}

.hero-text {
  flex: 1 1 50%;
  text-align: left;
}

.greeting {
  font-size: 4.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  color: #eaeaea;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wave {
  display: inline-block;
  animation: wave 2.5s infinite;
  transform-origin: 70% 70%;
  font-size: 4rem;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.intro {
  font-size: 3.5rem;
  margin: 0.5rem 0;
  background: #000174;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  font-size: 1.5rem;
  color: #000174;
  margin: 1.5rem 0 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* background: rgba(13, 110, 253, 0.1); */
  color: var(--primary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-social-links .social-resume {
  width: auto;
  padding: 0 1.25rem;
  border-radius: 24px;
}

.resume-text {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.hero-social-links .social-github:hover {
  background: #24292e;
  color: white;
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.3);
}

.hero-social-links .social-linkedin:hover {
  background: #0077b5;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.hero-social-links .social-resume:hover {
  background: #000983;
  color: white;
  box-shadow: 0 4px 12px rgba(42, 40, 167, 0.3);
}

.hero-social-links svg {
  width: 24px;
  height: 24px;
}

.hero-description {
  flex: 1 1 50%;
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 76, 129, 0.08);
  backdrop-filter: blur(6px);
  color: #1f3c5d;
  line-height: 1.7;
  
}

.hero-description p {
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
  text-align: justify;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-subtitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
}

.hero-animation {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-button {
  padding: 0.75rem;
  border-radius: 50%;
  background: transparent;
  color: #666;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glass effect Background for multiple classes */
.navbar,.hero-description,
.hero-social-links a,
.carousel-title,.roadmap-section,
.footer,.carousel-slide,.nav-links.show{
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    align-items: stretch;
    padding: 2.5rem 2rem;
  }

  .hero-text,
  .hero-description {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }

  .hero-section {
    padding: 2rem 0 1rem 0;
    margin-top: 0;
    min-height: auto;
  }

  .hero-content {
    padding: 0;
    gap: 2rem;
    max-width: 100%;
    margin: 0;
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
    padding: 1rem;
  }

  .greeting {
    justify-content: center;
    font-size: 3rem;
  }

  .intro {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .hero-social-links {
    justify-content: center;
  }

  .hero-description {
    text-align: center;
    padding: 1.5rem;
    margin: 0 1rem;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-description p {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
}

.social-button:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: white;
}

.social-button.github:hover {
  background: #333;
}

.social-button.linkedin:hover {
  background: #0077b5;
}

/* Responsive hero section */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .hero-content {
    padding-right: 0;
    order: 2;
  }

  .hero-animation {
    order: 1;
    min-height: 300px;
  }

  .greeting {
    font-size: 2.5rem;
    justify-content: center;
  }

  .intro {
    font-size: 2rem;
  }

  .social-links {
    justify-content: center;
    gap: 1rem;
  }
}

/* Carousel styles */
.carousel-section {
  padding: 2rem 0 4rem;
  /* background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(245,252,255,0.4)); */
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 370px; /* ensures cards stay inside even on hover */
  overflow: visible;
  border-radius: 18px;
  background: transparent;
}

.carousel-track {
  --carousel-gap: 1.5rem;
  display: flex;
  gap: var(--carousel-gap);
  /* add only left and right padding so cards don't touch container edges */
  padding: 0 3.5rem;
  min-height: 320px; /* increase track height for more vertical space */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  background: transparent;
}

.carousel-slide {
  /* Default: desktop 3-up layout — each slide is exactly a third of container minus gaps */
  flex: 0 0 calc((100% - (2 * var(--carousel-gap))) / 3);
  max-width: none;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem;
  border-radius: 14px;
  /* background: linear-gradient(180deg, #ffffff, #f4fbff); */
  border: none; /* remove container-like border */
  /* stronger, softer shadow to make the cards feel floating */
  /* box-shadow: 0 12px 36px rgba(11,94,215,0.10), 0 4px 12px rgba(0,0,0,0.06); */
  overflow: visible;
  flex-direction: column;
  /* align to start so snapping lands cleanly without showing halves */
  scroll-snap-align: start;
  /* include padding/border in width calculations so JS pixel widths match layout */
  box-sizing: border-box;

  transition: transform 220ms ease, box-shadow 220ms ease;
}

.carousel-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(11,94,215,0.10), 0 4px 12px rgba(0,0,0,0.08);
}

.cert-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(11,94,215,0.08);
  align-self: center;
}

.cert-info h3 { margin: 0 0 6px; font-size: 1.05rem; }
.cert-info p { margin: 0; color: #556; font-size: 0.95rem; }

.carousel-nav-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.2rem;
}

.carousel-nav {
  position: static;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: background 0.2s, box-shadow 0.2s;
  padding: 0;
}

.carousel-nav:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11,94,215,0.12);
}

/* Carousel Pagination Dots */
.carousel-dots {
  display: none !important;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 0;
  width: 100%;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background-color: #ccc;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0;
}

.carousel-dot.active {
  background-color: var(--primary);
}

.carousel-dot:hover,
.carousel-dot:focus {
  background-color: #0056b3;
  outline: none;
}

@media (max-width: 768px) {
  .carousel-dots {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  /* Tablet: 2-up */
  .carousel-slide { flex: 0 0 calc((100% - var(--carousel-gap)) / 2); min-width: 220px; }
}

@media (max-width: 520px) {
  .carousel-track { padding: 0.5rem; }
  .carousel-nav { display: none; }
  /* Mobile: single column */
  .carousel-slide { flex: 0 0 100%; min-width: 200px; }
}

/* hide scrollbar but keep scrollability */
.carousel-track::-webkit-scrollbar { height: 8px; display: none; }
.carousel-track { scrollbar-width: none; -ms-overflow-style: none; }
.carousel-track::-webkit-scrollbar { display: none; }

/* Contact Page */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-method {
  margin: 2rem 0;
}

.contact-method h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-method .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-method a {
  color: var(--primary);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Forms */
form {
  max-width: 600px;
}

.feedback-page {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  margin-top: -1rem;
}

.feedback-background {
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.wave-design {
  width: 100%;
  height: 100%;
  display: block;
}

.feedback-content {
  position: relative;
  z-index: 1;
  background: white;
  max-width: 800px;
  width: 100%;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.feedback-content h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--primary);
}

.feedback-content .lead {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  color: #555;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.form-group-half {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background-color: #e3f2fd;
  min-height: 45px;
  color: #212529;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23212529' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.1);
}

.form-group textarea {
  height: 60px;
  resize: none;
  font-family: inherit;
}

.messages {
  margin: 0 0 0.5rem 0;
  padding: 0.6rem;
  border-radius: 4px;
}

.messages .success {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
  padding: 0.6rem;
  border-radius: 4px;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.form-row-bottom {
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

button[type="submit"],
.submit-btn {
  background: #0b21d7e3;
  color: var(--white);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  transition: filter 0.2s;
  margin-top: auto;
  min-height: 45px;
}

button[type="submit"]:hover,
.submit-btn:hover {
  filter: brightness(1.1);
}

/* Feedback page responsive */
@media (max-width: 1200px) {
  .feedback-background {
    width: 35%;
  }
}

@media (max-width: 992px) {
  .feedback-background {
    display: none;
  }
  
  .feedback-page {
    padding: 1rem;
  }
  
  .feedback-content {
    max-width: 100%;
    padding: 1.5rem;
  }
}

/* Mobile navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
  }

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    content: '';
    display: block;
    background: var(--text);
    height: 3px;
    width: 24px;
    border-radius: 3px;
    transition: all 0.3s;
  }

  .hamburger::before {
    transform: translateY(-8px);
  }

  .hamburger::after {
    transform: translateY(5px);
  }

  .nav-toggle.open .hamburger {
    transform: rotate(45deg);
  }

  .nav-toggle.open .hamburger::before {
    transform: translateY(0) rotate(90deg);
  }

  .nav-toggle.open .hamburger::after {
    opacity: 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; /* Height of navbar */
    left: auto;
    right: 0;
    width: 250px;
    background: var(--white);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s, transform 0.3s;
    border-radius: 10px;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Project Roadmap Section ===== */
.roadmap-section {
  padding: 4rem 2rem;
  /* background: linear-gradient(135deg, 
    rgba(255, 255, 255, 1) 0%,
    rgba(240, 248, 255, 1) 50%,
    rgba(235, 245, 255, 1) 100%
  ); */
  position: relative;
  overflow: hidden;
  border-radius: 18px;

}

.roadmap-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(11, 94, 215, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(11, 94, 215, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

.roadmap-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  line-height: 1.1;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.roadmap-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
  font-weight: 400;
}

.roadmap-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

/* Vertical timeline line */
.roadmap-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: aliceblue;
}

.roadmap-phase {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
  flex-direction: row;
}

/* Default roadmap (home page) - no image layout */
.development-roadmap .roadmap-phase:nth-child(even) {
  flex-direction: row-reverse;
}

/* Education roadmap (about page) - with images */
.education-roadmap .roadmap-phase:nth-child(even) {
  flex-direction: row;
}

.phase-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #0a4fb8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Development roadmap phase number positioning */
.development-roadmap .roadmap-phase:nth-child(even) .phase-number {
  order: auto;
}

.development-roadmap .roadmap-phase:nth-child(odd) .phase-number {
  order: auto;
}

/* Education roadmap phase number positioning */
.education-roadmap .roadmap-phase:nth-child(even) .phase-number {
  order: 3;
}

.phase-content {
  flex: 1;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin: 0 2rem;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(11, 94, 215, 0.15);
}

.phase-image-placeholder {
  flex: 1;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hide images for development roadmap */
.development-roadmap .phase-image-placeholder {
  display: none;
}

/* Style images for education roadmap */
/* .education-roadmap .phase-image-placeholder {
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.1), rgba(11, 94, 215, 0.05));
  border: 2px dashed rgba(11, 94, 215, 0.3);
  border-radius: 12px;
}

.education-roadmap .phase-image-placeholder:hover {
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.15), rgba(11, 94, 215, 0.1));
  border-color: rgba(11, 94, 215, 0.5);
} */

.phase-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}

.phase-image-placeholder:hover img {
  transform: scale(1.05);
}

.education-roadmap .roadmap-phase:nth-child(even) .phase-image-placeholder {
  order: -1;
}

.phase-title {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phase-description {
  color: #555;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  padding: 0.4rem 0.8rem;
  background: rgba(11, 94, 215, 0.08);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(11, 94, 215, 0.15);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(11, 94, 215, 0.3);
}

/* Specific tech badge colors */
.tech-badge.html {
  background: rgba(227, 79, 38, 0.1);
  color: #e34f26;
  border-color: rgba(227, 79, 38, 0.2);
}

.tech-badge.html:hover {
  background: #e34f26;
  color: white;
}

.tech-badge.css {
  background: rgba(21, 114, 182, 0.1);
  color: #1572b6;
  border-color: rgba(21, 114, 182, 0.2);
}

.tech-badge.css:hover {
  background: #1572b6;
  color: white;
}

.tech-badge.js {
  background: rgba(247, 223, 30, 0.15);
  color: #9d7e0e;
  border-color: rgba(247, 223, 30, 0.3);
}

.tech-badge.js:hover {
  background: #f7df1e;
  color: #333;
}

.tech-badge.python {
  background: rgba(55, 118, 171, 0.1);
  color: #3776ab;
  border-color: rgba(55, 118, 171, 0.2);
}

.tech-badge.python:hover {
  background: #3776ab;
  color: white;
}

.tech-badge.django {
  background: rgba(9, 46, 32, 0.1);
  color: #092e20;
  border-color: rgba(9, 46, 32, 0.2);
}

.tech-badge.django:hover {
  background: #092e20;
  color: white;
}

.tech-badge.docker {
  background: rgba(8, 140, 219, 0.1);
  color: #088cd9;
  border-color: rgba(8, 140, 219, 0.2);
}

.tech-badge.docker:hover {
  background: #088cd9;
  color: white;
}

.tech-badge.gcp {
  background: rgba(66, 133, 244, 0.1);
  color: #4285f4;
  border-color: rgba(66, 133, 244, 0.2);
}

.tech-badge.gcp:hover {
  background: #4285f4;
  color: white;
}

/* Tech Summary Section */
.tech-summary {
  max-width: 1000px;
  margin: 0rem auto 0;
  /* margin: 4rem auto 0; */
  padding: 2rem;
  /* background: white; */
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(11, 94, 215, 0.1);
}

.tech-summary-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 0 2rem 0;
  font-weight: 700;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.tech-category {
  text-align: center;
  padding: 1.5rem;
  background:linear-gradient(135deg, rgb(251 251 251 / 71%), rgb(113 172 255 / 8%));
  border-radius: 12px;
  border: 2px solid rgba(11, 94, 215, 0.1);
  transition: all 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.15);
}

.tech-category h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.tech-category p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .roadmap-section {
    padding: 3rem 1rem;
  }

  .roadmap-container::before {
    left: 30px;
  }

  .roadmap-phase {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 80px;
  }

  .roadmap-phase:nth-child(even) {
    flex-direction: column !important;
  }

  .phase-number {
    position: absolute;
    left: 5px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .phase-content {
    margin: 0;
    max-width: 100%;
    width: calc(100%-20px);
  }

  .roadmap-title {
    font-size: 1.8rem;
  }

  .roadmap-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-summary {
    padding: 1.5rem;
    /* margin-top: 2rem; */
  }

  .tech-summary-title {
    font-size: 1.5rem;
  }
}
