/* ===== CSS Variables ===== */
:root {
  --primary: #58a6ff;
  --secondary: #bb86fc;
  --dark: #0d1117;
  --light: #161b22;
  --accent: #58a6ff;
  --gradient1: #58a6ff;
  --gradient2: #bb86fc;
  --gradient3: #58a6ff;
  --soft-bg: #0d1117;
  --code-bg: #010409;
  --card-bg: #21262d;
  --border-color: #30363d;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
  background: var(--soft-bg);
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== Navigation Styles ===== */
.navbar {
  background: rgba(13, 17, 23, 0.95) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(100, 255, 218, 0.1);
  transition: all 0.3s;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

.navbar-toggler {
  border: none !important;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-nav {
  text-align: center;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
  color: var(--text-primary) !important;
  padding: 8px 15px !important;
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  padding: 10px 0 !important;
  margin-top: 5px !important;
  min-width: 180px;
}

.dropdown-item {
  color: var(--text-primary) !important;
  padding: 8px 20px !important;
  transition: all 0.3s !important;
  font-weight: 500 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary) !important;
  background: rgba(88, 166, 255, 0.1) !important;
}

.dropdown-toggle::after {
  color: var(--text-primary);
  margin-left: 8px;
}

/* Desktop hover effect */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===== Hero Section Styles ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #0d1117 0%,
    #161b22 50%,
    #21262d 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
  animation: gentleFloat 4s ease-in-out infinite;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 255, 255, 0.3);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.typing-text {
  display: inline-block;
  border-right: 3px solid var(--primary);
  padding-right: 5px;
  animation: codeTyping 1.5s infinite;
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

@keyframes codeTyping {
  0%, 50% {
    border-color: var(--primary);
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
  }
  51%, 100% {
    border-color: transparent;
    text-shadow: 0 0 25px rgba(100, 255, 218, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px);
}

/* ===== About Section Styles ===== */
.about-profile-img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(88, 166, 255, 0.3);
  transition: all 0.3s ease;
  border: 3px solid rgba(88, 166, 255, 0.2);
}

.about-image-header {
  margin-bottom: 30px;
  text-align: center;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(88, 166, 255, 0.3);
  margin-bottom: 15px;
  animation: gentlePulse 3s ease-in-out infinite;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.about-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.about-badge:hover::before {
  left: 100%;
}

.about-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(88, 166, 255, 0.5);
  color: white;
  text-decoration: none;
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.4);
}

.about-badge:hover i {
  transform: rotate(360deg) scale(1.2);
  color: #fff;
}

.about-badge:hover span {
  transform: translateX(3px);
}

.about-badge:active {
  transform: translateY(-3px) scale(1.02);
  transition: all 0.1s ease;
}

.cv-badge i {
  animation: downloadPulse 2s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cv-badge span {
  transition: all 0.3s ease;
  position: relative;
}

.about-badge i {
  font-size: 1.1rem;
}

.about-decorative-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto;
  border-radius: 2px;
}

@keyframes gentlePulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 8px 20px rgba(88, 166, 255, 0.3); 
  }
  50% { 
    transform: scale(1.02); 
    box-shadow: 0 12px 25px rgba(88, 166, 255, 0.4); 
  }
}

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

.content-header {
  margin-bottom: 25px;
}

.about-subtitle {
  display: inline-block;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  position: relative;
}

.about-subtitle::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.about-img-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 25px;
  overflow: hidden;
}

.about-img-wrapper:hover .about-profile-img {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(88, 166, 255, 0.4);
  border-color: var(--primary);
}

.about-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(88, 166, 255, 0.1),
    rgba(187, 134, 252, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: 1;
}

.about-img-wrapper:hover::before {
  opacity: 1;
}

