html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #333;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

.services-page {
    padding: 1px 20px;
    padding-top: 100px
}

.services-container {
    max-width: 1100px;
    margin: auto;
}

/* TITLE */

.services-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(90deg, #0b63ce, #1dd1a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;

}

.services-intro {
    text-align: center;
    max-width: 750px;
    margin: 20px auto 50px;
    color: #555;
    font-size: 17px;
}

/* MENU */

.services-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.services-menu a {
    text-decoration: none;
    padding: 12px 22px;
    background: white;
    border-radius: 30px;
    font-weight: 600;
    color: #0a2540;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.services-menu a:hover {
    background: #0077ff;
    color: white;
    transform: translateY(-3px);
}

/* SERVICE BLOCK */

.service-block {
    background: linear-gradient(135deg, #ffffff, #e8f0fe);
    padding: 45px 30px;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(14, 38, 70, 0.12);
    transition: 0.3s;
}

.service-block:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(14, 38, 70, 0.18);
}

/* TWO COLUMN LAYOUT */

.service-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.service-image {
    flex: 1 1 400px;
    max-width: 500px;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-text {
    flex: 1 1 450px;
    text-align: left;
}

.service-text h2 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-text p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

.services-title::after {
    content: "";
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #0b63ce, #1dd1a1);
    position: absolute;
    left: 12%;
    bottom: -15px;
    transform: translateX(-50%);
    border-radius: 5px;
}


/* MOBILE */

@media (max-width: 500px) {

    .services-title::after {
        left: 35%
    }


}

@media (max-width: 768px) {

    .service-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .service-text {
        text-align: center;
        flex: unset;
    }

    .service-image {
        flex: unset;
        max-width: 80%;
    }
}


/* ================= FOOTER ================= */

.footer {
    background: #0f172a;
    color: #fff;
    padding: 70px 8% 25px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

/* headings */

.footer-col h3 {
    margin-bottom: 20px;
    color: #ff7a18;
    font-size: 20px;
}

.company h2 {
    color: white;
    margin-bottom: 15px;
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

/* links */

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 15px;
    transition: .3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ff7a18;
    transform: translateX(6px);
}

/* social icons */

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1e293b;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    transition: .3s;
}

.social-icons a:hover {
    background: #ff7a18;
    transform: translateY(-3px);
}

/* bottom */

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 18px;
    font-size: 14px;
    color: #94a3b8;
}

@media(max-width:600px) {

    .footer-container {
        text-align: center;

    }
}



/* ================= NAVBAR ================= */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0F172A;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    height: 35px;
}

.logo span {
    color: whitesmoke;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* MENU */

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: whitesmoke;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: .35s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: white;
    transition: .35s;
}

.nav-menu a:hover {
    color: white;
    transform: scale(1.1);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: whitesmoke;
    flex-direction: column;
    gap: 5px;
}

.nav-menu.active {
    display: flex;
}


.menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    display: block;
    transition: 0.3s;
}

/* animation when active */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


@media(max-width:768px) {

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: -100%;
        width: 220px;
        background: #ff6600;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
        transition: 0.4s;
        gap: 17px;
    }

    .nav-menu.active {
        right: 5%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu a {
        color: white;
    }

}