/* ==================== Global Styles ==================== */

:root {
  --primary-color: #ffffff;
  --secondary-color: #e0e0e0;
  --dark-bg: #0f0f0f;
  --card-bg: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #b0b0b0;
  --border-color: #333333;
  --accent-light: #f5f5f5;
  --accent-dark: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%
    ),
    linear-gradient(225deg, rgba(200, 200, 200, 0.05) 0%, transparent 40%),
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(180, 180, 180, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

/* ==================== Meteor Animation ==================== */

.meteor-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.meteor {
  position: absolute;
  width: 2px;
  height: 2px;
  background: linear-gradient(
    45deg,
    transparent,
    #ffffff,
    #b0b0b0,
    transparent
  );
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(100vh) translateX(100px);
    opacity: 0;
  }
}

/* ==================== Navigation ==================== */

.navbar {
  background: rgba(15, 15, 15, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333333;
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.98) !important;
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  margin: 0 0.5rem;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

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

/* ==================== Hero Section ==================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
  animation: float 6s ease-in-out infinite;
  z-index: -1;
}

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

.hero-content {
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-light), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .text-primary {
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  border: none;
  color: #0f0f0f;
  font-weight: 600;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #e0e0e0, #ffffff);
}

.hero-buttons .btn-outline-primary {
  color: #ffffff;
  border: 2px solid #ffffff;
}

.hero-buttons .btn-outline-primary:hover {
  background: #ffffff;
  color: #0f0f0f;
}

/* Profile Circle */

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-circle {
  width: 400px;
  height: 400px;
  position: relative;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.profile-circle-inner {
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from 0deg,
    var(--primary-color),
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 50%;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 20s linear infinite reverse;
}

.profile-photo {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--card-bg);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-image {
    margin-top: 3rem;
  }
  .profile-circle {
    width: 200px;
    height: 200px;
  }
}

/* ==================== About Section ==================== */

.about-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.about-section::before {
  content: "";
  position: absolute;
  left: -50%;
  bottom: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.08), transparent);
  z-index: -1;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  color: linear-gradient(135deg, #ffffff, #e0e0e0);
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 100%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 0 auto;
  border-radius: 2px;
}

.about-box {
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.8),
    rgba(26, 31, 58, 0.5)
  );
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-align: center;
}

.about-box:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.about-box h3 {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-box p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.stat-item {
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.8),
    rgba(26, 31, 58, 0.5)
  );
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==================== Skills Section ==================== */

.skills-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.skills-section::before {
  content: "";
  position: absolute;
  right: -50%;
  top: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.08), transparent);
  z-index: -1;
}

.skills-category {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-category-box {
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.8),
    rgba(26, 31, 58, 0.5)
  );
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.skill-category-box:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.skill-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-title i {
  font-size: 1.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(0, 153, 204, 0.2)
  );
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* ==================== Projects Section ==================== */

.projects-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.projects-section::before {
  content: "";
  position: absolute;
  left: -30%;
  bottom: -40%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.08), transparent);
  z-index: -1;
}

.project-card {
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.8),
    rgba(26, 31, 58, 0.5)
  );
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.project-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.project-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(200, 200, 200, 0.15),
    rgba(180, 180, 180, 0.15)
  );
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.project-buttons span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.project-buttons .btn {
  font-size: 0.9rem;
}

.project-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
}

.project-info h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-header h5 {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-not-published {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.2),
    rgba(255, 152, 0, 0.2)
  );
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.5);
}

.badge-private {
  background: linear-gradient(
    135deg,
    rgba(244, 67, 54, 0.2),
    rgba(233, 30, 99, 0.2)
  );
  color: #ff6b6b;
  border: 1px solid rgba(244, 67, 54, 0.5);
}

.badge-published {
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.2),
    rgba(56, 142, 60, 0.2)
  );
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.5);
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-shrink: 0;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(200, 200, 200, 0.1);
  flex-shrink: 0;
}

.tech-badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

