/* MODERN PROFESSIONAL DESIGN WITH DARK/LIGHT MODE */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Light Mode Colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #64748b;
  --accent-color: #0ea5e9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --background: #ffffff;
  --background-secondary: #f8fafc;
  --background-accent: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

[data-theme="dark"] {
  /* Dark Mode Colors */
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #94a3b8;
  --accent-color: #06b6d4;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --background: #0f172a;
  --background-secondary: #1e293b;
  --background-accent: #334155;
  --border-color: #334155;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
  width: 100%;
  min-width: 100%;
  margin: 0 auto;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

/* TRANSITIONS & ANIMATIONS */

* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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

/* NAVIGATION */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

[data-theme="dark"] nav {
  background: rgba(15, 23, 42, 0.95);
}

.nav-links {
  gap: 2.5rem;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-links a.active {
  color: var(--primary-color);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
  padding: 0 1.5rem;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 28px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--background);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  width: 200px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.menu-links a {
  display: block;
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid var(--border-color);
}

.menu-links a:hover {
  background-color: var(--background-secondary);
  color: var(--primary-color);
}

.menu-links a:last-child {
  border-bottom: none;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
  margin-top: 1rem;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hamburger-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* SECTION GENERAL STYLES */

section {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  box-sizing: border-box;
}

/* SECTIONS */

section {
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: fit-content;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.section-container {
  display: flex;
  gap: 4rem;
  align-items: center;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  height: 100vh;
  padding: 0 2rem;
  margin: 0;
  padding-top: 80px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

.section__pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
  width: 450px;
  position: relative;
}

.section__pic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--background);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.section__pic-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  z-index: 1;
  opacity: 0.1;
}

[data-theme="dark"] .section__pic-container::before {
  opacity: 0.2;
}

.section__text {
  align-self: center;
  text-align: center;
  max-width: 500px;
}

.section__text p {
  font-weight: 500;
}

.section__text__p1 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section__text__p2 {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

#socials-container .icon {
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  background: var(--background);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

#socials-container .icon:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

#socials-container .icon:hover img {
  filter: brightness(0) invert(1);
}

#socials-container .icon img {
  width: 1.5rem;
  height: 1.5rem;
  transition: filter 0.3s ease;
}

[data-theme="dark"] #socials-container .icon {
  background: var(--background-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] #socials-container .icon img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] #socials-container .icon:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

[data-theme="dark"] #socials-container .icon:hover img {
  filter: brightness(0) invert(1);
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-width: 150px;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::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;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: var(--background);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ABOUT SECTION - REDESIGNED */

#about {
  position: relative;
  background: var(--background-secondary);
  border-radius: var(--radius-xl);
  margin: 2rem auto;
  padding: 4rem 2rem;
}

