﻿/* UMS Project Styles */
.ums-title {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ums-tech-header {
  margin-top: 15px;
  font-size: 18px;
  color: #fff;
}

/* Stylish GitHub link with animated effects */
.github-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(40, 40, 70, 0.7), rgba(20, 20, 40, 0.8));
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(100, 100, 255, 0.2);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.github-link::before {
  content: "";
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>') no-repeat center center;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
  opacity: 0.9;
}

.github-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(60, 60, 100, 0.8), rgba(30, 30, 60, 0.9));
  color: #7df9ff;
  /* electric blue */
  box-shadow: 0 6px 18px rgba(0, 204, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border-color: rgba(100, 200, 255, 0.4);
}

.github-link:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: 'Arial', sans-serif;
  overflow: hidden;
  /* This is overridden on pages that need to scroll */
  color: #f2f2f2;
}

.page-content {
  margin-top: 85px;
  position: relative;
  z-index: 1;
}


/* Fullscreen Animated Gradient Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  z-index: -3;
}

/* Modern Parallax Star Background Styles */
.stars-small,
.stars-medium,
.stars-large {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
}

.stars-small {
  width: 1px;
  height: 1px;
  animation: animStar 50s linear infinite;
}

.stars-small:after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 1px;
  height: 1px;
  background: transparent;
}

.stars-medium {
  width: 2px;
  height: 2px;
  animation: animStar 100s linear infinite;
}

.stars-medium:after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 2px;
  height: 2px;
  background: transparent;
}

.stars-large {
  width: 3px;
  height: 3px;
  animation: animStar 150s linear infinite;
}

.stars-large:after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 3px;
  height: 3px;
  background: transparent;
}


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

  to {
    transform: translateY(-2000px);
  }
}

