/* =========================================================
   WEBOMM SERVICES PAGE
   Modern Light Purple Theme
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(185, 145, 255, 0.18), transparent 28%),
        radial-gradient(circle at 90% 30%, rgba(145, 105, 255, 0.14), transparent 30%),
        linear-gradient(135deg, #faf8ff, #f2edff);
    color: #29213f;
    min-height: 100vh;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(120, 80, 200, 0.08);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 18px;
}


/* Back button */

.back-btn {
    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    color: #7041c7;

    padding: 9px 16px;

    border: 1px solid rgba(112, 65, 199, 0.15);

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.7);

    transition: all 0.3s ease;
}

.back-btn:hover {
    color: white;
    background: linear-gradient(135deg, #8b5cf6, #6d3fd3);

    transform: translateX(-3px);

    box-shadow: 0 8px 20px rgba(110, 65, 210, 0.25);
}


/* Logo */

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}


/* Navigation */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    color: #4f4661;

    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #7c4dde;
    transform: translateY(-2px);
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.services {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 55px 30px 80px;
}


/* =========================================================
   WEBBIE IMAGE
========================================================= */

.services-showcase {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 5px auto 35px;
}

.services-showcase img {
    display: block;

    width: min(720px, 78%);
    height: auto;

    max-height: 560px;

    object-fit: contain;

    border-radius: 24px;

    filter: drop-shadow(0 22px 35px rgba(103, 66, 180, 0.18));

    transition: transform 0.5s ease,
                filter 0.5s ease;
}

.services-showcase img:hover {
    transform: translateY(-6px) scale(1.015);

    filter: drop-shadow(0 30px 45px rgba(103, 66, 180, 0.28));
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {
    text-align: center;

    max-width: 850px;

    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.2;

    font-weight: 700;

    color: #2d2445;

    margin-bottom: 18px;
}

.section-header h2::after {
    content: "";

    display: block;

    width: 70px;
    height: 4px;

    margin: 17px auto 0;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #a879ff,
        #6f3ed5
    );
}

.section-header p {
    max-width: 760px;

    margin: 20px auto 0;

    font-size: 15px;

    line-height: 1.8;

    color: #756d82;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1080px;

    margin: 0 auto;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    position: relative;

    padding: 30px 27px;

    min-height: 330px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.97),
            rgba(249, 246, 255, 0.92)
        );

    border: 1px solid rgba(126, 82, 210, 0.10);

    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(78, 48, 130, 0.08);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* Decorative glow */

.service-card::before {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    top: -65px;
    right: -65px;

    background: radial-gradient(
        circle,
        rgba(153, 104, 255, 0.22),
        transparent 70%
    );

    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-9px);

    border-color: rgba(126, 82, 210, 0.22);

    box-shadow:
        0 22px 50px rgba(91, 55, 160, 0.15);
}

.service-card:hover::before {
    transform: scale(1.5);
}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #eee4ff,
            #dfccff
        );

    color: #7041c7;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 20px rgba(116, 69, 199, 0.10);
}


/* Different icons using simple symbols */

.service-card:nth-child(1) .service-icon::before {
    content: "🌐";
    font-size: 25px;
}

.service-card:nth-child(2) .service-icon::before {
    content: "📱";
    font-size: 25px;
}

.service-card:nth-child(3) .service-icon::before {
    content: "⚙";
    font-size: 25px;
}

.service-card:nth-child(4) .service-icon::before {
    content: "🛒";
    font-size: 25px;
}

.service-card:nth-child(5) .service-icon::before {
    content: "✦";
    font-size: 27px;
}

.service-card:nth-child(6) .service-icon::before {
    content: "☁";
    font-size: 27px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.service-card h3 {
    font-size: 20px;

    line-height: 1.35;

    color: #302641;

    margin-bottom: 12px;

    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 13px;

    line-height: 1.7;

    color: #777083;

    margin-bottom: 20px;

    position: relative;
    z-index: 1;
}


/* =========================================================
   SERVICE TAGS
========================================================= */

.service-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 23px;

    position: relative;
    z-index: 1;
}

.service-tags span {
    font-size: 10px;

    font-weight: 500;

    color: #7041c7;

    padding: 6px 10px;

    border-radius: 20px;

    background: #f0e8ff;

    border: 1px solid rgba(120, 72, 200, 0.08);

    transition: all 0.25s ease;
}

