@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root{
    --bg-color: #0d1b2a;
    --second-bg-color: #1a2332;
    --text-color: #e8f0fe;
    --main-color: #64b5f6;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%);
    color: var(--text-color);
}

section{
    min-height: auto;
    padding: 7rem 9% 4rem;
}

section.home{
    padding: 20rem 9% 10rem;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(100, 181, 246, 0.1);
}

.header.sticky{
    border-bottom: .1rem solid rgba(0,0,0, .2);
}

.logo{
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 700;
    cursor: default;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
    transition: 0.3s;
}

.logo:hover{
    text-shadow: 0 0 20px rgba(100, 181, 246, 0.8);
}

.navbar a{
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after{
    width: 100%;
}

.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

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

.home-img {
    width: 40rem;
    height: 40rem;
    border: 3px solid #64b5f6;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(100, 181, 246, 0.6), 0 0 60px rgba(100, 181, 246, 0.3);
    animation: floatImage 3s ease-in-out infinite;
    position: relative;
}

.home-img::before{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(100, 181, 246, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine{
    0%{
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100%{
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.home-img img {
    width: 100%; /* Ensures the image fills the container */
    height: 100%; /* Ensures the image maintains aspect ratio */
    object-fit: cover; /* Crops and fits the image nicely within the circle */
}


@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(2.4rem);
    }
    100%{
        transform: translateY(0);
    }
}

.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {  
    margin-bottom: 2rem;  
}

span{
    color: var(--main-color)
}


.home-content h1{
    font-size: 5.6rem;
    font-weight: 900;
    line-height: 1.3;
    background: linear-gradient(45deg, #64b5f6, #93d5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.home-content p{
    font-size: 1.6rem;

}       

.social-media a {  
    display: inline-flex;  
    justify-content: center;  
    align-items: center;  
    width: 4rem;  
    height: 4rem;  
    background: transparent;  
    border: .2rem solid var(--main-color);  
    border-radius: 50%;  
    font-size: 2rem;  
    color: var(--main-color);  
    margin: 3rem 1.5rem 3rem 0;  
    transition: .5s ease;
}

.social-media a:hover {  
    background: var(--main-color);  
    color: var(--second-bg-color);  
    box-shadow: 0 0 1rem var(--main-color);  
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    border-radius: 4rem;
    box-shadow: 0 0 20px rgba(100, 181, 246, 0.6), 0 4px 15px rgba(100, 181, 246, 0.3);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.5s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 0 30px rgba(100, 181, 246, 0.8), 0 8px 20px rgba(100, 181, 246, 0.4);
    transform: translateY(-3px);
}

section.about{
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%);
}

.about-content {
    text-align: center;
    margin-bottom: 3rem;
  }
.about h2 {
    margin-bottom: 5rem;
    font-size: 5rem;
  }
.about-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #c8d4e8;
    line-height: 1.8;
  }

/* Education Section */
section.education {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%);
}

.education-content {
    text-align: center;
    margin-bottom: 3rem;
}

.education-content h2 {
    margin-bottom: 5rem;
    font-size: 5rem;
}

.education-content .education-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.education-content p {
    font-size: 1.8rem;
    color: #c8d4e8;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(66, 165, 245, 0.05) 100%);
    border: 2px solid rgba(100, 181, 246, 0.3);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: #64b5f6;
    box-shadow: 0 15px 40px rgba(100, 181, 246, 0.3);
}

.education-card h3 {
    font-size: 2.2rem;
    color: #64b5f6;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.education-card h4 {
    font-size: 1.8rem;
    color: #c8d4e8;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-card .institution {
    font-size: 1.6rem;
    color: #93d5e1;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.education-details p {
    font-size: 1.6rem;
    color: #c8d4e8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.education-details p strong {
    color: #64b5f6;
}

/* Achievements & Certifications Section */
section.achievements-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%);
}

.achievements-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.achievements-intro h2 {
    margin-bottom: 2rem;
    font-size: 4rem;
}