/* Modern Navbar Container */
.button-container {
  display: flex;
  justify-content: center;
  /* Center the entire navbar */
  align-items: center;
  padding: 18px 40px;
  /* Equal padding on both sides */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.button-container:hover {
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Site logo styling */
.site-logo {
  display: flex;
  align-items: center;
  position: absolute;
  left: 40px;
  /* Match the container's left padding */
}

.site-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.logo-text:hover {
  filter: drop-shadow(0 2px 8px rgba(76, 165, 255, 0.6));
  transform: translateY(-1px);
}

/* Modern Nav Button Style */
.glow-on-hover {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  outline: none;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 100px;
  /* Ensures buttons have a minimum width */
}

/* Active page indicator */
.glow-on-hover.active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.glow-on-hover::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #4ca5ff, #b573f8);
  transition: width 0.3s ease, box-shadow 0.3s ease;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 0 10px rgba(76, 165, 255, 0.2);
}

.glow-on-hover:hover {
  color: #ffffff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.glow-on-hover:hover::before {
  width: 80%;
  box-shadow: 0 0 15px rgba(76, 165, 255, 0.4);
}

.glow-on-hover.active::before {
  width: 70%;
  height: 3px;
  box-shadow: 0 0 20px rgba(76, 165, 255, 0.6);
}

/* Button icons */
.nav-icon {
  margin-right: 12px;
  font-size: 17px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.nav-icon i {
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.glow-on-hover:hover .nav-icon {
  transform: translateY(-2px) scale(1.1);
}

.glow-on-hover.active .nav-icon i {
  background: linear-gradient(135deg, #6ebfff, #d093ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(76, 165, 255, 0.4));
}

/* Navigation links container */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center the navigation links */
  gap: 35px;
  /* Maintain the gap between navigation items */
  margin-left: auto;
  /* Push nav links to the right of the logo */
  margin-right: auto;
  /* Equal margin on both sides */
}

/* Mobile responsive menu */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #fff;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {

  /* Navigation improvements */
  .button-container {
    padding: 12px 15px;
    justify-content: space-between;
    height: 60px;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .site-logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo-text {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 10px 0;
    opacity: 1;
    transform: translateY(0);
  }

  .glow-on-hover {
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    justify-content: flex-start;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    min-width: auto;
  }

  .glow-on-hover.active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .glow-on-hover::before {
    left: 0;
    bottom: -1px;
    transform: none;
    height: 2px;
    border-radius: 0;
  }

  .glow-on-hover:hover::before {
    width: 25%;
  }

  .glow-on-hover:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
  }

  .nav-icon {
    margin-right: 10px;
    font-size: 16px;
    width: 24px;
    height: 24px;
  }

  /* Page content adjustments */
  .page-content {
    margin-top: 80px;
    padding: 15px;
    min-height: calc(100vh - 80px);
  }

  .page-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .page-content p {
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
  }

  /* Home page mobile optimizations */
  .slide-content {
    padding: 20px 15px;
    padding-top: 60px;
  }

  .slide-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.1;
    margin-bottom: 15px;
  }

  .slide-content h2 {
    font-size: 2rem !important;
    margin-bottom: 15px;
  }

  .slide-content p {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

  /* Skills section mobile */
  .skill-container {
    padding: 15px !important;
    margin: 0 10px;
  }

  .skill-section {
    margin-bottom: 1rem;
  }

  .skill-section h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .skill-section span {
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    margin: 0.15rem;
  }

  /* Projects grid mobile */
  .projects-preview {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 0 10px !important;
  }

  .project-preview-card {
    margin-bottom: 15px;
  }

  .project-preview-card .p-5 {
    padding: 15px !important;
  }

  .project-preview-card h3 {
    font-size: 1.1rem !important;
  }

  .project-preview-card p {
    font-size: 0.9rem !important;
  }

  /* About section mobile */
  .about-container {
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
  }

  .about-image {
    flex: none;
    order: -1;
    text-align: center;
  }

  .profile-image {
    max-width: 200px;
  }

  .about-text h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Social media page mobile */
  .main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 15px;
  }

  .social-links-container,
  .contact-form-container {
    width: 100%;
    padding: 20px;
  }

  .social-button {
    padding: 12px 15px;
  }

  .social-button i {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .social-button span {
    font-size: 16px;
  }

  /* Scroll indicators mobile */
  .scroll-indicator {
    margin-top: 15px;
  }

  .scroll-text {
    font-size: 0.75rem;
    margin-top: 6px;
  }

  .scroll-circle {
    width: 35px;
    height: 35px;
  }

  .scroll-circle-inner {
    width: 20px;
    height: 20px;
  }

  /* Connect section mobile */
  .connect-content {
    width: 100%;
    max-width: 300px;
    padding: 0 15px;
  }

  .connect-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .email-link {
    font-size: 1rem;
  }

  .location-text {
    font-size: 0.9rem;
  }

  /* Button improvements */
  .view-all-btn {
    padding: 12px 20px !important;
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Form improvements */
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* Education timeline mobile */
  .education-timeline {
    width: 95%;
    gap: 20px;
  }

  .education-item {
    padding: 20px 15px;
  }

  .education-item h3 {
    font-size: 1.1rem;
  }

  /* Achievement list mobile */
  .achievement-list {
    width: 95%;
    gap: 15px;
  }

  .achievement-item {
    padding: 15px;
  }

  .achievement-item h3 {
    font-size: 1.1rem;
  }

  /* Projects grid mobile */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .project-card {
    padding: 15px;
    height: auto;
    min-height: 180px;
  }

  .project-card h3 {
    font-size: 1.1rem;
  }

  .tech-stack span {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .button-container {
    padding: 10px 12px;
    height: 55px;
  }

  .menu-toggle {
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .site-logo {
    left: 12px;
  }

  .logo-text {
    font-size: 16px;
  }

  .nav-links {
    top: 55px;
  }

  .page-content {
    margin-top: 70px;
    padding: 10px;
  }

  .slide-content {
    padding: 15px 10px;
    padding-top: 50px;
  }

  .slide-content h1 {
    font-size: 2rem !important;
  }

  .slide-content h2 {
    font-size: 1.6rem !important;
  }

  .page-content h1 {
    font-size: 1.8rem;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .about-text h1 {
    font-size: 1.8rem;
  }

  .skill-container {
    padding: 10px !important;
    margin: 0 5px;
  }

  .skill-section span {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    margin: 0.1rem;
  }

  .profile-image {
    max-width: 150px;
  }

  .connect-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .social-button i {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .social-button span {
    font-size: 14px;
  }
}

/* Page Content Styling */
.page-content {
  margin-top: 120px;
  text-align: center;
  padding: 20px;
  color: #f2f2f2;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-content h1 {
  font-size: 3em;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.page-content p {
  font-size: 1.2em;
  line-height: 1.8;
  width: 70%;
  margin: 0 auto;
}

/* Hero Section with Wave Animation */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-section .wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4973ff;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.hero-section .wave span {
  position: absolute;
  width: 325vh;
  height: 325vh;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  background: #000;
}

.hero-section .wave span:nth-child(1) {
  border-radius: 45%;
  background: rgba(20, 20, 20, 1);
  animation: animate 5s linear infinite;
}

.hero-section .wave span:nth-child(2) {
  border-radius: 40%;
  background: rgba(20, 20, 20, 0.5);
  animation: animate 10s linear infinite;
}

.hero-section .wave span:nth-child(3) {
  border-radius: 42.5%;
  background: rgba(20, 20, 20, 0.5);
  animation: animate 15s linear infinite;
}

/* Text content */
.hero-section .content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-section .content h1 {
  font-size: 3em;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-section .content h3 {
  font-size: 1.3em;
  font-weight: 400;
  color: #ddd;
}

/* Animation keyframes */
@keyframes animate {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

/* Skills Section */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 90%;
  max-width: 1200px;
}

.skill-category {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
  margin-bottom: 20px;
  color: #fffb00;
  font-size: 1.4em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #fffb00;
  padding-bottom: 10px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 15px;
}

.skill-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9em;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-tag::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;
}

.skill-tag:hover::before {
  left: 100%;
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Different gradient colors for different skill categories */
.skill-category:nth-child(1) .skill-tag {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.skill-category:nth-child(1) .skill-tag:hover {
  background: linear-gradient(135deg, #ee5a24, #ff6b6b);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.skill-category:nth-child(2) .skill-tag {
  background: linear-gradient(135deg, #4834d4, #686de0);
}

.skill-category:nth-child(2) .skill-tag:hover {
  background: linear-gradient(135deg, #686de0, #4834d4);
  box-shadow: 0 8px 25px rgba(72, 52, 212, 0.4);
}

.skill-category:nth-child(3) .skill-tag {
  background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

.skill-category:nth-child(3) .skill-tag:hover {
  background: linear-gradient(135deg, #54a0ff, #00d2d3);
  box-shadow: 0 8px 25px rgba(0, 210, 211, 0.4);
}

.skill-category:nth-child(4) .skill-tag {
  background: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.skill-category:nth-child(4) .skill-tag:hover {
  background: linear-gradient(135deg, #f368e0, #ff9ff3);
  box-shadow: 0 8px 25px rgba(255, 159, 243, 0.4);
}

.skill-category:nth-child(5) .skill-tag {
  background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.skill-category:nth-child(5) .skill-tag:hover {
  background: linear-gradient(135deg, #ff9ff3, #feca57);
  box-shadow: 0 8px 25px rgba(254, 202, 87, 0.4);
}

/* Education Timeline */
.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 80%;
  max-width: 800px;
}

.education-item {
  background: transparent;
  padding: 25px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  text-align: left;
}

.education-item h3 {
  color: #00ffd5;
  margin-bottom: 10px;
}

.degree {
  font-weight: bold;
  color: #fffb00;
  margin-bottom: 5px;
}

.date {
  color: #7a00ff;
  margin-bottom: 10px;
  font-style: italic;
}

.details {
  margin-top: 10px;
}

/* Achievement List */
.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
  max-width: 800px;
}

.achievement-item {
  background: transparent;
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  text-align: left;
}

.achievement-item h3 {
  color: #ff7300;
  margin-bottom: 10px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  width: 90%;
  max-width: 1000px;
}

.project-card {
  background: transparent;
  /* MODIFIED: Changed from rgba(0, 0, 0, 0.5) */
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  text-align: left;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card h3 {
  color: #48ff00;
  margin-bottom: 10px;
}

.tech-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-stack span {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8em;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 80%;
  max-width: 400px;
}

.social-button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  padding: 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(5px);
  transition: transform 0.3s, background 0.3s;
}

.social-button:hover {
  transform: translateY(-5px);
  background: transparent;
}

.social-button i {
  font-size: 1.5em;
  width: 30px;
}

.social-button:nth-child(1) i {
  color: #0077b5;
}

.social-button:nth-child(2) i {
  color: #ffffff;
}

.social-button:nth-child(3) i {
  color: #4267B2;
}

.social-button:nth-child(4) i {
  color: #1DA1F2;
}

.social-button:nth-child(5) i {
  color: #E1306C;
}

/* --- STICKY PARALLAX SLIDE STYLES --- */

/* Each slide needs overflow: hidden to contain its own starfield */
.slide {
  overflow: hidden;
}

/* Generic container for the stars, positioned absolutely within each slide */
.star-background {
  position: absolute;
  inset: 0;
  /* (top: 0, right: 0, bottom: 0, left: 0) */
  z-index: 1;
}

/* The content of the slide needs a higher z-index to appear above the stars */
.slide-content {
  position: relative;
  z-index: 2;
}

/* --- Star Layer Styling for Slides --- */
.stars-small,
.stars-medium,
.stars-large {
  background: transparent;
  position: absolute;
  inset: 0;
}

.stars-small:after,
.stars-medium:after,
.stars-large:after {
  content: " ";
  position: absolute;
  top: 2000px;
  /* This must match the Y translation in the keyframe */
  width: 100%;
  height: 100%;
  background: transparent;
}

.stars-small {
  width: 1px;
  height: 1px;
  animation: animStar1 50s linear infinite;
}

.stars-small:after {
  box-shadow: inherit;
}

.stars-medium {
  width: 2px;
  height: 2px;
  animation: animStar2 100s linear infinite;
}

.stars-medium:after {
  box-shadow: inherit;
}

.stars-large {
  width: 3px;
  height: 3px;
  animation: animStar3 150s linear infinite;
}

.stars-large:after {
  box-shadow: inherit;
}

/* --- Animation Keyframes for Slide Stars --- */
@keyframes animStar1 {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-200px, -2000px);
  }
}

@keyframes animStar2 {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-100px, -2000px);
  }
}

@keyframes animStar3 {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-50px, -2000px);
  }
}

/* Scroll Navigation Indicators */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.9em;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 300;
  animation: pulse 2s ease-in-out infinite;
}

.scroll-arrow {
  font-size: 2.5em;
  color: #ffffff;
  animation: smoothBounce 2.5s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.scroll-arrow:hover {
  color: #fffb00;
  transform: scale(1.3);
  text-shadow: 0 0 20px rgba(255, 251, 0, 0.8);
}

@keyframes smoothBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-15px);
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* About Section Layout */
.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h1 {
  text-align: center;
  margin-bottom: 30px;
}

.about-text p {
  width: 100%;
  margin: 0;
  text-align: justify;
}

.about-image {
  flex: 0 0 300px;
  display: flex;
  justify-content: right;
  align-items: center;
}

.profile-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

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

/* Responsive design for about section */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    flex: none;
    order: -1;
  }

  .profile-image {
    max-width: 250px;
  }
}

/* ======== Social Media Page Styles ======== */

/* Main Layout & Typography Styles */
.main-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  max-width: 600px;
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #e2e8f0;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #00dbde, #fc00ff);
  border-radius: 3px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.social-links-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Social Media Logo Styles */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  transition: all 0.3s ease;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 5px;
}

.social-button i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.social-button i::before {
  position: relative;
  z-index: 2;
}

.social-button i::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: all 0.3s ease;
}

/* LinkedIn styling */
.social-button:nth-child(1) i {
  color: #0077b5;
  border-color: rgba(0, 119, 181, 0.3);
}

.social-button:nth-child(1):hover i {
  background: #0077b5;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.5);
}

/* GitHub styling */
.social-button:nth-child(2) i {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-button:nth-child(2):hover i {
  background: #2f363d;
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Facebook styling */
.social-button:nth-child(3) i {
  color: #4267B2;
  border-color: rgba(66, 103, 178, 0.3);
}

.social-button:nth-child(3):hover i {
  background: #4267B2;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(66, 103, 178, 0.5);
}

/* Twitter styling */
.social-button:nth-child(4) i {
  color: #1DA1F2;
  border-color: rgba(29, 161, 242, 0.3);
}

.social-button:nth-child(4):hover i {
  background: #1DA1F2;
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.5);
}

/* Instagram styling */
.social-button:nth-child(5) i {
  color: #E1306C;
  border-color: rgba(225, 48, 108, 0.3);
}

.social-button:nth-child(5):hover i {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.5);
}

/* Email styling */
.social-button:nth-child(6) i {
  color: #d44638;
  border-color: rgba(212, 70, 56, 0.3);
}

.social-button:nth-child(6):hover i {
  background: #d44638;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(212, 70, 56, 0.5);
}

.social-button:hover i::after {
  opacity: 1;
}

.social-button span {
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-button:hover span {
  transform: translateX(5px);
}

/* Tooltip styles */
.tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

.tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 6px 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent;
}

.social-button:hover .tooltip {
  top: -50px;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #e2e8f0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0, 219, 222, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 219, 222, 0.2);
  outline: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #00dbde, #fc00ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-button::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: all 0.5s ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:active {
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.2rem;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .social-links-container,
  .contact-form-container {
    width: 100%;
  }
}

/* Accessibility Enhancements */
.social-button:focus,
.form-group input:focus,
.form-group textarea:focus,
.submit-button:focus {
  outline: 2px solid #00dbde;
  outline-offset: 2px;
}

/* Focus styles for keyboard navigation */
.social-button:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid #00dbde;
  outline-offset: 3px;
}

/* Page Animation Effects */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Scroll-triggered variant for headings we want to control manually */
.animate-fade-down-on-scroll {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-delay-100 {
  transition-delay: 100ms;
}

.animate-delay-200 {
  transition-delay: 200ms;
}

.animate-delay-300 {
  transition-delay: 300ms;
}

.animate-delay-400 {
  transition-delay: 400ms;
}

.animate-delay-500 {
  transition-delay: 500ms;
}

.animate-stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

/* Custom Scroll Indicator Styles */
.scroll-indicator {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  position: relative;
  transition: all 0.3s ease;
}

.scroll-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.scroll-circle-inner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-circle {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.scroll-indicator:hover .scroll-circle-inner {
  opacity: 1;
  transform: scale(0.8);
  background: rgba(0, 255, 255, 0.15);
}

.scroll-text {
  font-size: 0.8rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-text {
  opacity: 1;
  transform: translateY(0);
}

.chevron-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chevron {
  width: 12px;
  height: 6px;
  opacity: 0;
  transform: scale(0.5);
  animation: pulse 2s ease-out infinite;
  animation-play-state: paused;
  position: absolute;
}

.chevron:before,
.chevron:after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: rgba(0, 255, 255, 0.7);
}

.chevron:before {
  left: 0;
  transform: skewY(30deg);
}

.chevron:after {
  right: 0;
  transform: skewY(-30deg);
}

.chevron:first-child {
  animation-delay: 0s;
  top: 0;
}

.chevron:nth-child(2) {
  animation-delay: 0.2s;
  top: 5px;
}

.chevron:nth-child(3) {
  animation-delay: 0.4s;
  top: 10px;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(-10px);
  }

  50% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }
}

.pulse {
  animation: circle-pulse 1.5s ease-out;
}

@keyframes circle-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4);
  }
}


/* =========================================
   Footer Styles
   ========================================= */
.modern-site-footer {
  background-color: #0f172a;
  color: white;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.modern-footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.modern-footer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.modern-footer-brand {
  text-align: center;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: bold;
  background: linear-gradient(to right, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.modern-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.modern-footer-nav-link {
  color: #9ca3af;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-footer-nav-link:hover {
  color: white;
}

.modern-footer-links {
  display: flex;
  gap: 1.5rem;
}

.modern-footer-social-icon {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.modern-footer-social-icon:hover {
  color: white;
}

.modern-footer-copyright {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}


.brand-column .logo-text {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(165, 180, 252, 0.2);
}

.footer-tagline {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 320px;
}

/* Social Icons - Premium Style */
.footer-social-new {
  display: flex;
  gap: 15px;
}

.footer-social-new a {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.footer-social-new a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 165, 255, 0.2), rgba(181, 115, 248, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.footer-social-new a:hover {
  transform: translateY(-5px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-social-new a:hover::before {
  opacity: 1;
}

.footer-social-new a i {
  position: relative;
  z-index: 2;
  font-size: 18px;
}

/* Headings */
.footer-heading {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Links */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links-list a::before {
  content: '→';
  margin-right: 0;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #b573f8;
}

.footer-links-list a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links-list a:hover::before {
  opacity: 1;
  margin-right: 8px;
  transform: translateX(0);
}

/* Newsletter */
.newsletter-text {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.newsletter-form input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #4ca5ff;
  box-shadow: 0 0 15px rgba(76, 165, 255, 0.15);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(76, 165, 255, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.separator {
  color: #475569;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .site-footer {
    padding: 60px 0 30px;
  }
}

/* =========================================
   Global Overrides
   ========================================= */
html,
body {
  overflow: auto;
}

/* =========================================
   Home Page Styles
   ========================================= */
.skill-section h3 {
  position: relative;
  z-index: 1;
}

.skill-section span {
  transition: all 0.3s ease;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  margin: 0.15rem;
}

.skill-section span:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(79, 209, 197, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-section {
  animation: fadeIn 0.6s ease-out forwards;
  margin-bottom: 0.8rem;
}

.skill-container {
  padding: 0.75rem !important;
}

/* Enhanced Let's Connect Section */
.connect-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.connect-icon-link {
  text-decoration: none;
  display: block;
}

.connect-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.connect-icon i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.connect-icon-link:hover .connect-icon {
  transform: translateY(-5px);
}

.connect-icon-link:hover .connect-icon i {
  transform: scale(1.1);
}

.email-icon {
  background-color: #d44638;
}

.email-link {
  color: white;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

.email-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.email-link:hover {
  transform: translateY(-2px);
}

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

.location-text {
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* Simplified Connect Content Styles */
.connect-content {
  width: 320px;
  transition: all 0.3s ease;
}

.social-media-link {
  transition: all 0.3s ease;
}

.social-media-link {
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-media-link:hover {
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

/* Stylish Scroll Indicator */
.scroll-indicator {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  cursor: pointer;
  transition: all 0.5s ease;
}

.scroll-text {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #4ca5ff, #b573f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.scroll-indicator:hover .scroll-text {
  opacity: 1;
  transform: translateY(0);
}

.scroll-arrow-container {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  color: white;
}

.scroll-circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-circle-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(76, 165, 255, 0.2), rgba(181, 115, 248, 0.2));
  transform: scale(0.6);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-indicator:hover .scroll-circle {
  transform: scale(1);
  border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator:hover .scroll-circle-inner {
  transform: scale(0.8);
  opacity: 1;
}

/* Animated chevrons */
.chevrons {
  position: absolute;
  width: 20px;
  height: 12px;
  opacity: 0;
  transform: scale(0.5);
  animation: move-chevrons 2s ease-out infinite;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
  animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: #fff;
}

.chevron:before {
  left: 0;
  transform: skewY(30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skewY(-30deg);
}

.scroll-indicator:hover .chevron {
  opacity: 1;
  transform: scale(1);
}

@keyframes move-chevron {
  25% {
    opacity: 1;
  }

  33.3% {
    opacity: 1;
    transform: translateY(10px);
  }

  66.6% {
    opacity: 1;
    transform: translateY(20px);
  }

  100% {
    opacity: 0;
    transform: translateY(30px) scale(0.5);
  }
}

/* =========================================
   About Page Styles
   ========================================= */
.about-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-container {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.subtitle {
  font-size: 1.2rem;
  color: #a3b3c9;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Modern About Section */
.about-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  overflow: hidden;
}

.about-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #4ca5ff, #b573f8);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}

.about-text:hover::before {
  transform: scaleY(1);
}

.about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-text p {
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.about-image {
  flex: 0 0 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-image-container {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.profile-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(76, 165, 255, 0.2), rgba(181, 115, 248, 0.2));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.profile-image-container:hover::before {
  opacity: 1;
}

.profile-image-container::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 255, 255, 0.2), transparent 30%);
  animation: rotate 6s linear infinite;
  z-index: 2;
}

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

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 3;
  position: relative;
}

.profile-image-container:hover .profile-image {
  transform: scale(1.1);
}

.profile-frame {
  position: absolute;
  inset: -4px;
  border: 4px solid transparent;
  border-radius: 16px;
  background: linear-gradient(45deg, #4ca5ff, #b573f8) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.profile-image-container:hover .profile-frame {
  opacity: 1;
}

.skills-container {
  margin-top: 10px;
}

.skills-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #4ca5ff, #b573f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.skill-tag {
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: linear-gradient(90deg, rgba(76, 165, 255, 0.2), rgba(181, 115, 248, 0.2));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive design for about section */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    gap: 40px;
  }

  .about-image {
    flex: none;
    order: -1;
  }

  .profile-image-container {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 640px) {
  .about-text {
    padding: 25px;
  }

  .profile-image-container {
    width: 250px;
    height: 250px;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* =========================================
   Education Page Styles
   ========================================= */
.education-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: white;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}

.education-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  align-items: flex-start;
  margin-top: 20px;
}

.education-timeline {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  height: calc(100% - 20px);
  width: 3px;
  background: linear-gradient(to bottom, #4ca5ff, #b573f8);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(76, 165, 255, 0.3);
}

.education-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.edu-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-right: 20px;
  z-index: 1;
  transition: all 0.3s ease;
}

.education-item:hover .edu-icon {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.edu-icon i {
  color: #b573f8;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.education-item:hover .edu-icon i {
  color: #4ca5ff;
}

.education-content {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 25px;
  flex: 1;
  border-left: 4px solid #4ca5ff;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.education-item:hover .education-content {
  transform: translateX(10px);
  border-left-color: #b573f8;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.education-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.education-content .degree {
  color: #4ca5ff;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.education-content .date {
  color: #b573f8;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.edu-details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 10px;
}

.edu-details p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.edu-details h4 {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 10px;
  font-weight: 600;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding-left: 20px;
  margin-top: 5px;
}

.course-list li {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .education-container {
    flex-direction: column;
  }

  .course-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Achievement Page Styles
   ========================================= */
.achievement-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Section styling */
.section-container {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4ca5ff, #b573f8);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  color: #a0aec0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Certificate card styling */
.certificates-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.certificate-card {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4ca5ff, #b573f8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 1;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(76, 165, 255, 0.3);
}

.certificate-card:hover::before {
  transform: scaleX(1);
}

.certificate-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.5);
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 8px;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.view-certificate {
  position: relative;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background-color: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.view-certificate::before {
  content: '\f06e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 2px;
  transition: all 0.4s ease;
}

.view-certificate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
  z-index: -2;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.view-certificate span {
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.view-certificate:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(76, 165, 255, 0.5);
}

.view-certificate:hover::before {
  -webkit-text-fill-color: white;
}

.view-certificate:hover::after {
  transform: scaleY(1);
}

.certificate-card:hover .view-certificate {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 165, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(76, 165, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(76, 165, 255, 0);
  }
}

.certificate-details {
  padding: 1.8rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.certificate-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
  line-height: 1.3;
}

.certificate-issuer {
  color: #4ca5ff;
  font-weight: 500;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}

.certificate-issuer::before {
  content: '\f19d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.certificate-date {
  color: #a0aec0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.certificate-date::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.certificate-description {
  color: #cbd5e0;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.certificate-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.certificate-skills span {
  background: rgba(76, 165, 255, 0.15);
  color: #4ca5ff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(76, 165, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certificates-container {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    max-width: 100%;
  }
}

/* =========================================
   Projects Page Styles
   ========================================= */
.projects-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Modern Project Cards */
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4ca5ff, #b573f8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.project-card:hover::before {
  transform: scaleX(1);
}

.project-title {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.project-category {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(76, 165, 255, 0.15);
  color: #4ca5ff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.project-desc {
  color: #a3b3c9;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.tech-tag {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.project-link i {
  margin-right: 8px;
  font-size: 1rem;
}

.project-link:hover {
  background: rgba(76, 165, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.featured {
  position: relative;
  grid-column: span 2;
}

@media (max-width: 768px) {
  .featured {
    grid-column: span 1;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Animated dot pattern */
.dot-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 15px 15px;
  z-index: -1;
  opacity: 0.3;
  border-radius: 50%;
  filter: blur(1px);
}

.dot-pattern.top-right {
  top: -50px;
  right: -50px;
  transform: rotate(15deg);
}

.dot-pattern.bottom-left {
  bottom: -50px;
  left: -50px;
  transform: rotate(-15deg);
}

/* =========================================
   Social Page Styles
   ========================================= */
.social-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Education List Styles */
.edu-details ul {
  list-style-type: none;
  padding-left: 5px;
  margin-top: 10px;
}

.edu-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.edu-details li .bullet {
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
}

/* Updated Social Page Styles */
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00dbde, #fc00ff);
  border-radius: 2px;
}

.submit-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #00dbde, #fc00ff) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 30px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 219, 222, 0.4) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  width: 100% !important;
}

.submit-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 219, 222, 0.6) !important;
  filter: brightness(1.1) !important;
}

/* =========================================
   Certificates Section
   ========================================= */
/* =========================================
   Certificates Section
   ========================================= */
.certificates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.certificate-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.certificate-image {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

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

.view-certificate {
  padding: 10px 24px;
  background: linear-gradient(135deg, #4ca5ff, #b573f8);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 165, 255, 0.4);
}

.view-certificate:hover {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 6px 20px rgba(181, 115, 248, 0.5);
}

.certificate-card:hover .view-certificate {
  transform: translateY(0);
}

.certificate-details {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.4;
}

.certificate-issuer {
  font-size: 0.95rem;
  color: #4ca5ff;
  font-weight: 600;
  margin-bottom: 5px;
}

.certificate-date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 15px;
}

.certificate-description {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.certificate-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.certificate-skills span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.certificate-skills span:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .certificates-container {
    display: flex;
    flex-direction: column;
    width: 95%;
  }

  .certificate-image {
    height: 200px;
  }

  .achievement-title {
    font-size: 2rem !important;
    /* Reduce font size for mobile */
    word-wrap: break-word;
    /* Ensure text wraps */
  }
}


/* -------------------------------------------------------------------------- */
/* Achievement Page Scroll Indicator Styles                                    */
/* -------------------------------------------------------------------------- */

.achievement-scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  /* Below navbar/mobile menu but above content */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievement-scroll-indicator .scroll-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.achievement-scroll-indicator .scroll-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.achievement-scroll-indicator .scroll-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.achievement-scroll-indicator .scroll-icon i {
  animation: bounce 2s infinite;
}

/* Hover state */
.achievement-scroll-indicator:hover .scroll-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.achievement-scroll-indicator:hover .scroll-text {
  color: #fff;
}

/* Scroll Up State (Premium Pill Design) */
.achievement-scroll-indicator.scroll-up-state {
  bottom: 40px;
  left: auto;
  right: 40px;
  transform: none;
}

.achievement-scroll-indicator.scroll-up-state .scroll-content {
  flex-direction: row-reverse;
  /* Icon on right, text on left */
  gap: 12px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(76, 165, 255, 0.9), rgba(181, 115, 248, 0.9));
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(76, 165, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-scroll-indicator.scroll-up-state .scroll-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-shadow: none;
  order: 1;
  flex-direction: row;
}

.achievement-scroll-indicator.scroll-up-state .scroll-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 16px;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  animation: none;
}

.achievement-scroll-indicator.scroll-up-state .scroll-icon i {
  animation: none;
}

/* Animation for the Up Arrow on hover */
.achievement-scroll-indicator.scroll-up-state:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(76, 165, 255, 0.5);
}

/* Hide on mobile */
@media (max-width: 768px) {
  .achievement-scroll-indicator {
    display: none;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}
/* =========================================
   Zero-Gap Ultra-Compact Footer
   ========================================= */
.modern-site-footer {
  padding: 4px 0 2px !important;
  background: #0b1120 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-footer-content {
  gap: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.modern-footer-brand,
.modern-footer-nav,
.modern-footer-links,
.footer-location,
.modern-footer-copyright {
  margin: 0 !important;
  padding: 0 !important;
}

.brand-title {
  font-size: 1.1rem !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.brand-subtitle {
  font-size: 0.7rem !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.modern-footer-nav {
  gap: 6px !important;
  margin: 2px 0 !important;
}

.modern-footer-nav-link {
  font-size: 0.7rem !important;
}

.modern-footer-links {
  gap: 8px !important;
  margin: 2px 0 !important;
}

.modern-footer-social-icon {
  width: 22px !important;
  height: 22px !important;
  font-size: 10px !important;
}

.footer-location {
  font-size: 0.65rem !important;
  margin: 2px 0 !important;
}

.modern-footer-copyright {
  border-top: none !important;
  margin-top: 2px !important;
}

.modern-footer-copyright p {
  font-size: 0.6rem !important;
}

/* =========================================
   Medium-Size Balanced Footer
   ========================================= */
.modern-site-footer {
  padding: 30px 0 20px !important;
  background: #0b1120 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-footer-content {
  gap: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.modern-footer-brand {
  margin-bottom: 5px !important;
}

.brand-title {
  font-size: 1.6rem !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

.brand-subtitle {
  font-size: 0.95rem !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.modern-footer-nav {
  margin-bottom: 10px !important;
  gap: 20px !important;
}

.modern-footer-nav-link {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.modern-footer-links {
  margin-bottom: 10px !important;
  gap: 15px !important;
}

.modern-footer-social-icon {
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
}

.footer-location {
  margin-top: 5px !important;
  margin-bottom: 12px !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.modern-footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-top: 10px !important;
  padding-top: 15px !important;
  width: 100%;
}

.modern-footer-copyright p {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

/* =========================================
   Premium Footer Touches (Override)
   ========================================= */
.modern-site-footer {
  position: relative;
  background: rgba(11, 17, 32, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: none !important; /* Managed by pseudo-element */
}

/* SLEEK GRADIENT TOP BORDER */
.modern-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ca5ff, #b573f8, transparent);
  z-index: 10;
}
