/* =========================================
   TPS LANDING PAGE
   GREEN THEME
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    direction: rtl;

    font-family:
        "Vazirmatn",
        Tahoma,
        Arial,
        sans-serif;

    background: #f7faf8;

    color: #17251c;

    line-height: 1.8;
}


a {
    text-decoration: none;

    color: inherit;
}


button,
input {
    font-family: inherit;
}


/* =========================================
   HEADER
========================================= */

.landing-header {
    width: 100%;

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid #e2ebe5;

    backdrop-filter:
        blur(10px);
}


.header-container {
    width:
        min(1180px, 92%);

    min-height: 78px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================
   TPS LOGO
========================================= */

/*
    مهم:
    direction: ltr
    باعث می‌شود همیشه TPS
    به همین ترتیب نمایش داده شود
    و در صفحه RTL به STP تبدیل نشود.
*/

.logo {
    width: auto;

    height: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    direction: ltr;

    unicode-bidi: isolate;

    background: transparent;

    color: #168f63;

    border: none;

    border-radius: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 38px;

    font-weight: 900;

    line-height: 1;

    letter-spacing: -3px;

    box-shadow: none;

    transition: 0.25s;
}


/* TP */

.logo span {
    color: #111111;

    font-weight: 900;
}


/* S */

.logo b {
    color: #168f63;

    font-weight: 900;
}


.logo:hover {
    background: transparent;

    transform:
        scale(1.03);

    color: #117a53;

    box-shadow: none;
}


/* =========================================
   NAVIGATION
========================================= */

.landing-nav {
    display: flex;

    align-items: center;

    gap: 28px;
}


.landing-nav a {
    color: #526158;

    font-size: 14px;

    font-weight: 500;

    transition: 0.25s;
}


.landing-nav a:hover {
    color: #168f63;
}


.landing-nav .nav-button {
    color: #ffffff;

    background: #168f63;

    padding:
        10px 19px;

    border-radius: 10px;

    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(22, 143, 99, 0.18);
}


.landing-nav .nav-button:hover {
    color: #ffffff;

    background: #117a53;

    transform:
        translateY(-2px);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(22, 143, 99, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8fcf9,
            #edf7f0
        );
}


.hero-container {
    width:
        min(1180px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 65px;
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
    padding: 45px 0;
}


.hero-small-title {
    display: inline-block;

    padding:
        6px 15px;

    margin-bottom: 20px;

    border-radius: 30px;

    background: #e1f3e8;

    color: #168f63;

    font-size: 13px;

    font-weight: 700;
}


.hero h1 {
    margin-bottom: 22px;

    color: #17251c;

    font-size:
        clamp(
            38px,
            5vw,
            62px
        );

    line-height: 1.3;

    font-weight: 800;
}


.hero h1 span {
    display: block;

    color: #168f63;
}


.hero p {
    max-width: 600px;

    margin-bottom: 30px;

    color: #657269;

    font-size: 16px;

    line-height: 2;
}


/* =========================================
   HERO BUTTONS
========================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}


.primary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        12px 25px;

    border-radius: 10px;

    background: #168f63;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 10px 25px
        rgba(22, 143, 99, 0.20);

    transition: 0.25s;
}


.primary-button:hover {
    background: #117a53;

    color: #ffffff;

    transform:
        translateY(-3px);

    box-shadow:
        0 14px 30px
        rgba(22, 143, 99, 0.26);
}


.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        11px 24px;

    border:
        1px solid #d6e3da;

    border-radius: 10px;

    background: #ffffff;

    color: #45534b;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s;
}


.secondary-button:hover {
    border-color: #168f63;

    color: #168f63;

    transform:
        translateY(-2px);
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    min-height: 450px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================
   DECORATIVE CIRCLES
========================================= */

.plastic-circle {
    position: absolute;

    border-radius: 50%;
}


.circle-one {
    width: 270px;

    height: 270px;

    top: 65px;

    right: 60px;

    background:
        rgba(22, 143, 99, 0.10);
}


.circle-two {
    width: 150px;

    height: 150px;

    bottom: 40px;

    left: 55px;

    background:
        rgba(42, 157, 91, 0.12);
}


.circle-three {
    width: 80px;

    height: 80px;

    top: 30px;

    left: 90px;

    background:
        rgba(115, 190, 143, 0.25);
}


/* =========================================
   PRODUCT SHOWCASE
========================================= */

.product-showcase {
    width: 285px;

    height: 340px;

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf7f1
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.9);

    box-shadow:
        0 30px 70px
        rgba(22, 83, 48, 0.14);

    transform:
        rotate(-4deg);

    transition: 0.4s;
}


.product-showcase:hover {
    transform:
        rotate(0deg)
        translateY(-8px);
}


/* =========================================
   SHOWCASE LOGO
========================================= */

.showcase-logo {
    width: 95px;

    height: 95px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    direction: ltr;

    unicode-bidi: isolate;

    border-radius: 25px;

    background: #168f63;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 25px;

    font-weight: 900;

    letter-spacing: -2px;

    box-shadow:
        0 15px 30px
        rgba(22, 143, 99, 0.23);
}


.showcase-logo span {
    color: #ffffff;

    font-weight: 900;
}


.showcase-logo b {
    color: #ffffff;

    font-weight: 900;
}


/* =========================================
   SHOWCASE TITLE
========================================= */

.showcase-title {
    color: #195f39;

    font-size: 25px;

    line-height: 1.6;

    text-align: center;

    font-weight: 800;
}


.showcase-line {
    width: 60px;

    height: 3px;

    margin:
        15px 0;

    border-radius: 5px;

    background: #168f63;
}


.showcase-text {
    color: #6a776f;

    font-size: 13px;
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    padding:
        100px 0;

    background: #f7faf8;
}


.about-container {
    width:
        min(1180px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    align-items: center;

    gap: 80px;
}


.about-content {
    max-width: 620px;
}


/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    max-width: 700px;

    margin:
        0 auto 25px;

    text-align: center;
}


.section-title span {
    display: inline-block;

    margin-bottom: 7px;

    color: #168f63;

    font-size: 13px;

    font-weight: 700;
}


.section-title h2 {
    margin-bottom: 12px;

    color: #17251c;

    font-size: 35px;

    font-weight: 800;
}


.about-title {
    margin:
        0 0 25px;

    text-align: right;
}


.about-title h2 {
    font-size: 33px;
}


.about-content p {
    margin-bottom: 18px;

    color: #68756d;

    font-size: 15px;

    line-height: 2;
}


.about-content .primary-button {
    margin-top: 8px;
}


/* =========================================
   ABOUT CARD
========================================= */

.about-card {
    min-height: 340px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #168f63,
            #117a53
        );

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 25px 55px
        rgba(22, 143, 99, 0.20);
}


