/* DevBee Portfolio - Radix UI Blue Theme with Enhanced Dark Mode
   Based on https://www.radix-ui.com/colors/blue palette */

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

:root {
  /* Radix UI Blue palette */
  --blue1: #fbfdff;
  --blue2: #f5faff;
  --blue3: #edf6ff;
  --blue4: #e1f0ff;
  --blue5: #cee7fe;
  --blue6: #b7d9f8;
  --blue7: #96c7f2;
  --blue8: #5eb0ef;
  --blue9: #0091ff;
  --blue10: #0081f1;
  --blue11: #006adc;
  --blue12: #00254d;

  /* Text colors */
  --text-primary: var(--blue12);
  --text-secondary: var(--blue11);
  --text-light: var(--blue1);

  /* Background colors */
  --bg-primary: var(--blue1);
  --bg-secondary: var(--blue3);
  --bg-accent: var(--blue9);
  --bg-dark: var(--blue12);

  /* Border colors */
  --border-light: var(--blue6);
  --border-medium: var(--blue8);
  --border-dark: var(--blue10);

  /* Shadow colors */
  --shadow-color: rgba(0, 37, 77, 0.15);

  /* Animation duration */
  --transition-speed: 0.3s;
}

/* Dark Mode */
body.dark-mode {
  /* Radix UI Slate palette for dark mode */
  --slate1: #111113;
  --slate2: #18191b;
  --slate3: #212225;
  --slate4: #272a2d;
  --slate5: #2e3135;
  --slate6: #363a3f;
  --slate7: #43484e;
  --slate8: #5a6169;
  --slate9: #696e77;
  --slate10: #777e87;
  --slate11: #9ba1aa;
  --slate12: #e4e6eb;

  /* Radix UI Blue accents for interactive elements */
  --blue9: #3e95ff;
  --blue10: #1b85ff;
  --blue11: #0078ff;

  /* Text colors - improved readability */
  --text-primary: var(--slate12);
  --text-secondary: var(--slate11);
  --text-light: var(--slate3);

  /* Background colors */
  --bg-primary: var(--slate1);
  --bg-secondary: var(--slate3);
  --bg-accent: var(--blue9);
  --bg-dark: var(--slate3);

  /* Border colors */
  --border-light: var(--slate4);
  --border-medium: var(--slate6);
  --border-dark: var(--slate8);

  /* Shadow colors */
  --shadow-color: rgba(0, 0, 0, 0.3);

  /* Dark mode specific overrides */
  background-image: linear-gradient(135deg, var(--slate1), var(--slate3));
}

/* Base styles */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-image: linear-gradient(135deg, var(--blue2), var(--blue4));
  color: var(--text-primary);
  transition: var(--transition-speed) ease;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header and Navigation */
header {
  position: fixed;
  background-image: linear-gradient(90deg, var(--blue11), var(--blue12));
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 1000;
}

