@font-face {
    font-family: 'Bebas Neue';
    src: url(../fonts/BebasNeue-Regular.ttf);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-bg: #000000;
    --footer-bg: #111;
    --color-text: #ffffff;
    --color-accent: aqua;
    --font-primary: 'Bebas Neue', Arial, sans-serif;
}

html {
    color: var(--color-text);
    background-color: var(--color-bg);
    font-family: var(--font-primary);
}

body {
    margin: 0;
}

.main-nav {
    margin-top: 1%;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.profile{
    padding-left: 0px;
}
a {
    font-size: 20px;
    text-decoration: none;
    color: var(--color-text);
    cursor: pointer;
    text-transform: capitalize;
}

.main-nav a {
    font-size: 30px;
}

.hover-underline {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.hover-underline::after,
.hover-underline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.1s ease-out;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
    transform: scaleX(1);
}

h1,
h2 {
    display: flex;
    flex-direction: column;
    font-family: var(--font-primary);
    margin: 0;
}

h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 1.1;
    margin-left: 7%;
    transition: 0.2s ease-in-out;
}

.shadow-dance-text:hover {
    text-shadow: 5px 5px 0 var(--color-bg), 10px 10px 0 var(--color-text);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 0.5em;
}

p {
    width: 80%;
    font-size: larger;
    font-weight: 400;
    font-style: normal;
    font-family: var(--font-primary);
    margin-top: 0;
}

section,
footer {
    display: flex;
    flex-direction: row;
    gap: 10%;
    padding: 10%;
    flex-wrap: nowrap;

}

.profile img {
    margin-left: 0;
    max-width: 50%;
    height: auto;

}

img {
    margin-left: 0;
    max-width: 100%;
    height: auto;
    display: block;
}

.number {
    color: var(--color-accent);
}

.services p,
footer p {
    width: 100%;
}

.services h2,
footer h2 {
    font-size: 3rem;
}

.philosophy {
    display: grid;
    text-align: center;
    justify-items: center;
    margin: 200px 0;
    gap: 0;
    font-size: 4rem;
}

.philosophy h3 {
    margin: 0;
    font-size: 3rem;
    color: var(--color-accent);
}

.contact {
    margin-top: 100px;
}

.contact h2 {
    white-space: nowrap;
}

footer {
    background-color: var(--footer-bg);
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-delay: 0s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:nth-of-type(1).animate-on-scroll {
    animation-delay: 0.2s;
}

section:nth-of-type(2).animate-on-scroll {
    animation-delay: 0.5s;
}

section:nth-of-type(3).animate-on-scroll {
    animation-delay: 0.8s;
}
.contact-section {
    display: flex;
    gap: 5%;
    padding: 10%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info,
.contact-form {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    resize: none;
    outline: 0;
    border-style: none;
    padding: 10px;
    font-size: 1rem;
    font-family: "Bebas Neue";
    border: none;
    background-color: var(--footer-bg);
    color: var(--color-text);
    border-radius: 5px;
}

button {
    padding: 12px;
    font-size: 1.2rem;
    background-color: aqua;
    color: black;
    font-family: "Bebas Neue";
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #00ffff88;
}

@media (max-width: 768px) {

    section,
    footer {
        flex-direction: column;
        gap: 20px;
        padding: 5%;
    }
    .profile {
        padding: 5%;
    }

    h1 {
        margin-left: 0;
    }

    .philosophy {
        margin: 100px 0;
        font-size: 2.5rem;
    }

    .philosophy h3 {
        font-size: 2rem;
    }

    p {
        width: 100%;
    }

    .profile img {
        max-width: 100%;
    }
    .contact-section {
        flex-direction: column;
        padding: 5%;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 100%;
    }
}
@media (max-width: 380px) {
    h2 span {
        font-size: 2.7rem;
    }
}