
/* =========================================================
   1. GLOBAL RESET AND VARIABLES
========================================================= */

:root {
    --primary-green: #16a661;
    --medium-green: #0d7f4d;
    --dark-green: #073a31;
    --deep-green: #052b25;
    --light-green: #43e990;
    --accent-green: #a7f3c7;

    --white: #ffffff;
    --off-white: #f5f9f6;
    --light-bg: #eef6f1;

    --text-dark: #17372c;
    --text-grey: #5a6b63;

    --border-light: rgba(17, 133, 76, 0.16);

    --shadow-soft:
        0 12px 30px rgba(10, 70, 42, 0.10);

    --shadow-medium:
        0 18px 45px rgba(7, 58, 49, 0.18);

    --container-width: 1250px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    width: 100%;
    overflow-x: hidden;

    background: var(--off-white);
    color: var(--text-dark);

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    line-height: 1.6;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
}


.container {
    width: 100%;
    max-width: var(--container-width);

    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   2. HEADER AND NAVIGATION
========================================================= */

.site-header,
header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background:
        linear-gradient(
            135deg,
            #139b59 0%,
            #087948 50%,
            #075d3c 100%
        );

    border-bottom:
        1px solid rgba(255, 255, 255, 0.16);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.18);
}


.header-container {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.main-navigation {
    width: 100%;
}


.main-navigation ul,
nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    list-style: none;
}


.main-navigation ul li,
nav ul li {
    position: relative;
}


.main-navigation ul li a,
nav ul li a {
    position: relative;

    display: block;

    padding: 17px 18px;

    color: rgba(255, 255, 255, 0.94);

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.main-navigation ul li a::after,
nav ul li a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 9px;

    width: 0;
    height: 2px;

    background: #a7ffd0;

    border-radius: 20px;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


.main-navigation ul li a:hover,
.main-navigation ul li a.active,
nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;

    background-color:
        rgba(255, 255, 255, 0.10);

    border-radius: 7px;
}


.main-navigation ul li a:hover::after,
.main-navigation ul li a.active::after,
nav ul li a:hover::after,
nav ul li a.active::after {
    width: calc(100% - 35px);
}


/* =========================================================
   3. SERVICES HERO SECTION
========================================================= */

.services-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 90px 20px;

    background:
        linear-gradient(
            rgba(4, 50, 38, 0.72),
            rgba(4, 43, 34, 0.88)
        ),
        url(
            "https://images.unsplash.com/photo-1531058020387-3be344556be6?auto=format&fit=crop&w=1600&q=85"
        );

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;

    overflow: hidden;
}


.services-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(64, 243, 150, 0.20),
            transparent 35%
        );

    pointer-events: none;
}


.services-hero::after {
    content: "";

    position: absolute;

    left: -5%;
    bottom: -80px;

    width: 110%;
    height: 150px;

    background: var(--off-white);

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;

    border-top:
        2px solid rgba(67, 233, 144, 0.72);

    box-shadow:
        0 -10px 30px
        rgba(47, 228, 136, 0.18);
}


.services-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(6, 75, 57, 0.18),
            rgba(3, 35, 28, 0.28)
        );
}


.services-hero-content {
    position: relative;
    z-index: 3;

    max-width: 960px;

    margin: 0 auto;

    text-align: center;
}


.hero-small-title {
    display: inline-block;

    margin-bottom: 18px;
    padding: 8px 18px;

    color: #bdffd9;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(167, 255, 208, 0.32);

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-transform: uppercase;

    backdrop-filter: blur(8px);
}


.services-hero h1 {
    margin-bottom: 15px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 7vw, 78px);
    font-weight: 600;
    line-height: 1.1;

    text-shadow:
        0 6px 22px rgba(0, 0, 0, 0.35);
}


.hero-title-line {
    width: 90px;
    height: 4px;

    margin: 0 auto 25px;

    background:
        linear-gradient(
            to right,
            #23cb73,
            #75f2ad
        );

    border-radius: 20px;

    box-shadow:
        0 0 20px rgba(66, 238, 146, 0.48);
}


