*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #080808;
    --another-bg: #08080880;
    --accent: #00C896;
    --accent2: #00C896;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --card: #0f1a17;
    --gradient: linear-gradient(135deg, #00C896, #00876A);
    --glow-primary: rgba(0, 200, 150, 0.15);
    --glow-secondary: rgba(0, 135, 106, 0.08);
}
html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    background-color: var(--bg);
    min-height: 100vh;
    padding-top: 70px;
    position: relative;
    font-family: 'DM sans', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: var(--bg);
    background-image: 
        radial-gradient(ellipse at 20% 50%, var(--glow-primary) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, var(--glow-secondary) 0%, transparent 40%);
}

@media (max-width:768px) {
    body {
        padding-top: 80px;
    }
}

/* NAV */
.navbar {
    font-family: 'Syne', sans-serif;
    position: fixed; top: 0; left: 0;
    right: 0; z-index: 100;
    display: flex; align-items: center;
    justify-content: space-between; background-color: var(--another-bg);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    padding: 1rem 5rem; box-shadow: 0 2px 5px rgba(15, 15, 15, 0.801);   
}

/* LOGO */
.my-logo {
    font-size: 1.6rem;  
    font-weight: bold;
    color: var(--text);
}
.my-logo span {
    color: var(--accent);
}

/* NAV MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-menu a{
    font-family: 'DM sans', sans-serif;
    text-decoration: none;
    font-weight: bold;
    color: var(--text);
    background-image: var(--gradient);  
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}
.nav-menu a:hover::before  {
    width: 100%;
}

.nav-cta {
    position: relative;
    left: 20px;
    color: var(--text);
    border: 2px solid var(--accent);
    border-radius: 100px;
    box-shadow: 0 0 5px 2px var(--accent);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    text-underline-offset: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px 2px var(--accent);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        padding-top: 1rem;
    }

    .nav-menu {
        flex-direction: row;
        gap: 1rem;
    }

    .nav-menu a {
        padding: 0.4rem 0.8rem;
    }

    .my-logo {
        font-size: 1.4rem;
        margin-left: 1rem;
    }

    .nav-cta {
        align-self: flex-start;
        margin-top: 1rem;
        max-width: fit-content;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 3%;
    }

    .nav-menu {
        gap: 0.8rem;
    }

    .nav-menu a{
        padding: 0.3rem 0.5rem;
    }

    .my-logo {
        font-size: 1.2rem;
        margin-left: 0.5rem;
    }

    .nav-cta {
        align-self: flex-start;
        margin-left: 0.5rem;
    }
}


/* HERO */
.hero {
    margin-top: 4rem;   
    width: 90%;
    margin-left: 2rem;
    margin-right: auto;
    padding: 20px 40px 70px;
}

.hero-content h1 {
    max-width: 900px;
    color: var(--accent);
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin-bottom: 2.1rem;
    font-size: 4rem;
    text-decoration: underline;
    text-underline-offset: 1rem;
    animation: fadeIn .8s .1s ease both;
}

.hero-content p {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    max-width: 700px;
    animation: fadeIn .8s .4s ease both;
}

.nothere {
    color: var(--text);
}

.underline-one {
    color: var(--accent);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        margin-top: 10rem;
        padding: 12px 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
        font-weight: bold;
        text-underline-offset: 0.5rem;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 12px;
    padding: .8rem 2rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 0 5px 2px var(--accent);
    cursor: pointer;
    position: relative;
    z-index: 0;
    transition: transform 1s ease, background-color 1s ease;
    animation: fadeIn .8s .7s ease both;
}

.btn:hover {
    transform: scale(1.2);
    background-color: var(--accent);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translate(0px);
    }
    
}


.divider {
    margin-top: 3.4rem;
    height: 2px;
    background: #00876A;
}

@media (max-width:768px) {
    .divider {
        margin-top: 30%;
    }
}

/* SERVICES */
.services { padding: 8rem 5%; margin-top: 1.5rem; scroll-margin-top: 80px;}
.services-label {
    color: var(--accent2); font-size: .90rem; text-transform: uppercase;
    letter-spacing: .15rem; font-family: 'Syne', sans-serif; font-weight: 600;
    margin-bottom: 1rem; text-decoration: underline; text-underline-offset: .5rem;
    animation: fadeIn .8s .1s ease both;
}

.services-title {
    color: var(--text); font-size: 2.5rem;
    font-weight: 700; margin-bottom: 2rem; animation: fadeIn .8s .3s ease both;
}

.services-card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
    overflow: hidden; border: 1px solid var #1e2e29; border-radius: 25px;
    box-shadow: 
    0 -10px 10px -5px rgba(0, 200, 150, 0.15),
    /* Right shadow */
    10px 0 10px -5px rgba(0, 200, 150, 0.15),
    /* Left shadow */
    -10px 0 10px -5px rgba(0, 200, 150, 0.15);
    animation: fadeIn .8s .5s ease both;
}
.services-card {
    padding: 2.5rem; background: var(--card);   
    transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}

.services-card:hover { background: #175043; transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 200, 150, 0.15);
}
.services-card h3 {
    color: var(--text); font-size: 1.1rem;
    text-decoration: underline; text-underline-offset: .5rem; margin-bottom: .8rem;
}