.about-card::before {
    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    top: -90px;

    right: -70px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}


.about-card::after {
    content: "";

    position: absolute;

    width: 150px;

    height: 150px;

    bottom: -70px;

    left: -50px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);
}


.about-card-logo {
    width: 100px;

    height: 100px;

    position: relative;

    z-index: 2;

    margin-bottom: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    direction: ltr;

    unicode-bidi: isolate;

    border-radius: 25px;

    background:
        rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 27px;

    font-weight: 900;

    letter-spacing: -2px;
}


.about-card-logo span,
.about-card-logo b {
    color: #ffffff;

    font-weight: 900;
}


.about-card h3 {
    position: relative;

    z-index: 2;

    margin-bottom: 8px;

    font-size: 24px;
}


.about-card p {
    position: relative;

    z-index: 2;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 14px;
}


/* =========================================
   CTA
========================================= */

.cta-section {
    padding:
        100px 0;

    background: #ffffff;
}


.cta-container {
    width:
        min(900px, 92%);

    margin: auto;

    padding:
        70px 30px;

    border:
        1px solid #dcebe1;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #eff9f2,
            #f8fcf9
        );

    text-align: center;
}


.cta-container h2 {
    margin-bottom: 14px;

    color: #17251c;

    font-size: 31px;

    font-weight: 800;
}


