@import url(https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbG9Dd2RlMktiSFBwY0hVMUc5cmJMcUtUcl9jZ3xBQ3Jtc0tuYS1mekNsXzZ1cDQyNUdJX2xuTE5kUlN4UXJma2ZyUlZJdVVMYzBfTng4WklSeE5xcnNsNjdwekFJbWlrdURpTGpUSm1kZHN4Sjhxckl3SVg3Q2M1SURyRjVyNzA4dzhiZFZEVnJXaW51WXNnLXo1UQ&q=https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DPoppins%3Awght%40100%3B200%3B300%3B400%3B500%3B600%26display%3Dswap%27%29%3B&v=-u3vE84Wo_U);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Times New Roman', Times, serif;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #111;
    color: white;
    padding-top: 83px; /* Add padding to avoid content overlap */
    position: relative; /* For absolute positioning of subHeader */
}


header{
    margin-top: -8px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1rem;
    background-color: rgb(0, 0, 0);
    filter: drop-shadow(10px);
    justify-content: space-between;
    align-items: center;
    z-index: 80;
    border-bottom: 3px solid #FF582D;
}

.logo{
    font-size: 4rem;
    color: rgb(220, 72, 18);
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.2);
}

.icon{
    margin-bottom: -2px;
    height: 20px;
    width: 20px;
}

nav a:hover,
nav a.active{
    color: white;
    border-bottom: 3px solid white;
}

nav a{
    font-size: 1.8rem;
    color: #FF582D;
    margin-left: 3rem;
    font-weight: 500;
    transition: 0.7s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: white;
    border-bottom: 3px solid white;

}

.menu-icon {
    font-size: 5rem;
    color:rgb(220, 72, 18);
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    display: none; /* Always show */
}

.menu-hover-area {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 100vh;
    z-index: 99;
}

/* Language switcher styles */
.lang-btn {
    background: none;
    margin-left: 2rem;
    border: 2px solid #FF582D;
    color: #FF582D;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
}

.lang-btn:hover {
    background-color: #FF582D;
    color: white;
    transform: scale(1.05);
}

.lang-btn.active {
    background-color: rgb(220, 72, 18);
    border-color: rgb(220, 72, 18);
    color: white;
    box-shadow: 0 0 10px rgba(255, 88, 45, 0.5);
}


#subHeader {
    position: fixed;
    top: 90px; /* Positioned directly below the main header */
    left: 0;
    width: 100%;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0); 
    border-bottom: 1px solid #FF582D;
    z-index: 0; 
    overflow: hidden; /* For the slide-down effect */
    max-height: -10; /* Initially hidden */
    transition: 1rem 0.7s ease-out; /* Add transition for smooth effect */
}

#subHeader.active {
    max-height: 50px; /* Adjust as needed for sub-header height */
}

#subHeader nav {
    padding: 0.5rem 0.5rem;
}

#subHeader nav a {
    font-size: 1.5rem;
    align-items: center;
    margin-left: 6rem;
}



#subHeader nav a:hover,
nav a.active{
    color: white;
    border-bottom: 3px solid white;

}

section {
    min-width: 100vh;
    padding: 5rem 9% 5rem;
}

@media(max-width:955px){
    nav {
        position: fixed;
        top: -40px;
        margin-top: 40px;
        right: -80%;
        height: 100vh;
        width: 60%; /* Increased width for better mobile view */
        border-left: 3px solid rgb(220, 72, 18);
        border-bottom-left-radius: 2rem;
        padding: 2rem;
        background-color: black;
        border-top: none;
        transition: right 0.3s ease;
    }

    nav.active {
        right: -30%;
    }
    body{
        width: 80%;

    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5 solid #FF582D;
    }

    #subHeader {
        display: none; /* Hide subHeader on smaller screens */
    }

    .menu-icon {
        top: 0px;
        display: block;
    }

    .logo {
        font-size: 5rem;
    }

    .home {
        padding: 1rem 1%;
        padding-top: 3rem;
    }

    .home .home-content h1 {
        font-size: 4rem;
    }
    .home-img{
        padding-top: 2rem;
    }

    .home-img img {
        padding-top: -5rem;
        width: 70%;
        max-width: 500px;
    }

    .projects {
        padding: 3rem 5%;
    }

    .project-box {
        padding: 1.5rem;
    }

    .project-content img {
        width: 100px;
    }

    .project-content h3 {
        font-size: 1.8rem;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
    }

    .about-img img {
        width: 80%;
        max-width: 400px;
    }

    footer{
        width: 100vw;
        padding: 3rem 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .project {
        width: 70%;
        max-width: 1200px;
        margin: 5rem auto;
        padding: 5rem;
        background-color: #111;
        color: white;
        border-radius: 10px;
    }
    .image-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-item img {
        max-width: 100%;
        border-radius: 10px;
    }
}

.home{
    display: flex;
    justify-content: center;
    gap: 1rem;
    background-color: #111;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1rem;
    width: 100%;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: rgb(181, 107, 80);
}

.home-img{
    padding-top: 1rem;
    border-radius: 50%;
}