body.dark-mode header {
  background-image: linear-gradient(90deg, #0f172a, #020617);
}

nav {
  width: 100vw;
  height: 80px;
}

.nav-social .social-icon i {
  color: var(--blue5);
  transition: var(--transition-speed) ease-in-out;
  margin-right: 10px;
  -webkit-transition: var(--transition-speed) ease-in-out;
  -moz-transition: var(--transition-speed) ease-in-out;
  -ms-transition: var(--transition-speed) ease-in-out;
  -o-transition: var(--transition-speed) ease-in-out;
}

.nav-social .social-icon i:hover {
  transform: translateY(-5px);
  color: var(--blue11);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
}

@media screen and (max-width: 465px) {
  .nav-social {
    display: none;
  }
}

.container {
  width: 100vw;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 2px var(--blue7);
}

body.dark-mode .container {
  border-bottom: solid 2px var(--slate6);
}

.logo-img {
  height: 30px;
  transition: transform 0.5s ease;
  margin: 20px;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.hamlogo {
  justify-content: space-between;
  height: 80px;
  display: flex;
  align-items: center;
}

.logo-img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.nav-links {
  display: flex;
}

.nav-links li {
  list-style: none;
  margin: 0 6px;
}

.nav-links a {
  position: relative;
  padding: 2px;
  color: var(--blue4);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  margin: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--blue8);
  box-shadow: 0 0 10px var(--blue7);
  transition: width 0.8s ease;
}

body.dark-mode .nav-links a::after {
  background: var(--blue9);
  box-shadow: 0 0 10px var(--blue9);
}

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

/* Search Bar */
.searchBar {
  height: 30px;
  margin-right: 15px;
}

.search {
  background-color: transparent;
  border: var(--blue5) solid 1px;
  border-radius: 6px;
  height: 25px;
  width: 0;
  padding: 4px;
  transition: 1.5s ease;
  color: var(--blue2);
}

body.dark-mode .search {
  border: var(--slate7) solid 1px;
  color: var(--slate12);
}

::placeholder {
  color: var(--blue4);
  opacity: 1;
  font-size: 15px;
}

body.dark-mode ::placeholder {
  color: var(--slate11);
}

.btn {
  position: relative;
  background-color: var(--blue7);
  border: var(--blue5) solid 2px;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  right: 18px;
}

body.dark-mode .btn {
  background-color: var(--slate7);
  border: var(--slate6) solid 2px;
}

i {
  color: var(--blue12);
  font-size: 20px;
  margin: auto;
  transition: 1.5s ease;
}

body.dark-mode i {
  color: var(--slate12);
}

/* Sidebar Navigation */
.sidebar {
  background-image: linear-gradient(
    300deg,
    rgba(0, 106, 220, 0.7),
    rgba(0, 37, 77, 0.7)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  box-shadow: 5px 0 15px rgba(0, 37, 77, 0.3);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

body.dark-mode .sidebar {
  background-image: linear-gradient(
    300deg,
    rgba(30, 41, 59, 0.8),
    rgba(15, 23, 42, 0.9)
  );
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar li {
  list-style: none;
  margin-top: 20px;
  margin-left: 20px;
}

.sidebar a {
  color: var(--blue5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: var(--blue8);
}

body.dark-mode .sidebar a {
  color: var(--slate11);
}

body.dark-mode .sidebar a:hover {
  color: var(--blue9);
}

.sidebar-link a {
  position: relative;
  padding: 2px;
  color: var(--blue4);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  margin: 2px;
}

body.dark-mode .sidebar-link a {
  color: var(--slate11);
}

.sidebar-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--blue8);
  box-shadow: 0 0 10px var(--blue7);
  transition: width 0.8s ease;
}

body.dark-mode .sidebar-link a::after {
  background: var(--blue9);
  box-shadow: 0 0 10px var(--blue9);
}

.sidebar-link a:hover::after {
  width: 100%;
}

.menu-button,
.menu-button-close {
  list-style: none;
  margin-left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.menu-button-close {
  margin: 0; /* Reset margin for close button inside sidebar if needed */
}

/* Hero Section */
.hero {
  margin-top: 80px;
  color: var(--text-primary);
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 20px var(--shadow-color);
  background-image: linear-gradient(135deg, var(--blue3), var(--blue5));
  transition: all 0.8s ease;
}

body.dark-mode .hero {
  background-image: linear-gradient(135deg, var(--slate3), var(--slate5));
  box-shadow: 0 10px 20px var(--shadow-color);
}

.hero-content {
  max-width: 700px;
  padding: 0 20px;
}

#animated-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  color: var(--blue11);
  animation: animated-text 4s steps(28, end) normal both;
}

body.dark-mode #animated-text {
  color: var(--blue9);
}

@keyframes animated-text {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.cta-button {
  background-color: var(--blue10);
  color: var(--blue1);
  font-weight: 600;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--blue11);
  box-shadow: 0 5px 15px var(--shadow-color);
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

body.dark-mode .cta-button {
  background-color: var(--blue10);
  color: var(--slate12);
}

body.dark-mode .cta-button:hover {
  background-color: var(--blue11);
}

.profile-picture {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 0 20px;
  border: 5px solid var(--blue7);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.5s ease;
}

body.dark-mode .profile-picture {
  border: 5px solid var(--slate7);
}

.profile-picture:hover {
  transform: scale(1.05);
}

.introduction h2 {
  color: var(--blue11);
  margin-bottom: 15px;
}

body.dark-mode .introduction h2 {
  color: var(--blue9);
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

body.dark-mode .about-section {
  background-color: var(--slate1);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.about-img {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.about-img img {
  width: 80%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.5s ease;
}

.about-img img:hover {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
}

.about-content {
  flex: 2;
  min-width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-container h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--blue11);
  margin-bottom: 20px;
}

body.dark-mode .about-container h3 {
  color: var(--blue9);
}

.about-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.about-info {
  display: grid;
  gap: 10px;
  margin: 5px 0;
  white-space: nowrap;
}

.about-info-item {
  align-items: left;
  margin-bottom: 10px;
}

.about-info-item i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--blue9);
}

.about-info-item strong {
  margin-right: 5px;
  color: var(--blue11);
}

body.dark-mode .about-info-item strong {
  color: var(--blue9);
}

.about-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-link:hover {
  color: var(--blue11);
  text-decoration: none;
}

body.dark-mode .about-link:hover {
  color: var(--blue9);
}

/* Skills Section */
.skills-section {
  padding: 60px 0;
  background-color: var(--blue2);
}

body.dark-mode .skills-section {
  background-color: var(--slate2);
}

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

.skills-content {
  margin-bottom: 30px;
}

.skills-list {
  margin-top: 30px;
}

.skill-item {
  margin-bottom: 25px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.skill-name i {
  font-size: 18px;
  color: var(--blue9);
  margin-right: 10px;
}

.skill-name span:first-of-type {
  font-weight: 600;
  color: var(--blue11);
  flex-grow: 1;
  margin-left: 5px;
}

body.dark-mode .skill-name span:first-of-type {
  color: var(--blue9);
}

.skill-percentage {
  font-weight: 600;
  color: var(--blue10);
}

body.dark-mode .skill-percentage {
  color: var(--slate11);
}

.skill-bar {
  height: 10px;
  background-color: var(--blue4);
  border-radius: 5px;
  overflow: hidden;
}

body.dark-mode .skill-bar {
  background-color: var(--slate4);
}

.skill-progress {
  height: 100%;
  background-color: var(--blue9);
  border-radius: 5px;
  width: 0; /* Will be set with JavaScript */
  transition: width 1.5s ease;
}

/* Section Titles - Common Style */
.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: var(--blue11);
}

body.dark-mode .section-title h2 {
  color: var(--blue9);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--blue9);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--blue10);
  margin: 0 3rem;
}

body.dark-mode .section-title p {
  color: var(--slate11);
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background-color: var(--blue2);
}

body.dark-mode .contact-section {
  background-color: var(--slate2);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-address,
.contact-email,
.contact-phone {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.contact-address i,
.contact-email i,
.contact-phone i {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--blue5);
  color: var(--blue11);
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

body.dark-mode .contact-address i,
body.dark-mode .contact-email i,
body.dark-mode .contact-phone i {
  background-color: var(--slate4);
  color: var(--blue9);
}

.contact-address div,
.contact-email div,
.contact-phone div {
  flex: 1;
}

.contact-button {
  background-color: var(--blue10);
  color: var(--blue1);
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: var(--blue11);
  box-shadow: 0 5px 15px var(--shadow-color);
  transform: translateY(-2px);
}

body.dark-mode .contact-button {
  background-color: var(--blue10);
  color: var(--slate12);
}

body.dark-mode .contact-button:hover {
  background-color: var(--blue11);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--blue1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

body.dark-mode .contact-form {
  background-color: var(--slate3);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--blue6);
  border-radius: 6px;
  background-color: var(--blue2);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
  font-family: inherit;
}

body.dark-mode .form-control {
  background-color: var(--slate2);
  border: 1px solid var(--slate5);
  color: var(--slate12);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue9);
}

textarea.form-control {
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--blue12);
  color: var(--blue3);
  padding: 40px 0 20px;
  text-align: center;
}

body.dark-mode footer {
  background-color: var(--slate2);
  color: var(--slate11);
}

.all-rights-reserved {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 14px;
}

/* Scroll Top Button - If you decide to add one */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--blue9);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--blue11);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ===== Welcome Section Enhancements ===== */
/* 1. Tech Stack Icons */
.tech-stack {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.tech-stack i {
  font-size: 2.5rem;
  color: var(--blue8);
  transition: all 0.3s ease;
  position: relative;
}

.tech-stack i:hover {
  color: var(--blue11);
  transform: translateY(-5px);
}

.tech-stack i::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue12);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: "Inter", sans-serif;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-stack i:hover::after {
  opacity: 1;
}