.about-content {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.about-content h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.about-content p.lead {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(88, 166, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s;
  border-left: 4px solid var(--primary);
  border: 1px solid rgba(88, 166, 255, 0.2);
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.info-item:hover {
  background: rgba(88, 166, 255, 0.15);
  transform: translateX(8px);
  border-left: 4px solid var(--accent);
  box-shadow: 0 8px 25px rgba(88, 166, 255, 0.25);
  border-color: var(--primary);
}

.info-item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 5px;
  min-width: 35px;
  text-align: center;
}

.info-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.info-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* ===== Skill Section Styles ===== */
.skill-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.skill-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.skill-card:hover .skill-icon-wrapper {
  transform: scale(1.05) rotateY(10deg);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.skill-card:hover .skill-icon-wrapper::before {
  left: 100%;
}

.skill-icon-wrapper i {
  color: white;
  margin: 0;
}

.skill-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s;
  margin-bottom: 5px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.skill-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 15px 35px rgba(100, 255, 218, 0.2);
  background: linear-gradient(
    135deg,
    rgba(100, 255, 218, 0.1) 0%,
    rgba(187, 134, 252, 0.1) 50%,
    rgba(88, 166, 255, 0.1) 100%
  );
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.skill-card:hover h5,
.skill-card:hover p {
  color: white;
}

.skill-card:hover .skill-icon-wrapper {
  background: white;
}

.skill-card:hover .skill-icon-wrapper i {
  color: var(--primary);
}

.skill-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.skill-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.skill-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.skill-badge {
  display: inline-block;
  padding: 8px 15px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 20px;
  margin: 5px;
  font-size: 0.9rem;
  color: var(--primary);
  transition: all 0.3s;
  border: 1px solid rgba(100, 255, 218, 0.2);
  font-family: "JetBrains Mono", monospace;
}

.skill-badge:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* ===== Experience Section Styles ===== */
.experience-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
  transition: all 0.4s;
  backdrop-filter: blur(10px);
}

.experience-card:hover {
  transform: translateX(15px) scale(1.02);
  background: linear-gradient(
    135deg,
    rgba(100, 255, 218, 0.05) 0%,
    rgba(187, 134, 252, 0.05) 100%
  );
  box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
  border-left: 4px solid var(--accent);
}

/* ===== Project Section Styles ===== */
.project-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s;
  height: 100%;
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-10px) rotateY(2deg);
  box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
  background: linear-gradient(
    135deg,
    rgba(100, 255, 218, 0.05) 0%,
    rgba(88, 166, 255, 0.05) 100%
  );
}

.project-card-body {
  padding: 20px;
}

.project-card-body h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.project-points {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.project-points li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.project-points li::before {
  content: "▸";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.project-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  margin: 2px;
  font-family: "JetBrains Mono", monospace;
  transition: all 0.3s;
}

.project-badge:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* ===== Achievement Section Styles ===== */
.achievement-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  transition: all 0.4s;
  border: 1px solid var(--border-color);
}

.achievement-item:hover {
  transform: translateX(15px) scale(1.02);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
  background: linear-gradient(
    135deg,
    rgba(100, 255, 218, 0.1) 0%,
    rgba(88, 166, 255, 0.1) 100%
  );
}

.achievement-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-right: 20px;
}

/* ===== Certification Section Styles ===== */
.cert-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  transition: all 0.4s;
  border: 1px solid var(--border-color);
  text-align: center;
}

.cert-card:hover {
  transform: scale(1.03) rotateY(3deg);
  background: linear-gradient(
    135deg,
    rgba(187, 134, 252, 0.1) 0%,
    rgba(88, 166, 255, 0.1) 100%
  );
  box-shadow: 0 12px 30px rgba(100, 255, 218, 0.2);
}

.cert-card h6 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ===== Publications Styling ===== */
.publications-section {
  background: var(--soft-bg);
  padding: 100px 0;
}

.publications-section .row {
  justify-content: center;
}

.publications-section .col-lg-10 {
  display: flex;
  justify-content: center;
}

.publications-section .col-lg-10 .row {
  width: 100%;
  max-width: 900px;
}
.publication-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.publication-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(88, 166, 255, 0.2);
  border-color: var(--primary);
}

/* Scholar Profile Card */
.scholar-card {
  padding: 0;
  overflow: visible;
  max-width: 360px;
  margin: 0 auto;
}
.scholar-header {
  height: 120px;
  background: linear-gradient(135deg, var(--primary), #3b6db8);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.scholar-body {
  padding: 70px 25px 25px;
  position: relative;
}
.scholar-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 6px solid var(--card-bg);
  object-fit: cover;
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.scholar-title {
  font-weight: 700;
}
.scholar-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.scholar-socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 6px;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.scholar-socials a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}
.scholar-btn {
  margin-top: 5px;
}

.scholar-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #4285f4;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 28px;
  box-shadow: 0 2px 8px rgba(66,133,244,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.scholar-follow-btn:hover {
  background: #2a65c7;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(66,133,244,0.15);
}
.scholar-follow-icon {
  display: flex;
  align-items: center;
  margin-right: 2px;
}
.scholar-follow-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}


.publication-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.publication-icon i {
  font-size: 1.5rem;
  color: white;
}

.publication-content h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.publication-content h6 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.publication-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.publication-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.publication-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.publication-meta a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.publication-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.publication-badge {
  background: rgba(88, 166, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(88, 166, 255, 0.2);
  font-size: 0.75rem;
  margin-left: 5px;
}

.publication-status {
  background: var(--secondary);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-left: 10px;
}

.publication-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Leadership Styling ===== */
.leadership-category {
  height: 100%;
}

.category-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}

.leadership-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.leadership-item:hover {
  transform: translateX(10px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(88, 166, 255, 0.1);
}

.leadership-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.leadership-icon i {
  color: white;
  font-size: 1.2rem;
}

.leadership-content h6 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 5px;
}

.organization {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 3px;
}

.duration {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== Reference Card Styling ===== */
.reference-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.reference-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(88, 166, 255, 0.1);
}

.reference-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.reference-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reference-avatar i {
  color: white;
  font-size: 1.2rem;
}