.achievements-intro p {
    font-size: 1.8rem;
    color: #c8d4e8;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.achievements-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievements-content h3,
.certifications-content h3 {
    font-size: 2.4rem;
    color: #64b5f6;
    margin-bottom: 2rem;
    text-align: center;
}

.achievements-list,
.certifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-item,
.cert-item {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(66, 165, 245, 0.05) 100%);
    border: 2px solid rgba(100, 181, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.achievement-item:hover,
.cert-item:hover {
    transform: translateX(10px);
    border-color: #64b5f6;
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.3);
}

.achievement-item h4,
.cert-item h4 {
    font-size: 1.8rem;
    color: #64b5f6;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.achievement-date,
.cert-issuer {
    font-size: 1.4rem;
    color: #93d5e1;
    margin: 0 0 0.5rem 0;
}

.achievement-desc,
.cert-date {
    font-size: 1.6rem;
    color: #c8d4e8;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .tech-stack-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-stack-container {
        grid-template-columns: 1fr;
    }
}

/* Certifications Section */
section.certifications-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 100%);
}

.certifications-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.certifications-intro h2 {
    margin-bottom: 2rem;
    font-size: 4rem;
}

.certifications-intro p {
    font-size: 1.8rem;
    color: #c8d4e8;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.certifications-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.certifications-content {
    flex: 1;
    max-width: 600px;
}

.certifications-content h3 {
    font-size: 2.4rem;
    color: #64b5f6;
    margin-bottom: 2rem;
    text-align: center;
}

.certifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-item {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(66, 165, 245, 0.05) 100%);
    border: 2px solid rgba(100, 181, 246, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.cert-item:hover {
    transform: translateY(-10px);
    border-color: #64b5f6;
    box-shadow: 0 15px 40px rgba(100, 181, 246, 0.3);
}

.cert-item h4 {
    font-size: 1.9rem;
    color: #64b5f6;
    margin: 0 0 0.8rem 0;
    font-weight: 700;
}

.cert-issuer {
    font-size: 1.6rem;
    color: #93d5e1;
    margin: 0 0 0.8rem 0;
    font-weight: 600;
}

.cert-date {
    font-size: 1.5rem;
    color: #c8d4e8;
    margin: 0;
}
  
  .about-tabs {
    text-align: center;
  }
  
  .tabs {
    color: #a0c4f7;
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border-bottom: 2px solid rgba(100, 181, 246, 0.2);
  }
  
  .tab {
    cursor: pointer;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    transition: 0.3s ease;
    position: relative;
  }
  
  .tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: 0.3s ease;
  }
  
  .tab:hover::after {
    width: 100%;
  }
  
  .tab.active {
    border-bottom: none;
    font-weight: bold;
    color: var(--main-color);
  }
  
  .tab.active::after {
    width: 100%;
  }
  
  .tab-content {
    display: none;
    text-align: left;
    font-size: 1.9rem;
  }
  
  .tab-content.active {
    display: block;
  }
  
  .education-list,
  .certifications-list,
  .skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .education-list li,
  .certifications-list li,
  .skills-list li {
      margin-bottom: 2rem; /* Increased spacing for better readability */
  }
  
  .education-list li h1,
  .certifications-list li h1,
  .skills-list li h1 {
      font-size: 2.4rem; /* Main title (degree or skill) */
      font-weight: bold;
      margin-bottom: 0.5rem;
  }
  
  .education-list li h2,
  .certifications-list li h2,
  .skills-list li h2 {
      font-size: 2rem; /* Secondary title (e.g., institution or category) */
      font-weight: 600;
      margin-bottom: 0.3rem;
  }
.education-list li h2{
    color: #bdbdbd; /* Yellow color for the institution */
}
.education-list li p{
    color: #9e9e9e; /* Yellow color for the supporting details */
}



  /* Change the color of the certification names */
.certifications-list li span {
    color: #95d3fc; /* Blue color for the text */
}

/* Change the color of the "View Credential" links */
.certifications-list li a {
    color: #ffffff; /* Green color for the links */
    text-decoration: none; /* Remove underline */
    font-size: 1rem;
}

/* Add hover effect for the links */
.certifications-list li a:hover {
    color: #1abc9c; /* Darker green on hover */
    text-decoration: underline; /* Underline on hover */
}
.certifications-list {
    list-style-type: disc; /* Use 'disc' for standard bullets */
    padding-left: 20px; /* Adds some indentation */
}

