* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    background-color: #212428;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 17px;
    line-height: 1.6;
    color: #c4cfde;
    font-family: 'Poppins', sans-serif;
}

ul {
    list-style: none;
}

.tabs {
    width: 80%;
    height: 100px;
    margin: auto;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    overflow: hidden;
    border-radius: 10px;
}

.tabs li {
    background-color: #212327;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4cfde;
    font-family: "Poppins", sans-serif;
    transition: 0.5s;
    cursor: pointer;
}

.tabs li:hover {
    background: linear-gradient(145deg, #1e2024, #23272b);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    color: #006dc7;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.active {
    background: linear-gradient(145deg, #1e2024, #23272b);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    color: #006dc7;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    border-bottom: 4px solid #007BFF;
}

.contents {
    width: 80%;
    margin: auto;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

p {
    word-spacing: normal;
    letter-spacing: normal;
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 20px;
}

.box {
    position: relative;
    width: calc(100% - 40px); 
    background: linear-gradient(145deg, #1e2024, #23272b);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.box .content-wrapper {
    flex: 1;
}

.box img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.box img:hover {
    border: 2px solid #007BFF;
    padding: 5px;
}

.box h3, .box p {
    padding-left: 20px;
    color: #c4cfde;
    font-family: "Poppins", sans-serif;
}

.box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.show {
    display: flex;
}

.hide {
    display: none;
}

h3 {
    margin-bottom: 20px;
}

.content-wrapper {
    padding: 20px;
}

[data-content] {
    display: none;
}

[data-content].show {
    display: block;
}

.footer-waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.waves-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.waves {
    width: 100%;
    height: 15vh;
    max-height: 200px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .waves {
        height: 100px;
    }
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #2c2f36;
    color: white;
    margin: 15% auto;
    padding: 20px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    width: 80%;
    height: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.social-icons {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
}

.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.15);
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 1150px) {
    .contents {
        justify-content: space-around;
    }
    .box {
        width: calc(100% - 40px);
        padding: 10px;
    }
    .box img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .box h3 {
        padding-top: 15px;
    }
    p {
        text-align: left;
    }
}

@media (min-width: 1151px) {
    .box .content-wrapper {
        display: flex;
        align-items: center;
        justify-content: start;
    }
    .box img, .box div {
        flex: 1;
    }
}

body.modal-open {
    overflow: hidden;
}