/* *{
    margin: 0;
    padding: 0;
} */

body {
    background-image: linear-gradient(to right, #38387b, #212e32);
    color: rgb(219, 219, 219);
    font-family: sans-serif;
}

#nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar {
    background-image: linear-gradient(to right, #38387b, #212e32);
    padding: 0 !important;
}
.navbar-brand {
    padding-left: 50px;
    font: 300px;
    font-family: sans-serif;
    font-weight: 800;
    color: rgb(219, 219, 219);
}
.navbar-nav li a {
    color: rgb(219, 219, 219) !important;
    font-weight: 600;
    float: right;
    text-align: left;
}


.bi-three-dots-verti {
    color: #fff;
    font-size: 30px;
}

.nav-bar-toggler {
    outline: none !important;
}

/*----------About Me-----------*/

#about-me {

    padding-top: 5%;
}

.bio-title {
    font-size: 100px;
    font-weight: 600;
    margin-top: 0px;
    color: white;
}

.bio {
    font-size: 25px;
    font-weight: 300;
    margin-top: 30px;
    color: white;
}

.bio-pic-wrap {
    padding: 100px 0 100px 100px;
}

.bio-pic {
    border-radius: 70%;
    height: 600px;
}

.intro-vid {

    width: 200px;
    float: right;
}

#about-me a {
    color: #fff;
    text-decoration: none;
}

/* iframe {
    width: 400px;
    height: 220px;
}

video {
    margin: 24px 0px;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
} */
/* Reduce the logo size */
.MITCert .cert-img {
    width: 150px; /* Adjust this value as needed */
    height: auto;
  }
  
  /* Style the link so it doesn't have the default underline, and inherit text color */
  .MITCert .cert-link {
    text-decoration: none;
    color: inherit;
  }
  
  /* Caption styling to make it clear it's a clickable link */
  .MITCert .cert-caption {
    font-size: 0.9rem;
    margin-top: 5px;
    font-style: italic;
    color: #007bff;  /* Use a blue shade to indicate interactivity */
  }
  
.bottom-img {
    width: 100% !important;
    height: 350px;
}

/*-----------Contact Section--------------*/

#contact {
    background-color: #fff;
    padding-bottom: 40px;
}

.contact-title {
    transform: translateY(100px);

}

.contact-img img {
    height: 40px;

}

.contact-name {
    margin-top: 16px;
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 30px;
}







/*---------Projects Section----------*/

#project-section {
    background-image: linear-gradient(to right, #38387b, #212e32);
    background-size: cover; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    color: rgb(219, 219, 219);

}

.project-container {
    display: grid;
    grid-template-columns: 1fr; /* Adjusts for better responsiveness */
    max-width: 1200px; /* Prevents stretching too much on large screens */
    margin: 0 auto; /* Centers the content */
    padding: 20px;
}


.project-img {
    height: 200px;
    margin-top: 20px;
    transition: 0.5s;
    justify-self: center;
    margin-bottom: 20px;
}






.projects h4 {
    padding: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.title {
    grid-column: 3 / 9;
    grid-row: 2 / 3;
    font-size: 100px;
    padding: 20px;
}


.pac-img {
    grid-column: 2 / 4;
    grid-row: 4 / 6;
}

.eyes-img {
    grid-column: 5 / 7;
    grid-row: 4 / 6;
}

.bank-img {
    grid-column: 8 / 10;
    grid-row: 4 / 6;
}
.bank-img-wrapper {
    display: inline-block; 
    background: #17a2b8;
    border: 30px ;
    border-radius: 15px;
    padding: 10px; 
  }
  
.pac-heading {
    grid-column: 2 / 4;
    grid-row: 6 / 7;
}

.eyes-heading {
    grid-column: 5 / 7;
    grid-row: 6 / 7;
}

.bank-heading {
    grid-column: 8 / 10;
    grid-row: 6 / 7;
}

.pac-description {
    grid-column: 2 / 4;
    grid-row: 7 / 9;
}

.eyes-description {
    grid-column: 5 / 7;
    grid-row: 7 / 9;
}

.bank-description {
    grid-column: 8 / 10;
    grid-row: 7 / 9;
}

.btn-primary {
    box-shadow: none;
    padding: 8px 25px;
    border-bottom: #fff;
    box-shadow: #fff;
    border-radius: 20px;
    background-image: linear-gradient(to left, #38387b, #212e32);
}

.pac-btn {
    grid-column: 2 / 4;
    grid-row: 10 / 11;
}

.eyes-btn {
    grid-column: 5 / 7;
    grid-row: 10 / 11;
}

.bank-btn {
    grid-column: 8 / 10;
    grid-row: 10 / 11;
}

.ouroboros {
    grid-column: 3 / 9;
    grid-row: 11 / 12;
    margin-top: 30px;
}

/* ----------Following Eyes------------ */

.face {
    width: 45%;         
    aspect-ratio: 1 / 1.3;
    background: #ff9925;   
    border: 2px solid #000; 
    border-radius: 50%;     
    margin: 50px auto;     
    position: relative;     
    display: flex;
    align-items: center;
    justify-content: center;
}
.eyes {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
}
.eye {
    width: 25%;
    aspect-ratio: 2 / 1;
    background: #fff;
    display: inline-block;
    margin: 8%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}
.ball {
    width: 30%;
    aspect-ratio: 1 / 1;
    background: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

 /* Mobile adjustments grouped into one media query */
@media (max-width: 768px) {
    
    /* Navbar adjustments */
    .navbar-collapse {
        display: block !important;
    }
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    #nav-bar {
        position: relative; 
    }
    .navbar-toggler {
        display: none; 
    }
    
    /* Projects & Titles adjustments */
    .title {
        grid-column: 1 / -1;
        font-size: 40px;
        padding: 20px;
    }
    .project-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .project-img {
        width: 80%;
        height: auto;
    }
    .eyes-img {
        display: block;
        width: 100%;
    }
    .face {
        width: 70%;
        margin: 20px auto;
    }
    .eye {
        margin: 5%;
    }
    .ball {
        width: 40%;
    }
    
    
#about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Ensure the row does not inherit unwanted layout */
#about-me .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
}

/* Force each column to take full width */
#about-me .col-md-6 {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Adjust Background for Consistency */
#about-me {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; /* Ensures the background does not shift */
}

/* Adjust Bio Text */
.bio-title {
    font-size: 40px;
    margin-bottom: 20px;
}
.bio {
    font-size: 18px;
    padding: 0 20px;
    margin-bottom: 20px;
}

/* Ensure Bio Picture is Centered */
.bio-pic-wrap {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
.bio-pic {
    width: 80%;
    max-width: 300px;
    height: auto;
}

/* Fix Contact Section Alignment */
#contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contact .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
#contact .flex-grow-1 {
    width: 100%;
    display: flex;
    justify-content: center;
}
}