.services-card p {
    color: var(--text); line-height: 1.5rem;
}

/* ABOUT */

.about {
    padding: 3rem 5%; display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; align-items: center;  scroll-margin-top: 80px; margin-top: 1.5rem;
    animation: fadeIn .8s .2s ease both; 
}

.about-texts .about-title { margin-top: 1.5rem;}
.about-label {
    color: var(--accent); letter-spacing: .15rem; font-size: .85rem; text-transform: uppercase;
    font-weight: 600; font-family: 'Syne', sans-serif; margin-bottom: 1rem;
    text-decoration: underline; text-underline-offset: .5rem; 
}

.about-title {
    color: var(--text); font-size: 2rem; font-weight: 600; margin-bottom: 1rem; animation: fadeIn .8s .5s ease both; 
}
.about-title span {color: var(--accent); text-decoration: underline; text-underline-offset: .2rem;}
.about-desc {
    color: var(--text); font-size: 1.1rem; max-width: 420px; animation: fadeIn .8s .7s ease both; 
}

.stat-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; 
    padding: 8.2rem 5%;
}

.stat-card {    
    border-left: 2px solid var(--accent); padding: 1rem; color: var(--text); 
    animation: fadeIn .8s .9s ease both;
}

.stat-card h3 {
    font-size: 1.4rem; margin-bottom: .5rem; color: var(--accent); text-decoration: underline;
    text-underline-offset: .2rem;;
}


/* TESTIMONIALS */
.testimonial {
    padding: 4rem 5%; scroll-margin-top: 80px; margin-top: 1.5rem; animation: fadeIn .8s .2s ease both;
}

.testimonial-label {
    color: var(--accent); font-size: .90rem; letter-spacing: .15rem; text-transform: uppercase;
    font-weight: 600; font-family: 'Syne', sans-serif; margin-bottom: 2rem; text-decoration: underline;
    text-underline-offset: .5rem;
}

.testimonial-title {
    color: var(--text); font-size: 2rem; font-weight: 800; margin-bottom: 2rem; 
    animation: fadeIn .8s .5 ease both;
}

.testimonial-title span {
    color: var(--accent); text-decoration: underline; text-underline-offset: .2rem;
}

.testimonial-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    overflow: hidden; padding: .2rem 0;
}

.testimonial-card {
    color: var(--text); border-right: 2px solid var(--accent); padding: 1rem 20px;
}

.testimonial-card h2 {
    font-size: 1.5rem; margin-bottom: .4rem; text-decoration: underline;
    text-underline-offset: .3rem;
}

.testimonial-card h3 {
    color: var(--accent2); margin-bottom: .4rem;
}

/* CTA */
.cta {padding: 6rem 5%; margin-top: 10rem; scroll-margin-top: 80px;}

.cta-box {
    border: 3px solid var(--accent);
    border-radius: 24px; padding: 5rem 6rem; text-align: center;
    box-shadow: 0 0 50px 50px var(--glow-primary), 0 0 70px 70px var(--glow-secondary);
}

.cta-label {
    color: var(--accent); font-size: .85rem; letter-spacing: .15rem; text-transform: uppercase;
    font-family: 'Syne' sans-serif; font-weight: 600; margin-bottom: 1rem; text-decoration: underline;
    text-underline-offset: .5rem;
}

.cta-title {
    color: var(--text);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-desc {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-second {
    display: inline-block;
    margin-top: 2px;
    padding: .8rem 2rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 0 5px 2px var(--accent);
    cursor: pointer;
    position: relative;
    z-index: 0;
    transition: transform 1s ease, background-color 1s ease;
    animation: fadeIn .8s .7s ease both;
}

.btn-second:hover {
    transform: scale(1.2);
    background-color: var(--accent);
}

/* FOOTER */
.footer {
    padding: 2rem 5%; margin-top: 8rem; 
    display: flex; justify-content: space-between; align-items: center;
    border-top: 3px solid var(--accent);
}

.footer-left {
    display: flex; flex-direction: column;
    gap: .8rem;
}

.footer-logo {
    font-size: 1.5rem; font-weight: 700; color: var(--text); font-family: 'Syne', sans-serif;
}
.footer-logo span {color: var(--accent);}

.footer-socials {
    display: flex; gap: 1rem; 
}
.footer-socials a {
    color: var(--text); text-underline-offset: .2rem; font-weight: 500; 
    transition: color .3s ease;
}

.footer-socials a:hover {
    color: var(--accent);
}

.footer-copyright {
    color: var(--muted); font-weight: 500;
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 5%;
    }

    .services-card-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .services-title {
        font-size: 1.8rem;
    }

    /* ABOUT */
    .about {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
    }

    .stat-grid {
        padding: 1rem 0;
    }

    /* TESTIMONIALS */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        border-right: none;
        border-left: 2px solid var(--accent);
    }

    /* CTA */
    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    /* FOOTER */
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 3rem 4%;
    }

    .services-card-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 2rem 4%;
    }

    .stat-grid {
        padding: 1rem 0;
        grid-template-columns: 1fr 1fr;
    }

    .testimonial {
        margin-top: 2rem
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        border-right: none;
        border-left: 2px solid var(--accent);
    }

    .cta-box {
        padding: 2rem 1rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 4%;
    }
}