html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-image: url("AdobeStock-GalaxyBackground1.jpeg"); 
    background-size: 100%;
}
*::-webkit-scrollbar {
    width: 0;
}

a {
    text-decoration: none;
    color: white;
}

* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}
.section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-fit {
    width: min(1200px, 90vw);
    margin: auto;
    min-height: 100vh;
    position: relative;
    padding-block: 10em;
}
header {
    padding-block: 1em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10px;
    backdrop-filter: blur(20px);
    z-index: 100;
    background-color: #1B1B1B11;
    background-image: repeating-linear-gradient(
        to right, transparent 0 500px, #eee1 500px 501px
    );
}
header .content-fit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: unset!important;
    padding-block: unset!important;
}
header .content-fit nav ul{
    display: flex;
    gap: 2em;
}

#banner .title {
    color: #ffffff;
    font-size: 11em;
    font-family: "devil breeze";
    font-weight: bold;
    position: relative;
    text-align: center;
}

.section .decorate {
    position: absolute;
}
#intro .content-fit {
    display: flex;
    gap: 10%;
    justify-content: space-between;
    align-items: center;
}

.section .number {
    font-family: "devil breeze";
    font-size: 15em;
    font-weight: bold;
}
.section .content-fit .title {
    font-family: "devil breeze";
    font-size: 5em;
    font-weight: bold;
}

/* Placeholder image styling for intro section */
.placeholder-image {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  display: flex;
}
.placeholder-image img {
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

#description .content-fit {
    padding-right: 30%;
    display: flex;
    gap: 30%;
    justify-content: space-between;
    align-items: flex-start;
}
#description .number {
    font-size: 5em;
}
#description .title {
    font-size: 7em;
    font-weight: 500;
}

.description-image {
    width: 280px;
    height: 400px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    overflow: hidden; /* Add this */
}

.description-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.description-content {
    flex: 1;
}

/* Members section styling */
#members .content-fit {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
}

#members .title {
    font-size: 6em;
    margin-bottom: 1em;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2em;
    width: 100%;
    max-width: 1000px;
}

.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.member-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #48cae4 0%, #023e8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 10px 30px rgba(72, 202, 228, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Add this to prevent image overflow */
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Make member images circular */
}

.member-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(72, 202, 228, 0.5);
}

.member-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;

}

#contact .content-fit {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
#contact table {
    width: min(800px, 90vw);
    padding-top: 2em;
    font-size: 2em;
    margin: auto;
}
#contact table td {
    padding-block: 0.5em;
    border-bottom: 1px dashed #445022;
}
#contact table td:nth-child(1) {
    text-align: left;
    font-weight: 500;
}
#contact table td:nth-child(2) {
    text-align: right;
    font-weight: 200;
}
#contact .sign {
    font-family: 'Bimbo', sans-serif;
    font-size: 10em;
}
#container3D {
    position: fixed;
    inset: 0;
    /* background-color: red; */
    z-index: 100;
    pointer-events: none;
}

@media screen and (max-width: 1023px){
    #banner .title {
        font-size: 5em;
    }
    #intro .content-fit {
        flex-direction: column;
        gap: 2em;
    }
    .placeholder-image {
  width: 150px;
  height: 150px;
}    
    #description .content-fit {
        flex-direction: column;
        gap: 2em;
        padding-right: 0;
    }
    .description-image {
        width: 250px;
        height: 300px;
        align-self: center;
    }
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 1.5em;
    }
    .member-image {
        width: 120px;
        height: 120px;
    }
}

@media screen and (max-width: 767px){
    #banner .title {
        font-size: 3em;
    }
    #intro .content-fit {
        flex-direction: column;
        gap: 1.5em;
    }
    .placeholder-image {
  width: 120px;
  height: 120px;
  font-size: 1em;
}
    .section .number {
        font-size: 5em;
    }
    .section .content-fit .title {
        font-size: 2em;
    }
    #description .content-fit {
        padding-right: 0;
        flex-direction: column;
        gap: 1.5em;
    }
    .description-image {
        width: 200px;
        height: 250px;
    }
    #members .title {
        font-size: 3em;
    }
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 1em;
    }
    .member-image {
        width: 100px;
        height: 100px;
    }
    .member-name {
        font-size: 1em;
    }
    #contact table {
        font-size: 1em;
    }
    #contact .sign {
        font-size: 2em;
    }
    #container3D {
        position: absolute;
    }
}
