@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  /* Colors */
  --primary-color: #9d75ff;
  --primary-light: #b494ff;
  --text-color: #ffffff;
  --text-color-dark: #e6e6e6;
  --text-color-light: #a0a0a0;
  --text-color-gray: #cccccc;
  --background-color: #0a0225;
  --card-bg: #1a1a2e;
  --section-bg: #0f0f1a;
  --border-color: #2a2a3a;
  --input-bg: #1a1a2e;

  /* Shadows */
  --shadow-primary: 0 0 30px rgba(157, 117, 255, 0.2);
  --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-speed: 0.3s;

  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 50px;
}

[data-theme="light"] {
  --primary-color: #5f32e7;
  --primary-light: #9d75ff;
  --text-color: #212121;
  --text-color-dark: #040218;
  --text-color-light: #666666;
  --text-color-gray: #888888;
  --background-color: #ffffff;
  --card-bg: #ffffff;
  --section-bg: #f8f9fa;
  --border-color: #e0e0e0;
  --input-bg: #ffffff;
  --shadow-primary: 0 0 30px rgba(157, 117, 255, 0.3);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.header.finisher-header {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

nav {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 65%;
  margin: 0 auto;
  padding: 15px 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

nav:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.4em;
}

.navigation a {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  padding-left: 30px;
}

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

.navigation a.active {
  color: var(--primary-light);
  text-shadow: 0 0 10px rgba(157, 117, 255, 0.5);
  position: relative;
}

.navigation a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 30px;
  width: calc(100% - 30px);
  height: 2px;
  background-color: #9d75ff;
  box-shadow: 0 0 10px rgba(157, 117, 255, 0.5);
}

/* ----------------------------------------------------------------------- */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  margin-top: 50px;
}

.text-content {
  max-width: 600px;
}
.text-content span {
  color: var(--primary-color);
}

