/* =========================================================
   VISALWEB SERVICES PAGE
   services.css
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    --orange: #ff6b00;
    --orange-light: #fff3e8;

    --blue: #1677ff;
    --blue-light: #eaf3ff;

    --green: #16a34a;
    --green-light: #eafaf0;

    --purple: #7c3aed;
    --purple-light: #f3edff;

    --pink: #ec4899;
    --pink-light: #fff0f5;

    --black: #111827;
    --dark: #1f2937;

    --gray: #6b7280;
    --light-gray: #f5f7fa;

    --border: #e5e7eb;

    --white: #ffffff;

    --container-width: 1200px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm:
        0 4px 15px rgba(0, 0, 0, 0.05);

    --shadow-md:
        0 12px 35px rgba(0, 0, 0, 0.08);

    --shadow-lg:
        0 20px 50px rgba(0, 0, 0, 0.12);

    --transition:
        all 0.3s ease;

}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.services-container {

    width: 100%;

    max-width: var(--container-width);

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;

}


/* =========================================================
   COMMON SECTION HEADING
   ========================================================= */

.section-heading {

    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;

}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--orange);

}


.section-heading h2 {

    margin: 0 0 16px;

    font-size: clamp(32px, 5vw, 50px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;

    color: var(--black);

}


.section-heading h2 span {

    color: var(--orange);

}


.section-heading p {

    max-width: 680px;

    margin: 0 auto;

    font-size: 16px;

    line-height: 1.7;

    color: var(--gray);

}


/* =========================================================
   SERVICES HERO
   ========================================================= */

.services-hero {

    position: relative;

    padding: 100px 20px 90px;

    background:
        linear-gradient(
            135deg,
            #fff8f2 0%,
            #ffffff 50%,
            #f4f8ff 100%
        );

    overflow: hidden;

}


.services-hero::before {

    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    top: -160px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(255, 107, 0, 0.08);

}


.services-hero::after {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    bottom: -140px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(22, 119, 255, 0.07);

}


.services-hero-container {

    position: relative;

    z-index: 1;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;

}


.services-label {

    display: inline-block;

    margin-bottom: 16px;

    padding: 7px 15px;

    border-radius: 50px;

    background: var(--orange-light);

    color: var(--orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.services-hero h1 {

    margin: 0 0 20px;

    font-size: clamp(42px, 7vw, 68px);

    line-height: 1.08;

    font-weight: 850;

    letter-spacing: -2px;

    color: var(--black);

}


.services-hero h1 span {

    display: block;

    color: var(--orange);

}


.services-hero p {

    max-width: 650px;

    margin: 0 auto 30px;

    font-size: 17px;

    line-height: 1.7;

    color: var(--gray);

}


/* =========================================================
   HERO BUTTON
   ========================================================= */

.services-hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 14px 24px;

    border-radius: 8px;

    background: var(--orange);

    color: var(--white);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(255, 107, 0, 0.22);

    transition: var(--transition);

}


.services-hero-button i {

    transition: var(--transition);

}


.services-hero-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 32px rgba(255, 107, 0, 0.28);

}


.services-hero-button:hover i {

    transform: translateX(5px);

}


/* =========================================================
   SERVICES LIST
   ========================================================= */

.services-list {

    padding: 100px 0 110px;

    background: var(--white);

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 450px;

    padding: 30px 26px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    transition: var(--transition);

}


.service-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--card-color);

}


.service-card:hover {

    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--shadow-lg);

}


/* =========================================================
   SERVICE COLORS
   ========================================================= */

.service-orange {

    --card-color: var(--orange);

    --card-light: var(--orange-light);

}


.service-blue {

    --card-color: var(--blue);

    --card-light: var(--blue-light);

}


.service-green {

    --card-color: var(--green);

    --card-light: var(--green-light);

}


.service-purple {

    --card-color: var(--purple);

    --card-light: var(--purple-light);

}


/* =========================================================
   SERVICE ICON
   ========================================================= */

.service-top {

    margin-bottom: 24px;

}


.service-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 56px;
    height: 56px;

    border-radius: 14px;

    background: var(--card-light);

    color: var(--card-color);

    font-size: 23px;

    transition: var(--transition);

}


