* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: cocosharp;
    src: url(/cocosharp/Coco-Sharp-Heavy-trial.ttf) format('truetype');
    font-weight: bolder;
}
@font-face {
    font-family: cocosharp;
    src: url(/cocosharp/Coco-Sharp-Extrabold-trial.ttf) format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: cocosharp;
    src: url(/cocosharp/Coco-Sharp-Light-trial.ttf) format('truetype');
    font-weight: lighter;
}
@font-face {
    font-family: cocosharp;
    src: url(/cocosharp/Coco-Sharp-Regular-trial.ttf) format('truetype');
    font-weight: normal;
}
:root {
    --green: #7fc41d;
    --blue: #5097c5;
    --red: #c30e0c;
    --textcolor: #ffffff;
    --para: rgba(209, 208, 207, 0.7);
    --card-bg-color: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.2);
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    transition: all 0.3s ease-in-out;
    border-radius: 20%;
}

/* Track */
::-webkit-scrollbar-track {
    background: #000000;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--red);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #760907;
}

body {
    font-family: 'cocosharp', sans-serif;
    scroll-behavior: smooth;
    background-color: #000;
    overflow-x: hidden;
    animation: fadein 0.5s ease-in-out;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* DESKTOP NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: #000000ea;
    box-shadow: 0px 2px 10px #c30e0c;
}

.logo>img {
   max-width: 110px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: var(--textcolor);
    padding: 0.5rem 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--red);
    transform:scale(1.1);
    letter-spacing: 2px;
    filter: drop-shadow(0px 0px 15px #c30e0c);
}

