/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary: #002147;
  --secondary: #B31B1B;
  --accent: #FFD700;
  --light: #F8F9FA;
  --text: #2D3748;
  --success: #4CAF50;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container h2, h3, p {
  text-align: center;
}

.section {
  padding: 100px 0;
  scroll-margin-top: 70px;
}

/* ===== NAVIGATION ===== */
nav {
  padding-top: 5px;
  padding-bottom: 5px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 33, 71, 0.95); /* Semi-transparent dark blue */
  backdrop-filter: blur(10px);       /* Creates a glass-like effect */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  /* padding: 1rem 0; */
  z-index: 1000;
  transition: background 0.3s ease;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 60px;          
  height: 60px;
  object-fit: contain;  
  border-radius: 10px;
}

nav .nav-links {
  text-align: center;
  display: flex;
  gap: 2rem;
}

nav .nav-links a {
  margin-left: 50px;
  text-decoration: none;
  color: var(--light);
  position: relative;
  transition: color 0.3s ease;
  padding: 0.3rem 0;
}

/* Animated Underline Effect */
nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: center;
  transition: transform 0.3s ease;
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links {
  text-align: center;
  float: right;
}

.nav-links a {
  text-decoration: none;
  color: var(--light);
  margin-left: 2rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: bold;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--light);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 60px;
}

.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
}

.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dot:hover,
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  border-color: rgba(255,255,255,0.2);
}

/* ===== TYPOGRAPHY ===== */
h1 { 
  font-size: 3rem;
  color: var(--light);
}

h2 { 
  font-size: 2.5rem; 
  margin-bottom: 2rem;
  color: var(--primary);
}

h3 {
  color: var(--primary);
  font-size: 1.3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #001a38 100%);
  color: var(--light);
  text-decoration: none;
  border-radius: 50px;
  margin-top: 1rem;
  transition: all 0.4s ease;
  border: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}

.btn:hover {
  background: var(--secondary);
}

.btn:active {
  transform: scale(1.03);
}

.btn:hover::after {
  left: 100%;
}

/* ===== CARDS ===== */
.education,
.professional,
.currently-learning,
.skills-card,
.experience-card,
.experience-card2,
.experience-card3,
.experience-card4,
.experience-card5,
.experience-card6 {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education:hover,
.professional:hover,
.currently-learning:hover,
.skills-card:hover,
.experience-card:hover,
.experience-card2:hover,
.experience-card3:hover,
.experience-card4:hover,
.experience-card5:hover,
.experience-card6:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}



/* ===== ABOUT SECTION ===== */

#about {
  padding-top: 50px;
}