.services-hero-content p {
    max-width: 850px;

    margin: 0 auto;

    color:
        rgba(239, 255, 247, 0.91);

    font-size: 17px;
    line-height: 1.9;
}


.hero-scroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 32px;
    padding: 13px 25px;

    background:
        linear-gradient(
            135deg,
            #1fc46d,
            #0b7547
        );

    color: #ffffff;

    text-decoration: none;

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.hero-scroll-btn:hover {
    transform: translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #0b7547,
            #24d477
        );

    box-shadow:
        0 17px 32px rgba(0, 0, 0, 0.26);
}


/* =========================================================
   4. GENERAL SECTION HEADING
========================================================= */

.services-introduction {
    padding: 90px 0 55px;

    background: var(--off-white);
}


.section-heading {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


.section-subtitle {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.section-heading h2,
.benefits-content h2 {
    color: #153c2e;

    font-size: clamp(34px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.25;
}


.section-title-line {
    width: 80px;
    height: 4px;

    margin: 18px auto 23px;

    background:
        linear-gradient(
            to right,
            #15a95f,
            #5ee69d
        );

    border-radius: 20px;
}


.section-heading p {
    color: var(--text-grey);

    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   5. MAIN SERVICES SECTION
========================================================= */

.services-section {
    position: relative;

    padding: 45px 0 100px;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(33, 181, 105, 0.08),
            transparent 26%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(33, 181, 105, 0.07),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #f5f9f6 0%,
            #eaf4ee 100%
        );

    overflow: hidden;
}


.services-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(11, 110, 65, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(11, 110, 65, 0.018) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    pointer-events: none;
}


.services-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   6. SERVICE CARDS
========================================================= */

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 385px;

    padding: 32px 28px 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(244, 251, 247, 0.98)
        );

    border:
        1px solid rgba(14, 140, 79, 0.16);

    border-radius: 18px;

    box-shadow:
        0 13px 32px
        rgba(13, 86, 51, 0.10);

    overflow: hidden;

    transition:
        transform 0.38s ease,
        box-shadow 0.38s ease,
        border-color 0.38s ease;
}


.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            to right,
            #0f9f59,
            #58e596
        );
}


.service-card::after {
    content: "";

    position: absolute;

    top: -80px;
    right: -80px;

    width: 180px;
    height: 180px;

    background:
        radial-gradient(
            circle,
            rgba(32, 201, 108, 0.11),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}


.service-card:hover {
    transform: translateY(-10px);

    border-color:
        rgba(24, 168, 95, 0.42);

    box-shadow:
        0 23px 48px
        rgba(7, 79, 45, 0.19);
}


.service-number {
    position: absolute;

    top: 17px;
    right: 21px;

    color:
        rgba(10, 128, 71, 0.13);

    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}


.service-icon {
    position: relative;
    z-index: 2;

    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background:
        linear-gradient(
            145deg,
            #17ad61,
            #087445
        );

    color: #ffffff;

    border-radius: 18px;

    font-size: 30px;

    box-shadow:
        0 12px 25px
        rgba(12, 129, 72, 0.23);

    transition:
        transform 0.35s ease,
        border-radius 0.35s ease;
}


.service-card:hover .service-icon {
    transform:
        translateY(-4px)
        rotate(-3deg);

    border-radius: 50%;
}


.service-card h3 {
    position: relative;
    z-index: 2;

    min-height: 58px;

    margin-bottom: 14px;

    color: #143d2e;

    font-size: 21px;
    font-weight: 750;
    line-height: 1.4;
}


.service-card p {
    position: relative;
    z-index: 2;

    margin-bottom: 24px;

    color: #5c6c64;

    font-size: 14.5px;
    line-height: 1.75;
}


.service-tags {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;
}


.service-tags span {
    padding: 6px 11px;

    background: #e0f5e8;
    color: #0a7443;

    border:
        1px solid rgba(19, 155, 86, 0.16);

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25px;
}


/* =========================================================
   7. SERVICE BENEFITS SECTION
========================================================= */

.service-benefits {
    position: relative;

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #073b31 0%,
            #052a24 100%
        );

    color: #ffffff;

    overflow: hidden;
}


