/* General Body Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(to bottom, #e8f7fc, #fdfcfa);
    color: #333;
}

/* Header Styling */
header {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    padding: 2rem 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navigation Bar Styling */
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    background: #444;
    padding: 1rem 0;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ffdd57;
}

/* Section Styling */
section {
    padding: 2rem 1rem;
}

section#about {
    background: #f0f9ff;
    font-size: 1.2rem; /* Increased font size */
    line-height: 1.8; /* Adjusted line height for readability */
}

section#projects {
    background: #ffefef;
}

section#contact {
    background: #eafff3;
}

/* Education Section Styling */
section#education {
    background: #fdf4e3;
    font-size: 1.2rem; /* Increased font size */
    line-height: 1.8;
    padding: 2rem;
}

.education-item {
    margin-bottom: 1.5rem;
    text-align: center;
}

.education-item h3 {
    font-size: 1.8rem; /* Increased heading font size */
    color: #333;
    margin-bottom: 0.5rem;
}

.education-item p {
    font-size: 1.2rem; /* Increased paragraph font size */
    margin: 0.2rem 0;
}

/* Education Section Logos */
.edu-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* LeetCode Section Styling */
#leetcode {
    text-align: center;
    margin: 2rem 0;
  }
  
  #leetcode h2 {
    margin-bottom: 1rem;
  }
  
  #leetcode #rating-display {
    font-size: 1.25rem;
    margin: 0.5rem 0;
  }
  
  #leetcode #rating-display strong {
    color: #FFA116;
  }
  
  .leetcode-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background-color: #FFA116;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .leetcode-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .leetcode-link img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }
  

/* Footer Styling */
footer {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    color: white;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Buttons and Cards */
button {
    background: #ffdd57;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    background: #ffa726;
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
