/* Import "Poppins" from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@font-face {
    font-family: 'Lemon Milk Bold';
    src: url('fonts/LemonMilk-Bold.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* General Reset and Font Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

.bg {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 20%, rgb(23, 6, 6) 50%);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Header adjustments */
header {
    background-color: transparent;
    padding: 1.5rem 3rem;

    position: fixed;
    top: -5%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    flex-direction: row;
    gap: 2rem;
    animation: nav-slide-down .5s ease forwards;
    /* Add gap between logo and nav */
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 2rem;
    /* Adjusted for smaller screens */
    color: #b34c4c;
    font-weight: 600;
    cursor: pointer;
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
    text-decoration: none;
}


@media (max-width: 600px) {

    /* Header for mobile */
    header {
        flex-direction: column;
        /* Stack logo and nav */
    }

    .logo {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        /* Space for logo */
    }

    nav a {
        font-size: 1.5rem;
        /* Smaller font on mobile */
        margin-left: 0;
        /* Remove left margin */
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }

    nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    nav a:hover,
    nav a.active {
        color: #b74b4b;
        border-bottom: 2px solid #b74b4b;
    }
}

/* Home Section */
.home {
    min-height: 100vh;
    padding: 3rem 5%;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-direction: row;
}

.home-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10rem 0 0 0;
}

.home-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.home-content h3 {
    font-size: rem;
    font-weight: 700;
    text-align: left;
    font-family: 'Lemon Milk Regular', sans-serif;
}

.home-content h4 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: white;
}

.home-content p {
    font-size: 1.6rem;
    text-align: left;
}