.text-content h1 {
  color: var(--text-color);
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-content h3 {
  color: var(--text-color-gray);
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 20px;
  /* border-right: 2px solid #7aa0ff; */
  white-space: nowrap;
  min-width: 1ch;
  /* animation: blink 0.8s infinite; */
}

.text-content p {
  color: var(--text-color-gray);
  font-size: 1.3em;
  line-height: 1.6;
}

.profile-frame {
  width: 400px;
  height: 400px;
  /* border-radius: 45% 45% 45% 45%/45% 45% 45% 45%; */
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  border: 4px solid var(--text-color);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-frame img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* From Uiverse.io by StealthWorm */
.btn {
  text-decoration: none; /* إضافة */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  margin-top: 30px; /* إضافة هامش علوي */
  border: none; /* إضافة */
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Avalors Personal Use";
  font-size: 18px;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 1px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: sle(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Theme Toggle Switch */
.theme-switch {
  margin-left: 30px;
  display: inline-block;
  vertical-align: middle;
}

.theme-switch input {
  display: none;
}

.toggle-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.toggle-label i {
  color: #f1c40f;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.toggle-label i.fa-sun {
  left: 10px;
}

.toggle-label i.fa-moon {
  right: 10px;
  color: #7aa0ff;
}

.toggle-ball {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#theme-toggle:checked + .toggle-label .toggle-ball {
  transform: translateX(30px);
}

#theme-toggle:checked + .toggle-label {
  background: rgba(0, 0, 0, 0.2);
}

/* Light Theme Classes */
body.light-theme .text-content h1,
body.light-theme .text-content h3 {
  color: var(--text-color-dark);
}

body.light-theme .text-content p {
  color: #333;
}

body.light-theme .navigation a {
  color: var(--text-color-dark);
}

body.light-theme .logo {
  color: #157eaf;
}

body.light-theme .profile-frame {
  border-color: #157eaf;
  box-shadow: 0 0 30px rgba(21, 126, 175, 0.3);
}

/* ------------------------------------------------- */

.tech-stack {
  padding: 5px 100px;
  margin-top: 20px;
}

.tech-stack h2 {
  color: #ffffff;
  font-size: 1.3em;
  margin-bottom: 20px;
  text-align: left;
}

.tech-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tech-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-icon:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-icon i,
.tech-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tech-icon span {
  color: #e6e6e6;
  font-size: 0.9em;
  font-weight: 500;
}

/* Specific colors for each technology */
.tech-icon.js i {
  color: #f7df1e;
}
.tech-icon.css i {
  color: #264de4;
}
.tech-icon.csharp img {
  filter: brightness(0.9) saturate(1.2);
}
.tech-icon.cpp img {
  filter: brightness(0.9) saturate(1.2);
}

/* About Section Styles */
.about-section {
  background-color: var(--section-bg);
  padding: 100px 0;
  min-height: 100vh;
}

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

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

.about-content h2 {
  color: var(--text-color-dark);
  font-size: 2.5em;
  margin-bottom: 50px;
  position: relative;
  text-align: left;
}

.about-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.about-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-content p {
  color: var(--text-color-light);
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  min-width: 200px;
}

.stat-number {
  display: block;
  color: var(--primary-color);
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-text {
  color: var(--text-color-light);
  font-size: 1em;
}

/* Skills Section */
.skills-section {
  padding: 80px 0;
  background-color: rgb(18, 1, 38);
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-speed) ease;
}

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

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

.skill-card h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.skill-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.skill-card ul li {
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}

.skill-card ul li i {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  width: auto;
}

@media (max-width: 360px) {
  .skill-card ul {
    grid-template-columns: 1fr;
  }
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
  background-color: var(--section-bg);
}

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

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

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-card h3 {
  padding: 20px 20px 10px;
  color: var(--text-color);
}

.project-card p {
  padding: 0 20px;
  color: var(--text-color-light);
}

.project-links {
  padding: 20px;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.project-links a {
  color: #5f32e7;
  font-size: 1.5em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-links a:hover {
  color: #9d75ff;
  transform: translateY(-3px);
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background-color: #0a0225;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

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

.pricing-card h3 {
  color: var(--text-color);
  margin-bottom: 20px;
}

.price {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-card ul li {
  margin: 10px 0;
  color: var(--text-color-light);
}

/* Fix pricing section buttons */
.pricing-card .btn {
  width: 100%;
  height: 45px;
  margin-top: 0;
  font-size: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: none;
  background-image: none;
  backdrop-filter: none;
}

.pricing-card .btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(157, 117, 255, 0.3);
}

.pricing-card .btn strong {
  font-size: 1em;
  letter-spacing: normal;
  font-family: inherit;
  text-shadow: none;
}

/* Remove complex button effects for pricing cards */
.pricing-card .btn #container-stars,
.pricing-card .btn #glow {
  display: none;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #040218;
}

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

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-color);
}

.contact-item i {
  font-size: 1.5em;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  font-size: 1.5em;
  color: var(--text-color);
  transition: color 0.3s ease;
}

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

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

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  color: var(--text-color);
  background: var(--input-bg);
  color: var(--text-color);
}

/* Enhanced Mobile Responsiveness */

/* Navigation Mobile Improvements */
@media (max-width: 768px) {
  nav {
    width: 90%;
    padding: 10px 20px;
    flex-direction: column;
    gap: 15px;
    top: 10px;
    border-radius: 20px;
  }

  .navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .navigation a {
    padding: 8px 12px;
    font-size: 0.8em;
    border-radius: 15px;
    transition: all 0.3s ease;
  }

  .navigation a:hover,
  .navigation a.active {
    background: rgba(157, 117, 255, 0.2);
  }

  .navigation a.active::after {
    display: none;
  }

  .theme-switch {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  nav {
    width: 95%;
    padding: 8px 15px;
    gap: 10px;
  }

  .logo {
    font-size: 1.2em;
  }

  .navigation a {
    padding: 6px 10px;
    font-size: 0.75em;
  }
}

/* Add padding to body to account for fixed nav */
body {
  padding-top: 100px;
}

@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 140px;
  }
}

/* Sections Padding */
.about-section,
.skills-section,
.projects-section,
.pricing-section,
.contact-section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .about-section,
  .skills-section,
  .projects-section,
  .pricing-section,
  .contact-section {
    padding: 60px 0;
  }

  .about-container,
  .skills-container,
  .projects-container,
  .pricing-container,
  .contact-container {
    padding: 0 15px;
  }
}

