@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 17px;
  color: #e5e7eb;
  background: linear-gradient(135deg, #10131a 0%, #181c25 100%) fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.5px;
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #38bdf8;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation Bar */
.main-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(24,28,37,0.92);
  box-shadow: 0 2px 16px #23263a22;
  border-bottom: 2px solid #23263a;
  backdrop-filter: blur(8px) saturate(1.2);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7em 1.5em;
}
.nav-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 8px #38bdf855;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links {
  display: flex;
  gap: 2.2em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #a5b4fc;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.7px;
  padding: 0.3em 0.7em;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.nav-links li a:hover, .nav-links li a.active {
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 2px 12px #38bdf855;
}
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #38bdf8;
  height: 4px;
  width: 28px;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}
.nav-toggle-label span::before { top: -9px; }
.nav-toggle-label span::after { top: 9px; }
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(24,28,37,0.98);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 32px #23263a33;
    border-bottom: 2px solid #23263a;
    display: none;
  }
  .nav-links li { border-bottom: 1px solid #23263a; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }
  .nav-toggle-label {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #1e293b 0%, #10131a 100%);
  padding: 90px 0 70px 0;
  display: flex;
  align-items: center;
  min-height: 70vh;
  animation: fadeIn 1.2s;
  border-bottom: 1px solid #23263a;
  box-shadow: 0 8px 32px 0 rgba(16,19,26,0.45);
  position: relative;
  z-index: 2;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, #38bdf8 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, #6366f1 0%, transparent 60%);
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.hero-text {
  flex: 1 1 350px;
  min-width: 300px;
}
.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 0.2em;
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-text h2 {
  font-size: 1.5rem;
  color: #a5b4fc;
  margin-bottom: 1em;
  font-weight: 500;
}
.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 2em;
  color: #cbd5e1;
}
.hero-photo {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-photo::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #38bdf8, #6366f1, #38bdf8 100%);
  z-index: 0;
  filter: blur(6px) brightness(1.2);
  opacity: 0.7;
  animation: borderSpin 4s linear infinite;
}
@keyframes borderSpin {
  0% { filter: hue-rotate(0deg) blur(6px) brightness(1.2); }
  100% { filter: hue-rotate(360deg) blur(6px) brightness(1.2); }
}
.hero-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 32px #38bdf855, 0 2px 24px #23263a99;
  border: 6px solid #23263a;
  background: linear-gradient(135deg, #23263a 60%, #38bdf8 100%);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  z-index: 1;
}
.hero-photo img:hover {
  box-shadow: 0 0 64px #38bdf8cc, 0 8px 48px #23263a99;
  transform: scale(1.04) rotate(-2deg);
}

.accent {
  color: #60a5fa;
  font-weight: 900;
  letter-spacing: 1px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85em 2.2em;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 24px #38bdf855;
  text-shadow: 0 1px 2px #0008;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #6366f1 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #6366f1 0%, #38bdf8 100%);
  box-shadow: 0 8px 40px #6366f1cc;
  transform: translateY(-2px) scale(1.05);
}
.btn-primary:hover::after, .btn-primary:focus::after {
  opacity: 0.12;
}

/* Download Resume Button */
.download-resume {
  display: inline-block;
  margin: 0 !important;
  padding: 0.9em 2.2em;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 1em;
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(56,189,248,0.18);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-align: center;
}
.download-resume:hover, .download-resume:focus {
  background: linear-gradient(90deg, #6366f1 0%, #38bdf8 100%);
  box-shadow: 0 4px 24px 0 rgba(99,102,241,0.22);
  transform: translateY(-2px) scale(1.03);
}

/* About Section */
.about {
  background: #181c25;
  padding: 60px 0 40px 0;
  animation: fadeInUp 1.2s;
  border-bottom: 1px solid #23263a;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  margin-top: 2em;
  justify-content: center;
}
.about-photo {
  flex: 0 0 160px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 24px #38bdf855, 0 2px 12px #23263a77;
  border: 2.5px solid #38bdf8;
  background: #181c25;
  margin-top: 0.5em;
  transition: box-shadow 0.3s, border 0.3s;
}
.about-photo img:hover {
  box-shadow: 0 8px 32px #38bdf8cc, 0 4px 24px #23263a99;
  border-color: #6366f1;
}
.about-text {
  flex: 1 1 350px;
  min-width: 260px;
  padding: 2em 2em 2em 2em;
  background: linear-gradient(120deg, #181c25 80%, #23263a 100%);
  border-radius: 22px;
  box-shadow: 0 4px 32px #23263a77, 0 2px 12px #23263a33;
  border: 2px solid #23263a;
  color: #e5e7eb;
  position: relative;
  z-index: 1;
  margin-top: 0.5em;
}
.about-text::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(120deg, #38bdf855 0%, #6366f155 100%);
  opacity: 0.13;
  z-index: 0;
}
.about-list {
  background: rgba(38, 50, 56, 0.7);
  border-radius: 14px;
  padding: 1.1em 1.1em 1.1em 1.5em;
  margin-bottom: 1.3em;
  box-shadow: 0 2px 12px #23263a33;
  position: relative;
  z-index: 1;
}
.about-list li {
  font-size: 1.08rem;
  margin-bottom: 0.7em;
  color: #a5b4fc;
  border-left: 4px solid #38bdf8;
  padding-left: 1em;
  background: rgba(56,189,248,0.06);
  border-radius: 8px;
  transition: background 0.2s;
  font-weight: 500;
}
.about-list li:last-child {
  margin-bottom: 0;
}
.about-list li strong {
  color: #38bdf8;
  font-weight: 700;
  margin-right: 0.4em;
}
.about-bio h3 {
  color: #38bdf8;
  font-size: 1.18rem;
  margin-bottom: 0.7em;
  margin-top: 1em;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.about-bio p {
  color: #e5e7eb;
  font-size: 1.07rem;
  margin-bottom: 1em;
  line-height: 1.8;
  background: rgba(56,189,248,0.04);
  border-radius: 8px;
  padding: 0.7em 1em 0.7em 1.2em;
  box-shadow: 0 1px 6px #23263a22;
  position: relative;
  z-index: 1;
}

@media (min-width: 601px) {
  .about-photo {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
  }
  .about-photo img {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    border-radius: 50%;
    box-shadow: 0 4px 24px #38bdf855, 0 2px 12px #23263a77;
    border: 2.5px solid #38bdf8;
    background: #181c25;
    object-fit: cover;
    margin: 0;
    display: block;
    transition: box-shadow 0.3s, border 0.3s;
  }
  .about-photo img:hover {
    box-shadow: 0 8px 32px #38bdf8cc, 0 4px 24px #23263a99;
    border-color: #6366f1;
  }
}
@media (max-width: 600px) {
  .about-photo {
    display: none !important;
  }
}

/* Projects Section */
.projects {
  background: #10131a;
  padding: 60px 0 40px 0;
  animation: fadeInUp 1.2s;
  border-bottom: 1px solid #23263a;
}
.section-title {
  font-size: 2.4rem;
  color: #38bdf8;
  letter-spacing: 2px;
  text-shadow: 0 2px 16px #38bdf855, 0 1px 2px #000a;
  margin-bottom: 2em;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
}
.project-card {
  background: #181c25;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(30,41,59,0.18);
  padding: 2em 1.5em 1.5em 1.5em;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  border: 1px solid #23263a;
}
.project-card h3 {
  margin-bottom: 0.5em;
  font-size: 1.3rem;
  color: #38bdf8;
}
.project-card p {
  color: #cbd5e1;
  margin-bottom: 1.2em;
  font-size: 1.05rem;
}
.project-link {
  margin-top: auto;
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.project-link:hover {
  color: #38bdf8;
}
.project-card:hover {
  box-shadow: 0 8px 40px rgba(59,130,246,0.23);
  transform: translateY(-4px) scale(1.04);
  border-color: #60a5fa;
}

/* Timeline Section */
.timeline {
  border-left: 3px solid #38bdf8;
  margin: 2em 0 2em 1.5em;
  position: relative;
}
.timeline-block {
  position: relative;
  margin-bottom: 2.5em;
}
.timeline-dot {
  position: absolute;
  left: -1.6em;
  top: 0.5em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: #23263a;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 12px #38bdf8cc;
  z-index: 2;
}
.timeline-dot.edu { border-color: #6366f1; box-shadow: 0 0 12px #6366f1cc; }
.timeline-content {
  background: #181c25;
  border-radius: 12px;
  box-shadow: 0 2px 16px #23263a55;
  padding: 1.2em 1.5em 1.2em 2.5em;
  margin-left: 1.5em;
  color: #e5e7eb;
  border-left: 4px solid #23263a;
  position: relative;
}
.timeline h4 {
  color: #a5b4fc;
  font-size: 1.13rem;
  margin-bottom: 0.2em;
}
.timeline-company {
  display: block;
  font-weight: 600;
  color: #60a5fa;
  margin-top: 0.5em;
  margin-bottom: 0.1em;
  letter-spacing: 0.2px;
}
.timeline-date {
  display: block;
  font-size: 1rem;
  color: #a5b4fc;
  margin-bottom: 0.5em;
  margin-top: 0.1em;
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* Services Section */
.services {
  background: linear-gradient(120deg, #10131a 60%, #23263a 100%);
  box-shadow: 0 0 32px #23263a55;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 2em;
}
.service-card {
  background: #181c25;
  border-radius: 18px;
  box-shadow: 0 2px 24px #38bdf822;
  padding: 2em 1.5em 1.5em 1.5em;
  border: 2px solid #23263a;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 40px #38bdf8cc;
  border: 2px solid #38bdf8;
  transform: translateY(-4px) scale(1.04) rotate(-1deg);
}
.service-icon {
  font-size: 2.2em;
  margin-bottom: 0.7em;
  color: #38bdf8;
  filter: drop-shadow(0 0 8px #38bdf8cc);
  animation: floatIcon 2.5s infinite ease-in-out;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px) scale(1.08); }
}

/* Skills Section */
.skills {
  background: #181c25;
  padding: 60px 0 40px 0;
  animation: fadeInUp 1.2s;
  border-bottom: 1px solid #23263a;
}
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 2em;
}
.skill-item {
  background: linear-gradient(90deg, #23263a 60%, #181c25 100%);
  border-radius: 12px;
  box-shadow: 0 1px 8px #23263a55;
  font-size: 1.08rem;
  margin-bottom: 1.2em;
  padding: 1.2em 1em 1em 1em;
  position: relative;
  overflow: hidden;
}
.skill-item span {
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 0.7em;
  display: block;
}
.skill-bar {
  background: #23263a;
  border-radius: 6px;
  height: 12px;
  width: 100%;
  overflow: hidden;
  margin-top: 0.5em;
}
.skill-level {
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 0 12px #38bdf8cc;
  transition: width 1.2s cubic-bezier(.77,0,.18,1);
}

/* Contact Section */
.contact {
  background: #10131a;
  padding: 60px 0 40px 0;
  animation: fadeInUp 1.2s;
}
.contact-form {
  background: #181c25;
  border-radius: 16px;
  box-shadow: 0 2px 24px #38bdf822;
  border: 2px solid #23263a;
  padding: 2.5em 2em 2em 2em;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(24,28,37,0.85);
  box-shadow: 0 8px 32px 0 rgba(16,19,26,0.25);
  backdrop-filter: blur(8px) saturate(1.2);
  border: 1.5px solid rgba(99,102,241,0.18);
}
.form-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.3em;
}
label {
  font-weight: 500;
  color: #a5b4fc;
  margin-bottom: 0.5em;
}
input, textarea {
  border-radius: 8px;
  border: 1.5px solid #23263a;
  padding: 0.75em 1em;
  font-size: 1rem;
  background: #23263a;
  color: #e5e7eb;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
input:focus, textarea:focus {
  border-color: #38bdf8;
  background: #181c25;
  box-shadow: 0 0 0 2px #38bdf855;
}
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Social Media Icons in Contact Section */
.contact-socials {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(24,28,37,0.85);
  box-shadow: 0 2px 8px 0 rgba(56,189,248,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.contact-socials a:hover, .contact-socials a:focus {
  background: linear-gradient(120deg, #38bdf8 0%, #6366f1 100%);
  box-shadow: 0 4px 16px 0 rgba(99,102,241,0.18);
  transform: scale(1.08);
}
.contact-socials img {
  width: 28px;
  height: 28px;
  display: block;
}

/* Form Feedback Messages */
.form-feedback {
  margin-top: 1.2em;
  font-size: 1.08rem;
  border-radius: 0.5em;
  padding: 0.7em 1.2em;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: none;
}
.form-feedback.success {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 1px solid #22c55e;
}
.form-feedback.error {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* Footer */
.footer {
  background: #181c25;
  color: #a5b4fc;
  border-top: 1.5px solid #23263a;
  text-align: center;
  padding: 1.5em 0 1em 0;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px #000a;
}

/* Resume Section */
.resume-columns {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 2em;
  justify-content: space-between;
}
.resume-col {
  flex: 1 1 320px;
  min-width: 280px;
}
.resume-heading {
  color: #38bdf8;
  font-size: 1.4rem;
  margin-bottom: 1.2em;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #38bdf855;
  border-left: 4px solid #38bdf8;
  padding-left: 0.7em;
}
.timeline-company {
  display: block;
  font-weight: 600;
  color: #60a5fa;
  margin-top: 0.5em;
  margin-bottom: 0.1em;
  letter-spacing: 0.2px;
}
.timeline-date {
  display: block;
  font-size: 1rem;
  color: #a5b4fc;
  margin-bottom: 0.5em;
  margin-top: 0.1em;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.timeline-content h4, .timeline-content h3 {
  margin-bottom: 0.2em;
  color: #a5b4fc;
  font-size: 1.13rem;
  font-weight: 700;
  display: inline;
}
.timeline-content h4 + .timeline-company, .timeline-content h3 + .timeline-company {
  margin-left: 0.7em;
}
.timeline-content .timeline-company {
  display: inline;
}
.timeline-content .timeline-date {
  display: inline;
  margin-left: 0.7em;
}
@media (max-width: 900px) {
  .resume-columns {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  html, body {
    font-size: 15px;
    overflow-x: hidden;
  }
  .container {
    max-width: 100vw;
    padding: 0 0.5rem;
  }
  .hero {
    padding: 18px 0 10px 0;
    min-height: unset;
    background: linear-gradient(120deg, #1e293b 0%, #10131a 100%);
    box-shadow: none;
    border-bottom: none;
    border-radius: 0 0 32px 32px;
    margin-bottom: 1.2em;
  }
  .hero-content {
    flex-direction: column !important;
    align-items: center;
    gap: 0;
    text-align: center;
    padding: 0;
  }
  .hero-photo {
    order: 1;
    margin-bottom: 0.7em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-photo img {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 2px 18px #38bdf855, 0 1.5px 8px #23263a99;
    border: 3px solid #23263a;
    background: #23263a;
    object-fit: cover;
    transition: box-shadow 0.3s, transform 0.3s;
  }
  .hero-photo::before {
    display: none;
  }
  .hero-text {
    order: 2;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
  }
  .hero-text h1 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 0.3em;
  }
  .hero-text h2 {
    font-size: 1rem;
    margin-bottom: 0.5em;
  }
  .hero-text p {
    font-size: 0.98rem;
    margin-bottom: 1em;
  }
  .btn-primary {
    font-size: 0.98rem;
    padding: 0.6em 1.2em;
    border-radius: 8px;
  }
  .about-content {
    flex-direction: column !important;
    align-items: stretch;
    gap: 0.5em;
    text-align: left;
    margin-top: 0.5em;
  }
  .about-photo {
    display: none;
  }
  .about-text {
    padding: 1.1em 0.7em 1.2em 0.7em;
    background: linear-gradient(120deg, #181c25 80%, #23263a 100%);
    border-radius: 18px;
    box-shadow: 0 2px 18px #23263a77, 0 1.5px 8px #23263a33;
    border: 1.5px solid #23263a;
    margin-top: 0.7em;
    margin-bottom: 1.2em;
    color: #e5e7eb;
  }
  .about-list {
    background: rgba(38, 50, 56, 0.7);
    border-radius: 12px;
    padding: 0.7em 0.7em 0.7em 1em;
    margin-bottom: 1em;
    box-shadow: 0 1px 8px #23263a33;
  }
  .about-list li {
    font-size: 0.95rem;
    margin-bottom: 0.5em;
    color: #a5b4fc;
    border-left: 3px solid #38bdf8;
    padding-left: 0.7em;
    background: rgba(56,189,248,0.04);
    border-radius: 6px;
    transition: background 0.2s;
  }
  .about-list li:last-child {
    margin-bottom: 0;
  }
  .about-list li strong {
    color: #38bdf8;
    font-weight: 700;
    margin-right: 0.3em;
  }
  .about-bio h3 {
    color: #38bdf8;
    font-size: 1.08rem;
    margin-bottom: 0.5em;
    margin-top: 0.7em;
    letter-spacing: 0.5px;
  }
  .about-bio p {
    color: #e5e7eb;
    font-size: 0.99rem;
    margin-bottom: 0.7em;
    line-height: 1.7;
    background: rgba(56,189,248,0.03);
    border-radius: 6px;
    padding: 0.5em 0.5em 0.5em 0.7em;
    box-shadow: 0 1px 4px #23263a22;
  }
  .contact-socials {
    gap: 0.7rem;
    margin-bottom: 1.2rem;
  }
  .contact-socials a {
    width: 36px;
    height: 36px;
  }
  .contact-socials img {
    width: 20px;
    height: 20px;
  }
  .download-resume {
    font-size: 1rem;
    padding: 0.7em 1.3em;
    margin: 1.2rem 0 1rem 0;
  }
}

/* Section spacing and grouping */
section {
  margin-bottom: 3.5em;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 2em;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .hero-content, .about-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .hero_photo, .about_photo {
    margin: 0 auto;
  }
  .timeline { margin-left: 0.5em; }
  .timeline-content { padding: 1.2em 1em 1.2em 1.5em; }
}
@media (max-width: 600px) {
  html, body {
    font-size: 15px;
    overflow-x: hidden;
  }
  .container {
    max-width: 100vw;
    padding: 0 0.5rem;
  }
  .hero, .about, .projects, .skills, .contact {
    padding: 16px 0 8px 0;
  }
  .hero-content, .about-content {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 1.25rem;
    line-height: 1.2;
  }
  .hero-text h2 {
    font-size: 1rem;
    margin-bottom: 0.7em;
  }
  .hero-text p {
    font-size: 0.98rem;
    margin-bottom: 1.2em;
  }
  .hero-photo img, .about-photo img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
  }
  .hero-photo::before, .about-photo::before {
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    filter: blur(3px) brightness(1.1);
  }
  .about-text, .contact-form {
    padding: 0.7em 0.3em;
    font-size: 0.95rem;
  }
  .about-list li {
    font-size: 0.95rem;
  }
  .resume-columns {
    flex-direction: column !important;
    gap: 12px;
  }
  .resume-heading {
    font-size: 1rem;
    margin-bottom: 0.5em;
    padding-left: 0.3em;
  }
  .timeline-content {
    padding: 0.6em 0.3em 0.6em 0.7em;
    font-size: 0.95rem;
  }
  .services-grid, .skills-list {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .service-card, .skill-item {
    padding: 0.7em 0.4em 0.6em 0.4em;
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1rem;
    margin-bottom: 0.7em;
    letter-spacing: 0.5px;
  }
  #scrollTopBtn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    bottom: 10px;
    right: 10px;
  }
  .footer {
    font-size: 0.95rem;
    padding: 1em 0 0.7em 0;
  }
  section {
    margin-bottom: 0.5em;
  }
}

/* 1. Enhanced Glassmorphism & Depth */
.about-text, .contact-form, .project-card, .timeline-content {
  background: rgba(24,28,37,0.92);
  box-shadow: 0 8px 32px 0 rgba(56,189,248,0.10), 0 2px 12px #23263a33, 0 0 0 1.5px #6366f1cc;
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1.5px solid rgba(99,102,241,0.22);
  position: relative;
}
.about-text::after, .contact-form::after, .project-card::after, .timeline-content::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 32px 8px #38bdf822 inset;
  opacity: 0.13;
  z-index: 0;
}

/* 2. Animated Gradient Borders */
.hero, .about, .resume, .services, .skills, .contact {
  position: relative;
  z-index: 1;
}
.hero::before, .about::before, .resume::before, .services::before, .skills::before, .contact::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, #38bdf8, #6366f1, #38bdf8 80%);
  background-size: 200% 100%;
  animation: borderMove 6s linear infinite;
  border-radius: 0 0 12px 12px;
  opacity: 0.18;
  z-index: 2;
}
@keyframes borderMove {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

/* 3. Typography Polish */
.section-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 0 2px 24px #38bdf855, 0 1px 2px #000a;
  margin-bottom: 2.2em;
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.resume-heading {
  font-size: 1.45rem;
  color: #60a5fa;
  letter-spacing: 1.2px;
  margin-bottom: 1.2em;
}

/* 4. Subtle Motion: Floating SVGs */
.bg-float {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  animation: floatCloud 8s ease-in-out infinite alternate;
}
@keyframes floatCloud {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-24px) scale(1.08); }
}

/* 5. Section SVG Dividers */
.section-divider {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  border: none;
  background: none;
  position: relative;
  z-index: 2;
}

/* 6. Animated Socials & Buttons */
.hero-socials a, .btn-primary, .download-resume {
  transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
}
.hero-socials a:hover, .btn-primary:hover, .download-resume:hover {
  filter: drop-shadow(0 0 8px #38bdf8cc);
  transform: scale(1.09) rotate(-2deg);
}

/* 7. Contact Form Premium */
.contact-form {
  border-radius: 22px;
  box-shadow: 0 8px 32px #23263a77, 0 2px 12px #23263a33, 0 0 0 2px #38bdf8cc;
  border: 2px solid #23263a;
  padding: 2.2em 2em 2em 2em;
  margin-top: 1.5em;
}
.contact-form input, .contact-form textarea {
  background: rgba(38,50,56,0.7);
  border: 1.5px solid #38bdf8;
  border-radius: 10px;
  color: #fff;
  font-size: 1.08rem;
  padding: 0.8em 1.2em;
  margin-bottom: 1.2em;
  box-shadow: 0 1px 6px #23263a22;
  transition: border 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border: 1.5px solid #6366f1;
  box-shadow: 0 0 0 2px #6366f1cc;
  outline: none;
}

/* 8. Footer Glass & Animation */
.footer {
  background: rgba(24,28,37,0.92);
  box-shadow: 0 -2px 24px #38bdf822;
  border-top: 2px solid #23263a;
  text-align: center;
  padding: 2.2em 0 1.2em 0;
  font-size: 1.08rem;
  color: #a5b4fc;
  position: relative;
  z-index: 2;
}
.footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, #38bdf8, #6366f1, #38bdf8 80%);
  background-size: 200% 100%;
  animation: borderMove 6s linear infinite;
  border-radius: 0 0 12px 12px;
  opacity: 0.18;
  z-index: 2;
}

/* 9. Mobile Polish */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 0.5rem; }
  .about-text, .contact-form, .project-card, .timeline-content {
    padding: 1.2em 0.7em 1.2em 0.7em;
    border-radius: 14px;
  }
  .section-title { font-size: 2rem; }
  .btn-primary, .download-resume { font-size: 1rem; padding: 0.7em 1.3em; }
  .footer { font-size: 0.98rem; padding: 1.2em 0 0.7em 0; }
}

/* Refined Hero Socials */
.hero-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  padding: 0.7em 1.2em;
  background: rgba(24,28,37,0.55);
  border-radius: 2em;
  box-shadow: 0 2px 16px 0 rgba(56,189,248,0.10), 0 1px 6px #23263a22;
  border: 1.5px solid rgba(99,102,241,0.13);
  width: fit-content;
  min-width: 220px;
  position: relative;
  left: 0;
  right: 0;
}
.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(120deg, #23263a 60%, #38bdf8 100%);
  box-shadow: 0 2px 8px 0 rgba(56,189,248,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  margin-bottom: 0;
  border: 1.5px solid #23263a;
  position: relative;
}
.hero-socials a:hover, .hero-socials a:focus {
  background: linear-gradient(120deg, #38bdf8 0%, #6366f1 100%);
  box-shadow: 0 4px 16px 0 rgba(99,102,241,0.18);
  transform: scale(1.13) rotate(-3deg);
  border-color: #38bdf8;
  z-index: 2;
}
.hero-socials img {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 0 2px #23263a88);
}
@media (max-width: 900px) {
  .hero-socials {
    gap: 1.1rem;
    padding: 0.5em 0.5em;
    min-width: 0;
  }
  .hero-socials a {
    width: 40px;
    height: 40px;
  }
  .hero-socials img {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 600px) {
  .hero-socials {
    gap: 0.7rem;
    margin-top: 1.1rem;
    padding: 0.3em 0.3em;
  }
  .hero-socials a {
    width: 36px;
    height: 36px;
  }
  .hero-socials img {
    width: 20px;
    height: 20px;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(24,28,37,0.85);
  border: 2.5px solid #38bdf8;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 24px #38bdf855, 0 1px 6px #23263a22;
  font-size: 2rem;
  color: #60a5fa;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border 0.2s;
  backdrop-filter: blur(8px) saturate(1.2);
}
#scrollTopBtn:hover {
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  color: #fff;
  border-color: #6366f1;
  box-shadow: 0 8px 40px #6366f1cc, 0 2px 12px #23263a33;
  transform: scale(1.13) rotate(-6deg);
}
@media (max-width: 600px) {
  #scrollTopBtn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    bottom: 12px;
    right: 12px;
  }
}

/* --- Hero Button Alignment & Modern Styles --- */
.hero-buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
.hero-buttons .btn-primary {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 0.9em 2.2em !important;
  border-radius: 0.75em !important;
  background: linear-gradient(90deg, #36c3ff 0%, #5f6fff 100%) !important;
  color: #fff !important;
  border: none !important;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s !important;
  outline: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px !important;
  min-height: 48px !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  align-self: center !important;
  box-shadow: none !important;
}
.hero-buttons .btn-primary:hover,
.hero-buttons .btn-primary:focus {
  background: linear-gradient(90deg, #5f6fff 0%, #36c3ff 100%) !important;
}
.hero-buttons .download-resume {
  background: linear-gradient(90deg, #36c3ff 0%, #6a7cff 100%) !important;
}
.hero-buttons .download-resume:hover,
.hero-buttons .download-resume:focus {
  background: linear-gradient(90deg, #6a7cff 0%, #36c3ff 100%) !important;
}
/* --- HERO BUTTONS FINAL BORDER FIX --- */
.hero-buttons .btn-primary,
.hero-buttons .download-resume {
  border: 2.5px solid #38bdf8 !important;
}
.hero-buttons .btn-primary:hover,
.hero-buttons .download-resume:hover {
  border-color: #6366f1 !important;
}
/* --- HERO BUTTONS FINAL BORDER RADIUS FIX --- */
.hero-buttons .btn-primary,
.hero-buttons .download-resume {
  border-radius: 2em !important;
}