.home-img img {
    width: 30vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .home {
        flex-direction: column;
        /* Stack the content vertically */
        gap: 2rem;
        /* Reduced gap */
    }

    .home-content h1 {
        font-size: 3.5rem;
        text-align: center;
        /* Center the title on mobile */
    }

    .home-content h3.typing-text {
        font-size: 2rem;
        text-align: center;
        /* Center the subtitle */
    }

    .home-content p {
        font-size: 1.4rem;
        text-align: center;
    }

    .home-img img {
        width: 60vw;
        /* Make the image smaller */
        margin-top: 2rem;
        /* Add some spacing from the text */
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .social-icons a {
        width: 3rem;
        height: 3rem;
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
        margin-top: 1.5rem;
    }

}

@font-face {
    font-family: 'Lemon Milk Regular';
    src: url('fonts/LemonMilk-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lemon Milk Light';
    src: url('fonts/LemonMilk-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

.home-content h1 {
    font-family: 'Lemon Milk Regular', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.home-content h4 {
    font-family: 'Lemon Milk Regular', sans-serif;
}

.home-content p {
    font-family: 'Lemon Milk Light', sans-serif;
    font-size: 1.6rem;
}

/* Apply Lemon Milk Regular to the "Watch this video" and "Before you" texts */
.home-content h1,
.home-content h3 .home-content h4 {
    font-family: 'Lemon Milk Regular', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    /* Ensures consistent spacing */
    text-align: center;
    /* Aligns text to the left, or adjust as needed */
}

.home-content h3.typing-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    /* Adjust space between h1 and h3 */
}

.home-content h4 {
    margin-top: 0.4rem;
    margin-bottom: 5rem;
    font-family: 'Lemon Milk Regular', sans-serif;
}

.home-content {
    opacity: 0;
    animation: slide-up 2s ease forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}


/* Apply "Lemon Milk Bold" to headings, logo, and specific elements */
h1,
h4 .logo,
.btn {
    font-family: 'Lemon Milk Bold', sans-serif;
}

.lemon {
    font-family: 'Lemon Milk Regular', sans-serif;
}

.lemon-bold {
    font-family: 'Lemon Milk Bold', sans-serif;
}

.logo {
    font-size: 20px;
    color: #b74b4b;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s ease;
}

/* Rest of your CSS remains unchanged */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 60%;
}

body {
    font-family: 'Lemon Milk Bold', sans-serif;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    /* background-color: black; */
    color: white;
}


.logo {
    font-size: 20px;
    color: #b74b4b;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:995px) {
    nav {
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active {
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }

}

.home {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    /* background-color: black; */
}


.home-content h3 {
    font-size: 6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p {
    font-size: 0rem;
}

.home-img {
    border-radius: 50%;
}

.home-img img {
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 0.75rem 3rem 0.75rem;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0 0 25px #b74b4b;
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span {
    position: relative;
}

.typing-text span::before {
    content: "software Developer";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor {
    to {
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words {

    0%,
    20% {
        content: "BUY";
    }

    21%,
    40% {
        content: "LEAVE";
    }

    41%,
    60% {
        content: "PROCEED";
    }

    61%,
    80% {
        content: "JUDGE";
    }

    81%,
    100% {
        content: "THINK";
    }
}

@media (max-width: 1000px) {
    .home {
        gap: 4rem;
    }
}


@keyframes slide-up {

    /* 50%{
        opacity: 50%;
    } */
    100% {
        opacity: 100%;
    }
}

@keyframes nav-slide-down {

    100% {
        top: 0;
    }
}


.home-video {
    aspect-ratio: 16/9;
    width:40rem;
}



/* SECTION-----transformations */

.transformations {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.transformations-text {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slide-up 1s ease forwards;
}


/* SECTION-----REVIEWS */

.reviews {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 9rem 0;
}

.reviews-text {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slide-up 1s ease forwards;
}

.review-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 2rem 0;
    font-size: 2rem;
    width: 100%;
}

.card {
    background: rgb(11, 11, 11);
    color: white;
    transition: .2s ease;
    cursor: default;
}

.card:hover {
    box-shadow: 0 0 15px 10px #170909;
    transform: scale(1.02);
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 9rem 0;
}

.content-text {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slide-up 1s ease forwards;
    padding: 0 2rem;
}

.content-card {
    margin-top: 3rem;
    width: 60rem;
    padding:3rem 8rem 5rem 8rem;
    background: #0b0505;
    border: 5px solid #0c0c0c;
    border-radius: 30px;
    transition: .2s ease;
}
.course-content{
    font-size: 3rem;
}

.content-card>center>ol>li{
    font-size: 1.8rem;
    padding: 1rem 0;

}
.content-card:hover {
    box-shadow: 0 0 15px 10px #170909;
}

.faq {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 8rem 0;
}

.faq-text {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slide-up 1s ease forwards;
}

.accordion-button {
    font-size: 3rem;
}

.accordion-container {
    margin: 3rem 0;
    width: 60%;
    font-size: 1rem;
}

.transparent {
    background: transparent !important; 
}

.accordion-body {
    padding: 1rem 5rem;
    font-size: 2.5rem;
    color: rgb(198, 198, 198);
}


/* ---- reset ---- */
body {
    margin: 0;
    font: normal 75% Arial, Helvetica, sans-serif;
    background-color: #160001;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

canvas {
    display: block;
    /* vertical-align: bottom; */
}

/* ---- particles.js container ---- */
#particles-js {
    z-index: -1;
    position: fixed;
    width: 100%;
    height: 100%;
}



.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 9rem 0;
}

.contact-text {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slide-up 1s ease forwards;
}

.contact-card {
    margin-top: 3rem;
    width: 80rem;
    height: 60rem;
    background: rgba(255, 255, 255, 0.060);
    backdrop-filter: blur(10px);
    /* background: #0b0505; */
    border: 5px solid #323232;
    border-radius: 30px;
    transition: .2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-card:hover {
    box-shadow: 0 0 15px 10px #170909;
}

.pfp {
    aspect-ratio: 1/1;
    width: 25rem;
    border-radius: 9999px;
    transition: .2s ease;
}

.pfp:hover {
    box-shadow: 0 0 20px 15px #170909;
    transform: scale(1.02);
}

.contact-body{
    font-size: 2.5rem;
    padding: 0 1rem;    
    text-align: center;
    line-height: 110%;
}

.footer{
    font-size: 2rem;
    margin-top: 10rem;
}

.footer-credits{
    font-size: 1.5rem;
}

@media (max-width: 600px){
    
    .transformations-text{
        font-size: 3.5rem;
    }
    .carousel, .content-card, .contact-card{
        max-width: 90%;
    }
    .accordion-body, .accordion-container{
        font-size:2rem
    }

    .content-card{
        padding: 3rem 1.5rem 5rem 1.5rem;
    }
    .home-video {
        aspect-ratio: 16/9;
        width:30rem;
    }
    
}