/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Zen+Dots&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --first-color: #4f46e5;  /* Primary - Indigo */
  --first-color-dark: #4338ca;
  --secondary-color: #06b6d4; /* Cyan for data viz elements */
  --accent-color: #2dd4bf;   /* Teal for highlights */
  --title-color: #1e293b;
  --title-color-black: #0f172a;
  --text-color: #334155;
  --body-color: #f8fafc;
  --container-color: #ffffff;
  --chart-color-1: #6366f1;  /* For data visualizations */
  --chart-color-2: #06b6d4;
  --chart-color-3: #2dd4bf;
  
  /* Background Colors */
  --bg-gradient-1: rgba(79, 70, 229, 0.05);
  --bg-gradient-2: rgba(6, 182, 212, 0.05);
  --bg-gradient-3: rgba(45, 212, 191, 0.05);
  --shadow-color: rgba(15, 23, 42, 0.1);

  /*========== Font family ==========*/
  /* --body-font:roboto;
  --second-font: 'Zen Dots', sans-serif; */
  --second-font:'Roboto',sans-serif;
  --body-font: sans-serif;

  /*========== Font sizes ==========*/
  --h1-font-size: 2.75rem;
  --h2-font-size: 2.25rem;
  --h3-font-size: 1.25rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semibold: 600;
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
}

/* Background Styles */
body {
    background: 
        radial-gradient(circle at 0% 0%, var(--bg-gradient-1) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, var(--bg-gradient-2) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, var(--bg-gradient-3) 0%, transparent 50%),
        var(--body-color);
    position: relative;
}

.section {
    position: relative;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.98)
    );
    box-shadow: 0 0 40px var(--shadow-color);
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, var(--bg-gradient-1) 0%, transparent 30%),
        radial-gradient(circle at 100% 100%, var(--bg-gradient-2) 0%, transparent 30%);
    opacity: 0.5;
    pointer-events: none;
}

/* Section-specific backgrounds */
#home {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 255, 255, 0.9)
    );
}

#about {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98), 
        rgba(255, 255, 255, 0.95)
    );
}

#skills {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 255, 255, 0.98)
    );
}

#projects {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98), 
        rgba(255, 255, 255, 0.95)
    );
}

#contact {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 255, 255, 0.98)
    );
}

/* Card shadows and backgrounds */
.project-card, 
.skill-item, 
.info-item,
.contact-me-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 20px var(--shadow-color),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Container styles */
.container {
    position: relative;
    z-index: 1;
}

/* Header background */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.25rem 0;
}

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

.nav-list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--title-color);
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--first-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--first-color);
}

.nav-button {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(45deg, var(--first-color), var(--secondary-color));
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
  background: linear-gradient(45deg, var(--secondary-color), var(--first-color));
}

.main-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title-color);
}

.main-logo-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .nav-list {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .nav-button {
    padding: 0.5rem 1rem;
  }
}

/*=============== REUSABLE CSS CLASSES ===============*/
.main-logo{
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-family: var(--second-font);
  font-size: var(--h3-font-size);
}

.main-logo-image{
  width: 20px;
}

.button{
  display: inline-block;
  background-color: var(--first-color);
  padding: 1em 1.5em;
  color: var(--title-color-black);
  font-weight: var(--font-semibold);
  transition: background-color 0.5s;
}


.button:hover{
  background-color: var(--first-color-dark);
}

.button-flex{
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  column-gap: 0.5rem;
}

.button-flex i{
  transition: transform 0.3s;
}

.button-flex:hover i{
  transform: translateX(0.5rem);
}

.nav-button{
  background-color: var(--title-color);
}

