/* ===== ROOT VARIABLES ===== */
:root {
  /* Color Palette */
  --body-color: #0a0a0a;
  --color-white: #ffffff;
  --color-blue: #00d4ff;
  --color-dark-blue: #0c8599;
  --color-purple: #7c3aed;
  --color-pink: #ec4899;
  --text-color: #f8f9fa;
  --text-color-second: #adb5bd;
  --text-color-third: #6c757d;
  
  /* Theme Colors */
  --first-color: var(--color-blue);
  --first-color-hover: var(--color-dark-blue);
  --second-color: var(--color-purple);
  --third-color: #ffd43b;
  
  /* Background Colors */
  --card-bg-color: #1a1a1a;
  --footer-bg-color: #0d0d0d;
  
  /* Gradients */
  --gradient-1: linear-gradient(135deg, var(--color-blue), var(--color-purple));
  --gradient-2: linear-gradient(135deg, var(--color-purple), var(--color-pink));
  
  /* Glass Effects */
  --glass-bg: rgba(26, 26, 26, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 10px;
  border-radius: 25px;
}

::-webkit-scrollbar-track {
  background: var(--card-bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 30px;
  border: 2px solid var(--card-bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--first-color-hover);
}

/* ===== BODY STYLES ===== */
body {
  background: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: default;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
} 
.container {
  width: 100%;
  position: relative;
}

/* ===== CURSOR EMOJI ===== */
#cursor-emoji {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  line-height: 80px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0 6vw;
  transition: var(--transition);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
  text-decoration: none;
}

.nav-name {
  font-size: 26px;
  font-weight: 700;
  background: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.nav-logo span {
  font-size: 2.2em;
  color: var(--first-color);
  margin-left: 5px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.nav-menu {
  display: flex;
  transition: var(--transition);
  z-index: 999;
}

.nav_menu_list {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 5px;
  list-style: none;
}

.nav_list {
  list-style: none;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color-second);
  font-weight: 500;
  padding: 8px 18px;
  margin-inline: 5px;
  transition: var(--transition);
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  display: inline-block;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 212, 255, 0.1);
  transition: left 0.3s ease;
  border-radius: 25px;
  z-index: -1;
}

.nav-link:hover::after,
.nav-link:focus::after {
  left: 0;
}

.nav-link:hover::before,
.nav-link:focus::before,
.active-link::before {
  width: 60%;
}

.nav-menu-btn {
  display: none;
  z-index: 1001;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  background: transparent;
  border: none;
}

.nav-menu-btn i {
  font-size: 26px;
  color: var(--text-color);
  transition: var(--transition);
  display: block;
}

.active-link {
  color: var(--first-color);
  background: rgba(0, 212, 255, 0.1);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--first-color);
  transform: translateY(-2px);
  outline: none;
}

/* ===== MAIN WRAPPER ===== */
.wrapper {
  padding-inline: 6vw;
  padding-top: 80px;
}

/* ===== HERO SECTION ===== */
.featured-box {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  overflow: hidden;
}

.featured-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  min-height: 80vh;
  flex-direction: column;
  width: 50%;
  padding-left: 20px;
  z-index: 2;
}

.featured-text-card {
  margin-bottom: 20px;
}

.featured-text-card span {
  background: var(--gradient-1);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 12px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.featured-text-card span::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

.featured-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-block: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.featured-name .typedText {
  color: #00d4ff;
  font-weight: 700;
}

.featured-text-info {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--text-color-second);
  max-width: 500px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

.featured-text-btn {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.btn {
  font-weight: 600;
  padding: 12px 24px;
  background: var(--card-bg-color);
  border: 2px solid transparent;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--text-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--color-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
  border-color: var(--first-color);
}

.social_icons {
  display: flex;
  margin-top: 2em;
  gap: 20px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  color: var(--text-color);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  transition: left 0.3s ease;
  z-index: -1;
}

.icon:hover::before {
  left: 0;
}

.icon:hover {
  color: var(--color-white);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.3);
  border-color: var(--first-color);
}

.featured-image {
  display: flex;
  justify-content: center;
  align-content: center;
  min-height: 80vh;
  width: 50%;
  position: relative;
}

.image {
  width: 380px;
  height: 380px;
  animation: float 3s ease-in-out infinite;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid transparent;
  background: rgba(0, 212, 255, 0.4);
  padding: 8px;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.4), 0 0 120px rgba(0, 212, 255, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 60px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  border-radius: 10%;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(-10deg);
  }
  33% {
    transform: translateY(-15px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

.scroll-icon-box {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 50px;
  gap: 10px;
  text-decoration: none;
  color: var(--text-color);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.scroll-btn:hover {
  background: var(--gradient-1);
  color: var(--color-white);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.3);
}

/* ===== SECTIONS ===== */
.section {
  padding-block: 2em;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.3) 50%, transparent 100%);
}

.row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 50px;
  align-items: center;
}