.service-tags span:hover {
    color: white;

    background: linear-gradient(
        135deg,
        #9a6aff,
        #7041c7
    );

    transform: translateY(-2px);
}


/* =========================================================
   LEARN MORE BUTTON
========================================================= */

.service-btn {
    display: inline-flex;

    align-items: center;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    color: #7041c7;

    position: relative;
    z-index: 1;

    transition: all 0.3s ease;
}

.service-btn:hover {
    color: #4d239e;

    transform: translateX(5px);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    width: min(1080px, calc(100% - 60px));

    margin: 20px auto 75px;

    padding: 55px 35px;

    text-align: center;

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #9b6cff,
            #7544d7
        );

    color: white;

    box-shadow:
        0 22px 50px rgba(104, 60, 190, 0.25);
}


/* CTA decorative circles */

.cta::before,
.cta::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.09);
}

.cta::before {
    width: 230px;
    height: 230px;

    left: -100px;
    top: -120px;
}

.cta::after {
    width: 180px;
    height: 180px;

    right: -70px;
    bottom: -100px;
}

.cta h2 {
    position: relative;
    z-index: 1;

    font-size: clamp(25px, 4vw, 36px);

    margin-bottom: 15px;
}

.cta p {
    position: relative;
    z-index: 1;

    max-width: 720px;

    margin: 0 auto 28px;

    font-size: 13px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.88);
}

.btn-primary {
    display: inline-block;

    position: relative;
    z-index: 2;

    text-decoration: none;

    padding: 12px 25px;

    border-radius: 30px;

    background: white;

    color: #7041c7;

    font-size: 12px;

    font-weight: 600;

    transition: all 0.3s ease;

    box-shadow: 0 8px 20px rgba(40, 20, 80, 0.15);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 14px 30px rgba(40, 20, 80, 0.25);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    padding: 23px 20px;

    text-align: center;

    background: #29203d;

    color: rgba(255, 255, 255, 0.65);

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .navbar {
        padding: 0 5%;
    }

    .services {
        padding-left: 22px;
        padding-right: 22px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-showcase img {
        width: min(650px, 88%);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .navbar {
        height: auto;

        min-height: 65px;

        padding: 10px 18px;

        flex-wrap: wrap;

        gap: 10px;
    }

    .nav-left {
        gap: 10px;
    }

    .back-btn {
        font-size: 11px;

        padding: 8px 13px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        gap: 17px;

        padding: 5px 0 3px;

        overflow-x: auto;
    }

    .nav-links a {
        font-size: 10px;

        white-space: nowrap;
    }


    /* Main */

    .services {
        padding: 30px 16px 55px;
    }


    /* Image */

    .services-showcase {
        margin: 0 auto 28px;

        width: 100%;
    }

    .services-showcase img {
        width: 92%;

        max-width: 480px;

        max-height: 430px;

        border-radius: 18px;
    }

    .services-showcase img:hover {
        transform: none;
    }


    /* Header */

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 27px;

        line-height: 1.25;
    }

    .section-header p {
        font-size: 13px;

        line-height: 1.7;

        margin-top: 16px;
    }


    /* Cards */

    .services-grid {
        grid-template-columns: 1fr;

        gap: 17px;

        width: 100%;
    }

    .service-card {
        min-height: auto;

        padding: 24px 21px;

        border-radius: 20px;
    }

    .service-card:hover {
        transform: translateY(-4px);
    }

    .service-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 16px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 12px;

        line-height: 1.65;

        margin-bottom: 16px;
    }

    .service-tags {
        margin-bottom: 18px;
    }


    /* CTA */

    .cta {
        width: calc(100% - 32px);

        margin: 5px auto 45px;

        padding: 38px 20px;

        border-radius: 23px;
    }

    .cta h2 {
        font-size: 24px;

        line-height: 1.3;
    }

    .cta p {
        font-size: 12px;

        line-height: 1.65;
    }


    footer {
        font-size: 10px;

        padding: 20px 15px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 9px;
    }

    .services-showcase img {
        width: 96%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .service-card {
        padding: 21px 18px;
    }
}