/* ==================== Contact Section ==================== */

.contact-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.contact-section::before {
  content: "";
  position: absolute;
  right: -40%;
  bottom: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.08), transparent);
  z-index: -1;
}

.contact-form {
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.8),
    rgba(26, 31, 58, 0.5)
  );
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-form .form-label {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  background: rgba(10, 14, 39, 0.7);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  border: none;
  color: #0f0f0f;
  font-weight: 700;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(135deg, #e0e0e0, #ffffff);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.5);
}

.contact-info {
  padding: 0 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.8),
    rgba(26, 31, 58, 0.5)
  );
  border: 1px solid var(--border-color);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-details p {
  color: var(--text-muted);
  margin: 0;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 2rem;
}

.social-links h5 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(200, 200, 200, 0.08)
  );
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-size: 1.5rem;
  text-decoration: none;
}

.social-icon:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(200, 200, 200, 0.15)
  );
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* ==================== Footer ==================== */

.footer {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 15, 0.95),
    rgba(25, 25, 25, 0.95)
  );
  border-top: 2px solid var(--border-color);
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .footer-brand {
    justify-content: center;
  }
}

.footer-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-links li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links li a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.footer-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(200, 200, 200, 0.08)
  );
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-icon:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(200, 200, 200, 0.15)
  );
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-copyright {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.footer-credit {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.footer-credit i {
  color: #ff6b6b;
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .footer-brand {
    margin-bottom: 1rem;
  }
  .footer-links {
    margin: 1rem 0;
  }
  .footer-social {
    margin-top: 1rem;
  }
  .footer-bottom {
    text-align: center;
  }
  .footer-copyright,
  .footer-credit {
    margin-bottom: 0.5rem;
  }
}

/* ==================== Modal Styles ==================== */

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.95),
    rgba(26, 31, 58, 0.9)
  );
  border: 1px solid var(--border-color);
  border-radius: 15px;
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  color: var(--primary-color);
  font-weight: 700;
}

.btn-close {
  filter: brightness(0) invert(1);
}

.modal-body p {
  color: var(--text-muted);
}

/* ==================== Responsiveness ==================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .contact-info {
    padding: 0;
    margin-top: 2rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .skills-category {
    font-size: 1.2rem;
  }
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .social-icons {
    justify-content: center;
  }
}

/* ==================== Animations ==================== */

.aos-init {
  opacity: 0;
}

.aos-animate {
  opacity: 1;
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Smooth transitions */

a,
button {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

/* Scrollbar Styling */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e0e0e0;
}

/* ==================== Color Theme Override (Black & White Modern) ==================== */

/* Update all blue color references to white/grayscale gradient */

.about-box:hover,
.stat-item:hover,
.skill-category-box:hover,
.project-card:hover,
.contact-item:hover {
  border-color: #ffffff;
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.about-box,
.stat-item,
.skill-category-box,
.project-card,
.contact-item {
  border-color: #333333;
}

.about-box h3,
.skill-title,
.project-info h5,
.contact-details h5,
.stat-number,
.section-title h2,
.skills-category {
  color: #ffffff;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-tag:hover {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  color: #0f0f0f;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.tech-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon {
  border-color: #ffffff;
  color: #ffffff;
}

.social-icon:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(200, 200, 200, 0.15)
  );
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.profile-circle-inner {
  background: conic-gradient(from 0deg, #ffffff, #e0e0e0, #ffffff);
}

.profile-svg {
  color: #ffffff;
}

/* Gradient text updates */

.hero-title {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title h2 {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-underline {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
}

/* Gradient backgrounds */

.about-section::before,
.skills-section::before,
.projects-section::before,
.contact-section::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
}

/* Form styling */

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333333;
  color: #ffffff;
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Modal styling */

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  border: 1px solid #333333;
}

.modal-header {
  border-bottom: 1px solid #333333;
}

.modal-title {
  color: #ffffff;
}

.modal-body p {
  color: #b0b0b0;
}