.col {
  display: flex;
  width: 50%;
}

.top-header {
  text-align: center;
  margin-bottom: 2em;
  position: relative;
}

.top-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.top-header h1 {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 15px;
  font-size: 2.8rem;
  background: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
  position: relative;
}

.top-header span {
  color: var(--text-color-second);
  font-size: 16px;
  font-style: italic;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===== ABOUT SECTION ===== */
.about-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: rotate-border 10s linear infinite;
}

@keyframes rotate-border {
  100% {
    transform: rotate(360deg);
  }
}

.about-pic {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
  border: 5px solid var(--first-color);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.about-pic:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.5);
}

.about-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-left: 40px;
}

.about-info p {
  text-align: left;
  font-size: 16px;
  color: var(--text-color-second);
  line-height: 1.9;
  margin-bottom: 25px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 20px;
}

.about-info p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--first-color);
}

.about-btn {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 80px 0;
  position: relative;
}

.skills-content {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.skills-content::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.skills .section-subtitle {
  color: var(--text-color-second);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills .section-title {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 25px;
  font-size: 2.5rem;
  background: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
  line-height: 1.2;
}

.skills .section-text {
  color: var(--text-color-second);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}

/* ===== SKILLS TOGGLE ===== */
.skills-toggle {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  position: relative;
  width: max-content;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.skills-toggle::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: 8px;
  width: calc(25% - 6px);
  background: var(--gradient-1);
  border-radius: 50px;
  transition: var(--transition);
  z-index: 0;
}

.toggle-btn {
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 12px 25px;
  transition: var(--transition);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.5px;
  min-width: 100px;
  position: relative;
  z-index: 2;
}

.toggle-btn.active {
  color: var(--color-white);
}

/* ===== SKILLS BOX ===== */
.skills-box {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.skills-list,
.tools-list,
.lab-list,
.finance-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition);
}

.tools-list,
.lab-list,
.finance-list {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.skills-list.active,
.tools-list.active,
.lab-list.active,
.finance-list.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* ===== SKILLS CARD ===== */
.skills-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.skills-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.skills-card:hover .card-icon img {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* ===== TOOLTIP STYLES ===== */
.tooltip {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: var(--card-bg-color);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 212, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  border: 1px solid rgba(0, 212, 255, 0.3);
  letter-spacing: 0.5px;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: var(--card-bg-color);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skills-card:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* ===== LAB & FINANCE COMBINED SECTION ===== */
.lab-finance-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 20px 0;
}

.lab-finance-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  position: relative;
}

.lab-finance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-1);
  z-index: 2;
}

.lab-finance-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.3);
}

.card-image-box {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.lab-finance-card:hover .card-image-box img {
  transform: scale(1.1);
}

.card-info-box {
  padding: 30px;
}

.card-info-box h3 {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 15px;
  background: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-info-box p {
  color: var(--text-color-second);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-info-box .highlight-text {
  color: var(--first-color);
  font-weight: 600;
}

.card-cta-button {
  margin-top: 20px;
}

.card-cta-button .btn {
  width: 100%;
  justify-content: center;
}

/* ===== TIMELINE SECTION ===== */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gradient-1);
  border-radius: 10px;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  clear: both;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 40px;
  padding-right: 0;
  left: 50%;
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  position: relative;
  width: 100%;
  z-index: 2;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 22px;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-left: none;
  transform: rotate(-45deg);
  z-index: -1;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: auto;
  left: -12px;
  transform: rotate(135deg);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.timeline-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.timeline-item:hover .timeline-image img {
  transform: scale(1.05);
}

.timeline-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-white);
  position: relative;
  line-height: 1.3;
}

