@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #081b29;
    color: #ededed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 30px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}

.navbar {
    display: flex;
    position: relative;
    z-index: 1010;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    width: 100%;
}

.collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 80%;
}

.collage-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.collage-img:hover {
    transform: scale(1.1);
}

.btn-box {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    overflow: hidden;
    transition: color 0.3s, background 0.3s;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: width 0.5s;
    width: 0;
}

.btn-box a:hover::before {
    width: 100%;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2)::before {
    background: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
    background: #00abf0;
}

.home-sci {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.home-sci a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 50px; /* Adjust based on header height */
    width: 100%;
    background-color: transparent;
    z-index: 1;
}

.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: black;
    border: none;
    margin: 0 5px;
    font-size: 16px;
    color: white;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #00abf0;
}

.tab-button.active {
    background-color: #00abf0;
}

.tab-content {
    display: none;
    padding: 80px 20px 20px 20px; /* Adjust padding to account for fixed tab buttons */
}

.tab-content.active {
    display: block;
}

.btn-box a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00abf0;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin: 10px 5px;
    transition: background-color 0.3s;
}

.btn-box a:hover {
    background-color: #007bb5;
}

.video-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.video-container video {
    width: 80%;
    max-width: 600px;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.video-container video {
    width: 100%;
    max-width: 400px; /* Ensure videos don't get too large */
}
