:root {
  --bg: #0f172a;
  --panel: #0b1220;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --text: #e6eef8;
  --glass: rgba(255, 255, 255, 0.03);
  --color-bg-dark: #0f172a;
  --color-bg-dark-alt: #1e293b;
  --color-text-main: #f8fafc;
  --color-text-light: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-accent: #38bdf8;
  --color-accent-hover: #0ea5e9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

/* container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}

/* header */

.site-header {
  background: var(--bg);
  color: var(--text);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--glass);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-img {
  width: 130px;
  height: auto;
}

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--accent);
}

/* MOBILE MENU TOGGLE */
.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-toggle:hover {
  color: var(--accent);
}

/* =====================
   RESPONSIVE NAVIGATION
===================== */
@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: var(--panel);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--glass);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
  }

  .nav-list.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
  }

  .nav-toggle {
    display: block;
  }
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--panel) 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--text);
}

.hero-text h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.5rem;
  height: 40px;
}

.hero-text p {
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

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

.btn.secondary-btn {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
}

.btn.secondary-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Visual Part */
.hero-visual {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

.glow-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 10%, transparent 70%);
  filter: blur(80px);
  animation: pulse 4s ease-in-out infinite;
}

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

/* Floating Icons */
.floating-icons i {
  position: absolute;
  font-size: 1.5rem;
  color: var(--accent);
  animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
  top: -20px;
  left: 40%;
  animation-delay: 0s;
}
.floating-icons i:nth-child(2) {
  top: 40%;
  left: -20px;
  animation-delay: 1s;
}
.floating-icons i:nth-child(3) {
  bottom: -10px;
  right: 10%;
  animation-delay: 2s;
}
.floating-icons i:nth-child(4) {
  top: 20%;
  right: -10px;
  animation-delay: 3s;
}

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

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down i {
  color: var(--accent);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* =====================
   FLOATING GRADIENT BACKGROUND
===================== */
.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-bg div {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatGradient 18s ease-in-out infinite;
}

.grad1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.grad2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #9333ea 0%, transparent 70%);
  bottom: 10%;
  right: 15%;
  animation-delay: 5s;
}

.grad3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  top: 50%;
  left: 60%;
  animation-delay: 10s;
}

@keyframes floatGradient {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-30px, 40px) scale(1.2);
    opacity: 0.8;
  }
}

.hero-container,
.scroll-down {
  position: relative;
  z-index: 2;
}