.certifications-list li {
    margin-bottom: 10px; /* Adds space between list items */
}
  
  .education-list li p,
  .certifications-list li p,
  .skills-list li p {
      font-size: 1.6rem; /* Supporting details */
      font-weight: 400;
      color: var(--text-secondary);
  }
  
  .education-list p,
  .certifications-list p {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 1.4rem;
  }
  .achievements {
    background-color: #111; /* Dark background */
    color: #fff; /* Light text */
    padding: 20px;
    border-radius: 10px;
    font-family: 'Arial', sans-serif;
    max-width: 600px; /* Adjust width as needed */
    margin: 20px auto; /* Center alignment */
}

/* Styling the achievements list */
.achievements-list {
    list-style-type: disc; /* Bullets */
    padding-left: 20px;
}

.achievements-list li {
    margin-bottom: 15px; /* Space between achievements */
}

.achievements-list li strong {
    font-size: 2rem; /* Slightly larger for title */
    display: block;
    margin-bottom: 5px;
    color: #fff; /* Title color */
}

.achievements-list li p {
    font-size: 1.4rem;
    color: #bbb; /* Subtitle color */
    margin: 0;
}

/*======================================================================================*/

/* Tech Stack Section */
/* Tech Stack Section */
section.tech-stack{
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%);
    position: relative;
}

section.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.tech-stack {
    background-color: #121212; /* Dark background */
    
    color: #fff;
    text-align: center;
  }
  
  .tech-stack h2.heading {
    margin-bottom: 5rem;
    font-size: 5rem;
    color: #0ef; /* Accent color */
    margin-bottom: 40px;
  }
  .tech-stack h2 {
    margin-bottom: 5rem;
    font-size: 5rem;
  }
  .tech-stack h2 span {
    color: #fff;
  }
  
  .tech-stack-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .stack-category {
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }
  
  .stack-category h3 {
    font-size: 1.8rem;
    color: #f9a826; /* Section title color */
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  .stack-items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
  }
  
.stack-item {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(66, 165, 245, 0.05) 100%);
    border: 2px solid #64b5f6;
    border-radius: 12px;
    width: 140px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stack-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(100, 181, 246, 0.5), 0 0 20px rgba(100, 181, 246, 0.3);
    border-color: #93d5e1;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.2) 0%, rgba(147, 213, 225, 0.1) 100%);
}

.stack-item i {
    font-size: 45px;
    color: #64b5f6;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.stack-item:hover i{
    color: #93d5e1;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.8);
}  .stack-item p {
    font-size: 1rem;
    margin: 5px 0;
    font-weight: bold;
  }
  
  .stack-item span {
    font-size: 0.9rem;
    color: #f9a826; /* Skill level color */
  }
  
/* General Section Styling */
section.project {
  
    background: --second-bg-color;
    text-align: center;
  }
  
  /* Section Heading Styling */

  .project .heading {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 15px;
  }
  
  .project .heading span {
    color: var(--text-color);
  }
  
  /* Project Container Styling */
  .project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* General gap for both rows and columns */
    row-gap: 10px; /* Reduced gap between rows */
    max-width: 1200px;
    margin: 0 auto;
  }
  
  
  /* Individual Project Box Styling */
  .project-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }
  
  .project-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Project Layer Styling */
.project-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(26, 35, 50, 0.95) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}  .project-box:hover .project-layer {
    opacity: 1;
  }
  
  /* Project Layer Content Styling */
  .project-layer h4 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
  }
  
  .project-layer p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.5;
  }
  
  .project-layer h2 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #007bff;
  }
  
  .project-layer a {
    color: #fff;
    font-size: 2rem;
    margin-top: 10px;
    transition: color 0.3s ease;
  }
  
  .project-layer a:hover {
    color: #007bff;
  }
  