.timeline-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.timeline-description {
  color: var(--text-color-second);
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 15px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--first-color);
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.timeline-tag:hover {
  background: var(--first-color);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  overflow: hidden;
}

.certifications-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.certification-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.certification-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.certification-image {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
}

.certification-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.certification-card:hover .certification-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.image-overlay i {
  font-size: 60px;
  color: var(--first-color);
}

.certification-card:hover .image-overlay {
  opacity: 1;
}

.certification-content {
  padding: 30px;
  text-align: center;
}

.certification-header {
  margin-bottom: 0;
}

.certification-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
  line-height: 1.4;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.certification-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 30px;
}

.slider-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover:not(:disabled) {
  background: var(--first-color);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.dot.active {
  background: var(--first-color);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  transform: scale(1.2);
  border-color: rgba(0, 212, 255, 0.5);
}

.dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* ===== CHAT STYLES ===== */
.chat-container {
  max-width: 900px;
  margin: 0 auto;
  background: #0d1418;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header {
  background: #202c33;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.chat-dp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  padding: 2px;
}

.chat-dp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-dp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  border-color: rgba(0, 212, 255, 0.5);
}

.chat-info h3 {
  color: #e9edef;
  font-size: 18px;
  margin: 0;
}

.chat-info span {
  color: #8696a0;
  font-size: 13px;
}

.chat-body {
  height: 500px;
  overflow-y: auto;
  padding: 20px;
  background: url("../images/index/chat/chatback.png") center/cover no-repeat;
  scroll-behavior: smooth;
  position: relative;
}

.chat-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 20, 24, 0.7);
  z-index: 0;
}

.chat-body > * {
  position: relative;
  z-index: 1;
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  border-radius: 10px;
}

.chat-messages {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.chat-message {
  display: flex;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.sent {
  justify-content: flex-end;
}

.chat-message.received {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 10px;
  position: relative;
  word-wrap: break-word;
}

.message-bubble.sent {
  background: #005c4b;
  color: #e9edef;
  border-radius: 10px 10px 0 10px;
}

.message-bubble.received {
  background: #202c33;
  color: #e9edef;
  border-radius: 10px 10px 10px 0;
}

.message-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.message-text a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
}

.message-text a:hover {
  text-decoration: underline;
}

.message-time {
  font-size: 11px;
  color: #8696a0;
  text-align: right;
  margin-top: 5px;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 15px;
  background: #202c33;
  border-radius: 10px 10px 10px 0;
  width: fit-content;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8696a0;
  animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.chat-footer {
  background: #202c33;
  padding: 12px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: #2a3942;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  color: #e9edef;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.chat-input:focus {
  background: #344047;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
}

.chat-input::placeholder {
  color: #8696a0;
}

.chat-send-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-reply-btn {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-reply-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.project-card {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
}

.project-card h4 {
  color: #00d4ff;
  margin-bottom: 8px;
  font-size: 16px;
}

.project-card p {
  color: #8696a0;
  font-size: 14px;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.project-tag {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
}

.contact-list {
  margin-top: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(5px);
}

.contact-item i {
  color: #00d4ff;
  font-size: 18px;
}

.contact-item a {
  color: #e9edef;
  text-decoration: none;
  font-size: 14px;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  width: 100%;
  height: 350px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition);
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-1);
  z-index: 2;
}

.contact-info:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-info > h2 {
  color: var(--color-white);
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  align-self: center;
  position: relative;
  padding-bottom: 1px;
}

.contact-info > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 3px;
}

.contact-info > p {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-color);
  margin-block: 12px;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  padding: 10px 15px;
  border-radius: 12px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.contact-info > p:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info p > i {
  font-size: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--first-color);
  transition: var(--transition);
}

.contact-info > p:hover > i {
  transform: scale(1.2);
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-inputs {
  display: flex;
  gap: 20px;
}

.input-field {
  width: 100%;
  height: 55px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0 20px;
  font-size: 15px;
  color: var(--text-color);
  outline: none;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--first-color);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  background: rgba(26, 26, 26, 0.4);
}

