* {
    margin: 0;
    padding: 0;
    font-family: 'Concert One', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #008BFD;
    --secondary-color: #02030A;
}

body {
    background-color: var(--secondary-color);
    overflow-x: hidden;
    color: #fff;
}

a {
    text-decoration: none;
    color: currentColor;
}

img {
    transition: transform .15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.layout {
    width: 70rem;
    margin: 0 auto;
}

header {
    border-bottom: 1px solid #aaa5;
}

header .layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

header .layout nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 2rem;
    display: inline-block;
    width: fit-content;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1rem
}

.hero .layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 5rem 0;
    gap: 5rem;
}

.hero .details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero .details h1 {
    font-size: 3rem;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero .details h1 span {
    color: var(--primary-color);
}

.hero .details .iam {
    display: flex;
    gap: 1rem;
    height: 2rem;
    overflow: hidden;
    font-size: 1.5rem;
    line-height: 2rem;
}

.hero .details .iam .slider {
    display: flex;
    flex-direction: column;
    animation: slide 28s steps(28, end) infinite;
    color: rgb(0, 255, 0);
}

.hero .details .iam .slider {
    display: flex;
    flex-direction: column;
    animation: slide 56s steps(28, end) infinite;
}

@keyframes slide {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-56rem);
    }
}

.hero .details p {
    font-size: 1.5rem;
    line-height: 2rem;
}

.hero img {
    width: 30rem;
    height: 30rem;
    border-radius: 5rem;
    box-shadow: 0 1rem 2rem #fff2;
}

.about .layout {
    padding: 5rem 0;
    display: flex;
    gap: 5rem;
}

.about .layout img {
    width: 30rem;
    height: 30rem;
    border-radius: 5rem;
    box-shadow: 0 1rem 2rem #fff2;
}

.about .layout h2 {
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about .layout p {
    font-size: 1rem;
    line-height: 1.8rem;
}

.about .layout .stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.about .layout .stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 2rem;
}

.contact {
    padding: 5rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 2rem;
}

.contact .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 50%;
    margin: auto;
}

.contact .contact-form input,
.contact .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #aaa5;
    border-radius: 1rem;
    resize: none;
    font-size: 1rem;
    color: #fff;
    background-color: #02030a30;
    outline-color: var(--primary-color);
    backdrop-filter: blur(2px);
}

.contact .contact-form textarea {
    height: 10rem;
}

.contact .contact-form button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 2rem;
    display: inline-block;
    width: fit-content;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
    border: none;
    width: 50%;
    margin: auto;
}

.contact .contact-form button:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.contact .contact-form input::placeholder,
.contact .contact-form textarea::placeholder {
    color: #fff;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    outline-color: var(--primary-color);
}

.contact .contact-form input:focus::placeholder,
.contact .contact-form textarea:focus::placeholder {
    color: var(--primary-color);
}

.contact .contact-form input:focus::-webkit-input-placeholder,
.contact .contact-form textarea:focus::-webkit-input-placeholder {
    color: var(--primary-color);
}

.contact .contact-form input:focus::-moz-placeholder,
.contact .contact-form textarea:focus::-moz-placeholder {
    color: var(--primary-color);
}

.projects {
    padding: 5rem 0;
    text-align: center;
}

.projects h2 {
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.projects p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 2rem;
}

.projects .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.projects .project-grid .project-card {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: left;
}

.projects .project-grid .project-card:hover {
    transform: translateY(-0.5rem);
}

.projects .project-grid .project-card img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    border-radius: 1rem;
}

.projects .project-grid .project-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

.projects .project-grid .project-card p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    background: #0b0f192f;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 80px 8% 25px;
    backdrop-filter: blur(2px);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.footer h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.footer h2 span {
    color: #00d4ff;
}

.footer h3 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer p {
    color: #9ca3af;
    line-height: 1.8;
    font-size: .95rem;
}

.footer-links,
.footer-services,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: .3s;
    width: fit-content;
}

.footer a:hover {
    color: #00d4ff;
    transform: translateX(6px);
}

.footer-brand p {
    max-width: 420px;
    margin-bottom: 25px;
}

.footer-tagline {
    margin-top: 20px;
    color: #6b7280;
    font-size: .9rem;
    font-style: italic;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.footer-bottom p {
    color: #8b949e;
    font-size: .9rem;
    letter-spacing: .5px;
}

/* ===========================
   TABLET
=========================== */

@media (max-width:992px) {

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px) {

    .footer {
        padding: 60px 25px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-links,
    .footer-services,
    .footer-contact {
        align-items: center;
    }

    .footer a:hover {
        transform: none;
    }

}


.website-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.website-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 1px solid #ffffff22;
    border-radius: 12px;
    background: #0b0f192f;
    color: #fff;
    text-decoration: none;
    transition: .3s;
    backdrop-filter: blur(2px);
}

.website-card:hover {
    transform: translateY(-5px);
    border-color: #008BFD;
}

.website-card img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.website-card span {
    font-size: 17px;
    font-weight: 600;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.back-to-top span {
    transform: rotate(-45deg) translate(-4px, 5px);
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
}

/* ===========================
   FULL RESPONSIVE
=========================== */

@media (max-width: 1200px) {
    .layout {
        width: 90%;
    }

    .hero img,
    .about .layout img {
        width: 25rem;
        height: 25rem;
    }
}

@media (max-width: 992px) {
    header .layout {
        padding: 1rem 0;
    }

    header .layout nav ul {
        gap: 1rem;
    }

    .hero .layout,
    .about .layout {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero .details {
        align-items: center;
    }

    .hero .details h1 {
        font-size: 2.5rem;
    }

    .hero .details p {
        font-size: 1.2rem;
    }

    .about .layout .stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact .contact-form {
        width: 80%;
    }

    .contact .contact-info {
        flex-wrap: wrap;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .layout {
        width: 92%;
    }

    header .layout {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    header .layout nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .button {
        padding: .8rem 1.4rem;
        font-size: .85rem;
    }

    .hero .layout {
        padding: 3rem 0;
    }

    .hero .details h1 {
        font-size: 2rem;
    }

    .hero .details .iam {
        font-size: 1.2rem;
        justify-content: center;
    }

    .hero .details p {
        font-size: 1rem;
        line-height: 1.7rem;
    }

    .hero img,
    .about .layout img {
        width: 100%;
        height: auto;
        max-width: 22rem;
        border-radius: 2rem;
    }

    .about .layout,
    .contact,
    .projects {
        padding: 3rem 0;
    }

    .about .layout h2,
    .contact h2,
    .projects h2 {
        font-size: 1.6rem;
    }

    .about .layout .stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .contact .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact .contact-form {
        width: 100%;
    }

    .projects .project-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 60px 25px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links,
    .footer-services,
    .footer-contact {
        align-items: center;
    }

    .footer a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero .details h1 {
        font-size: 1.7rem;
    }

    .hero .details .iam {
        font-size: 1rem;
        gap: .5rem;
    }

    .about .layout .stats {
        grid-template-columns: 1fr;
    }

    .projects .project-grid .project-card img {
        height: 12rem;
    }

    .back-to-top {
        width: 2.6rem;
        height: 2.6rem;
        right: 1rem;
        bottom: 1rem;
    }
}
