/* Import Poppins font */
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Navigation Styles */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2000;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: #1a1a1a;
}

.title h1 {
    font-size: 24px;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.navBtns {
    display: flex;
    gap: 50px;
    position: fixed;
    top: 0;
    right: 0;
    padding: 40px;
}

.navBtn {
    font-size: 18px;
    color: #e1e1e1;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

.navBtn a {
    text-decoration: none;
    color: inherit;
}

.navBtn:focus,
.navBtn:hover {
    color: #fff;
}

.navBtn:focus:after,
.navBtn:hover:after {
    width: 100%;
    left: 0%;
}

.navBtn:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

#active {
    color: rgb(0, 119, 216);
}

#active:after {
    background-color: rgb(0, 119, 216);
    width: 100%;
    left: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Body Content Styles */
.body {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding-top: 120px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.body h1 {
    font-size: 50px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 20px;
}

p {
    text-align: left;
    font-size: 20px;
}

.profile {
    width: 65%;
    position: relative;
    padding: 30px;
    color: #464646;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profilePic {
    position: relative;
    width: 350px;
    height: 460px;
    border-radius: 100% 100% 100% 100% / 100% 100% 100% 100%;
    background: #3976f6;
    box-shadow: 0 8px 32px 0 rgba(0, 51, 145, 0.18),
        0 1.5px 3px 0 rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    margin: auto;
}

.profilePic img {
    width: 90%;
    height: 90%;
    border-radius: 10px;
    object-fit: fill;
    display: block;
    margin: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.profilePic img:hover {
    transform: scale(1.12);
}

.profile a {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.contactBtn {
    width: 165px;
    height: 62px;
    cursor: pointer;
    color: #fff;
    font-size: 17px;
    border-radius: 1rem;
    border: none;
    position: relative;
    background: #0059ff;
    transition: 0.1s;
    margin-top: 10px;
}

.contactBtn::after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle farthest-corner at 10% 20%,
        rgb(0, 119, 255) 17.8%,
        rgb(0, 102, 255) 100.2%
    );
    filter: blur(15px);
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
}

.contactBtn:active {
    transform: scale(0.9) rotate(0deg);
    background: radial-gradient(
        circle farthest-corner at 10% 20%,
        rgb(0, 102, 255) 17.8%,
        rgb(2, 103, 255) 100.2%
    );
    transition: 0.1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.profile h1 {
    opacity: 0;
    animation: fadeIn 0.7s forwards;
    animation-delay: 0.2s;
}

.profile p {
    opacity: 0;
    animation: fadeIn 0.7s forwards;
    animation-delay: 0.7s;
}

.profile .contactBtn {
    opacity: 0;
    animation: fadeIn 0.7s forwards;
    animation-delay: 1.2s;
}

/* Wave Animation */
section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

section .wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4973ff;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
}

section .wave span {
    content: "";
    position: absolute;
    width: 300vh;
    height: 300vh;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
}

section .wave span:nth-child(1) {
    border-radius: 45%;
    background: rgba(20, 20, 20, 1);
    animation: animate 30s linear infinite;
}

section .wave span:nth-child(2) {
    border-radius: 40%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 30s linear infinite;
}

section .wave span:nth-child(3) {
    border-radius: 42.5%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 20s linear infinite;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .body {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 20px;
    }

    .profile {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 20px;
        margin-top: 20%;
        height: 100%;
        max-height: fit-content;
    }

    .profile h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .profile p {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }

    .profilePic {
        display: none;
    }

    .profilePic img {
        display: none;
    }

    .contactBtn {
        width: 140px;
        height: 50px;
        font-size: 15px;
    }

    .navBtns {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background-color: #1a1a1a;
        padding: 100px 20px 20px;
        text-align: center;
        transition: right 0.3s ease;
    }

    .navBtns.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .navBtn {
        margin: 20px 0;
        font-size: 18px;
        font-family: "Poppins", sans-serif;
        font-weight: 800;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
    }

    .overlay.active {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .profile {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 20px;
        margin-top: 20%;
        height: 100%;
        max-height: fit-content;
    }

    .body h1 {
        font-size: 28px;
    }

    .profile p {
        font-size: 14px;
    }

    .profilePic {
        width: 200px;
        height: 260px;
    }

    .contactBtn {
        width: 120px;
        height: 45px;
        font-size: 14px;
    }
}