.service-card:hover .service-icon {

    transform:
        scale(1.08)
        rotate(-3deg);

}


/* =========================================================
   SERVICE CONTENT
   ========================================================= */

.service-card h3 {

    margin: 0 0 13px;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 750;

    color: var(--black);

}


.service-card p {

    margin: 0 0 20px;

    font-size: 14px;

    line-height: 1.7;

    color: var(--gray);

}


/* =========================================================
   SERVICE FEATURES
   ========================================================= */

.service-card ul {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 0 0 22px;

    padding: 0;

    list-style: none;

}


.service-card ul li {

    display: flex;

    align-items: flex-start;

    gap: 8px;

    font-size: 13px;

    line-height: 1.5;

    color: var(--dark);

}


.service-card ul li i {

    flex-shrink: 0;

    margin-top: 3px;

    color: var(--card-color);

    font-size: 11px;

}


/* =========================================================
   SERVICE LINK
   ========================================================= */

.service-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: auto;

    color: var(--card-color);

    text-decoration: none;

    font-size: 13px;

    font-weight: 750;

}


.service-link i {

    transition: var(--transition);

}


.service-link:hover i {

    transform: translateX(5px);

}


/* =========================================================
   SECTORS WE SERVE
   SMALL COLORFUL TABS
   ========================================================= */

.sectors-section {

    padding: 55px 0;

    background: #f8fafc;

}


/* =========================================================
   SECTORS HEADER
   ========================================================= */

.sectors-header {

    margin-bottom: 25px;

    text-align: center;

}


.sectors-header .section-label {

    margin-bottom: 8px;

}


.sectors-header h2 {

    margin: 0;

    font-size: clamp(28px, 4vw, 40px);

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.8px;

    color: var(--black);

}


.sectors-header h2 span {

    color: var(--orange);

}


/* =========================================================
   SECTOR TABS
   ========================================================= */

.sectors-tabs {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

}


/* =========================================================
   SECTOR TAB
   ========================================================= */

.sector-tab {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    border: 1px solid;

    border-radius: 50px;

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

    cursor: default;

    transition: var(--transition);

}


.sector-tab i {

    font-size: 11px;

}


.sector-tab:hover {

    transform: translateY(-3px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.08);

}


/* =========================================================
   SECTOR ORANGE
   ========================================================= */

.sector-orange {

    color: #e85d00;

    background: #fff3e8;

    border-color: #ffd7b5;

}


/* =========================================================
   SECTOR BLUE
   ========================================================= */

.sector-blue {

    color: #1264d8;

    background: #edf5ff;

    border-color: #cfe2ff;

}


/* =========================================================
   SECTOR GREEN
   ========================================================= */

.sector-green {

    color: #12803d;

    background: #ecf9f1;

    border-color: #c9ecd6;

}


/* =========================================================
   SECTOR PURPLE
   ========================================================= */

.sector-purple {

    color: #6930c3;

    background: #f4efff;

    border-color: #dfd0ff;

}


/* =========================================================
   SECTOR PINK
   ========================================================= */

.sector-pink {

    color: #d93672;

    background: #fff0f5;

    border-color: #ffd1e1;

}


/* =========================================================
   SECTOR DARK
   ========================================================= */

.sector-dark {

    color: #374151;

    background: #f3f4f6;

    border-color: #e5e7eb;

}


/* =========================================================
   OUR PROCESS
   ========================================================= */

.process-section {

    padding: 100px 0;

    background: var(--white);

}


.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

}


/* =========================================================
   PROCESS CARD
   ========================================================= */

.process-card {

    position: relative;

    padding: 30px 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

}


.process-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-md);

    border-color:
        rgba(255, 107, 0, 0.25);

}


/* =========================================================
   PROCESS NUMBER
   ========================================================= */

.process-number {

    position: absolute;

    top: 18px;
    right: 20px;

    font-size: 12px;

    font-weight: 800;

    color: #d1d5db;

}


/* =========================================================
   PROCESS ICON
   ========================================================= */

.process-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    border-radius: 12px;

    background: var(--orange-light);

    color: var(--orange);

    font-size: 19px;

}