.home-img img {
    width: 60%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.projects {
    font-size: 2rem;
    width: 100%;
    text-align: flex;
    padding: 0rem 0;
    background-color: #111;
    color: white;
    scroll-margin-top: 130px;
}

.projects h2 {
    text-align: center;
    color: rgb(220, 72, 18);
    font-size: 5rem;
    margin-bottom: 20px;
}

.projects-container {
    width: 90%;
    max-width: 1000px solid;
    margin: 0 auto;
}

.projects-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    padding: 2rem;
    background: #222;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
    margin: 5px auto;
}

.projects-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

.projects-content {
    display: flex;
    align-items: center;
    width: 70%;
}

.projects-content img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-right: 20px;
}

.projects-content h3 {
    font-size: 3rem;
}

.projects p {
    font-size: 3 rem;
}

.typewriter h1 {
    font-size: 5rem;
    font-weight: 700;
}

.typewriter p {
    font-size: 6rem;
    font-weight: 700;
    color: orangered;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid orange; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
      typing 1.5s steps(6, end),
      blink-caret .75s step-end infinite;
  }
  
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orangered; }
  }

  .about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    background-color: #111;
    padding: 10rem 10%;
    color: white;
    scroll-margin-top: 130px;
}

.about-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    gap: 5rem;
}

.about-img img {
    width: 400px; /* Adjust as needed */
    height: auto;
    border-radius: 20px;
}

.about-text {
    flex: 1;
    font-size: 2rem;
}

.about-text h2 {
    font-size: 5rem;
    color: orangered;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 2rem;
    line-height: 1.6;
}

footer {
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.6rem;
    margin: 0;
    position: relative;
    border-top: 3px solid orangered;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: orangered;
    font-size: 2rem;
    margin: 0 1rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}


/* Project page style contines*/
.project {
    width: 70%;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 5rem;
    background-color: #111;
    color: white;
    border-radius: 10px;
}

.icon{
    margin-bottom: -2px;
    height: 20px;
    width: 20px;
}

.update-stamp {
    margin: 0;
    margin-left: 20%;
    text-align: left + 20px;
    border-radius: 10px;
    background: #FF582D;
    margin: 0rem auto;
    padding: 1rem;
    width: 110%;

}

.update-stamp h1 {
    font-size: 3rem;
    color: #111;
}

.update-stamp p {
    font-size: 2rem;
    color: #111;
    margin-bottom: 0rem;
}

.project-header {
    text-align: center;
    padding-top: 8rem;
    margin-bottom: 5rem;
}

.project-header h1 {
    font-size: 5rem;
    color: orangered;
    margin-bottom: 1rem;
}

.project-subtitle {
    font-size: 2.2rem;
    color: white;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.text-block {
    font-size: 2rem;
    line-height: 1.6;
    text-align: justify;
}

.image-block {
    font-size: 5rem;
    text-align: center;
}

.image-block img {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
}

.text-image-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.text-image-block p {
    font-size: 2rem; /* Increase text size */
    line-height: 1.6;
    
}
.text-image-block {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.text-image-block img {
    width: 50%;
    max-width: 700px;
    max-height: 700px;
    border-radius: 10px;
}

.text-image-block-reverse {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-direction: row-reverse;
}

.text-image-block-reverse p {
    font-size: 2rem; /* Increase text size */
    line-height: 1.6;
    
}

.text-image-block-reverse {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.text-image-block-reverse img {
    width: 50%;
    max-width: 700px;
    max-height: 700px;
    border-radius: 10px;
}

.caption {
    font-size: 1.6rem;
    color: gray;
    text-align: center;
    margin-top: 0.5rem;
}


.three-image-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.image-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-item img {
    width: 100%;
    border-radius: 10px;
}

.caption {
    font-size: 1.5rem;
    color: gray;
    margin-top: 0.5rem;
}

.download-box {
    display: flex;
    width: 70%;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #FF582D;
    border-radius: 5px;
    background-color: #222;
    color: #111;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.download-box:hover {
    transform: scale(1.02);
    border-color: #FF582D;
    box-shadow: 0 4px 8px #FF582D;
    color: #1a4fff;
}

.download-icon {
    margin-right: 8px;
    font-size: 16px;
}

.video-window {
    display: flex;
    position: center;
    align-items: center;
    padding-left: 20%;    
    padding-right: 20%;   
}

.file-name {
    white-space: nowrap;
}

dl {
    margin: 1em 0;
  }

  dt {
    font-weight: bold;
    margin-top: 1em;
  }

  dd {
    margin: 0 0 1em 2em;
    text-indent: -2em;
    padding-left: 2em;
  }
  
.model-container {
    background: rgba(255, 255, 255, 0.1);
    margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}

.model-frame {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.model-frame:hover {
    transform: scale(1.02);
}

iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.title {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: orangered;
    font-size: 3rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .model-container {
        padding: 20px;
        margin: 10px;
    }
    
    .model-frame {
        width: 100%;
        height: 400px;
    }
    
    .title {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) {
    .model-frame {
        width: 800px;
        height: 600px;
    }
}