.service-benefits::before {
    content: "";

    position: absolute;

    top: -180px;
    left: -180px;

    width: 450px;
    height: 450px;

    background:
        radial-gradient(
            circle,
            rgba(69, 237, 146, 0.15),
            transparent 68%
        );
}


.service-benefits::after {
    content: "";

    position: absolute;

    right: -180px;
    bottom: -180px;

    width: 450px;
    height: 450px;

    background:
        radial-gradient(
            circle,
            rgba(69, 237, 146, 0.11),
            transparent 68%
        );
}


.benefits-wrapper {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 60px;

    align-items: center;
}


.benefits-content .section-subtitle {
    color: #79efad;
}


.benefits-content h2 {
    color: #ffffff;
}


.left-line {
    margin-left: 0;
}


.benefits-content p {
    color:
        rgba(230, 247, 238, 0.82);

    font-size: 16px;
    line-height: 1.85;
}


.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


.benefit-item {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    padding: 24px 20px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 15px;

    backdrop-filter: blur(10px);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}


.benefit-item:hover {
    transform: translateY(-6px);

    background:
        rgba(255, 255, 255, 0.11);

    border-color:
        rgba(87, 237, 155, 0.35);
}


.benefit-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #26c976,
            #0a7546
        );

    border-radius: 50%;

    font-size: 21px;

    box-shadow:
        0 8px 20px
        rgba(19, 190, 103, 0.23);
}


.benefit-item h3 {
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.4;
}


.benefit-item p {
    color:
        rgba(224, 241, 232, 0.75);

    font-size: 13.5px;
    line-height: 1.7;
}


/* =========================================================
   8. SERVICES CTA SECTION
========================================================= */

.services-cta {
    position: relative;

    padding: 95px 0;

    background:
        linear-gradient(
            rgba(8, 75, 53, 0.82),
            rgba(5, 53, 40, 0.90)
        ),
        url(
            "https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=1600&q=85"
        );

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;

    text-align: center;
}


.services-cta-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(65, 233, 145, 0.10),
            transparent 48%
        );
}


.services-cta-content {
    position: relative;
    z-index: 2;

    max-width: 870px;

    margin: 0 auto;
}


.services-cta-content > span {
    display: inline-block;

    margin-bottom: 12px;

    color: #8df0b8;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.services-cta-content h2 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.25;
}


.services-cta-content p {
    max-width: 730px;

    margin: 0 auto;

    color:
        rgba(238, 252, 245, 0.84);

    font-size: 16px;
    line-height: 1.8;
}


.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 32px;
}


.primary-cta-btn,
.secondary-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 205px;

    padding: 13px 23px;

    text-decoration: none;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.primary-cta-btn {
    background:
        linear-gradient(
            135deg,
            #27cb76,
            #0a7a48
        );

    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.20);

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.22);
}


.secondary-cta-btn {
    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.30);

    backdrop-filter: blur(8px);
}


.primary-cta-btn:hover,
.secondary-cta-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.27);
}


.secondary-cta-btn:hover {
    background:
        rgba(255, 255, 255, 0.15);
}


/* =========================================================
   9. FOOTER
========================================================= */

.site-footer,
footer {
    position: relative;

    padding: 34px 20px;

    background:
        linear-gradient(
            135deg,
            #142d23 0%,
            #0b231b 100%
        );

    color: #ffffff;

    text-align: center;

    border-top:
        1px solid rgba(67, 233, 144, 0.22);
}


.footer-content {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


.footer-content > p:first-child {
    color:
        rgba(255, 255, 255, 0.88);

    font-size: 14px;
    letter-spacing: 0.2px;
}


.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin: 18px 0;
}


