* {
    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: -330px;
    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;
    font-size: 24px;
    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: 110px;

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

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


h2 {
    margin: 5% auto 5% auto;
}
/* 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(0, 0, 0, 1) 0%, #860B09 55%, rgba(0, 0, 0, 1) 100%);
}

/* Full-section background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Assets/Images/MORO4.png') 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(0deg, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Text and Button */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    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);
}

/* Leader Card Grid */
.leaders-section {
    max-width: 100vw;
    margin: 0rem auto 0rem auto;
    position: relative;
    text-align: center;
    background:linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, #860B09 45%, rgba(0, 0, 0, 1) 100%);
    padding: 0rem 2rem;
}

.leaders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0,0,0,0) 50%, rgb(0, 0, 0) 100%);
    z-index: 1;
}

.leaders-section h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: bolder;
    position: relative;
    padding: 3%;
    color: var(--textcolor);
    z-index: 2;

}

.leader-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Leader Card Layout */
.leader-card {
    margin: 0rem auto 2rem auto;
    width: calc(50% - 1rem);
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    border-radius: 16px;
    max-height: none; 
    z-index: 2;
    position: relative;
}

.leader-card:hover {
    transform: scale(1.02);
}

.leader-image {
    margin: auto;
    max-height: 260px;
    overflow: hidden;
}

.leader-image img {
    width: 70%;
    height: 100%;
    object-fit: cover;
}
.leader-content {
    padding: 1.5rem;
    text-align: center;
}

.leader-content h3 {
    font-size: 1.75rem;
    font-weight: bolder;
    margin-bottom: 0.5rem;
    color: var(--green);
    filter: drop-shadow(0px 0px 15px #8dc454);

}

.leader-content .position {
    font-weight: normal;
    margin-bottom: 0.75rem;
    color: var(--blue);
    filter: drop-shadow(0px 0px 15px #34a5ee);
}

.leader-content p {
    font-size: 1rem;
    font-weight: lighter;
    max-width: 90%;
    margin: auto;
    line-height: 1.4;
    color: var(--textcolor);
    overflow-wrap: break-word; /* Prevents word overflow */
}

.section-container {
    max-width: 100vw;
padding: 3rem 0;
    position: relative;
    background: linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, #860B09 55%, rgba(0, 0, 0, 1) 100%);
}
.section-container::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;
}
.section-container h1 {
    font-size: 3rem;
    font-weight: bolder;
    position: relative;
    text-align: center;
    margin: 2% auto;
    color: var(--textcolor);
    z-index: 2;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 5vw;
    padding: 0;
    list-style-type: none;
  }
  
  .card {
    position: relative;
    z-index: 2;
    display: block;
    height: 100%;  
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
  }
  
  .card__image {      
    width: 100%;
    height: 100%;
  }
  
  .card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;        
    background-color:rgba(0, 0, 0, 0.5);      
    transform: translateY(100%);
    transition: .2s ease-in-out;
  }
  
  .card:hover .card__overlay {
      transform: translateY(0);
    }
    
    .card__header {
        position: relative;
        display: flex;
        align-items: center;
        padding: 1rem;
        background-color:rgba(0, 0, 0, 0.5);      
        transform: translateY(-100%);
        transition: .2s ease-in-out;
    }
    .card:hover .card__header {
    transform: translateY(0);
  }
  
  
  .card__title {
    font-size: 2rem;
    font-weight: bolder;
    color: var(--textcolor);
    filter: drop-shadow(0px 0px 15px #ffffff);
  }
  
  
  .card__description {
    padding:1rem;
    font-family: Arial;
    font-weight: lighter;
    color: var(--textcolor);
    background:rgba(0, 0, 0, 0.5); 
    overflow: hidden;
  }    

.infiniteslide{
    background: linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, #860B09 55%, rgba(0, 0, 0, 1) 100%);
    position: relative;
    padding: 0px 0px 30px 0px;
}
.infiniteslide h1 {
    font-size: 3rem;
    font-weight: bolder;
    position: relative;
    text-align: center;
    margin: 2% auto;
    color: var(--textcolor);
    z-index: 2;
}
.slider{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.infiniteslide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
    z-index: 2;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    transition: all 0.4s ease-in-out;
    animation-delay: calc( (15s / var(--quantity)) * (var(--position) - 1) - 25s)!important;
}
.item{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--textcolor);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
    border-radius: 16px;
}
.item img {
    width: 98%;
    height: 98%;
    border-radius: 16px;

}

.slider:hover .item{
    animation-play-state: paused!important;
    color: var(--para);
    opacity: 0.3;
    filter: grayscale(1);
}
.slider .item:hover{
    opacity: 1;
    color: var(--textcolor);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.4);
    background: var(--card-hover-bg);
    filter: grayscale(0);
}
.slider[reverse="true"] .item{
    animation: reversePlay 15s linear infinite;
}
@keyframes reversePlay{
from{
    left: 100%;
}
    to{
        left: calc(var(--width) * -1);
}}


.item::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 3s linear  infinite;
}

/* Overlay */
.item::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);
    }
}


/* Main container */
.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;
}



@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;
    }

}


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

    }

    .menu-icon {
        display: block;

    }

    .mobile-logo {
        display: block;

    }

    .header h1 {
        font-size: 1.5rem;
    }

    .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;
    }

    .leader-card {
        width: 100%; /* Stack cards on smaller screens */
    }

    .leaders-section h1 {
        font-size: 2rem;
        margin-bottom: 5%;
    }

    .leader-content h3 {
        font-size: 1.25rem;
    }

    .leader-content p {
        font-size: 0.7rem;
        max-width: 90%;
    }

    .drawer.open{
        top: 12%;
    }
    .hero-content h2 {
        font-size: 1.8rem;
        margin: auto;

    }

    .hero-content p {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .hero-button{
padding: 15px 30px;
font-size: 12px;
    }
    .infiniteslide h1{
        font-size: 2rem;
        margin-bottom: 5%;

    }
    .section-container h1{
        font-size: 2rem;
    }
    .cards{
        margin: 1rem 10vw;
    }
    .card__title{
        font-size: 1.5rem;
    }
    .join-content h2 {
        font-size: 2.5rem;
    }

    .join-content p {
        max-width: 100%;
        font-size: 20px;
    }

    .join-button{
        padding: 15px 30px;
        font-size: 12px;
    }
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    .leader-card {
        flex-direction: column;
        height: auto;
        /* Adjust height for mobile */
    }

    .leader-card:nth-child(even) {
        flex-direction: column;
    }
    .leaders-section{
        max-width: 100vw;
        padding: 1rem;
    }

    .drawer.open{
        top: 12%;
    }
}