.reference-info h5 {
  color: var(--text-primary);
  margin-bottom: 5px;
}

.reference-title {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--primary);
}

.reference-relationship {
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.reference-relationship p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

/* ===== UX Project Card ===== */
.ux-project-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.ux-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(88, 166, 255, 0.1);
}

.project-preview {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.project-preview i {
  color: white;
  font-size: 1rem;
}

.project-details h6 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.project-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.project-tools {
  margin-bottom: 15px;
}

.tool-badge {
  background: rgba(187, 134, 252, 0.1);
  color: var(--secondary);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  margin-right: 8px;
  border: 1px solid rgba(187, 134, 252, 0.2);
}

.project-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.project-link:hover {
  color: var(--accent);
}

/* ===== Button Styles ===== */
.btn-primary-custom {
  background: var(--primary);
  color: var(--dark);
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
  background: var(--accent);
}

.badge.bg-primary {
  background-color: var(--primary) !important;
  color: var(--dark) !important;
}

/* ===== Section Styles ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.about-section {
  padding: 100px 0;
  background: var(--soft-bg);
}

.skills-section {
  background: var(--light);
  padding: 100px 0;
}

.experience-section {
  background: var(--soft-bg);
  padding: 100px 0;
}

.projects-section {
  background: var(--light);
  padding: 100px 0;
}

.certifications-section {
  background: var(--soft-bg);
  padding: 100px 0;
}

.achievements-section {
  background: var(--light);
  padding: 100px 0;
}

.publications-section {
  background: var(--soft-bg);
  padding: 100px 0;
}

.leadership-section {
  background: var(--light);
  padding: 100px 0;
}

/* ===== Mobile Apps Section Styles ===== */
.mobile-apps-section {
  background: var(--soft-bg);
  padding: 100px 0;
}

.mobile-apps-section .row {
  justify-content: center;
}

.mobile-apps-section .col-lg-8 {
  display: flex;
  justify-content: center;
}

.mobile-apps-section .col-lg-8 .row {
  width: 100%;
  max-width: 800px;
}

.app-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(88, 166, 255, 0.2);
  border-color: var(--primary);
}

.app-card.coming-soon {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.05), rgba(187, 134, 252, 0.05));
  border: 2px dashed var(--border-color);
}

.app-card.coming-soon:hover {
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(187, 134, 252, 0.15);
}

.app-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(88, 166, 255, 0.3);
}

.app-icon i {
  font-size: 2.2rem;
  color: white;
}

.app-content h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.app-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-badges {
  margin-bottom: 25px;
}

.app-store-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--dark);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid transparent;
  color: var(--text-primary);
}

.store-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  text-decoration: none;
}

.store-link.app-store {
  background: linear-gradient(135deg, #000, #333);
  border-color: rgba(255, 255, 255, 0.1);
}

.store-link.app-store:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.store-link.play-store {
  background: linear-gradient(135deg, #01875f, #4285f4);
  border-color: rgba(255, 255, 255, 0.1);
}

.store-link.play-store:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.store-link i {
  font-size: 1.8rem;
  margin-right: 12px;
}

.store-link small {
  font-size: 0.75rem;
  opacity: 0.8;
  display: block;
  line-height: 1;
}

.store-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
}

.coming-soon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(187, 134, 252, 0.1);
  border-radius: 10px;
  color: var(--secondary);
  font-weight: 500;
  border: 1px solid rgba(187, 134, 252, 0.2);
}

.coming-soon-text i {
  color: var(--secondary);
}

/* ===== Contact Section Styles ===== */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--code-bg) 0%,
    var(--dark) 50%,
    var(--light) 100%
  );
  color: white;
  padding: 100px 0;
}

.contact-info {
  background: rgba(100, 255, 218, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.2);
  transition: all 0.3s;
}

.contact-info:hover {
  background: rgba(100, 255, 218, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.contact-info i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* ===== Footer Styles ===== */
footer {
  background: var(--code-bg);
  color: var(--text-primary);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

footer h5 {
  color: var(--primary);
  font-weight: 600;
}

footer .text-muted {
  color: var(--text-secondary) !important;
}

footer a {
  transition: all 0.3s;
}

footer a:hover {
  color: var(--primary) !important;
}

footer hr {
  opacity: 0.2;
}

/* ===== General Text Styles ===== */
.skill-card h4,
.skill-card h5,
.project-card h4,
.project-card h5,
.cert-card h5,
.cert-card h6,
.achievement-item h5,
.experience-card h4 {
  color: var(--text-primary);
}

.skill-card p,
.project-card p,
.cert-card p,
.achievement-item p,
.experience-card p {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-secondary) !important;
}

.project-card-body p,
.cert-card p {
  color: var(--text-secondary);
}

/* ===== Timeline Styles ===== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary);
}

/* ===== Scroll to Top Button ===== */
#scrollTop {
  background: var(--primary);
  border: none;
  color: white;
  transition: all 0.3s;
}

#scrollTop:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(88, 166, 255, 0.4);
}