#about .title {
  margin-bottom: 3rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about-pic {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.about-pic:hover {
  transform: scale(1.02);
}

.about-pic-secondary {
  opacity: 0.95;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

[data-theme="dark"] .stat-item:hover {
  border-color: var(--accent-color);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .stat-item h3 {
  color: var(--accent-color);
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.about-description {
  background: var(--background);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.about-description p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-description strong {
  color: var(--primary-color);
  font-weight: 600;
}

[data-theme="dark"] .about-description strong {
  color: var(--accent-color);
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
  padding: 4rem 2rem;
  background: var(--background-secondary);
  border-radius: var(--radius-xl);
  margin: 2rem auto;
}

#experience .title {
  margin-bottom: 3rem;
  text-align: center;
}

.experience-details-container {
  max-width: 900px;
  margin: 0 auto;
}

.experience-timeline {
  position: relative;
  padding: 2rem 0;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

[data-theme="dark"] .experience-timeline::before {
  background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--background);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

[data-theme="dark"] .timeline-item::before {
  border-color: var(--accent-color);
  background: var(--background-secondary);
}

.timeline-content {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2rem;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--background);
  z-index: 1;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

[data-theme="dark"] .timeline-content:hover {
  border-color: var(--accent-color);
}

.company-info {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.company-info h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-theme="dark"] .company-info h3 {
  color: var(--accent-color);
}



.role {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.duration {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--background-accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements li {
  color: var(--text-secondary);
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.achievements li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.achievements li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-weight: bold;
  font-size: 1.2rem;
}

[data-theme="dark"] .achievements li::before {
  color: var(--accent-color);
}

.achievements li:hover {
  color: var(--text-primary);
  padding-left: 2.5rem;
}

.achievements li:hover::before {
  color: var(--primary-color);
  transform: scale(1.1);
}

[data-theme="dark"] .achievements li:hover::before {
  color: var(--accent-color);
}

/* PROJECTS SECTION */

/* PROJECTS SECTION */

#projects {
  position: relative;
  background: var(--background-secondary);
  border-radius: var(--radius-xl);
  margin: 2rem auto;
  padding: 4rem 2rem;
}

#projects .title {
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

[data-theme="dark"] .project-card:hover {
  border-color: var(--accent-color);
}

.project-image-container {
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-placeholder {
  text-align: center;
  color: white;
}

.project-placeholder h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.project-placeholder p {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.tech-tag {
  background: var(--background-accent);
  color: var(--text-primary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .tech-tag {
  background: var(--background-secondary);
  border-color: var(--border-color);
}

.project-btn {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: var(--background);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
}

.project-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .project-btn {
  background: var(--background-secondary);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

[data-theme="dark"] .project-btn:hover {
  background: var(--accent-color);
  color: var(--background);
}

/* EXPERIENCE CONTAINER STYLES */

.experience-details-container .about-containers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.details-container {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--background);
  text-align: center;
  transition: all 0.3s ease;
}

.details-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

[data-theme="dark"] .details-container:hover {
  border-color: var(--accent-color);
}

.experience-sub-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.article-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

article {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--background-secondary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

article:hover {
  background: var(--background);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

article .icon {
  cursor: default;
  padding: 0.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

article div h3 {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

article div p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* SKILLS SECTION */

.skills-section {
  background: var(--background-secondary);
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  margin-top: 3rem;
}

.skills-title {
  text-align: center;
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.skills-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

[data-theme="dark"] .skill-category h3 {
  color: var(--accent-color);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skill-tag {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .skill-tag {
  background: var(--accent-color);
}

/* CONTACT SECTION */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 4rem 2rem;
  text-align: center;
}

#contact .title {
  margin-bottom: 3rem;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: var(--background);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  margin: 0 auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  flex: 1;
  cursor: pointer;
}

.contact-info-container:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-info-container:hover .contact-icon {
  filter: brightness(0) invert(1);
}

.contact-info-container:hover p,
.contact-info-container:hover a {
  color: white;
}

.contact-info-container p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.contact-info-container a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  transition: all 0.3s ease;
}

.email-icon {
  height: 2rem;
  width: 2rem;
}

/* FOOTER SECTION */

footer {
  background: var(--text-primary);
  color: var(--background);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

[data-theme="dark"] footer {
  background: var(--background);
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

footer nav {
  position: static;
  background: none;
  border: none;
  backdrop-filter: none;
  height: auto;
  padding: 0;
}

footer p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

[data-theme="dark"] footer p {
  color: var(--text-secondary);
  border-top: none;
}

/* THEME TOGGLE */

.theme-toggle {
  cursor: pointer;
  user-select: none;
}

.toggle-container {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--background-secondary);
  border-radius: 15px;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
  transition: all 0.3s ease;
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 2;
}

[data-theme="dark"] .toggle-slider {
  transform: translateX(28px);
}

.toggle-icon {
  font-size: 0.8rem;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.toggle-icon.sun {
  opacity: 1;
}

.toggle-icon.moon {
  opacity: 0.3;
}

[data-theme="dark"] .toggle-icon.sun {
  opacity: 0.3;
}

[data-theme="dark"] .toggle-icon.moon {
  opacity: 1;
}

.theme-toggle.mobile {
  transform: scale(0.8);
}

/* DARK MODE ENHANCEMENTS */

[data-theme="dark"] .section__pic-container::before {
  opacity: 0.2;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .color-container:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
}

[data-theme="dark"] .details-container:hover {
  border-color: var(--accent-color);
}

[data-theme="dark"] .contact-info-container:hover {
  background: var(--accent-color);
}

/* Certifications Section */
.certifications-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.certifications-section h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

[data-theme="dark"] .cert-item:hover {
  border-color: var(--accent-color);
}

.cert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cert-details h4 {
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.cert-details p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.85rem;
}

/* AI CHATBOT STYLES */

.chatbot-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: inherit;
}

.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: none;
  min-width: 60px;
  justify-content: center;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.chatbot-toggle.active {
  border-radius: var(--radius-lg);
  background: var(--background);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .chatbot-toggle.active {
  background: var(--background-secondary);
}

.chatbot-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.chatbot-text {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.chatbot-toggle.minimized .chatbot-text {
  display: none;
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  height: 400px;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
}

.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--background-secondary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.chatbot-header-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.chatbot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.chatbot-info h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.chatbot-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.7rem;
}

.chatbot-close {
  background: var(--background);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.chatbot-close:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.05);
}

[data-theme="dark"] .chatbot-close:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message {
  display: flex;
  gap: 0.5rem;
  animation: messageSlideIn 0.3s ease-out;
}

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

.message-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
}

.user-message {
  flex-direction: row-reverse;
}

.user-message .message-avatar {
  background: var(--background-accent);
  color: var(--text-primary);
}

.message-content {
  flex: 1;
  background: var(--background-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.user-message .message-content {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

[data-theme="dark"] .user-message .message-content {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.message-content p {
  margin: 0;
  color: inherit;
  font-size: 0.8rem;
  line-height: 1.4;
}

.typing-indicator {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.85rem;
}

.typing-indicator.show {
  display: flex;
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-secondary);
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  30% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.chatbot-input-container {
  border-top: 1px solid var(--border-color);
}

.chatbot-suggestions {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
  background: var(--background-accent);
}

.chatbot-suggestions::-webkit-scrollbar {
  height: 3px;
}

.chatbot-suggestions::-webkit-scrollbar-track {
  background: var(--background-secondary);
}

.chatbot-suggestions::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}

.suggestion-btn {
  background: var(--background);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.suggestion-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .suggestion-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

#chatbot-input {
  flex: 1;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.8rem;
  outline: none;
  transition: all 0.3s ease;
}

#chatbot-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] #chatbot-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.1);
}

.chatbot-send-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-send-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.chatbot-send-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

[data-theme="dark"] .chatbot-send-btn {
  background: var(--accent-color);
}

[data-theme="dark"] .chatbot-send-btn:hover {
  background: var(--primary-color);
}

/* Mobile Responsiveness for Chatbot */
@media screen and (max-width: 768px) {
  .chatbot-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
  
  .chatbot-window {
    width: calc(100vw - 2rem);
    bottom: 70px;
    right: 0;
    left: 0;
    height: 60vh;
    max-height: 400px;
    min-height: 300px;
    max-width: 100%;
  }
  
  .chatbot-toggle {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  
  .chatbot-toggle.minimized {
    width: 60px;
    margin-left: auto;
    padding: 1rem;
  }
  
  .chatbot-toggle.minimized .chatbot-text {
    display: none;
  }
  
  .chatbot-header {
    padding: 0.75rem;
    flex-shrink: 0;
  }
  
  .chatbot-info h4 {
    font-size: 0.9rem;
  }
  
  .chatbot-info p {
    font-size: 0.75rem;
  }
  
  .chatbot-messages {
    height: calc(60vh - 180px);
    min-height: 120px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .chatbot-suggestions {
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.4rem;
  }
  
  .suggestion-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }
  
  .chatbot-input-area input {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .chatbot-window {
    height: 50vh;
    max-height: 350px;
    min-height: 280px;
    width: calc(100vw - 1rem);
  }
  
  .chatbot-container {
    bottom: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
  }
  
  .chatbot-messages {
    height: calc(50vh - 160px);
    min-height: 100px;
    max-height: 150px;
  }
  
  .chatbot-header {
    padding: 0.5rem;
  }
  
  .chatbot-info h4 {
    font-size: 0.85rem;
  }
  
  .chatbot-info p {
    font-size: 0.7rem;
  }
  
  .suggestion-btn {
    font-size: 0.6rem;
    padding: 0.25rem 0.4rem;
  }
  
  .chatbot-input-area {
    padding: 0.5rem;
  }
  
  .chatbot-input-area input {
    font-size: 0.85rem;
    padding: 0.6rem;
  }
}

/* Extra small screens */
@media screen and (max-width: 360px) {
  .chatbot-window {
    height: 45vh;
    max-height: 300px;
    min-height: 250px;
    width: calc(100vw - 0.5rem);
  }
  
  .chatbot-container {
    bottom: 0.25rem;
    right: 0.25rem;
    left: 0.25rem;
  }
  
  .chatbot-messages {
    height: calc(45vh - 140px);
    min-height: 80px;
    max-height: 120px;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .chatbot-header {
    padding: 0.4rem;
  }
  
  .chatbot-info h4 {
    font-size: 0.8rem;
  }
  
  .chatbot-info p {
    font-size: 0.65rem;
  }
  
  .message-content p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .message-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  
  .suggestion-btn {
    font-size: 0.55rem;
    padding: 0.2rem 0.35rem;
  }
  
  .chatbot-input-area input {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

/* Mobile landscape orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .chatbot-window {
    height: 80vh;
    max-height: 350px;
    min-height: 200px;
  }
  
  .chatbot-messages {
    height: calc(80vh - 120px);
    min-height: 80px;
    max-height: 200px;
  }
  
  .chatbot-header {
    padding: 0.5rem;
  }
  
  .chatbot-suggestions {
    padding: 0.3rem;
  }
  
  .suggestion-btn {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }
}