/* =====================
   HERO BUTTONS
===================== */
.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-buttons a {
  text-decoration: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Primary button */
.hero-buttons a.primary-btn {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.hero-buttons a.primary-btn:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
  border: 2px solid var(--accent);
}

/* Secondary button (outline style) */
.hero-buttons a.secondary-btn {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.hero-buttons a.secondary-btn:hover {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

/* =========================
   ABOUT SECTION
========================= */
.about {
  background-color: var(--color-bg-dark-alt);
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.about.show {
  opacity: 1;
  transform: translateY(0);
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
}

.about-illustration img {
  width: 320px;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.about-text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.skills-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.skill img {
  width: 20px;
  height: 20px;
}

.skill span {
  color: var(--color-text-main);
  font-size: 0.95rem;
  font-weight: 500;
}

.skill:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
}

.skill:hover span {
  color: var(--color-bg-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-illustration img {
    width: 260px;
  }

  .skills {
    justify-content: center;
  }
}

/* =========================
   PROJECTS SECTION
========================= */
.projects {
  background-color: var(--color-bg-dark);
  padding: 6rem 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.projects.show {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.section-subtitle {
  color: var(--color-text-light);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  font-size: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background-color: var(--color-bg-dark-alt);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(56, 189, 248, 0.1);
}

.project-card:hover {
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
  text-align: left;
}

.project-title {
  font-size: 1.4rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.project-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.project-tags span {
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
}

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

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

.btn-code {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-demo:hover,
.btn-code:hover {
  box-shadow: 0 0 15px var(--color-accent);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .project-content {
    text-align: center;
  }

  .project-links {
    justify-content: center;
  }
}

/* =========================
   SKILLS SECTION
========================= */
.skills-section {
  background-color: var(--color-bg-dark-alt);
  padding: 3rem 2rem;
  margin-top: 3rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.skills-section.show {
  opacity: 1;
  transform: translateY(0);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.skill-item {
  background-color: var(--color-bg-dark);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.05);
}

.skill-item img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease;
}

.skill-item span {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.skill-item:hover {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
}

.skill-item:hover img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* FOOTER SECTION */

.footer {
  background: var(
    --bg-gradient,
    linear-gradient(180deg, #0f172a 0%, #1e293b 100%)
  );
  color: var(--text);
  padding: 3rem 1rem 1rem;
  text-align: center;
  border-top: 1px solid var(--accent-color);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 4px var(--accent));
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-socials {
  display: flex;
  gap: 1.5rem;
  font-size: 1.4rem;
}

.footer-socials a {
  color: var(--accent);
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--hover-color, #38bdf8);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--accent);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-text, #94a3b8);
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==============================
   ABOUT PAGE STYLES
============================== */
.about-section {
  position: relative;
  min-height: 100vh;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 8rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.about-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.about-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 3rem 0 1rem;
}

.about-section p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.about-section .highlight {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Abstract Background Shape --- */
.about-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.abstract-bg {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  opacity: 0.4;
}

/* --- About Content --- */
.about-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Focus Areas --- */
.focus-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.focus-card {
  background: var(--color-bg-dark-alt);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.focus-card:hover {
  box-shadow: 0 0 12px var(--color-accent);
  transform: translateY(-3px);
}

/* --- Skills Grid --- */
.skills-section.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.skill-badge {
  background: var(--color-bg-dark-alt);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--color-text-light);
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  transform: scale(1.05);
}

/* --- CTA --- */
.cta {
  margin-top: 3rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  margin-top: 20px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-radius: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--color-accent);
}

/* --- Fade-in (triggered by JS) --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .about-section {
    padding: 6rem 1.5rem 4rem;
  }

  .about-section h1 {
    font-size: 2.3rem;
  }

  .about-section h2 {
    font-size: 1.4rem;
  }

  .focus-card,
  .skill-badge {
    font-size: 0.85rem;
  }
}

/* ==============================
   PROJECTS PAGE STYLES
   ============================== */

.projects {
  min-height: 100vh;
  background: var(
    --bg-gradient,
    linear-gradient(180deg, #0f172a 0%, #1e293b 100%)
  );
  color: var(--text);
  padding: 6rem 1rem;
  text-align: center;
  overflow: hidden;
}

/* Header */
.projects-header {
  margin-bottom: 3rem;
}

.projects-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-color, #38bdf8);
  letter-spacing: 2px;
}

.projects-header p {
  color: var(--muted, #94a3b8);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 3rem 0 1rem;
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.projects-container {
  margin-bottom: 3rem;
}

/* Project Card */
.project-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: left;
  max-width: 400px;
  transition: all 0.3s ease;
  border: 1px solid rgba(56, 189, 248, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.2);
}

/* Project Title */
.project-card h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Project Description */
.project-card p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Tech Stack Badges */
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.tech-badge:hover {
  background: var(--accent-color);
  color: var(--bg);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Project Buttons Container */
.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

/* Project Buttons */
.project-btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

/* Primary Button (Live Demo) */
.project-btn.demo {
  background: var(--accent-color);
  color: var(--bg);
  border-color: var(--accent-color);
}

.project-btn.demo:hover {
  background: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Secondary Button (View Code) */
.project-btn.code {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.project-btn.code:hover {
  background: var(--accent-color);
  color: var(--bg);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Responsive Buttons */
@media (max-width: 500px) {
  .project-links {
    flex-direction: column;
    align-items: stretch;
  }

  .project-btn {
    text-align: center;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .projects {
    padding: 4rem 1rem;
  }

  .projects-header h2 {
    font-size: 2.2rem;
  }

  .project-card {
    padding: 1.5rem;
  }
}

/* ==== RESUMES PAGE ==== */

.resumes-page {
  padding: 6rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.resume-section {
  margin-bottom: 5rem;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.resume-section h1 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.resume-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.resume-content h2 {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.resume-content h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.resume-content ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1rem auto;
  max-width: 800px;
}

.resume-content ul li {
  margin: 0.3rem 0;
  color: var(--muted);
}

.btn-download {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 1.5rem;
}

.btn-download:hover {
  background: #56d8ff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .resume-card {
    padding: 1.5rem;
  }
  .resume-content ul {
    max-width: 100%;
  }
}

/* ==== CONTACT PAGE ==== */

.contact-page {
  padding: 6rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--text);
  animation: fadeIn 1s ease-in-out;
}

.contact-container h1 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-container p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.btn-send {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-send:hover {
  background: #56d8ff;
  transform: translateY(-2px);
}

.contact-info {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-info a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 600px) {
  .contact-container {
    padding: 2rem 1.2rem;
  }
}

/* ======= Responsive Hero fixes ======= */

.hero {
  min-height: calc(100vh - var(--header-height, 72px));
  height: auto;
  padding: calc(var(--header-height, 72px) + 2rem) 1.25rem 4rem;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  line-height: 1.05;
}

.hero-text h2 {
  font-size: clamp(1rem, 3vw, 1.4rem);
  height: auto;
  margin-top: 0.4rem;
}

.hero-text p {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  max-width: 60ch;
  margin-top: 0.85rem;
}

.hero-visual {
  width: clamp(140px, 28vw, 320px);
  height: auto;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}

.glow-circle {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 10%, transparent 65%);
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
  opacity: 0.85;
}

.floating-icons i {
  font-size: clamp(0.9rem, 2.8vw, 1.6rem);
  color: var(--accent);
  position: absolute;
  transition: transform 0.3s ease;
}

.floating-icons i:nth-child(1) {
  top: 6%;
  left: 45%;
}
.floating-icons i:nth-child(2) {
  top: 42%;
  left: 6%;
}
.floating-icons i:nth-child(3) {
  bottom: 4%;
  right: 10%;
}
.floating-icons i:nth-child(4) {
  top: 28%;
  right: 4%;
}

.gradient-bg div {
  filter: blur(80px);
  opacity: 0.5;
  animation: floatGradient 18s ease-in-out infinite;
}

.grad1 {
  width: clamp(180px, 35vw, 420px);
  height: clamp(180px, 35vw, 420px);
  top: 6%;
  left: 6%;
}
.grad2 {
  width: clamp(200px, 45vw, 520px);
  height: clamp(200px, 45vw, 520px);
  bottom: 6%;
  right: 6%;
}
.grad3 {
  width: clamp(140px, 30vw, 360px);
  height: clamp(140px, 30vw, 360px);
  top: 45%;
  left: 58%;
}

.gradient-bg,
.gradient-bg div {
  max-width: 100vw;
}

/* hero buttons responsive */
.hero-buttons {
  justify-content: center;
  flex-wrap: wrap;
}
.hero-buttons a {
  min-width: 160px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--header-height, 72px) + 1.25rem);
    padding-bottom: 3rem;
  }

  .hero-container {
    gap: 1rem;
  }

  .hero-text {
    padding: 0 0.5rem;
  }

  .floating-icons i:nth-child(2) {
    left: 2%;
  }
}

:root {
  --header-height: 72px;
}

body {
  padding-top: var(--header-height);
}

.hero * {
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

/* Contact Form Styles */

/* Status messages */
.form-status {
  margin-top: 1rem;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.form-status.success {
  color: #38bdf8;
  animation: fadeIn 0.5s ease-in;
}

.form-status.error {
  color: #f87171;
  animation: shake 0.3s ease-in-out;
}

/* Animations */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