/* Contact Section Styling */
.contact {
        background-color: #111; /* Dark background */
        color: #fff;
        display: flex; /* Enable Flexbox */
        flex-direction: column; /* Arrange items vertically */
        align-items: center; /* Center items horizontally */
        justify-content: center; /* Center items vertically */
        text-align: center;
        padding: 4rem 2rem 5rem;
    }
  
  .contact .heading {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .contact .heading span {
    color: #0ef; /* Highlight color */
  }
  
  .contact .description {
    font-size: 1.6rem; /* Adjust font size for readability */
    margin: 0 auto 20px;
    max-width: 600px;
    line-height: 1.6;
    color: #bbb;
  }
  
  .contact .divider {
    width: 100px;
    height: 2px;
    background-color: #f9c74f;
    margin: 20px auto;
  }
  
  .contact-icons {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center; /* Center icons horizontally */
    gap: 20px;
  }
  
  .contact-icons .icon {
    font-size: 2.5rem;
    color: #f9c74f;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .contact-icons .icon:hover {
    transform: scale(1.2);
    color: #ffd700;
  }
  
  .contact-icons p {
    font-size: 1.6rem;
    color: #bbb;
  }
  

.footer {  
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
    flex-wrap: wrap;  
    padding: 2rem 9%;  
    background: var(--second-bg-color);  
  }
.footer-text p{
    font-size: 1.6rem;
}

.footer-iconTop a {  
    display: inline-flex;  
    justify-content: center;  
    align-items: center;  
    padding: .8rem;  
    background: var(--main-color);  
    border-radius: .8rem;  
    transition: .5s ease;
  }
.footer-iconTop a:hover {  
    background: 0 0 1rem var(--main-color);  
  }
  

.footer-iconTop a i {  
    font-size: 2.4rem;  
    color: var(--second-bg-color);  
  }

/* BREAKPOINTS  */
@media (max-width: 1200px) {  
    html {  
      font-size: 55%;  
    }  
  }  

@media (max-width: 991px) {  
    .header {  
      padding: 2rem 3%;  
    }  
    
        section {  
            padding: 7rem 3% 3rem;  
    }  

    .education{
        padding-bottom: 7rem;
    }

    .project{
        padding-bottom: 7rem;
    }
    .contact{
        min-height: auto;
    }

    .footer {  
      padding: 2rem 3%;  
    }
  }

@media (max-width: 768px) {
    #menu-icon{
        display: block;
    }
    .navbar {  
        position: absolute;  
        top: 100%;  
        left: 0;  
        width: 100%;  
        padding: 1rem 3%;  
        background: var(--bg-color);  
        border-top: .1rem solid rgba(0, 0, 0, .2);  
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2); 
        display: none;
      }

    .navbar.active{
            display: block;
    }

    .navbar a {  
        display: block;  
        font-size: 2rem;  
        margin: 3rem 0;  
    }
    .home{
        flex-direction: column;
    }
    .home-content h3 {  
        font-size: 2.6rem;  
    }  
      
    .home-content h1 {  
        font-size: 5rem;  
    }  
      
    .home-img img {  
        width: 70vw;  
        margin-top: 4rem;  
    }
    .about {  
        flex-direction: column-reverse;  
    }  
      
    .about img {  
        width: 70vw;  
        margin-top: 4rem;  
    }
    .education h2 {  
        margin-bottom: 3rem;  
    }
    .project h2 {  
        margin-bottom: 3rem;  
    }
    .project-container {  
        grid-template-columns: repeat(2, 1fr);  
    }

    /* Reduce home section padding on small screens */
    section.home{
        padding: 14rem 5% 7rem;
    }

    /* Stack achievements and certifications in a single column */
    .achievements-container{
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .certifications-container{
        flex-direction: column;
        align-items: stretch;
        gap: 2.4rem;
    }

    /* Allow tech stack cards to wrap on smaller screens */
    .stack-items{
        flex-wrap: wrap;
        justify-content: center;
    }

    .stack-item{
        width: 45%;
        max-width: 18rem;
    }

}

@media (max-width: 617px) {  
    .project-container {  
        grid-template-columns: 1fr;  
    }  
}

@media (max-width: 450px) {  
    html {  
        font-size: 50%;  
    }  
    .contact form .input-box input {  
        width: 100%;  
    }
}

@media (max-width: 365px) {  
    .home-img img {  
        width: 90vw;  
    }  
    .about-img img {  
        width: 90vw;  
    }
    .footer {  
        flex-direction: column-reverse;  
    }  
      
    .footer p {  
        text-align: center;  
        margin-top: 2rem;  
    }
}
/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .home-img {
        width: 25rem; /* Adjust size for smaller screens */
        height: 25rem;
    }
}

@media screen and (max-width: 480px) {
    .home-img {
        width: 20rem; /* Further adjustment for very small screens */
        height: 20rem;
    }
}

/* Popup styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .popup-content {
    background: #125b6d;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    text-align: center;
  }
  
  .popup-content h3 {
    margin-bottom: 10px;
    font-size: 2.4rem;
    color: #bce8eb;
  }
  
  .popup-content p {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  
  .close-btn {
    background: #0fcfdd;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