.process-card h3 {

    margin: 0 0 9px;

    font-size: 19px;

    line-height: 1.3;

    color: var(--black);

}


.process-card p {

    margin: 0;

    font-size: 13px;

    line-height: 1.7;

    color: var(--gray);

}


/* =========================================================
   SERVICES CTA
   ========================================================= */

.services-cta {

    position: relative;

    padding: 95px 20px;

    background:
        linear-gradient(
            135deg,
            #111827 0%,
            #1f2937 100%
        );

    overflow: hidden;

}


.services-cta::before {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -180px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(255, 107, 0, 0.15);

}


.services-cta::after {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    bottom: -150px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(22, 119, 255, 0.12);

}


.services-cta-container {

    position: relative;

    z-index: 1;

    max-width: 750px;

    margin: 0 auto;

    text-align: center;

}


.services-cta .section-label {

    color: #ff9b52;

}


.services-cta h2 {

    margin: 0 0 17px;

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.15;

    font-weight: 800;

    color: var(--white);

}


.services-cta h2 span {

    display: block;

    color: var(--orange);

}


.services-cta p {

    max-width: 600px;

    margin: 0 auto 28px;

    font-size: 16px;

    line-height: 1.7;

    color: #d1d5db;

}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.services-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 14px 26px;

    border-radius: 8px;

    background: var(--orange);

    color: var(--white);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);

}


.services-cta-button i {

    transition: var(--transition);

}


.services-cta-button:hover {

    transform: translateY(-3px);

    background: #ff791f;

    box-shadow:
        0 12px 30px rgba(255, 107, 0, 0.3);

}


.services-cta-button:hover i {

    transform: translateX(5px);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .process-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 800px) {

    .services-hero {

        padding: 85px 20px 75px;

    }


    .services-list {

        padding: 80px 0;

    }


    .process-section {

        padding: 80px 0;

    }


    .services-cta {

        padding: 80px 20px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .services-container {

        padding-left: 16px;
        padding-right: 16px;

    }


    /* HERO */

    .services-hero {

        padding: 70px 16px 65px;

    }


    .services-hero h1 {

        font-size: 40px;

        letter-spacing: -1.5px;

    }


    .services-hero p {

        font-size: 15px;

        line-height: 1.65;

    }


    .services-hero-button {

        width: 100%;

        max-width: 280px;

    }


    /* SECTION HEADING */

    .section-heading {

        margin-bottom: 35px;

    }


    .section-heading h2 {

        font-size: 32px;

    }


    .section-heading p {

        font-size: 14px;

    }


    /* SERVICES */

    .services-list {

        padding: 70px 0;

    }


    .services-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }


    .service-card {

        min-height: auto;

        padding: 26px 22px;

    }


    .service-card h3 {

        font-size: 20px;

    }


    /* SECTORS */

    .sectors-section {

        padding: 45px 0;

    }


    .sectors-header {

        margin-bottom: 22px;

    }


    .sectors-header h2 {

        font-size: 28px;

    }


    .sectors-tabs {

        gap: 7px;

    }


    .sector-tab {

        padding: 8px 11px;

        font-size: 11px;

        gap: 6px;

    }


    .sector-tab i {

        font-size: 10px;

    }


    /* PROCESS */

    .process-section {

        padding: 70px 0;

    }


    .process-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .process-card {

        padding: 26px 22px;

    }


    /* CTA */

    .services-cta {

        padding: 70px 16px;

    }


    .services-cta h2 {

        font-size: 34px;

    }


    .services-cta p {

        font-size: 14px;

    }


    .services-cta-button {

        width: 100%;

        max-width: 260px;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .services-hero h1 {

        font-size: 35px;

    }


    .section-heading h2 {

        font-size: 29px;

    }


    .sectors-header h2 {

        font-size: 26px;

    }


    .services-cta h2 {

        font-size: 30px;

    }


    .service-card {

        padding: 24px 20px;

    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.services-hero-button:focus-visible,
.service-link:focus-visible,
.services-cta-button:focus-visible {

    outline: 3px solid rgba(255, 107, 0, 0.35);

    outline-offset: 4px;

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;

    }

}