/* 2. Typing Animation */
.typed-text {
  color: var(--blue9);
  font-weight: bold;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--blue9);
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* 3. Interactive Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  background-color: var(--blue7);
  border-radius: 50%;
  opacity: 0.3;
  width: var(--size);
  height: var(--size);
  top: var(--y);
  left: var(--x);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-50px) translateX(20px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* 4. Project Counter */
.stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.stat {
  text-align: center;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--blue11);
  display: inline-block;
}

.stat p {
  margin-top: 5px;
  color: var(--blue10);
  font-size: 0.9rem;
}

/* 5. 3D Profile Picture */
.profile-container {
  position: relative;
  display: inline-block;
}

.profile-picture {
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.profile-picture:hover {
  transform: perspective(1000px) rotateY(15deg) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 106, 220, 0.3);
}

.availability-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: var(--blue9);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 6. Gradient Animated Border */
.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  border: 3px solid transparent;
  background: linear-gradient(45deg, var(--blue8), var(--blue11)) border-box;
  background-size: 200% 200%;

  animation: borderAnimation 8s linear infinite;
  -webkit-animation: borderAnimation 8s linear infinite;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 7. CTA Micro-interactions */
.cta-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
  z-index: -1;
}

.cta-button:hover::after {
  left: 100%;
}