.input-field::placeholder {
  color: var(--text-color-third);
}

.text-area {
  width: 100%;
}

.text-area textarea {
  width: 100%;
  height: 140px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 15px 20px;
  font-size: 15px;
  color: var(--text-color);
  outline: none;
  resize: none;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.text-area textarea:focus {
  border-color: var(--first-color);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  background: rgba(26, 26, 26, 0.4);
}

.text-area textarea::placeholder {
  color: var(--text-color-third);
}

.form-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-button > .btn {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 30px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg-color);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  margin-top: auto;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--first-color) 50%, transparent 100%);
}

.bottom-footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.bottom-footer p {
  color: var(--text-color-third);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  margin: 0;
  padding: 0;
}

.bottom-footer a {
  color: var(--first-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.bottom-footer a:hover {
  text-shadow: 0 0 10px var(--first-color);
}

/* ===== DOWNLOAD BUTTON ANIMATION ===== */
.btn-download {
  position: relative;
  overflow: hidden;
}

.btn-download .download-icon {
  transition: transform 0.3s ease;
}

.btn-download.downloading {
  pointer-events: none;
  background: var(--color-dark-blue);
}

.btn-download.downloading .download-icon {
  animation: downloadSpin 1s infinite linear;
}

.btn-download.success .download-icon {
  transform: scale(1.3);
  color: #4ade80;
}

@keyframes downloadSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseSuccess {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.btn-download.success {
  animation: pulseSuccess 1s;
  background: rgba(74, 222, 128, 0.2);
  border-color: rgba(74, 222, 128, 0.5);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Tablet & Small Desktop - 1024px and below */
@media only screen and (max-width: 1024px) {
  .wrapper {
    padding-inline: 4vw;
  }
  
  nav {
    padding-inline: 4vw;
  }
  
  .image,
  .image img {
    width: 300px;
    height: 300px;
  }

  .about-pic {
    width: 300px;
    height: 300px;
  }

  .featured-name {
    font-size: 2.8rem;
  }

  .top-header h1 {
    font-size: 2.4rem;
  }

  .certifications-slider {
    padding: 35px 15px;
  }

  .certification-image {
    height: 350px;
  }

  .certification-content {
    padding: 25px;
  }

  .certification-title {
    font-size: 18px;
  }
  
  .lab-showcase {
    gap: 30px;
  }
  
  .lab-image-box {
    flex: 0 0 350px;
    height: 350px;
  }
  
  .lab-info-box h3 {
    font-size: 1.8rem;
  }
}

/* Mobile Navigation & General - 900px and below */
@media only screen and (max-width: 900px) {
  .nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-top: 120px;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav_menu_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav_list {
    width: 100%;
  }

  .nav-link {
    font-size: 22px;
    padding: 15px 40px;
    display: block;
    margin: 0 auto;
    width: fit-content;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--text-color-second);
    text-decoration: none;
    font-weight: 500;
  }

  .nav-link:hover,
  .nav-link:focus {
    color: var(--first-color);
    transform: translateY(-2px);
  }

  .active-link {
    color: var(--first-color);
    background: rgba(0, 212, 255, 0.1);
  }

  .featured-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: calc(100vh - 80px);
    padding: 120px 0 60px;
    text-align: center;
    gap: 40px;
  }
  
  .featured-text {
    width: 100%;
    order: 2;
    justify-content: center;
    text-align: center;
    padding: 0;
    align-items: center;
    min-height: auto;
  }
  
  .featured-image {
    order: 1;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    min-height: auto;
  }
  
  .image,
  .image img {
    width: 280px;
    height: 280px;
  }
  
  .featured-name {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .featured-text-info {
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
  }

  .featured-text-btn {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    align-items: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-text-btn .btn {
    width: calc(50% - 6px);
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .row {
    flex-direction: column;
    gap: 40px;
  }
  
  .col {
    width: 100%;
  }

  .about-img {
    text-align: center;
    margin-bottom: 30px;
  }

  .about-pic {
    width: 250px;
    height: 250px;
  }

  .about-info {
    padding-left: 0;
    text-align: center;
  }

  .about-info p {
    padding-left: 20px;
    text-align: left;
    margin-bottom: 20px;
  }

  .about-btn {
    justify-content: center;
  }

  .timeline-container {
    max-width: 100%;
    margin: 20px 0;
    padding: 20px 15px;
  }

  .timeline-container::before {
    left: 30px;
    width: 3px;
    transform: none;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
    margin-bottom: 50px;
    left: 0;
    justify-content: flex-start;
    align-self: auto;
  }

  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    padding: 20px;
    margin-left: 0;
  }

  .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -12px;
    transform: rotate(135deg);
  }

  .timeline-image {
    height: 160px;
  }

  .timeline-title {
    font-size: 18px;
  }

  .timeline-description {
    font-size: 14px;
  }

  .timeline-tags {
    gap: 6px;
  }

  .timeline-tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  .certifications-slider {
    padding: 30px 15px;
  }

  .certification-slide {
    padding: 0 5px;
  }

  .certification-image {
    height: 280px;
  }

  .certification-content {
    padding: 20px;
  }

  .certification-title {
    font-size: 17px;
    padding-bottom: 12px;
  }

  .slider-controls {
    margin-top: 30px;
    gap: 20px;
  }

  .slider-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .image-overlay i {
    font-size: 50px;
  }

  .form-inputs {
    flex-direction: column;
    gap: 20px;
  }

  .input-field {
    width: 100%;
    height: 50px;
    padding: 0 15px;
  }

  textarea {
    height: 120px;
    padding: 15px;
  }

  .contact-info {
    height: auto;
    min-height: 280px;
    padding: 25px 20px;
  }

  .contact-info > p {
    font-size: 15px;
    gap: 12px;
    padding: 8px 12px;
    margin-block: 8px;
  }

  .contact-info > h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .scroll-icon-box {
    display: none;
  }

  .social_icons {
    justify-content: center;
    margin-top: 30px;
  }

  .icon {
    width: 45px;
    height: 45px;
  }

  .skills {
    padding: 60px 0;
  }

  .skills .section-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .skills .section-text {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .skills-toggle {
    margin-bottom: 40px;
    width: 400px;
  }

  .skills-toggle::before {
    width: calc(25% - 4px);
    top: 8px;
    left: 8px;
    bottom: 8px;
  }

  .toggle-btn {
    padding: 10px 20px;
    min-width: 85px;
    font-size: 13px;
    width: 25%;
    flex: 1;
  }

  .skills-list,
  .tools-list,
  .lab-list,
  .finance-list {
    gap: 15px;
    padding: 0 20px;
  }

  .skills-card {
    width: 75px;
    height: 75px;
    border-radius: 15px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .tooltip {
    font-size: 12px;
    padding: 6px 10px;
    bottom: 90px;
  }

  .chat-container {
    border-radius: 15px;
  }

  .chat-body {
    height: 400px;
  }

  .message-bubble {
    max-width: 85%;
  }

  .chat-input {
    font-size: 14px;
    padding: 10px 15px;
  }

  .chat-send-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lab-showcase {
    flex-direction: column;
    gap: 30px;
  }
  
  .lab-image-box {
    flex: none;
    width: 100%;
    height: 300px;
  }
  
  .lab-cta-button {
    text-align: center;
  }
  
  .lab-finance-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .card-image-box {
    height: 200px;
  }
  
  .card-info-box {
    padding: 25px;
  }
  
  .card-info-box h3 {
    font-size: 1.5rem;
  }
  
  footer {
    padding: 50px 0 35px 0;
  }
}

/* Medium Mobile Phones - 600px and below */
@media only screen and (max-width: 600px) {
  nav {
    height: 70px;
    line-height: 70px;
    padding-inline: 20px;
  }
  
  .nav-name {
    font-size: 22px;
  }
  
  .nav-menu {
    padding-top: 100px;
  }
  
  .nav-link {
    font-size: 20px;
    padding: 12px 30px;
  }

  .featured-box {
    padding-top: 100px;
    min-height: calc(100vh - 70px);
  }
  
  .featured-name {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .featured-text-info {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  .featured-text-btn {
    flex-wrap: wrap;
    gap: 10px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-text-btn .btn {
    width: calc(50% - 5px);
    padding: 11px 14px;
    font-size: 13px;
  }
  
  .social_icons {
    gap: 15px;
    margin-top: 25px;
  }

  .icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .image {
    width: 240px;
    height: 240px;
  }
  
  .image img {
    width: 260px;
    height: 260px;
  }
  
  .about-pic {
    width: 200px;
    height: 200px;
  }

  .top-header h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .top-header span {
    font-size: 14px;
  }

  h3 {
    font-size: 18px;
  }

  .timeline-container {
    padding: 15px 10px;
  }

  .timeline-container::before {
    left: 25px;
    width: 2px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    margin-bottom: 40px;
  }
  
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    padding: 15px;
  }
  
  .timeline-image {
    height: 140px;
  }
  
  .timeline-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .timeline-description {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .timeline-tags {
    gap: 4px;
  }
  
  .timeline-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .certifications-slider {
    padding: 25px 10px;
  }

  .certification-slide {
    padding: 0;
  }

  .certification-image {
    height: 220px;
  }

  .certification-content {
    padding: 15px;
  }

  .certification-title {
    font-size: 15px;
    padding-bottom: 10px;
  }

  .certification-title::after {
    width: 40px;
    height: 2px;
  }

  .slider-controls {
    margin-top: 25px;
    gap: 15px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .slider-dots {
    gap: 8px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .image-overlay i {
    font-size: 40px;
  }

  .contact-info {
    padding: 15px 12px;
  }

  .contact-info > h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .contact-info > p {
    font-size: 14px;
    gap: 10px;
    padding: 6px 10px;
    margin-block: 6px;
  }

  .contact-info p > i {
    font-size: 16px;
    width: 20px;
    height: 20px;
  }

  .input-field {
    height: 45px;
    font-size: 14px;
    padding: 0 12px;
    border-radius: 15px;
  }

  textarea {
    height: 100px;
    padding: 12px;
    font-size: 14px;
    border-radius: 15px;
  }

  .form-button {
    justify-content: center;
  }

  .form-button > .btn {
    padding: 15px 20px;
    font-size: 14px;
    border-radius: 25px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 13px;
    border-radius: 25px;
  }

  .bottom-footer {
    font-size: 12px;
    padding: 0 20px;
    text-align: center;
  }

  .section {
    padding-block: 4em 3em;
  }

  .top-header {
    margin-bottom: 3em;
  }

  .wrapper {
    padding-top: 70px;
  }

  .skills .section-title {
    font-size: 1.8rem;
  }

  .skills-toggle {
    width: 340px;
    padding: 5px;
  }

  .skills-toggle::before {
    width: calc(25% - 3.5px);
    top: 5px;
    left: 5px;
    bottom: 5px;
  }

  .toggle-btn {
    padding: 8px 16px;
    min-width: 75px;
    font-size: 12px;
  }

  .skills-card {
    width: 70px;
    height: 70px;
  }

  .card-icon {
    width: 35px;
    height: 35px;
  }

  .tooltip {
    font-size: 11px;
    padding: 5px 8px;
    bottom: 85px;
  }

  .chat-body {
    height: 350px;
    padding: 15px;
  }

  .message-bubble {
    max-width: 90%;
    padding: 8px 12px;
  }

  .message-text {
    font-size: 14px;
  }

  .chat-header {
    padding: 12px 15px;
  }

  .chat-dp {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .chat-info h3 {
    font-size: 16px;
  }

  .lab-image-box {
    height: 250px;
  }
  
  .lab-info-box h3 {
    font-size: 1.5rem;
  }
  
  .lab-info-box p {
    font-size: 14px;
  }
  
  .card-image-box {
    height: 180px;
  }
  
  .card-info-box {
    padding: 20px;
  }
  
  .card-info-box h3 {
    font-size: 1.3rem;
  }
  
  .card-info-box p {
    font-size: 14px;
  }
  
  footer {
    padding: 40px 0 30px 0;
  }
  
  .bottom-footer {
    font-size: 12px;
  }
}

/* Small Mobile Phones - 375px and below */
@media only screen and (max-width: 375px) {
  nav {
    padding-inline: 15px;
  }

  .nav-name {
    font-size: 20px;
  }
  
  .nav-menu {
    padding-top: 80px;
  }
  
  .nav-link {
    font-size: 18px;
    padding: 10px 25px;
  }

  .featured-name {
    font-size: 1.9rem;
  }

  .image,
  .image img {
    width: 220px;
    height: 220px;
  }

  .about-pic {
    width: 180px;
    height: 180px;
  }

  .top-header h1 {
    font-size: 1.8rem;
  }

  .featured-text-btn {
    flex-wrap: wrap;
    gap: 8px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-text-btn .btn {
    width: calc(50% - 4px);
    padding: 11px 12px;
    font-size: 12px;
  }

  .timeline-container {
    padding: 10px 5px;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    margin-bottom: 35px;
  }
  
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    padding: 12px;
  }

  .timeline-image {
    height: 120px;
  }

  .timeline-title {
    font-size: 15px;
  }

  .timeline-description {
    font-size: 12px;
  }

  .timeline-tag {
    font-size: 9px;
    padding: 2px 6px;
  }

  .certifications-slider {
    padding: 20px 8px;
  }

  .certification-image {
    height: 200px;
  }

  .certification-content {
    padding: 12px;
  }

  .certification-title {
    font-size: 14px;
    padding-bottom: 8px;
  }

  .certification-title::after {
    width: 35px;
  }

  .slider-controls {
    margin-top: 20px;
    gap: 12px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .slider-dots {
    gap: 6px;
  }

  .dot {
    width: 7px;
    height: 7px;
  }

  .image-overlay i {
    font-size: 35px;
  }

  .contact-info {
    padding: 12px 10px;
  }

  .form-button {
    justify-content: center;
  }

  .form-button > .btn {
    padding: 12px 16px;
  }

  .skills-toggle {
    width: 300px;
    padding: 4px;
  }

  .skills-toggle::before {
    width: calc(25% - 3px);
    top: 4px;
    left: 4px;
    bottom: 4px;
  }

  .toggle-btn {
    padding: 6px 12px;
    min-width: 65px;
    font-size: 11px;
  }

  .skills-card {
    width: 65px;
    height: 65px;
  }

  .card-icon {
    width: 30px;
    height: 30px;
  }

  .tooltip {
    font-size: 10px;
    padding: 4px 6px;
    bottom: 80px;
  }

  .lab-image-box {
    height: 220px;
    padding: 15px;
  }
  
  .lab-info-box h3 {
    font-size: 1.3rem;
  }
  
  .lab-cta-button {
    text-align: center;
  }
  
  footer {
    padding: 35px 0 25px 0;
  }
  
  .bottom-footer {
    font-size: 11px;
  }
}

/* Very Small Mobile Phones - 320px and below */
@media only screen and (max-width: 320px) {
  .nav-menu {
    padding-top: 70px;
  }
  
  .nav-link {
    font-size: 16px;
    padding: 8px 20px;
  }

  .featured-name {
    font-size: 1.7rem;
  }

  .image,
  .image img {
    width: 200px;
    height: 200px;
  }

  .featured-text-btn .btn {
    width: calc(50% - 4px);
    padding: 10px 10px;
    font-size: 11px;
  }

  .certifications-slider {
    padding: 15px 5px;
  }

  .certification-image {
    height: 180px;
  }

  .certification-content {
    padding: 10px;
  }

  .certification-title {
    font-size: 13px;
    padding-bottom: 6px;
  }

  .certification-title::after {
    width: 30px;
    height: 2px;
  }

  .slider-controls {
    margin-top: 15px;
    gap: 10px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .slider-dots {
    gap: 5px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .image-overlay i {
    font-size: 30px;
  }

  .skills-toggle {
    width: 260px;
  }

  .toggle-btn {
    min-width: 55px;
    font-size: 10px;
  }
  
  .lab-image-box {
    height: 200px;
  }
}

/* Landscape Orientation */
@media only screen and (max-height: 500px) and (orientation: landscape) {
  .nav-menu {
    padding-top: 80px;
  }
  
  .nav_menu_list {
    gap: 20px;
  }
  
  .nav-link {
    padding: 10px 25px;
    font-size: 18px;
  }

  .featured-box {
    padding: 80px 0 40px;
  }

  .certifications-slider {
    padding: 25px 15px;
  }

  .certification-image {
    height: 250px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