.about-content {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.intro {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.education h3,
.professional h3,
.currently-learning h3,
.skills-card h3 {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}

.education i,
.professional i,
.currently-learning i,
.skills-card i {
  color: var(--accent);
}

.education ul,
.professional ul,
.currently-learning ul,
.skills-list {
  padding-left: 1.5rem;
}

.education li,
.professional li,
.currently-learning li,
.skills-list li {
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.currently-learning {
  text-align: center; /* Centers heading and ul container */
}

.currently-learning h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.currently-learning ul {
  display: inline-block; /* Makes ul only as wide as its content */
  text-align: left; /* Aligns list items (with bullets) properly */
  padding-left: 1.5em; /* Ensures bullets stay visible */
  list-style-position: outside; /* Puts bullets outside content flow */
  margin: 0 auto; /* Centers the ul block */
}

.currently-learning li {
  position: relative;
  left: -0.5em; /* Slight adjustment for perfect centering */
}

/* Education Section */
.education-list {
  list-style: none;
  padding-left: 0;
}

.education-item {
  padding: 1.2rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.education-date {
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: 0.5s ease;
}

.education-date:hover{
  transform: translateY(-2px);
  background: var(--secondary);
}

  


.education-institution {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.education-detail {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
  font-style: italic;
}

@media (max-width: 768px) {
  .education-header {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .education-date {
      margin-top: 0.3rem;
  }

  nav .nav-links {
    flex-direction: column;
    background: rgba(0, 33, 71, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem 0;
  }
  nav .nav-links.active {
    display: flex;
  }
}

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Programming Language Colors */
.bar-container .c-language { background: #555555 !important; }
.bar-container .java { background: #5382A1 !important; }
.bar-container .html { background: #E34F26 !important; }
.bar-container .css { background: #2965F1 !important; }
.bar-container .javascript { background: #F7DF1E !important; }
.bar-container .sql { background: #336791 !important; }
.bar-container .php { background: #777BB3 !important; }

/* Existing Skill Colors */
.bar-container .hardware { background: var(--primary) !important; }
.bar-container .animation { background: var(--secondary) !important; }
.bar-container .editing { background: var(--accent) !important; }

.bar-container {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  border-radius: 5px;
  margin: 0.5rem 0 1.5rem;
  overflow: hidden;
  position: relative;
}

.bar-container .bar { /* Add container specificity */
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.5s ease-out !important;
  animation: skillflash 0.1s !important;
  will-change: width, background-color;
}

.bar {
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.5s ease-out;
  position: relative;
}

/* .bar {
  animation: skillflash 0.1s;
}

@keyframes skillflash {
  from { opacity: 0.9; }
  to { opacity: 1; }
} */

.skill-bar p {
  margin-bottom: 0.3rem;
  font-weight: bold;
}

/* Position the percentage label inside the bar */
.skill-percent {
  position: absolute;
  right: 5px;         /* Adjust as needed */
  top: 50%;
  transform: translateY(-50%);
  color: #fff;        /* White text for contrast; adjust as needed */
  font-weight: bold;
  font-size: 0.9rem;
  opacity: 0;         /* Initially hidden; fades in with the animation */
  transition: opacity 0.5s ease;
}

.skill-carousel {
  position: relative;
  overflow: hidden;
  width: 100%; /* adjust as needed */
  max-width: 600px; /* or your desired width */
  margin: 0 auto;
}

.skill-slide {
  display: none;
  /* Optionally use a fade effect */
  transition: opacity 0.5s ease-in-out;
}

.skill-slide.active {
  display: block;
  opacity: 1;
}

/* Keyframe for fade-in and slide-up effect */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.education-list strong {
  opacity: 0;
}

.education-list.animate strong {
  animation: fadeInUp 0.6s forwards;
}

.education-list.animate strong:nth-child(1) {
  animation-delay: 0.3s;
}

/*  */

.experience-card ul li {
  opacity: 0;
}

.experience-card.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.experience-card.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.experience-card.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.experience-card.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.experience-card.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}

/*  */

.experience-card2 ul li {
  opacity: 0;
}

.experience-card2.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.experience-card2.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.experience-card2.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.experience-card2.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.experience-card2.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}

/*  */

.experience-card3 ul li {
  opacity: 0;
}

.experience-card3.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.experience-card3.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.experience-card3.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.experience-card3.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.experience-card3.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}

/*  */

.experience-card4 ul li {
  opacity: 0;
}

.experience-card4.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.experience-card4.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.experience-card4.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.experience-card4.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.experience-card4.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}

/*  */

.experience-card5 ul li {
  opacity: 0;
}

.experience-card5.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.experience-card5.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.experience-card5.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.experience-card5.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.experience-card5.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}

/*  */

.experience-card6 ul li {
  opacity: 0;
}

.experience-card6.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.experience-card6.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.experience-card6.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.experience-card6.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.experience-card6.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}




/* .skills-grid.animate h3 {
  animation: fadeInUp 0.6s forwards;
  animation-delay: 0.1s;
} */

.skills-grid ul li {
  opacity: 0;
}

.skills-grid.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

.skills-grid.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.skills-grid.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.skills-grid.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.skills-grid.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}


/* Initially hide list items */
.currently-learning ul li {
  opacity: 0;
}

/* When .animate is added to .currently-learning, animate list items */
.currently-learning.animate ul li {
  animation: fadeInUp 0.6s forwards;
}

/* Stagger the animation on each list item */
.currently-learning.animate ul li:nth-child(1) {
  animation-delay: 0.3s;
}
.currently-learning.animate ul li:nth-child(2) {
  animation-delay: 0.5s;
}
.currently-learning.animate ul li:nth-child(3) {
  animation-delay: 0.7s;
}
.currently-learning.animate ul li:nth-child(4) {
  animation-delay: 0.9s;
}
.currently-learning.animate ul li:nth-child(5) {
  animation-delay: 1.1s;
}

/* Optionally animate the header too */
/* .currently-learning.animate h3 {
  animation: fadeInUp 0.6s forwards;
  animation-delay: 0.1s;
} */



/* ===== PROJECTS ===== */
#projects {
  padding-top: 50px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border: 1px solid var(--primary);
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,33,71,0.2);
}

.project-image {
  position: relative;
}

/* .project-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
} */

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

.project-info {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-used {
  margin: 1rem 0;
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;    /* centers vertically (if needed) */
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  background: var(--primary); /* Changed from transparent white */
  color: white !important; /* Force contrast */
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.1);
  display: inline-block; /* Add this */
  margin: 0.2rem;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,33,71,0.2);
  background: var(--secondary);
}

/* Add transition */
.tech-tag {
  transition: all 0.3s ease;
}

.view-more {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ===== CONTACT SECTION ===== */
.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 4rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  width: 100%;
  transition: transform 0.3s ease;
  margin-top: 70px;
}

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

.contact-card h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-card p.contact-sub {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text);
}

.contact-sub {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

/* ===== FORM ELEMENTS ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.2rem;
}

input, textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(0,33,71,0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
}

textarea {
  height: 150px;
}

input:focus, 
textarea:focus, 
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,33,71,0.1);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group i {
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(0,33,71,0.2);
  border-radius: 5px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,33,71,0.1);
}

button.btn {
  align-self: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), #001a38);
  border: none;
  color: var(--light);
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button.btn:hover {
  background: var(--secondary);
}

.contact-info {
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 2rem 2rem;
  }
  .contact-info {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== HELPER CLASSES ===== */
.university-border {
  border-left: 4px solid var(--secondary);
  padding-left: 1rem;
}

.highlight {
  color: var(--secondary);
  font-weight: bold;
}

.accent-text {
  color: var(--accent);
}

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

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

/* @keyframes slideIn {
  from { width: 0; }
  to { width: var(--level); }
} */

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .currently-learning ul {
      columns: 1;
  }
  
  .skills-grid {
      grid-template-columns: 1fr;
  }
  
  .project-card {
      margin-bottom: 1.5rem;
  }
  
  .education,
  .professional,
  .currently-learning,
  .skills-card {
      padding: 1.2rem;
  }
  
  .currently-learning li {
      padding: 0.4rem 0.8rem;
  }

  .contact-card {
      padding: 2rem 1rem;
  }
  
  .form-group i {
      top: 1.3rem;
  }
}

/* Add to media query */
.menu-toggle {
  display: block;
  color: var(--light);
  font-size: 1.5rem;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  
  background: rgba(0, 33, 71, 1); /* Semi-transparent dark blue */
  backdrop-filter: blur(8px);       /* Glassmorphism effect */
  color: var(--light);
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-content {
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.footer-section p,
.footer-links li {
  font-size: 1rem;
  line-height: 1.6;
  
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;    /* centers vertically (if needed) */
  gap: 1rem;
  margin-top: 1rem;
}

/* .social-links i {
  align-items: center;
} */

.social-links a {
  color: var(--light);
  font-size: 1.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {

  .footer-content {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}