/* 8. Responsive Layout */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    text-align: left;
    align-items: center;
  }

  .profile-container {
    flex-shrink: 0;
  }
}

/* 9. Theme Switcher */
.theme-switcher {
  margin-right: 1.5rem;
}

#themeToggle {
  background: var(--blue5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#themeToggle:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

/* 10. Animated Background Pattern */
.hero {
  background-image:
    linear-gradient(135deg, var(--blue2), var(--blue4)),
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="1" fill="%23b7d9f8" opacity="0.2"/><circle cx="75" cy="25" r="1" fill="%23b7d9f8" opacity="0.2"/><circle cx="50" cy="50" r="1" fill="%23b7d9f8" opacity="0.2"/><circle cx="25" cy="75" r="1" fill="%23b7d9f8" opacity="0.2"/><circle cx="75" cy="75" r="1" fill="%23b7d9f8" opacity="0.2"/></svg>');
  background-size: 100px 100px;
  animation: animatedBackground 20s linear infinite;
}

@keyframes animatedBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 100px;
  }
}
/* flex-grow: 1;
} */

.contact-address h3,
.contact-email h3,
.contact-phone h3 {
  font-size: 18px;
  color: var(--blue11);
  margin-bottom: 5px;
}

body.dark-mode .contact-address h3,
body.dark-mode .contact-email h3,
body.dark-mode .contact-phone h3 {
  color: var(--blue9);
}

.contact-address p,
.contact-email p,
.contact-phone p {
  font-size: 16px;
  color: var(--text-primary);
}

.contact-social {
  display: flex;
  margin-top: 40px;
}

.contact-social .social-icon {
  width: 36px;
  height: 36px;
  background-color: var(--blue5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

body.dark-mode .contact-social .social-icon {
  background-color: var(--slate4);
}

.contact-social .social-icon:hover {
  background-color: var(--blue9);
}

.contact-social .social-icon i {
  color: var(--blue11);
  font-size: 16px;
  transition: all 0.3s ease;
}

body.dark-mode .contact-social .social-icon i {
  color: var(--blue9);
}

.contact-social .social-icon:hover i {
  color: var(--blue1);
}

body.dark-mode .contact-social .social-icon:hover i {
  color: var(--slate12);
}

.contact-form {
  flex: 2;
  min-width: 400px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--blue5);
  border-radius: 5px;
  background-color: var(--blue1);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

body.dark-mode .form-control {
  border: 1px solid var(--slate5);
  background-color: var(--slate3);
  color: var(--slate12);
}

.form-control:focus {
  border-color: var(--blue9);
  outline: none;
  box-shadow: 0 0 8px rgba(0, 145, 255, 0.2);
}

body.dark-mode .form-control:focus {
  border-color: var(--blue9);
  box-shadow: 0 0 8px rgba(62, 149, 255, 0.3);
}

textarea.form-control {
  height: 160px;
  resize: none;
}

.contact-button {
  background-color: var(--blue10);
  color: var(--blue1);
  font-weight: 600;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: var(--blue11);
  box-shadow: 0 5px 15px var(--shadow-color);
  transform: translateY(-2px);
}

body.dark-mode .contact-button {
  background-color: var(--blue10);
}

body.dark-mode .contact-button:hover {
  background-color: var(--blue11);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background-image: linear-gradient(90deg, var(--blue11), var(--blue12));
  color: var(--blue4);
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

body.dark-mode footer {
  background-image: linear-gradient(90deg, #0f172a, #020617);
  color: var(--slate11);
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social .social-icon {
  width: 36px;
  height: 36px;
  background-color: var(--blue11);
  border-radius: 50%;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  transition: all 0.3s ease;
}

body.dark-mode .footer-social .social-icon {
  background-color: var(--slate6);
}

.footer-social .social-icon:hover {
  background-color: var(--blue9);
}

.footer-social .social-icon i {
  color: var(--blue1);
  font-size: 16px;
}

body.dark-mode .footer-social .social-icon i {
  color: var(--slate12);
}

.all-rights-reserved {
  padding: 15px 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .about-img {
    text-align: center;
    margin-bottom: 30px;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    margin-bottom: 40px;
  }

  .contact-form {
    min-width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .skills-list {
    padding: 0;
  }
}

@media (max-width: 800px) {
  .hideOnMobile {
    display: none;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero {
    height: 60vh;
  }
}

@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }

  .hero {
    height: 70vh;
  }

  .section-title h2 {
    font-size: 28px;
  }
}

/* For sidebar functionality - to be used with JavaScript */
.showSidebar {
  display: flex;
}

/* For JavaScript animations */
.animated {
  opacity: 1;
}
