html, body {
    margin: 0;
    padding: 0;
    gap: 0;
    font-family: "Space Grotesk", sans-serif;
    background: #f5f5f5;
    overflow-x: hidden;
}

header {
    padding: 20px;
}

.main-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 85px;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    border: none;
    border-radius: 0 0 10px 10px;
    backdrop-filter: blur(12px); /* frosted glass */
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.15); /* semi-transparent glass */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 95px;
}

.logo span {
    font-size: 1.7rem;
    font-weight: 800;
    color: #35807e;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: 10px;
}

.nav-links a {
    display: flex;
    flex-direction: row;
    font-size: 1.1rem;
    text-decoration: none;
    color: #35807e;
    font-weight: 550;
    transition: all 0.3s ease;
}

#CTO {
    padding: 12px;
    border-radius: 10px;
    background-color: #35807e;
    color: #ffffff;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

#CTO:hover {
    background: #ffffff;
    color: #35807e;
    transform: scale(1.1);
}

.icon {
    display: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 1100;
    color: #35807e;
}

.icon i {
    font-size: 22px;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.aboutus {
    background: url(../ASSETS/ABOUTIMG.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 90vh;
    margin-top: 85px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.aboutus h1 {
    font-size: 2rem;
    color: #35807e;
    line-height: 3;
}

.aboutus p {
    font-size: 3rem;
    color: #35807e
}

.aboutus hr {
    width: 30%;
    color: #35807e;
}

.about-contact {
    display: flex;
    gap: 40px;
}

.about-contact a {
    text-decoration: none;
    padding: 13px;
    border-radius: 15px;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.3rem;
    background: #35807e;
    transition: color 0.5s ease-in-out;
}

.about-contact a:hover {
    color:#35807e;
    background: #ffffff;
}

.mission-statement {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 20px;
    margin-top: 20px;
}

.mission-statement h1 {
    width: 900px;
    font-weight: normal;
    color: #35807e;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.mission-statement p {
    width: 900px;
    font-size: 1.6rem;
    line-height: 2;
    color: #555555;
}

.ourservices {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.ourservices h1 {
    color:#35807e;
    font-size: 2.5rem;
    font-weight: 300;
    text-decoration: underline;
}

.servicecards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 30px;
}

.servicecard {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 600px;
    gap: 20px;
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

}

.servicecard img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.service-text {
    display: flex;
    flex-direction: column;
}

.servicecard h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #35807e;
    margin-bottom: 10px;
}

.servicecard p {
    font-size: 1.1rem;
    color: #555555;
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .logo span {
        font-size: 1.5rem;
        font-weight: 900;
    }
    
    .icon {
        display: block; /* Show hamburger */
        color: #35807e;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 95px;
        left: -270px; /* start hidden off screen */
        height: 100vh;
        width: 260px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
        border-radius: 0 8px 8px 0;
        background: rgb(0, 0, 0);
        color: #ffffff;
        transition: left 0.3s ease-in-out; /* smooth slide */
        z-index: 1;
    }

    .main-header, .nav-links {
        max-width: 100%;
    }

    .nav-links.show {
        left: 0; /* slide into view */
    }

    .nav-links {
        color: #ffffff;
        padding: 8px 0;
        font-size: 1.1rem;
        text-decoration: none
    }

    .aboutus h1 {
        font-size: 1.7rem;
        color: #35807e;
        line-height: 3;
    }

    .aboutus p {
        font-size: 2.5rem;
        color: #35807e;
        background: #ffffff80;
    }

    .aboutus hr {
        width: 30%;
    }

    .about-contact a {
       font-size: 1.2rem;
    }

    .mission-statement h1 {
        font-size: 2rem;
        width: 100%;
    }

    .mission-statement p {
        width: 100%;
    }

    .ourservices {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .ourservices h1 {
        color:#35807e;
        font-size: 2.5rem;
        font-weight: 300;
        text-decoration: underline;
    }

    .servicecards {
       width: 90%;
       display: flex;
    }

    .servicecard {
        display: flex;
        flex-direction: column;
    }
 
    .servicecard img {
        width: 250px;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    .servicecard h2 {
        font-size: 1.3rem;
        line-height: 1.2;
        color:#35807e;
        text-align: center;
    }

    .servicecard p {
        font-size: 1.2rem;
        color: #555555;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 98%;
    }
    
    .logo span {
        font-size: 1.3rem;
        font-weight: 900;
    }
    
    .icon {
        display: block; /* Show hamburger */
        color:#35807e;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 95px;
        left: -270px; /* start hidden off screen */
        height: 100vh;
        width: 260px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
        border-radius: 0 8px 8px 0;
        background: rgb(0, 0, 0);
        color: #ffffff;
        transition: left 0.3s ease-in-out; /* smooth slide */
        z-index: 1;
    }

    .main-header, .nav-links {
        max-width: 100%;
    }

    .nav-links.show {
        left: 0; /* slide into view */
    }

    .nav-links {
        color: #ffffff;
        padding: 8px 0;
        font-size: 0.8rem;
        text-decoration: none
    }

    .aboutus {
        background: url(../ASSETS/ABOUTIMG.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 90vh;
        margin-top: 85px;
        padding: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .aboutus h1 {
        font-size: 1.2rem;
        color:#35807e;
        line-height: 3;
    }

    .aboutus p {
        font-size: 2rem;
        color: #ffffff;
        background: #00000065;
    }

    .aboutus hr {
        width: 30%;
    }

    .about-contact a {
        display: flex;
        flex-direction: column;
        text-align: center;
        font-size: 1.2rem;
    }

    .mission-statement h1 {
        font-size: 1.5rem;
        width: 100%;
    }

    .mission-statement p {
        font-size: 1rem;
        width: 100%;
    }

    .ourservices {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .ourservices h1 {
        color:#35807e;
        font-size: 2rem;
        font-weight: 300;
        text-decoration: underline;
    }

    .mission-statement p {
        font-size: 1.3rem;
    }

    .servicecard {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        gap: 20px;
        padding: 10px;
        border-radius: 25px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

 
    .servicecard img {
        width: 270px;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    .servicecard h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        color:#35807e;
        text-align: center;
    }

    .servicecard p {
        font-size: 1.2rem;
        color: #555555;
        text-align: center;
    }
}

