html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.animated-wavy-gradient { 
    background: rgb(180,5,5);
    background: linear-gradient(90deg, rgba(180,5,5,1) 0%, rgba(57,0,0,1) 50%, rgba(0,0,0,1) 100%);
    background-size: 200% 200%; 
    animation: wavy-gradient-animation 10s ease infinite; 
  } 
  
  @keyframes wavy-gradient-animation { 
    0% { 
      background-position: 0% 50%; 
    } 
    50% { 
      background-position: 100% 50%; 
    } 
    100% { 
      background-position: 0% 50%; 
    } 
  }
  
.navbar {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.logo-img {
    height: 50px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
}

.nav-links a:hover {
    background-color: #555;
}


/* Author page styles */
.author-info {
    .author-info {
        padding: 20px;
        min-height: calc(100vh - 40px);
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
    }
}

.author-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: linear-gradient(90deg, rgba(0,0,0,1)  0%, rgba(57,0,0,1) 50%, rgba(180,5,5,1) 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: scroll;
}

.author-image {
    flex: 1;
    min-width: 400px;
    max-width: 650px;
    padding: 20px;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.author-container {
    display: flex;
    align-items: center;
    max-width: 1500px;
    margin: 50px;
    padding: 2rem;
}

.author-image {
    flex: 0 0 200px;
    margin-right: 2rem;
}

.author-image img {
    width: 100%;
    border-radius: none;
}

.author-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.author-details h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.author-details h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

/* School Section */
  
.school-item {
    display: inline-block;
    text-align: center;
    /* margin: 10px; */
    text-decoration: none;
    color: inherit;
  }
  
  .school-item img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .school-item:hover img {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(223, 27, 27, 0.3);
  }

  
  .school-details {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
    text-align: right;
}

/*  Project Section */
.projects-link {
    text-decoration: none;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

.projects-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007bff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.projects-link:hover {
    color: #007bff;
}

.projects-link:hover::after {
    transform: scaleX(1);
}

.projects-section {
    padding: 3rem 2rem;
    background-color: #f8f8f8;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2.5rem;
    position: relative;
}

.projects-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #007bff;
    margin: 0.5rem auto 0;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Responsive design for smaller screens */
@media (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
    .projects-section h2 {
        font-size: 2rem;
    }
}


/* SocMed Section */
.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    display: inline-block;
    margin-right: 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    text-decoration: underline;
}

.fa-facebook:hover {
    color: #1877F2;
}

.fa-instagram:hover {
    color: #E4405F;
}

.fa-x-twitter:hover {
    color: #000000;
}

 /* Responsive design */
         @media (max-width: 768px) {
            .projects-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .projects-container {
                grid-template-columns: 1fr;
            }
        }


/*Footer*/

.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    position: static;
    bottom: 0;
    width: 100%;
}

.footer p {
    margin: 0;
    font-size: 14px;
  }