html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  background: #071230;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 80px;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --portfolio-gradient-start: 210, 80%, 30%;
  --portfolio-gradient-end: 240, 60%, 40%;
  --foreground: 0, 0%, 98%;
  --portfolio-card-bg: 0, 0%, 10%;
  --border: 0, 0%, 20%;
  --portfolio-accent: 262, 80%, 60%;
  --secondary: 220, 10%, 20%;
  --secondary-foreground: 0, 0%, 98%;
  --background: 0, 0%, 3%;
  --portfolio-text-muted: 0, 0%, 50%;
}

img {
  max-width: 100%;
  display: block;
}

.section-card {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 40px;
  box-shadow: none;
  width: 100%;
}

.about-content,
.education-section-content,
.projects-section-content,
.skills-section-content,
.certifications-experience-content,
.languages-section-content,
.connect-content {
  box-shadow: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 29, 58, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  min-height: 70px;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #60a5fa;
  text-decoration: none;
  margin-right: auto;
}

.nav-toggle {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
  margin-left: 20px;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.navbar .nav-links {
  list-style: none;
  margin: 0;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  background: rgba(11, 29, 58, 0.98);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.7);
  transition: right 0.4s ease-in-out;
  z-index: 999;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 50px 0;
}

.navbar .nav-links li {
  margin: 20px 0;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 10px 0;
  position: relative;
}

.navbar .nav-links a:hover {
  color: #87cefa;
  transform: translateY(-2px);
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #87cefa;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
  width: 100%;
}

.nav-toggle:checked ~ .nav-links {
  right: 0;
}

.nav-toggle:checked + .hamburger .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle:checked + .hamburger .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .hamburger .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.main-content {
  position: relative;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  background-color: #0b1d3a;
}

