body {
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #E0E0E0;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 2px solid #2c2c2c00;
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
    box-sizing: border-box;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo a {
    margin: 0;
    color: #ffffff;
    font-size: 1.8em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex: 1;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: #00BFFF;
    transform: scale(1.1);
}

.parallax {
    background-image: url('/Image/parallax.png');
    min-height: 600px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: #ffffff;
    text-align: center;
    padding: 150px 5%; 
    box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.5);
    animation: fadeInBackground 2s ease-out;
}

@media (max-width: 600px) {
    .parallax {
        min-height: 400px; 
        padding: 100px 5%; 
        font-size: 10px;
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.parallax h2 {
    font-size: 3em;
    animation: slideIn 1.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

main {
    padding: 150px 5% 50px;
}

section {
    margin-bottom: 50px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    animation: fadeInSection 0.7s forwards;
}

@keyframes fadeInSection {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

section h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
}

section p {
    font-size: 1.2em;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.fade-in {
    margin-bottom: 50px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    animation: fadeInSection 0.7s forwards;
}

.about-box {
    text-align: left;
    margin: 0 auto 20px;
    padding: 10px;
    max-width: 800px;
    border: none; 
}

.about-box p {
    font-size: 1.2em;
    line-height: 1.5;
    margin: 0;
}

.center-btn {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 8px 10px;
    margin-top: 20px;
    color: #FFFFFF;
    background-color: #00000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn:hover {
    background-color: #009ACD;
    transform: scale(1.1);
}

.btn:active {
    background-color: #007BB5;
    transform: scale(0.95);
}

.back-to-top:hover {
    background-color: #00000000;
    transform: scale(1.1);
}

.about {
    overflow: hidden;
    text-align: center;
    padding: 20px 5%;
    background-color: #1a1a1a00;
    border-top: 2px solid #2c2c2c00;
    width: 100%;
    bottom: 0;
}

.center {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 48px;
}


@media (max-width: 600px) {
    .center {
        font-size: 30px;
    }
}

#projects {
    padding: 50px 5%;
    background-color: #000000;
    color: #E0E0E0;
}

#projects h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

#projects h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #00BFFF;
}

.project {
    margin-bottom: 50px;
    text-align: center;
}

.project h3 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.project-content {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: nowrap;
    gap: 20px;
}

.text-box {
    flex: 2;
    text-align: left;
    max-width: 70%;
}

.image-box {
    flex: 1;
    text-align: right;
    max-width: 100%;
}

.project-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-content p {
    font-size: 1.5em;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    #projects {
        padding: 20px 5%;
    }

    #projects h2 {
        font-size: 2em;
        margin-bottom: 15px; 
    }

    .project {
        margin-bottom: 40px; 
    }

    .project h3 {
        font-size: 1.5em;
        margin-bottom: 15px; 
    }

    .project-content {
        flex-direction: column;
        padding: 10px;
    }

    .image-box {
        margin-bottom: 15px;
        max-width: 100%;
    }

    .text-box {
        max-width: 100%;
        font-size: medium;
        padding: 10px;
    }
    .project-content p {
        font-size: 1.2em; 
        line-height: 1.4; 
        margin: 0 10px; 
    }
}

.slider-container {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
}

.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.slider-img {
    width: 110px;
    height: 750px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: 0.7s ease;
}

.slider-images .slider-img:first-child,
.slider-images .slider-img:last-child {
    height: 480px; 
}

.slider-images .slider-img:nth-child(2),
.slider-images .slider-img:nth-child(6) {
    height: 560px;
}

.slider-images .slider-img:nth-child(3),
.slider-images .slider-img:nth-child(4),
.slider-images .slider-img:nth-child(5) {
    height: 665px;
}

h1 {
    font-family: "Jost", sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #fffcfe;
    position: absolute;
    top: 50%;
    left: -10%;
    transform: rotate(270deg);
    transition: 0.7s ease;
}

.details {
    position: absolute;
    bottom: 43px;
    left: 43px;
}

.details h2 {
    font-family: "Jost", sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    line-height: 44px;
    color: #ffffff;
    text-transform: uppercase;
    transition: 0.7s ease;
    display: none;
}

.details p {
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 33px;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: 0.7s ease;
    display: none;
}

.slider-img.active {
    width: 866px !important;
    height: 850px !important; 
}

.slider-img.active h1 {
    display: none;
}

.slider-img.active .details p,
.slider-img.active .details h2 {
    display: block;
}

@media (max-width: 768px) {
    .slider-container {
        display: none !important;
    }
}
.project-illustration-header {
    text-align: center;
    margin-bottom: 20px;
}

.project-illustration-header h2 {
    font-family: "Jost",sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    opacity:0; 
    animation: fadeIn 2s ease-in-out forwards;
}

@media (max-width: 768px) {
    .project-illustration-header h2{
        font-size: 24px;
    }
}