/* Mobile Headers */
@media (max-width: 768px) {
  .about-section h2,
  .skills-section h2,
  .projects-section h2,
  .pricing-section h2,
  .contact-section h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
  }

  .about-section h2::after,
  .skills-section h2::after,
  .projects-section h2::after,
  .pricing-section h2::after,
  .contact-section h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Stats Mobile */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .stat-item {
    min-width: 80%;
    max-width: 300px;
  }

  .stat-number {
    font-size: 2em;
  }
}

/* Skills Grid Mobile Enhanced */
@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skill-card {
    padding: 20px;
  }

  .skill-card ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .skill-card h3 {
    font-size: 1.2em;
  }
}

/* Projects Mobile Enhanced */
@media (max-width: 576px) {
  .project-card h3 {
    font-size: 1.2em;
    padding: 15px 15px 8px;
  }

  .project-card p {
    padding: 0 15px;
    font-size: 0.9em;
  }

  .project-links {
    padding: 15px;
    gap: 15px;
    justify-content: center;
  }
}

/* Pricing Mobile Enhanced */
@media (max-width: 576px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .pricing-card.featured {
    transform: none;
    margin: 10px 0;
  }

  .price {
    font-size: 2em;
  }
}

/* Contact Mobile Enhanced */
@media (max-width: 576px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .social-links {
    justify-content: center;
  }
}

/* Button Mobile Fixes */
@media (max-width: 768px) {
  .btn:hover {
    transform: scale(1.02);
  }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
  .text-content h1 {
    font-size: 1.8em;
  }

  .text-content h3 {
    font-size: 1.2em;
  }

  .text-content p {
    font-size: 1em;
  }

  .profile-frame {
    width: 200px;
    height: 200px;
  }

  .skill-card,
  .project-card,
  .pricing-card {
    padding: 15px;
  }

  .about-section h2,
  .skills-section h2,
  .projects-section h2,
  .pricing-section h2,
  .contact-section h2 {
    font-size: 1.8em;
  }
}

/* Touch Improvements */
@media (max-width: 768px) {
  .navigation a,
  .social-links a,
  .footer-social a,
  .project-links a {
    padding: 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    min-height: 48px;
    font-size: 1em;
  }

  .tech-icon {
    min-height: 40px;
  }
}

/* Landscape Mobile */
@media (max-width: 896px) and (orientation: landscape) {
  .header.finisher-header {
    min-height: auto;
  }

  .content {
    margin-top: 20px;
    padding: 0 20px;
  }

  .profile-frame {
    width: 200px;
    height: 200px;
  }
}

/* Theme Toggle Switch */
.theme-switch {
  margin-left: 30px;
  display: inline-block;
  vertical-align: middle;
}

.theme-switch input {
  display: none;
}

.toggle-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.toggle-label i {
  color: #f1c40f;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.toggle-label i.fa-sun {
  left: 10px;
}

.toggle-label i.fa-moon {
  right: 10px;
  color: #7aa0ff;
}

.toggle-ball {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#theme-toggle:checked + .toggle-label .toggle-ball {
  transform: translateX(30px);
}

#theme-toggle:checked + .toggle-label {
  background: rgba(0, 0, 0, 0.2);
}

/* Light Theme Classes */
body.light-theme .text-content h1,
body.light-theme .text-content h3 {
  color: var(--text-color-dark);
}

body.light-theme .text-content p {
  color: #333;
}

body.light-theme .navigation a {
  color: var(--text-color-dark);
}

body.light-theme .logo {
  color: #157eaf;
}

body.light-theme .profile-frame {
  border-color: #157eaf;
  box-shadow: 0 0 30px rgba(21, 126, 175, 0.3);
}

/* ------------------------------------------------- */

.tech-stack {
  padding: 5px 100px;
  margin-top: 20px;
}

.tech-stack h2 {
  color: #ffffff;
  font-size: 1.3em;
  margin-bottom: 20px;
  text-align: left;
}

.tech-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tech-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-icon:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-icon i,
.tech-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tech-icon span {
  color: #e6e6e6;
  font-size: 0.9em;
  font-weight: 500;
}