.hero-content-wrapper {
  background-color: rgba(11, 29, 58, 0.7);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-img {
  width: 260px;
  height: 260px;
  border: 5px solid rgba(96, 165, 250, 0.5);
  border-radius: 140px;
  overflow: hidden;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 140px;
}

.hero-content {
  flex: 1;
  min-width: 400px;
  text-align: left;
}

.hero-content p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.name {
  font-size: 4rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 15px;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.3rem;
  color: #a0b4c6;
  margin-bottom: 40px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: flex-start;
}

.btn {
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #0b3caf, #071230);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.1rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.btn:hover {
  background: linear-gradient(to right, #20428a, #003185);
  transform: scale(1.03);
}

.social-icons {
  display: flex;
  gap: 35px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-icons {
  display: flex;
  gap: 35px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-icons a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #60a5fa;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a i {
  font-size: 32px;
  color: currentColor;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
}

.social-icons a:hover {
  transform: scale(1.08);
  color: #87cefa;
}

.github-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #0d284a;
  color: #60a5fa;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  text-decoration: none;
}

.github-icon-link i {
  font-size: 20px;
  color: currentColor;
  line-height: 1;
}

.github-icon-link:hover {
  background-color: #173974;
  transform: scale(1.1);
  color: white;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #1543a6, #071230);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-circle i {
  font-size: 28px;
  color: white;
  line-height: 1;
}

.contact-link:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
} 

.about-section {
  background: linear-gradient(to right, #071230, #1543a6);
  padding: 80px 20px;
  width: 100%;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.about-container {
  background: rgba(30, 58, 90, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin: 0 auto;
  max-width: 1000px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.about-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  pointer-events: none;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e2e8f0;
  font-size: 1.05rem;
}

.about-list li::before {
  content: "•";
  color: #60a5fa;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

.about-highlight {
  font-weight: 500;
  margin-bottom: 40px;
  color: #87ceeb;
  font-style: italic;
  text-align: center;
  font-size: 1.1rem;
  padding: 20px;
  border-left: 4px solid #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 8px;
}

.about-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.about-card {
  background: rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(5px);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: #FFFFFF;
}

.card-title svg {
  color: #60a5fa;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.about-card p {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 1rem;
}

.about-card:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

.about-card:last-child p {
  font-size: 1.1rem;
  font-weight: 500;
}

.education-section {
  background: linear-gradient(to right, #0b3caf, #071230);
  padding: 60px 20px;
}

.education-section-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.education-section .section-title {
  font-weight: 700;
  margin-bottom: 50px;
}

.education-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.education-card {
  flex: 1 1 400px;
  max-width: 420px;
  background-color: #0b1d3a;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  gap: 25px;
  align-items: flex-start;
  min-height: 180px;
}

.edu-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px #60a5fa;
  flex-shrink: 0;
}

.edu-icon svg {
  stroke: #60a5fa;
  width: 28px;
  height: 28px;
  fill: none;
}

.edu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edu-level {
  font-size: 0.9rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.edu-degree {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.edu-institute {
  font-size: 1rem;
  font-weight: 500;
  color: #cbd5e1;
}

.edu-date {
  font-size: 0.85rem;
  color: #94a3b8;
}

.projects-section {
  background: linear-gradient(to right, #111827, #1f2937);
  padding: 60px 20px;
  min-height: 100vh;
}

.projects-section-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects-section .section-title {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #f8fafc;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  background-color: #0b1d3a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: scale(1.02);
}

.project-image {
  width: 100%;
  height: 200px;
  position: relative;
  border-bottom: 1px solid #173974;
}

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

.video-responsive {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 15px;
}

.project-title {
  font-size: 1.3rem;
  color: #60a5fa;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.tools-used,
.tools-list,
.language-skills,
.skills-used {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools-used {
  margin-bottom: 16px;
}

.tool-btn,
.skill-badge,
.skill-tag {
  background: linear-gradient(to right, #173974, #003185);
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tool-btn:hover,
.skill-badge:hover,
.skill-tag:hover {
  background: linear-gradient(to right, #20428a, #003185);
  transform: scale(1.05);
}

.project-description {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  flex-grow: 1;
}

.github-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #0d284a;
  color: #60a5fa;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  text-decoration: none;
}

.github-icon-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.github-icon-link:hover {
  background-color: #173974;
  transform: scale(1.1);
  color: white;
}

.skills-section {
  background: linear-gradient(to right, #0b3caf, #071230);
  padding: 60px 20px;
  color: white;
}

.skills-section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skills-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

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

.skill-category-card {
  background-color: #0b1d3a;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.skill-category-card .category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.skill-category-card .category-title svg {
  stroke: #60a5fa;
  width: 32px;
  height: 32px;
  fill: none;
}

.skill-category-card .category-title h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.experience-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  color: white;
  background: radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.6), rgba(7, 12, 40, 1) 70%), linear-gradient(to right top, #081227, #0b1c43);
}

.experience-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent 70%);
  filter: blur(120px);
  z-index: 0;
  animation: floatGlow 9s ease-in-out infinite alternate;
}

.experience-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  filter: blur(100px);
  z-index: 0;
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}

.experience-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-item {
  background: linear-gradient(145deg, rgba(13, 25, 56, 0.92), rgba(7, 18, 48, 0.98));
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  padding: 35px 40px;
  transition: all 0.35s ease;
  border: 1px solid rgba(96, 165, 250, 0.1);
}

.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(96, 165, 250, 0.35);
}

.timeline-date {
  font-size: 0.95rem;
  color: #60a5fa;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.timeline-content p strong {
  color: #9bbdfc;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #dbe6ff;
  margin-bottom: 12px;
}

.certifications-section {
  background: linear-gradient(to right, #071230, #1543a6);
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.certifications-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cert-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.cert-card.portrait {
  height: 400px;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cert-card.portrait:hover img {
  object-fit: contain;
  background-color: #f0f0f0;
}

.cert-info {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 18, 48, 1);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card:hover .cert-info {
  opacity: 1;
}

.cert-info h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.cert-info p {
  font-size: 1rem;
  margin: 0;
}

.cert-info span {
  font-size: 0.9rem;
  font-style: italic;
}

.languages-section {
  background: linear-gradient(135deg, #1543a6 0%, #071230 50%, #0b3caf 100%);
  padding: 80px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.languages-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.languages-section-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-icon {
  color: #60a5fa;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}

.section-icon svg,
svg.section-icon {
  width: 48px;
  height: 48px;
  stroke: #60a5fa;
  fill: none;
  stroke-width: 1.5;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.language-card {
  background: rgba(11, 29, 58, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.language-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #1d4ed8);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.language-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(96, 165, 250, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
}

.language-card:hover::before {
  transform: scaleX(1);
}

.language-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

.language-flag {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.language-info {
  flex: 1;
}

.language-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  display: block;
}

.language-level {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 400;
}

.proficiency-percentage {
  font-size: 1.4rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(51, 65, 85, 0.6);
  border-radius: 4px;
  margin: 20px 0;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  border-radius: 4px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-fill.native {
  background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

.proficiency-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  justify-content: center;
}

.dot, .legend-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #334155;
  background: transparent;
}

.dot.filled,
.legend-dot.filled {
  background: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.dot.half-filled,
.legend-dot.half-filled {
  background: linear-gradient(90deg, #60a5fa 50%, transparent 50%);
  border-color: #60a5fa;
}

.dot.quarter-filled,
.legend-dot.quarter-filled {
  background: linear-gradient(90deg, #60a5fa 25%, transparent 25%);
  border-color: #60a5fa;
}

.dot.native,
.legend-dot.native {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.dot.empty,
.legend-dot.empty {
  background: transparent;
  border-color: #475569;
}

.skill-tag {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.skill-tag.native {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.skill-tag.native:hover {
  background: rgba(16, 185, 129, 0.3);
}

.proficiency-legend {
  background: rgba(11, 29, 58, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.proficiency-legend h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.legend-items {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.connect-section {
  background: linear-gradient(to right, #071230, #1543a6);
  padding: 40px 20px;
  color: white;
}

.connect-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.connect-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 25px;
}

.contact-item {
  flex: 0 0 auto;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
}

.contact-link:hover {
  transform: scale(1.1);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #1543a6, #071230);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-link:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.icon-circle svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.contact-text {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  word-break: break-word;
}

.language-card:focus,
.skill-tag:focus {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes floatGlow {
  from { transform: translateY(0); }
  to { transform: translateY(25px); }
}

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

@media (max-width: 1024px) {
  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    align-items: center;
    gap: 30px;
  }

  .hero-img {
    width: 180px;
    height: 180px;
    margin-bottom: 0;
  }

  .hero-content {
    min-width: unset;
    text-align: center;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .name {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .buttons,
  .social-icons {
    justify-content: center;
  }

  .languages-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-container {
    padding: 35px 25px;
    margin: 0 10px;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    padding: 20px;
    gap: 20px;
  }

  .hero-img {
    width: 150px;
    height: 150px;
  }

  .name {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .social-icons a {
    font-size: 1rem;
    gap: 8px;
  }

  .social-icons a svg {
    width: 28px;
    height: 28px;
  }

  .about-section {
    padding: 60px 15px;
  }

  .about-content {
    text-align: center;
    padding: 0 10px;
  }

  .about-list {
    padding-left: 0;
    text-align: center;
  }

  .about-list li {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    padding-left: 18px;
  }

  .about-highlight {
    text-align: center;
    font-size: 1rem;
    padding: 15px;
    margin-bottom: 30px;
  }

  .about-card {
    margin: 0 auto;
    width: 90%;
    max-width: 350px;
    padding: 20px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }

  .projects-section .section-title,
  .skills-section .section-title,
  .connect-section .section-title,
  .section-title {
    font-size: 2rem;
  }

  .projects-grid,
  .skills-grid,
  .languages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-image {
    height: 180px;
  }

  .project-content {
    padding: 18px;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .tool-btn {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .github-icon-link {
    width: 32px;
    height: 32px;
  }

  .github-icon-link svg {
    width: 18px;
    height: 18px;
  }

  .timeline-item {
    padding: 25px 20px;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .cert-grid {
    flex-direction: column;
    align-items: center;
  }

  .cert-card {
    width: 90%;
    max-width: 400px;
  }

  .language-card {
    padding: 24px;
  }

  .language-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .proficiency-percentage {
    align-self: flex-end;
    margin-top: -40px;
  }

  .legend-items {
    gap: 16px;
  }

  .legend-item {
    font-size: 0.85rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .contact-item {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-link {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 15px;
    gap: 15px;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .icon-circle svg {
    width: 26px;
    height: 26px;
  }

  .contact-text {
    font-size: 0.95rem;
    text-align: left;
    flex-grow: 1;
  }
}

@media (max-width: 480px) {
  .about-content {
    padding: 0 5px;
  }

  .about-list li {
    max-width: 95%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-card {
    width: 100%;
    padding: 18px;
  }

  .card-title {
    font-size: 1rem;
    gap: 10px;
  }

  .card-title svg {
    width: 20px;
    height: 20px;
  }

  .about-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .name {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .projects-section {
    padding: 40px 15px;
  }

  .projects-section .section-title {
    font-size: 1.8rem;
  }

  .projects-grid {
    gap: 15px;
  }

  .project-image {
    min-height: 180px;
  }

  .project-content {
    padding: 16px;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .github-icon-link {
    align-self: flex-end;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .tool-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .language-card {
    padding: 20px;
  }

  .language-flag {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }

  .language-name {
    font-size: 1.3rem;
  }

  .proficiency-dots {
    gap: 8px;
  }

  .dot {
    width: 16px;
    height: 16px;
  }

  .legend-items {
    flex-direction: column;
    gap: 12px;
  }
}