.video-player-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 0 auto; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 15, 15, 0.8);
    padding: 0px;
    border-radius: 0 0 10px 10px;
    width: 100%;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.control-btn img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.control-btn img:hover {
    transform: scale(1.2);
}

.progress-bar {
    flex-grow: 1;
    margin: 0 10px;
}

.volume-bar {
    width: 100px;
}


@media (max-width: 600px) {
    .progress-bar {
        margin: 0 5px; 
    }

    .volume-bar {
        width: 50px; 
    }
}


section#about {
    margin-bottom: 20px;
    background-color: #000000;
    padding: 20px;
    border-radius: 8px;
}

section#about h2 {
    font-size: 24px;
    margin-top: 0;
}

section#about p {
    font-size: 16px;
    line-height: 1.5;
}

section#education {
    background-color: #000000;
    padding: 50px;
    border-radius: 8px;
}

section#education h3 {
    font-size: 20px;
    margin-top: 5px;
}

section#education p {
    font-size: 14px;
    margin: 5px 0;
}

.aboutme {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.aboutme-pic-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.aboutme-pic {
    margin-right: 10px;
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.aboutme-content {
    max-width:800px;
    text-align: left;
    margin: 0 auto;
    font-size: large;
}

@media (max-width: 600px) {
    .aboutme {
        flex-direction: column;
        padding: 10px;
    }

    .aboutme-pic-container {
        margin-bottom: 15px;
    }

    .aboutme-content {
        max-width: 100%;
        font-size: medium;
        padding: 10px;
    }
}

.centered-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    font-size: large;
    text-align: left;
    padding: 10px;
    background-color: #ffffff;
}

.education-box {
    border: 1px solid #000000;
    padding: 20px;
    border-radius: 5px; 
    background-color: #000000; 
}

@media (max-width: 768px) {
    .centered-section {
        width: 90%;
        padding: 10px;
    }

    .education-box {
        font-size: medium;
        padding: 15px; 
}

    .centered-section {
        width: 95%;
        padding: 10px;
    }

    .education-box {
        font-size: medium; 
        padding: 15px; 
    }
}

.centered {
    text-align: center;
    text-decoration: none;
    font-size: 18px; 
}

@media (max-width: 600px) {
    .centered-section {
        width: 90%;
        padding: 10px;
        font-size: medium; 
    }

    .centered {
        font-size: 16px;
    }
}

    .here {
        text-decoration: underline;
        color: rgb(255, 255, 255);
    }

.custom-size {
    width: 600px; 
    height: 800px;
    margin: 50px auto;
    display: block;
}

@media (max-width: 768px) {
    .custom-size {
        width: 90%; 
        height: auto;
        margin: 20px auto;
    }
}

.contactx-section {
    text-align: center;
    font-size: 24px;
    color: white;
}

.contactx-icons {
    margin-top: 20px;
}

.contactx-icons a {
    margin: 0 40px;
    text-decoration: none;
    color: white;
    font-size: 24px;
    margin-top: 20px;
}

.contactx-icons a:hover {
    color: #ccc;
}

.contactx-icons img {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .contactx-section {
        font-size: 18px; 
    }

    .contactx-icons {
        margin-top: 15px; 
    }

    .contactx-icons a {
        margin: 0 20px; 
        font-size: 18px;
    }

    .contactx-icons img {
        width: 30px; 
        height: 30px;
    }
}

.contact-container {
    background: #000000;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    width: calc(100% - 20px);
    margin: auto;
}

.contact-container h2 {
    margin-top: 0;
    font-size: 28px;
    color: #ffffff;
}

.contact-container p {
    margin: 10px 0 20px;
    font-size: 16px;
    color: #ddd;
}

.contact-container form {
    display: flex;
    flex-direction: column;
}

.contact-container input,
.contact-container textarea {
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    background-color: #000000;
    color: #fff;
}

.contact-container button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-container button:hover {
    background-color: #009ACD;
}

@media (max-width: 600px) {
    .contact-container {
        padding: 20px;
        margin-left: -10px; 
    }

    .contact-container h2 {
        font-size: 24px;
    }

    .contact-container p {
        font-size: 14px;
        margin: 5px 0 15px;
    }

    .contact-container input,
    .contact-container textarea {
        padding: 10px;
        font-size: 12px;
    }

    .contact-container button {
        padding: 10px;
        font-size: 14px;
    }
}

.slider {
    display: none;
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 400px; 
    object-fit: cover; 
    border-radius: 15px;
}

.indicators,
.indicator {
    display: none;
}

@media (max-width: 768px) {
    .slider {
        display: block;
    }

    .indicators {
        display: flex; 
        justify-content: center;
        margin-top: 10px;
    }

    .indicator {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 0 5px;
        background-color: #2020209f;
        border-radius: 50%;
        cursor: pointer;
    }

    .indicator.active {
        background-color: #009ACD;
    }
}

.hidden {
    display: none;
}

footer {
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #000000;
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 0px;
    font-size: 18px;
}

footer p {
    margin: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}