.cta-container p {
    margin-bottom: 28px;

    color: #68756d;

    font-size: 14px;
}


.cta-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 28px;

    border-radius: 10px;

    background: #168f63;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s;

    box-shadow:
        0 10px 25px
        rgba(22, 143, 99, 0.18);
}


.cta-button:hover {
    background: #117a53;

    transform:
        translateY(-3px);
}


/* =========================================
   FOOTER
========================================= */

.landing-footer {
    padding:
        55px 0 25px;

    background: #122219;

    color: #ffffff;
}


.footer-container {
    width:
        min(1180px, 92%);

    margin: auto;

    text-align: center;
}


.footer-logo {
    width: auto;

    height: auto;

    margin:
        0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    direction: ltr;

    unicode-bidi: isolate;

    background: transparent;

    color: #168f63;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 34px;

    font-weight: 900;

    line-height: 1;

    letter-spacing: -3px;
}


.footer-logo span {
    color: #ffffff;

    font-weight: 900;
}


.footer-logo b {
    color: #168f63;

    font-weight: 900;
}


.footer-container > p {
    margin-bottom: 25px;

    color: #aebdb4;

    font-size: 13px;
}


.footer-links {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}


.footer-links a {
    color: #c9d5ce;

    font-size: 13px;

    transition: 0.25s;
}


.footer-links a:hover {
    color: #55c887;
}


.copyright {
    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    color: #829188;

    font-size: 12px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {


    .hero-container {
        grid-template-columns: 1fr;

        gap: 20px;

        text-align: center;
    }


    .hero-content {
        padding-bottom: 15px;
    }


    .hero p {
        margin-right: auto;

        margin-left: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .hero-visual {
        min-height: 380px;
    }


    .about-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .about-content {
        max-width: 100%;
    }


    .about-title {
        text-align: center;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {


    .header-container {
        min-height: 70px;
    }


    .landing-nav {
        gap: 10px;
    }


    .landing-nav > a:not(.nav-button) {
        display: none;
    }


    .landing-nav .nav-button {
        padding:
            9px 13px;

        font-size: 12px;
    }


    .logo {
        width: auto;

        height: auto;

        font-size: 31px;

        letter-spacing: -2px;

        background: transparent;

        box-shadow: none;
    }


    .hero {
        min-height: auto;

        padding:
            70px 0;
    }


    .hero h1 {
        font-size: 37px;
    }


    .hero p {
        font-size: 14px;
    }


    .hero-visual {
        min-height: 330px;
    }


    .product-showcase {
        width: 225px;

        height: 275px;
    }


    .showcase-logo {
        width: 78px;

        height: 78px;

        font-size: 20px;
    }


    .showcase-title {
        font-size: 21px;
    }


    .section-title h2 {
        font-size: 29px;
    }


    .about-section,
    .cta-section {
        padding:
            70px 0;
    }


    .about-card {
        min-height: 280px;
    }


    .cta-container {
        padding:
            50px 20px;
    }


    .cta-container h2 {
        font-size: 25px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {


    .hero h1 {
        font-size: 31px;
    }


    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }


    .hero-buttons a {
        width: 100%;
    }


    .primary-button,
    .secondary-button {
        width: 100%;
    }


    .hero-visual {
        transform:
            scale(0.9);
    }


    .circle-one {
        right: 35px;
    }


    .logo {
        font-size: 28px;

        letter-spacing: -2px;
    }


    .landing-nav .nav-button {
        padding:
            8px 11px;

        font-size: 11px;
    }

}