.section {
  padding-top: 8em;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.description{
  font-size: var(--h3-font-size);
  max-width: 460 px;
}

.title {
  width: fit-content;
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
}

.subtitle {
  font-size: var(--h2-font-size);
  padding-top: 1.25em;
  color: var(--first-color);
  margin-bottom: 1rem;
}



/*=============== LAYOUT ===============*/
.container{
  max-width: 1150px;
  margin-inline: auto;
  padding-inline: 1.25em;
}

/*=============== HEADER & NAV ===============*/
.header{
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav,
.nav-list{
  display: flex;
  display: flex;
  align-items: center;
}

.nav{
  justify-content: space-between;
  height: 5.5rem;
}

.nav-link,
.nav-close,
.nav-toggle{
  color: var(--text-color);
}

.nav-link {
    color: var(--title-color);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--first-color);
}

.nav-list{
  column-gap: 4rem;
}

.nav-link{
  transition: color 0.3s;
}

.nav-link {
    color: var(--text-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--first-color);
}

.button {
    background-color: var(--first-color);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button:hover {
    background-color: var(--first-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}



/*=============== MAIN ===============*/
.main{
  overflow: hidden;
}

/*=============== HOME ===============*/
.home-container{
  height: 100vh;
  padding: 4rem 0 2rem;
  display: flex;
  align-items: flex-start;  /* Changed from center to flex-start */
  justify-content: space-between;
  gap: 2rem;
}

.home-content {
  flex: 1;
  max-width: 600px;
  padding-top: 2rem;  /* Added padding to top */
}

.home-image {
  margin-top: 2rem;  /* Added margin to align with content */
  width: 250px;  /* Reduced from 300px */
  height: 250px; /* Reduced from 300px */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

.home-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

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

@media screen and (max-width: 968px) {
  .home-image {
    width: 220px;
    height: 220px;
  }
}

@media screen and (max-width: 768px) {
  .home-container {
    padding-top: 6rem;
    align-items: center;
    text-align: center;
  }

  .home-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .home-image {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
  }
}

/*=============== About Me ===============*/


.about-me {
  position: relative;
  padding: 6rem 0;
}

.about-me-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem;
}

.about-me-data {
  margin-bottom: 3rem;
}

.about-me-title {
  margin-bottom: 2rem;
}

.about-me-subtitle {
  color: var(--first-color);
  margin-bottom: 1.5rem;
}

.about-me-data .description {
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-me-data .description:last-child {
  color: var(--first-color);
  font-weight: 500;
}

.about-me-data p:last-child{
  color: var(--first-color);
}
.personal-info{
  display: flex;
  color: var(--title-color);
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.personal-info-right,
.personal-info-left {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.personal-info-right {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  padding-right: 2rem;
}

.personal-info-left {
  padding-left: 2rem;
}

.info-item {
  font-size: var(--h3-font-size);
  padding: 1rem 1.5rem;
  margin: 0.75rem 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.9)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--title-color);
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--first-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-item:hover::before {
  opacity: 1;
}

.info-item span {
  color: var(--text-color);
  font-weight: 500;
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 1)
  );
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.info-item:hover span {
  color: var(--first-color);
}

/* Remove default border in mobile view */
@media screen and (max-width: 700px) {
  .info-item {
    margin: 0.5rem 0;
    padding: 0.875rem 1.25rem;
  }
  
  .info-item span {
    padding-left: 1rem;
  }
  
  .info-item:hover {
    transform: translateX(3px);
  }
}
.middle{
  margin-bottom: 1.5em;
  text-align: center;
  margin-top: -1em;
}

.submit{
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s;
  margin-bottom: 5em;
}

.submit:hover{
  font-size: 1.2rem;
}

/* Enhanced Light Theme Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: var(--title-color);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--first-color);
}

.button {
    background-color: var(--first-color);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.button:hover {
    background-color: var(--first-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.education, .exprience {
    background-color: var(--container-color);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Project Section Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    margin: 1rem;
    overflow: hidden;
    isolation: isolate;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--first-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--first-color);
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-gradient-1);
    color: var(--title-color);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(4px);
}

.tech-tag i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    background: var(--first-color-dark);
}

.tech-tag:hover i {
    transform: rotate(10deg);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Project Content Styles */
.project-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.98)
    );
    border-radius: 0 0 20px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.project-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.05),
        rgba(6, 182, 212, 0.05)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-content:hover::before {
    opacity: 1;
}

.project-title {
    color: var(--title-color);
    font-size: 1.25rem;
    font-weight: var(--font-semibold);
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}

.project-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.4);
    margin-top: auto;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.06),
        rgba(6, 182, 212, 0.06)
    );
    color: var(--first-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.tool-tag:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.1),
        rgba(6, 182, 212, 0.1)
    );
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .project-content {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .tool-tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* Stats and Info Items */
.info-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

span {
    color: var(--text-color);
}

/* Home Section Enhancements */
.home-image {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.title {
    border-bottom: 4px solid var(--first-color);
    color: var(--title-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40%;
    height: 4px;
    background-color: var(--first-color-dark);
}

/* Animations are now in animation.css */

/* Hover Effects */
.skill-badge {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    background: white;
}

.skill-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--first-color);
}



/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Card and Section Shadows */
.section {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-radius: 20px;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/*=============== Responsive ===============*/

@media screen and (max-width:850px) {
  .contact-me-items{
    padding-inline: 5em;
    max-width: 100%;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media screen and (max-width:800px) {
  .nav {
    justify-content: space-between;
  }
  .nav-menu {
    width: 100%;
  }
  .nav-list {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .home-image {
    display: none;
  }
  .nav-item {
    margin: 0;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}

@media screen and (max-width:700px) {

 .project-items{
  flex-direction: column;
  align-items: center;
}
.contact-me-items{
  flex-direction: column;
}
.personal-info{
  flex-direction: column;
  width: 100%;
}
.personal-info-right{
  margin-bottom: 1em;
  min-width: 98%;
}
.personal-info-left{
  margin-bottom: 1em;
  min-width: 98%;
}
.info-item{
  border: none;
}
.contact-me-items{
  margin: 0;
  padding: 0;
}
.user-name-email{
  flex-direction: column;
}
.name,
.email{
  width: 100%;
}
}

@media screen and (max-width:465px) {
  .button-flex{
    display: block;
    margin: 1em;
    width: 45%;
    border-radius:30px;
  }   
  :root{
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1rem;
  } 

  .button-flex{
    font-size: 1rem;
    min-width: 145px;
    max-width: 160px;
  }
}

/* Data Science Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.skills-category {
    background: var(--container-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.skills-category:hover {
    transform: translateY(-5px);
}

.skills-category-title {
    color: var(--first-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--first-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.skill-name {
    font-size: 1rem;
    color: var(--text-color);
}

.skill-percentage {
    font-size: 0.875rem;
    color: var(--first-color);
}

.skill-bar {
    height: 8px;
    background: var(--body-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-percentage-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--first-color), var(--secondary-color));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-in-out;
}

/* Animation for skill bars */
/* Skill animations are now in animation.css */

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-category {
        padding: 1.25rem;
    }
}

/* Hover effects */
.skills-category:hover .skill-percentage-bar {
    background: linear-gradient(90deg, var(--secondary-color), var(--first-color));
}

.skill-item:hover .skill-name {
    color: var(--first-color);
}

/* Animation delays for staggered appearance */
.skills-category:nth-child(1) { animation-delay: 0.1s; }
.skills-category:nth-child(2) { animation-delay: 0.2s; }
.skills-category:nth-child(3) { animation-delay: 0.3s; }
.skills-category:nth-child(4) { animation-delay: 0.4s; }

/* Skills Section Icon Styles */
.skills-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--first-color);
}

.skills-category-header i {
    font-size: 1.5rem;
    color: var(--first-color);
}

.skill-name-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-name-with-icon i {
    font-size: 1.25rem;
    color: var(--first-color);
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-name-with-icon i {
    transform: scale(1.2);
}

/* Enhanced hover effects for skill items */
.skill-item {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.skill-item:hover {
    background-color: rgba(var(--first-color-rgb), 0.05);
}



/* Soft Skills Section */
.soft-skills-data {
    margin-top: 4rem;
}

.soft-skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.soft-skills-category {
    margin-bottom: 2rem;
}

.soft-skills-category-title {
    color: var(--first-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.soft-skills-category-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 2px;
    background-color: var(--first-color);
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.soft-skill-card {
    background: var(--container-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.soft-skill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--first-color);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
}

.soft-skill-content {
    flex: 1;
}

.soft-skill-name {
    color: var(--title-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.soft-skill-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.soft-skill-level.expert {
    background-color: #dcfce7;
    color: #16a34a;
}

.soft-skill-level.advanced {
    background-color: #dbeafe;
    color: #2563eb;
}

.soft-skill-level.intermediate {
    background-color: #fef9c3;
    color: #ca8a04;
}

@media screen and (max-width: 768px) {
    .soft-skills-grid {
        grid-template-columns: 1fr;
    }

    .soft-skill-card {
        padding: 1rem;
    }
}

/*=============== Contact Section ===============*/
.contact-me-container {
    padding: 4rem 0;
    max-width: 1150px;
    margin: 0 auto;
}

.contact-me-data {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-me-description {
    margin-bottom: 2rem;
}

.contact-me-items {
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    /* padding: 0 1rem; */
}

.contact-me-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--container-color);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    min-width: auto;
    flex: 0 1 auto;
}

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

.contact-me-list i {
    font-size: 1.5rem;
    color: var(--first-color);
}

.contact-me-list a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-me-list a:hover {
    color: var(--first-color);
}

.contact-me-form {
    max-width: 768px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--container-color);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.user-name-email {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.name,
.email {
    flex: 1;
    padding: 1rem;
    border-radius: 0.5rem;
}

.subject-message {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.subject {
    padding: 1rem;
    border-radius: 0.5rem;
}

.message {
    padding: 1rem;
    border-radius: 0.5rem;
    min-height: 150px;
    resize: vertical;
}

.submit {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--first-color);
    color: white;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
}

.submit:hover {
    background-color: var(--first-color-dark);
    transform: translateY(-2px);
}

/* Form Input Styles */
.name,
.email,
.subject,
.message {
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-family: var(--body-font);
    outline: none;
}

.name:hover,
.email:hover,
.subject:hover,
.message:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.name:focus,
.email:focus,
.subject:focus,
.message:focus {
    border-color: var(--first-color);
    background-color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-2px);
}

/* Home Title and Subtitle Styles */
.home-title {
  font-size: calc(var(--h1-font-size) * 1.2);
  background: linear-gradient(90deg, var(--first-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInDown 1s ease forwards;
  animation-delay: 0.3s;
}

.home-subtitle {
  font-size: calc(var(--h2-font-size) * 1.1);
  color: var(--text-color);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.home-subtitle.typewriter {
  color: var(--first-color);
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 1.5px;
  margin-left: 4px;
  border-right: 3px solid var(--first-color);
  width: 0;
  animation: typing 3.5s steps(40, end) forwards,
             blink-caret 0.75s step-end infinite;
  animation-delay: 1s;
}
.description-below{
  font-size: 1.15rem;
  color: var(--text-color);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.5s;
}

.description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-color);
  max-width: 650px;
  /* margin-bottom: 2rem; */
  background: linear-gradient(
    to right,
    rgba(79, 70, 229, 0.03),
    rgba(6, 182, 212, 0.03)
  );
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--first-color);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.8s;
}

.button.button-flex {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(45deg, var(--first-color), var(--secondary-color));
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2.2s;
  margin-right: 1rem;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.button.button-flex:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
  background: linear-gradient(45deg, var(--secondary-color), var(--first-color));
}

/* Mobile Navigation Styles */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--title-color);
}

.nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--title-color);
  display: none;
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background: var(--container-color);
    width: 80%;
    height: 100vh;
    padding: 4rem 0 0;
    transition: right 0.4s;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-list {
    flex-direction: column;
    row-gap: 2.5rem;
  }

  .nav-close {
    display: block;
  }

  .show-menu {
    right: 0;
  }
}

.description.sub {
  max-width: 900px;
  width: 100%;
  text-align: justify;
  word-break: break-word;
  display: block;
}