* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   Base Styles
=============================== */
body {
  font-family: 'Inter', 'Poppins', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

a {
  color: #0078ff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: none;
  color: #333;
}

/* ===============================
   Header / Navigation
=============================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.static-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

h1 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #000;
}

header h1 a { 
  color: #000;
  text-decoration: none;
}

header h1 a:visited {
  color: #000;
}

header h1 a:hover, header h1 a:focus-visible {
  color: #000;
  text-decoration: none;
  opacity: 0.85;
}

h2 {
  font-weight: 700;
  color: #000;
}

header p {
  font-size: 0.95rem;
  color: #666;
}

nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 1rem;
  color: #333;
  transition: color 0.25s ease;
}

.nav-link,
.nav-link:visited {
  color: #333;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #333;
  text-decoration: none;
}

/* ===============================
   Welcome Section
=============================== */
#welcome-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffffff, #f2f5f9);
}

#welcome-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

#welcome-section p {
  font-size: 1.15rem;
  color: #666;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===============================
   Profile / Tech Stack Section
=============================== */
#profile {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffffff, #f2f5f9);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

#profile h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.section-subtext {
  font-size: 1.1rem;
  color: #666;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

/* Cards grid */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

/* “Samsung-ish” soft cards */
.stack-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.stack-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 120, 255, 0.08);
  border: 1px solid rgba(0, 120, 255, 0.18);
  color: #0b3d91;
  font-weight: 650;
  font-size: 0.92rem;
}

/* “Credential” badges */
.badge-row {
  display: grid;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #222;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1000px) {
  .stack-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   Projects / Slideshow
=============================== */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  padding: 0 6vw;
  background: #000; /* fallback framing color */
}

.slideshow-container::before,
.slideshow-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 8vw;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.slideshow-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.slideshow-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.6), transparent);
}

#projects h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
  padding: inherit;
  animation: fadeEffect 0.9s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 8px;
}

.btn.disabled,
.caption a.disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
}

/* ===============================
   Slide Caption
=============================== */
.caption {
  position: absolute;
  bottom: 18%;
  left: 50%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15)
  );
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  max-width: 560px;
  padding: 0 1rem;
}

.caption h3 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
}

.caption p {
  font-size: 1.25rem;
  line-height: 1.45;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
}

.caption a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  background: #ffffff;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.25s ease;
}

.caption a:hover {
  background: #e6e6e6;
}

/* ===============================
   Slideshow Controls
=============================== */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;

  font-size: 2rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.prev { left: 2vw; }
.next { right: 2vw; }

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.05);
}

/* ===============================
   Slideshow Dots
=============================== */
.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.dot.active {
  background: #ffffff;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .dot {
    width: 32px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.3s ease, width 0.3s ease, transform 0.2s ease;
  }

  .dot.active {
    width: 44px;
    background: #ffffff;
  }
}
/* ===============================
   Contact-Section
=============================== */

#contact-us .section-head {
  text-align: center;
  margin-bottom: 2rem;
}

#contact-us .section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

#contact-us .section-head p {
  font-size: 1.1rem;
  color: #666;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

#contact-us {
  background: linear-gradient(135deg, #ffffff, #f2f5f9);
  padding-bottom: 6rem;
}

.contact-links-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-links-inline a {
  color: #333;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-links-inline a:hover {
  color: #0078ff;
}

.divider {
  opacity: 0.35;
}

/* ===============================
   Form
=============================== */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #444;
}

.form-row input,
.form-row textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #0078ff;
  box-shadow: 0 0 0 2px rgba(0, 120, 255, 0.15);
}

.contact-form button {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.6rem 1.4rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #222;
  transform: translateY(-1px);
}
/* ===============================
   Footer
=============================== */
footer {
  padding: 2rem;
  background-color: #000;
  color: #ffffff;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.85;
}

footer a {
  color: #ffffff;
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

/* ===============================
   Animations
=============================== */
@keyframes fadeEffect {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* ===============================
   Responsive
=============================== */
@media (max-width: 768px) {
  header {
    padding: 1rem 1.25rem;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }

  .nav-link {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
  }
  
  .caption {
    bottom: 22%;
    padding: 0.9rem 1rem;
  }

  .caption h3 {
    font-size: 2.2rem;
  }

  .caption p {
    font-size: 1.1rem;
  }

  .slideshow-container {
    height: 65vh;
  }

}