.nav-link.active {
    filter: drop-shadow(0px 0px 15px #c30e0c);
    transform: scale(1.1);
    color: var(--red);
    letter-spacing: 2px;
    border-bottom: 2px solid var(--red);
}

/* DRAWER MENU FOR MOBILE */
.drawer {
    position: fixed;
    top: -350px;
    height: 350px;
    width: 100vw;
    padding-top: 3.5rem;
    transition: 0.3s all ease-in-out;
    z-index: 10;
    display: flex;
    text-align: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.drawer.open {
    top: 12%;
    text-align: center;
}

.drawer a {
    text-decoration: none;
    color: var(--textcolor);
    padding: 1rem 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.25rem;
    transition: all 0.3s ease-in-out;

}

.drawer a:hover {
    color: var(--red);
    transform:scale(1.1);
    letter-spacing: 2px;
    filter: drop-shadow(0px 0px 15px #860B09);
}

.menu-icon {
    font-size: 2rem;
    position: fixed;
    top: 28px;
    left: 10px;
    cursor: pointer;
    z-index: 300;
    color: #fff;
}

.mobile-logo {
    display: none;
    text-align: center;
    font-weight: bolder;
    color: var(--textcolor);
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: #000;
    box-shadow: 0px 5px 10px #c30e0c;

}

.mobile-logo > img {
   max-width: 105px;

}
hr {
    filter: opacity(20%);
    filter: blur(50%);
}

span {
    color: var(--green);
    filter: drop-shadow(0px 0px 15px #8dc454);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 70vh;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0) 0%, #860B09 55%, rgba(255, 255, 255, 0) 100%);
}

/* Full-section background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Assets/Images/Tang4.jpg') top/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}

/* Overlay gradient */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* Text and Button */
.hero-content {
    position: relative;
    z-index: 2; /* Bring content above the overlay */
    
    margin-top: 5rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: bolder;
    margin: 0 0 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-content span {
    filter: drop-shadow(0px 0px 15px #7fc41d);
    color: var(--green);
}

.hero-content p {
    font-size: 24px;   
    color: var(--para);
    font-weight: lighter;
    max-width: 70%;
    margin: 0 auto 2rem auto;
}
.hero-button {
    padding: 20px 50px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: var(--red);
    filter: drop-shadow(0px 0px 15px #c30e0c);
    color: var(--textcolor);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.hero-button:hover {
    filter: drop-shadow(0px 0px 45px #c30e0c);
}

 /* Full-width container for each client section */

.work-section {
    position: relative;
    max-width: 100vw;
    margin: 0 auto;
    padding: 5px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #860B09 1%);
}
.work-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.987) 100%);
    z-index: 1;
}

.project {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    --offset: 3px;
    overflow: hidden;
    background: rgb(0, 0, 0);
}



.project-details {
    flex: 1;
    z-index: 2;
}

.project::before { 
    content: '';
    background: conic-gradient(transparent 270deg, rgb(255, 255, 255), transparent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    z-index: -3;
    width: 100%;
    animation: rotate 3.5s linear  infinite;
}

/* Overlay */
.project::after {
    content: '';
    background: inherit;
    border-radius: inherit;
    position: absolute;
    z-index: -2;
    inset: var(--offset);
    height: calc(100% - 2 * var(--offset));
    width: calc(100% - 2 * var(--offset));
}


@keyframes rotate {
    from {
        transform: translate(-50%, -50%) scale(1.4) rotate(0turn);
    }

    to {
        transform: translate(-50%, -50%) scale(1.4) rotate(1turn);
    }
}

.project-details h2 {
    color: var(--green);
    padding: 2rem;
    font-size: 3rem;
    font-weight: bolder;
    position: relative;
    text-transform: uppercase;
    z-index: 2;
}

.project-details span{
    color: var(--blue);
    filter: drop-shadow(0px 0px 15px #5097c5);

}
.project-details p {
    font-size: 24px;    
    line-height: 1.6;
    font-weight: lighter;
    padding-left: 2rem;
    max-width: 80%;
    color: var(--textcolor);
}

.image-gallery {
    flex: 1;
    max-width: 60%;
    z-index: 2;
}

.slideshow {
    position: relative;
    display: flex;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.4);
}

.slide {
    width: 100%;
    display: none;
    height: 500px;  /* Fixed height for images */
    object-fit: cover;
   
}


.slide.active {
    display: block;
    animation: fadein 1s ease-in-out;
}


 /* JOIN SECTION */
 .join-section {
    position: relative;
    width: 100vw;
    height: 500px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000000;
    background: linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, #860B09 55%, rgba(0, 0, 0, 1) 100%);
}
.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}
/* Background images */
.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    opacity: 0.3; /* Semi-transparent for overlay effect */
    z-index: 1;
}

.background-images img {
    position: absolute;
    width: 150px;
    height: 150px;
    object-fit: cover;
    animation: float 10s infinite ease-in-out alternate;
    transition: transform 0.3s;
    border-radius: 16px;
}

/* Different positions for images */
.background-images img:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.background-images img:nth-child(2) { top: 20%; left: 40%; animation-delay: 1s; }
.background-images img:nth-child(3) { top: 35%; left: 70%; animation-delay: 2s; }
.background-images img:nth-child(4) { top: 60%; left: 25%; animation-delay: 3s; }
.background-images img:nth-child(5) { top: 80%; left: 55%; animation-delay: 4s; }

/* Floating animation */
@keyframes float {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(-10px, 10px) scale(1.1); }
    100% { transform: translate(10px, -10px) scale(1); }
}
.join-content {
    position: relative;
    z-index: 2; /* Bring content above the images */
    max-width: 800px;
    padding: 20px;
}

.join-content h2 {
    font-size: 3.5rem;
    font-weight: bolder;
    margin: 0 0 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}
.join-content span {
    filter: drop-shadow(0px 0px 15px #7fc41d);
 color: var(--green);

}

.join-content p {
    font-size: 24px;
    font-weight: lighter;
        color: var(--para);
        max-width: 85%;
            margin: 0  auto 2rem auto;
}

.join-button {
    padding: 20px 50px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    background-color: var(--red);
    filter: drop-shadow(0px 0px 15px #c30e0c);
    color: var(--textcolor);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.join-button:hover {
    filter: drop-shadow(0px 0px 45px #c30e0c);
}


footer {
    background: linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, #860B09 55%, rgba(0, 0, 0, 1) 100%);
    color: var(--text-color);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0, 0, 0, 0.3) 50%);
    z-index: 1;
}

.footer-heading {
    color: var(--textcolor);
    font-weight: bolder;
    filter: drop-shadow(0px 0px 15px #ffffff);
}
.footer-logo{
    max-width: 120px;
}
.footer-container {
 z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 80vw;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}
.contact-info p {
    display: flex;
    align-items: center;
    font-family: Arial;
    font-weight: lighter;
    font-size: 1rem;
    margin: 0.5rem auto;
    color: var(--textcolor);
}

.contact-info i,
.follow-icons i {
    margin-right: 0.5rem;
    color: var(--green);
    filter: drop-shadow(0px 0px 15px #7fc41d);
    font-size: 22px;
    transition: all 0.3s ease-in-out;
}

.follow-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    transform: scale(1.3);
    margin-top: 10%;
    transition: all 0.3s ease-in-out;
}

.follow-icons a {
    text-decoration: none;
    color: var(--textcolor);
    
}

.follow-icons a:hover i {
    color: var(--textcolor);
    filter: drop-shadow(0px 0px 155px #fff);
    transform: scale(1.4);
}

/* Bottom Section */
.bottom-row {
    display: flex;
    color: var(--textcolor);
    justify-content: space-between;
    width: 100%;
    max-width: 80vw;
    margin-top: 3rem;
    font-family: Arial;
    font-size: 0.9rem;
}

.bottom-row p {
    margin: 0;
}

/********** Responsive Design ********/

@media only screen and (max-width: 1200px) {
    nav {
        padding: 1rem 2rem;
    }
}


@media only screen and (min-width: 769px) {
    .drawer {
        display: none;

    }

    .menu-icon {
        display: none;
    }

    .links {
        flex-direction: row;
        gap: 1rem;
    }
    .project:nth-child(2), .project:nth-child(4) {
        flex-direction: row-reverse;
    }

}

/* Responsive Design */


@media only screen and (max-width: 768px) {
    nav {
        display: none;

    }

    .menu-icon {
        display: block;

    }

    .mobile-logo {
        display: block;

    }
    .drawer.open{
        top: 12%;
    }
    .hero-section {
        height: 50vh;
    }
    .hero-content h2 {
        font-size: 2.5rem;

    }

    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }

    .project {
        flex-direction: column-reverse;
        margin: 1rem auto;
        text-align: center;
    }

    .project-details {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .project-details h2{
        font-size: 2rem;
        padding: 1rem;
    }
.project-details p{
    padding-left: 0;
    font-size: 14px;
    max-width: 95%;
    margin: auto;
}
    .image-gallery {
        max-width: 100%;
    }
    .slide{
        height: 250px;
        object-fit: cover;
    }
    .join-content h2 {
        font-size: 2.5rem;
    }

    .join-content p {
        max-width: 100%;
        font-size: 20px;
    }
    .join-button{
        padding: 15px 30px;
        font-size: 12px;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

  
}
@media only screen and (max-width: 500px) {
    .hero-section {
        height: 80vh;
    }

    .hero-content {
        margin-top: 5rem;
    }

    .mobile-logo>img {
        max-width: 110px;
    
    }

    .drawer.open{
        top: 12%;
    }


}