/* Specific colors for each technology */
.tech-icon.js i {
  color: #f7df1e;
}
.tech-icon.css i {
  color: #264de4;
}
.tech-icon.csharp img {
  filter: brightness(0.9) saturate(1.2);
}
.tech-icon.cpp img {
  filter: brightness(0.9) saturate(1.2);
}

/* About Section Styles */
.about-section {
  background-color: var(--section-bg);
  padding: 100px 0;
  min-height: 100vh;
}

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

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

.about-content h2 {
  color: var(--text-color-dark);
  font-size: 2.5em;
  margin-bottom: 50px;
  position: relative;
  text-align: left;
}

.about-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.about-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-content p {
  color: var(--text-color-light);
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  min-width: 200px;
}

.stat-number {
  display: block;
  color: var(--primary-color);
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-text {
  color: var(--text-color-light);
  font-size: 1em;
}

/* Skills Section */
.skills-section {
  padding: 80px 0;
  background-color: rgb(18, 1, 38);
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-speed) ease;
}

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

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

.skill-card h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.skill-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.skill-card ul li {
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}

.skill-card ul li i {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  width: auto;
}

@media (max-width: 360px) {
  .skill-card ul {
    grid-template-columns: 1fr;
  }
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
  background-color: var(--section-bg);
}

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

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

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-card h3 {
  padding: 20px 20px 10px;
  color: var(--text-color);
}

.project-card p {
  padding: 0 20px;
  color: var(--text-color-light);
}

.project-links {
  padding: 20px;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.project-links a {
  color: #5f32e7;
  font-size: 1.5em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-links a:hover {
  color: #9d75ff;
  transform: translateY(-3px);
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background-color: #0a0225;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

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

.pricing-card h3 {
  color: var(--text-color);
  margin-bottom: 20px;
}

.price {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-card ul li {
  margin: 10px 0;
  color: var(--text-color-light);
}

/* Fix pricing section buttons */
.pricing-card .btn {
  width: 100%;
  height: 45px;
  margin-top: 0;
  font-size: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: none;
  background-image: none;
  backdrop-filter: none;
}

.pricing-card .btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(157, 117, 255, 0.3);
}

.pricing-card .btn strong {
  font-size: 1em;
  letter-spacing: normal;
  font-family: inherit;
  text-shadow: none;
}

/* Remove complex button effects for pricing cards */
.pricing-card .btn #container-stars,
.pricing-card .btn #glow {
  display: none;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #040218;
}

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

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-color);
}

.contact-item i {
  font-size: 1.5em;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  font-size: 1.5em;
  color: var(--text-color);
  transition: color 0.3s ease;
}

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

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

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  color: var(--text-color);
  background: var(--input-bg);
  color: var(--text-color);
}

/* Update section backgrounds */
.skills-section {
  background-color: var(--background-color);
}

.projects-section {
  background-color: var(--section-bg);
}

.pricing-section {
  background-color: var(--background-color);
}

.contact-section {
  background-color: var(--section-bg);
}

.about-section {
  background-color: var(--section-bg);
}

/* Update text colors */
.about-content h2 {
  color: var(--text-color);
}

.about-content p {
  color: var(--text-color-light);
}

.skill-card {
  background: var(--card-bg);
}

.project-card {
  background: var(--card-bg);
}

.pricing-card {
  background: var(--card-bg);
}

/* Unified Section Headers */
.about-section h2,
.skills-section h2,
.projects-section h2,
.pricing-section h2,
.contact-section h2 {
  color: var(--text-color);
  font-size: 2.5em;
  margin-bottom: 30px;
  position: relative;
  text-align: left;
}

.about-section h2::after,
.skills-section h2::after,
.projects-section h2::after,
.pricing-section h2::after,
.contact-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* Footer Styles */
.footer {
  background-color: var(--background-color);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 20px;
}

.footer-section h4 {
  color: var(--text-color);
  font-size: 1.2em;
  margin-bottom: 15px;
}

.footer-section p {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  color: var(--text-color-light);
  font-size: 1.5em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.footer-contact i {
  color: var(--primary-color);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: var(--text-color-light);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}