.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.14);

    border-radius: 50%;

    text-decoration: none;

    font-size: 18px;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.social-icons a:hover {
    color: #ffffff;

    background: #18a85f;

    transform: translateY(-4px);

    box-shadow:
        0 8px 20px
        rgba(24, 168, 95, 0.30);
}


.social-icons a[aria-label*="Facebook"]:hover {
    background-color: #1877f2;
}


.social-icons a[aria-label*="X"]:hover {
    background-color: #111111;
}


.social-icons a[aria-label*="LinkedIn"]:hover {
    background-color: #0a66c2;
}


.footer-credit {
    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 12px;
}


/* =========================================================
   10. TABLET RESPONSIVE
========================================================= */

@media screen and (max-width: 1050px) {

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .benefits-wrapper {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .benefits-content {
        max-width: 750px;
    }
}


@media screen and (max-width: 768px) {

    .header-container {
        padding: 5px 15px;
    }


    .main-navigation ul,
    nav ul {
        gap: 3px;
    }


    .main-navigation ul li a,
    nav ul li a {
        padding: 11px 12px;

        font-size: 14px;
    }


    .services-hero {
        min-height: 480px;

        padding: 75px 18px 100px;

        background-attachment: scroll;
    }


    .services-hero-content p {
        font-size: 15px;
    }


    .services-introduction {
        padding: 75px 0 40px;
    }


    .services-section {
        padding-bottom: 75px;
    }


    .service-benefits {
        padding: 75px 0;
    }


    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }


    .services-cta {
        padding: 75px 0;
    }
}


/* =========================================================
   11. MOBILE RESPONSIVE
========================================================= */

@media screen and (max-width: 600px) {

    .container {
        padding: 0 16px;
    }


    .header-container {
        padding: 8px 10px;
    }


    .main-navigation ul,
    nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        width: 100%;

        gap: 5px;
    }


    .main-navigation ul li a,
    nav ul li a {
        padding: 10px 7px;

        text-align: center;

        font-size: 13px;
    }


    .main-navigation ul li a::after,
    nav ul li a::after {
        bottom: 5px;
    }


    .services-hero {
        min-height: 450px;

        padding: 65px 15px 95px;
    }


    .hero-small-title {
        font-size: 11px;
        letter-spacing: 1px;
    }


    .services-hero h1 {
        font-size: 47px;
    }


    .services-hero-content p {
        font-size: 14px;
        line-height: 1.8;
    }


    .hero-scroll-btn {
        padding: 11px 20px;

        font-size: 13px;
    }


    .services-introduction {
        padding: 65px 0 35px;
    }


    .section-heading h2,
    .benefits-content h2,
    .services-cta-content h2 {
        font-size: 32px;
    }


    .section-heading p,
    .benefits-content p,
    .services-cta-content p {
        font-size: 14.5px;
    }


    .services-section {
        padding: 35px 0 65px;
    }


    .services-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .service-card {
        min-height: auto;

        padding: 28px 22px 24px;
    }


    .service-card h3 {
        min-height: auto;

        font-size: 20px;
    }


    .service-benefits {
        padding: 65px 0;
    }


    .benefits-grid {
        grid-template-columns: 1fr;
    }


    .benefit-item {
        padding: 21px 18px;
    }


    .services-cta {
        padding: 65px 0;
    }


    .cta-buttons {
        flex-direction: column;
    }


    .primary-cta-btn,
    .secondary-cta-btn {
        width: 100%;
        max-width: 290px;
    }


    .site-footer,
    footer {
        padding: 30px 15px;
    }
}


/* =========================================================
   12. SMALL MOBILE
========================================================= */

@media screen and (max-width: 390px) {

    .main-navigation ul,
    nav ul {
        grid-template-columns: 1fr 1fr;
    }


    .main-navigation ul li a,
    nav ul li a {
        font-size: 12px;
    }


    .services-hero h1 {
        font-size: 40px;
    }


    .service-card {
        padding-left: 18px;
        padding-right: 18px;
    }


    .service-icon {
        width: 60px;
        height: 60px;

        font-size: 26px;
    }
}


/* =========================================================
   13. REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}