@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --green-950: #0b2416;
    --green-900: #123d23;
    --green-800: #185c30;
    --green-700: #237a3e;
    --green-600: #319653;
    --green-500: #4caf68;
    --green-100: #e7f5eb;
    --green-50: #f4fbf5;

    --cream: #fbfaf5;
    --text: #1d2a21;
    --muted: #68736c;

    --white: #ffffff;
    --border: rgba(25, 75, 42, 0.10);

    --shadow-sm: 0 5px 20px rgba(18, 61, 35, 0.07);
    --shadow-md: 0 15px 40px rgba(18, 61, 35, 0.12);
    --shadow-lg: 0 25px 70px rgba(18, 61, 35, 0.18);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    line-height: 1.9;
    overflow-x: hidden;
}

::selection {
    background: var(--green-500);
    color: white;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(18, 61, 35, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

header .container {
    padding: 0;
}

nav {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    font-size: 25px;
    font-weight: 800;
    white-space: nowrap;
}

.logo span {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    font-size: 24px;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;

    box-shadow: inset 0 0 15px rgba(255,255,255,0.05);
}

/* Navigation */

nav ul {
    display: flex;
    align-items: center;
    gap: 6px;

    list-style: none;
}

nav ul li a {
    position: relative;

    display: block;

    padding: 10px 15px;

    color: rgba(255,255,255,0.86);
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    border-radius: 12px;

    transition: all 0.25s ease;
}

nav ul li a::after {
    content: "";

    position: absolute;
    bottom: 4px;
    right: 50%;

    width: 0;
    height: 2px;

    background: #8be49e;

    transform: translateX(50%);
    transition: width 0.25s ease;
}

nav ul li a:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

nav ul li a:hover::after {
    width: 22px;
}

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

.hero {
    min-height: 720px;

    position: relative;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 50px;

    padding: 80px 7%;

    color: white;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(75, 180, 95, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071d11,
            #123d23
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    left: -200px;
    top: -250px;

    background: rgba(76,175,80,0.08);

    border-radius: 50%;

    filter: blur(20px);
}

.hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -150px;
    bottom: -200px;

    background: rgba(76,175,80,0.08);

    border-radius: 50%;

    filter: blur(30px);
}


/* =========================================
   متن
========================================= */

.hero-content {
    position: relative;
    z-index: 10;

    max-width: 560px;

    text-align: right;

    animation: heroText 1s ease both;
}

.hero-badge {
    display: inline-flex;

    padding: 7px 15px;

    margin-bottom: 20px;

    color: #9be7a9;

    background: rgba(100,200,120,0.10);

    border: 1px solid rgba(120,220,140,0.18);

    border-radius: 50px;

    font-size: 13px;
}

.hero-content h1 {
    margin-bottom: 20px;

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

    line-height: 1.3;

    font-weight: 800;

    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;

    color: #79d88d;
}

.hero-content p {
    max-width: 500px;

    margin-bottom: 30px;

    color: rgba(255,255,255,0.68);

    font-size: 16px;

    line-height: 2;
}

.hero-content .btn span {
    margin-right: 8px;

    transition: transform .25s ease;
}

.hero-content .btn:hover span {
    transform: translateX(-5px);
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   محیط گلدان
========================================= */

.plant-interactive {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 600px;

    justify-self: center;

    animation: plantAppear 1s .2s ease both;
}

@keyframes plantAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.plant-scene {
    position: relative;

    width: 100%;
    height: 470px;

    display: flex;

    align-items: center;
    justify-content: center;

    /*
        مهم:
        overflow نباید hidden باشد
        چون هنگام باز شدن قطعات از گلدان
        بیرون می‌زنند.
    */
}


/* =========================================
   تمام قطعات
========================================= */

.plant-part {
    position: absolute;

    transition:
        transform .75s cubic-bezier(.22,1,.36,1),
        opacity .45s ease;
}


/* =========================================
   گل
========================================= */

.flower-part {
    z-index: 8;

    /*
        در حالت اولیه گل دقیقاً
        بالای گلدان قرار دارد.
    */

    transform:
        translateY(-65px)
        translateX(0);
}

.flower {
    position: relative;

    width: 100px;
    height: 100px;

    display: grid;

    place-items: center;

    font-size: 75px;

    filter:
        drop-shadow(0 15px 15px rgba(0,0,0,.2));
}


/*
    ساقه در ابتدا داخل گلدان است.
    با JS به تدریج ظاهر می‌شود.
*/

.stem {
    position: absolute;
    width: 8px;
    height: 170px;
    left: 50%;
    top: 100%;                       /* ✅ ساقه از پایین گل شروع میشه و به سمت پایین میره */
    transform: translateX(-50%);
    transform-origin: top center;    /* ✅ رشد از بالا (چسبیده به گل) به سمت پایین */
    background: linear-gradient(90deg, #267a3c, #64b96c);
    border-radius: 10px;
    opacity: 0;
    transition: opacity .45s ease, height .5s ease;
}

/* برگ‌ها */

.leaf {
    position: absolute;

    font-size: 55px;

    opacity: 0;

    transition: opacity .4s ease;
}

.leaf-1 {
    left: -50px;
    top: 65px;

    transform: rotate(-35deg);
}

.leaf-2 {
    right: -50px;
    top: 50px;

    transform: scaleX(-1) rotate(-35deg);
}


/* =========================================
   آب
========================================= */

.water-part {
    z-index: 4;

    /*
        آب ابتدا داخل گلدان است.
        به همین دلیل تقریباً دیده نمی‌شود.
    */

    transform:
        translateY(165px)
        translateX(0);

    opacity: 0;
}

.water-drop {
    font-size: 55px;

    filter:
        drop-shadow(0 10px 15px rgba(0,0,0,.2));
}


/* =========================================
   خاک
========================================= */

.soil-part {
    z-index: 5;

    /*
        خاک در شروع داخل گلدان است.
    */

    transform:
        translateY(125px)
        translateX(0);

    opacity: 0;
}

.soil {
    width: 180px;
    height: 45px;

    background:
        radial-gradient(
            circle at 30% 40%,
            #8b5e3c 0 4px,
            transparent 5px
        ),
        radial-gradient(
            circle at 70% 60%,
            #6b452b 0 5px,
            transparent 6px
        ),
        #593a25;

    border-radius: 50%;

    box-shadow:
        0 10px 20px rgba(0,0,0,.25);
}


/* =========================================
   گلدان
========================================= */

.pot-part {
    z-index: 7;

    /*
        گلدان همیشه قابل مشاهده است.
    */

    transform:
        translateY(130px)
        translateX(0);
}

.pot {
    position: relative;

    width: 230px;
    height: 180px;
}

.pot-body {
    position: absolute;

    left: 15px;
    right: 15px;

    bottom: 0;

    height: 155px;

    background:
        linear-gradient(
            135deg,
            #f0e5d2,
            #cbb99b
        );

    clip-path: polygon(
        8% 0,
        92% 0,
        78% 100%,
        22% 100%
    );

    border-radius: 10px;

    box-shadow:
        0 25px 40px rgba(0,0,0,.25);
}

.pot-rim {
    position: absolute;

    z-index: 2;

    left: 0;
    top: 0;

    width: 230px;
    height: 38px;

    background:
        linear-gradient(
            135deg,
            #f4ead9,
            #c8b597
        );

    border-radius: 50%;

    box-shadow:
        0 8px 12px rgba(0,0,0,.15);
}


/* =========================================
   کنترل
========================================= */

.plant-control {
    width: 100%;

    padding: 20px 25px;

    background:
        rgba(255,255,255,.07);

    border:
        1px solid rgba(255,255,255,.1);

    border-radius: 22px;

    backdrop-filter: blur(15px);
}

.control-label,
.control-hint {
    display: flex;

    justify-content: space-between;

    color: rgba(255,255,255,.75);

    font-size: 12px;
}

.control-label {
    margin-bottom: 12px;

    color: white;

    font-weight: 600;
}

.control-hint {
    margin-top: 8px;

    color: rgba(255,255,255,.4);
}


/* =========================================
   RANGE
========================================= */

#plantSlider {
    width: 100%;

    height: 6px;

    appearance: none;
    -webkit-appearance: none;

    direction: ltr;

    cursor: pointer;

    border-radius: 10px;

    background:
        linear-gradient(
            to right,
            #55c76b 0%,
            #55c76b 100%
        );
}

#plantSlider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 24px;
    height: 24px;

    background: #ffffff;

    border: 5px solid #4caf68;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(76,175,80,.15),
        0 5px 15px rgba(0,0,0,.25);

    transition: transform .2s ease;
}

#plantSlider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

#plantSlider::-moz-range-thumb {
    width: 16px;
    height: 16px;

    background: white;

    border: 5px solid #4caf68;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(76,175,80,.15);
}


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

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;

        padding:
            70px 20px
            60px;

        text-align: center;
    }

    .hero-content {
        max-width: 700px;

        margin: auto;

        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .plant-interactive {
        max-width: 520px;
    }
}


@media (max-width: 600px) {

    .hero-content h1 {
        font-size: 38px;
    }

    .plant-scene {
        height: 430px;

        transform: scale(.85);
    }

    .plant-control {
        padding: 17px;
    }
}




















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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 155px;

    padding: 14px 28px;

    color: white;
    background: linear-gradient(
        135deg,
        var(--green-500),
        var(--green-600)
    );

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;

    text-decoration: none;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 12px 30px rgba(49,150,83,0.28);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px);

    background: linear-gradient(
        135deg,
        var(--green-600),
        var(--green-700)
    );

    box-shadow: 0 18px 40px rgba(49,150,83,0.35);
}

/* =========================
   SECTION TITLES
========================= */

.section-title {
    position: relative;

    margin: 80px 0 10px;

    text-align: center;

    color: var(--green-900);

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.4;
    font-weight: 800;
}

.section-title::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    margin: 14px auto 0;

    background: linear-gradient(
        90deg,
        var(--green-500),
        var(--green-700)
    );

    border-radius: 20px;
}

.section-subtitle {
    margin-bottom: 42px;

    text-align: center;

    color: var(--muted);

    font-size: 15px;
}

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

.services {
    display: grid;

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

    gap: 22px;

    padding: 20px 0 85px;
}

.service-card {
    position: relative;

    overflow: hidden;

    padding: 35px 25px;

    text-align: center;

    background: rgba(255,255,255,0.9);

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

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

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        var(--green-500),
        var(--green-700)
    );

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-9px);

    border-color: rgba(49,150,83,0.20);

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 75px;
    height: 75px;

    display: grid;
    place-items: center;

    margin: 0 auto 22px;

    font-size: 36px;

    background: var(--green-50);

    border: 1px solid rgba(49,150,83,0.10);
    border-radius: 22px;

    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
    margin-bottom: 10px;

    color: var(--green-900);

    font-size: 18px;
    font-weight: 700;
}

.service-card p {
    color: var(--muted);

    font-size: 13px;
    line-height: 2;
}

/* =========================
   PRODUCTS
========================= */

.products-section {
    position: relative;

    padding: 70px 0 90px;

    background:
        radial-gradient(
            circle at top right,
            rgba(76,175,80,0.12),
            transparent 35%
        ),
        var(--green-50);
}

.products-section .section-title {
    margin-top: 0;
}

.products {
    display: grid;

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

    gap: 22px;
}

.product-card {
    overflow: hidden;

    background: white;

    border: 1px solid rgba(25,75,42,0.08);
    border-radius: var(--radius-md);

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

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);

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

.product-img {
    height: 230px;

    position: relative;

    background-size: cover;
    background-position: center;

    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.04);
}

.product-info {
    padding: 22px 20px;

    text-align: right;
}

.product-info h4 {
    margin-bottom: 7px;

    color: var(--green-900);

    font-size: 17px;
    font-weight: 700;
}

.product-info p {
    min-height: 50px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

.product-info .price {
    display: inline-block;

    margin-top: 12px;
    padding: 7px 13px;

    color: var(--green-800);

    background: var(--green-100);

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;
}

/* =========================
   ABOUT
========================= */

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    padding: 100px 0;
}

.about-text h2 {
    margin-bottom: 22px;

    color: var(--green-900);

    font-size: 36px;
    font-weight: 800;
}

.about-text h2::before {
    content: "🌿";

    display: inline-block;

    margin-left: 10px;

    font-size: 25px;
}

.about-text p {
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 15px;
    line-height: 2.1;
}

.about-text .btn {
    margin-top: 10px;
}

.about-image {
    min-height: 420px;

    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(18,61,35,0.05),
            transparent
        ),
        url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?w=800')
        center / cover;

    border-radius: 30px;

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

    overflow: hidden;
}

.about-image::after {
    content: "";

    position: absolute;
    inset: 15px;

    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 22px;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter {
    position: relative;

    padding: 85px 20px;

    overflow: hidden;

    color: white;

    text-align: center;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(112,220,130,0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(0,0,0,0.15),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--green-900),
            var(--green-700)
        );
}

.newsletter h2 {
    margin-bottom: 12px;

    font-size: 32px;
    font-weight: 800;
}

.newsletter p {
    margin-bottom: 28px;

    color: rgba(255,255,255,0.78);

    font-size: 15px;
}

.newsletter-form {
    width: min(600px, 100%);

    display: flex;

    gap: 10px;

    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 15px 20px;

    color: var(--text);

    background: white;

    border: 2px solid transparent;
    border-radius: 15px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition: 0.25s ease;
}

.newsletter-form input:focus {
    border-color: #82d995;

    box-shadow: 0 0 0 4px rgba(130,217,149,0.12);
}

.newsletter-form button {
    padding: 0 28px;

    color: white;

    background: var(--green-950);

    border: none;
    border-radius: 15px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);

    background: #06170d;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 65px 0 20px;

    color: white;

    background: var(--green-950);
}

.footer-content {
    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1.2fr;

    gap: 45px;

    margin-bottom: 45px;

    text-align: right;
}

.footer-col h4 {
    margin-bottom: 18px;

    color: #8be49e;

    font-size: 16px;
    font-weight: 700;
}

.footer-col p,
.footer-col a {
    display: block;

    margin-bottom: 9px;

    color: rgba(255,255,255,0.58);

    text-decoration: none;

    font-size: 13px;

    transition: all 0.25s ease;
}

.footer-col a:hover {
    color: #9ae8a8;

    transform: translateX(-5px);
}

.footer-bottom {
    padding-top: 22px;

    color: rgba(255,255,255,0.35);

    border-top: 1px solid rgba(255,255,255,0.08);

    text-align: center;

    font-size: 12px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .services,
    .products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about {
        gap: 40px;
    }

    .footer-content {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .container {
        width: min(100% - 28px, 600px);
    }

    nav {
        min-height: auto;

        padding: 15px 0;

        flex-direction: column;
        gap: 12px;
    }

    .logo {
        font-size: 22px;
    }

    nav ul {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    nav ul li a {
        padding: 7px 9px;

        font-size: 12px;
    }

    .hero {
        min-height: 570px;
    }

    .hero-content h1 {
        font-size: 36px;

        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .services,
    .products {
        grid-template-columns: 1fr;
    }

    .section-title {
        margin-top: 60px;
    }

    .about {
        grid-template-columns: 1fr;

        padding: 70px 0;

        gap: 40px;
    }

    .about-text h2 {
        font-size: 29px;
    }

    .about-image {
        min-height: 320px;
    }

    .newsletter {
        padding: 65px 20px;
    }

    .newsletter h2 {
        font-size: 27px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-height: 54px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 30px;
    }
}

@media (max-width: 420px) {

    .hero {
        min-height: 530px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .product-img {
        height: 220px;
    }
}

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

@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;
    }
}
/* =========================
   Request Modal
========================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;

    z-index: 9999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.request-modal {
    position: relative;

    width: 100%;
    max-width: 550px;

    background: #ffffff;
    border-radius: 24px;

    padding: 35px;

    transform: translateY(30px) scale(0.97);
    transition: 0.3s ease;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .request-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    left: 18px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #f1f5f2;
    color: #315b3d;

    font-size: 25px;
    cursor: pointer;

    transition: 0.2s ease;
}

.modal-close:hover {
    background: #dcebdd;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    display: inline-flex;

    width: 60px;
    height: 60px;

    align-items: center;
    justify-content: center;

    background: #eaf5eb;
    border-radius: 18px;

    font-size: 28px;

    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0 0 10px;

    color: #234b2d;
    font-size: 25px;
}

.modal-header p {
    margin: 0;

    color: #718078;
    font-size: 14px;
    line-height: 1.8;
}

/* Form */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #294632;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #dce5de;
    border-radius: 12px;

    background: #f9fbf9;

    color: #26352a;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #5b9b68;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(91, 155, 104, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a2ada5;
}

/* Submit */

.modal-submit {
    width: 100%;

    border: none;
    border-radius: 13px;

    padding: 14px;

    background: #3f7d4d;
    color: white;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.25s ease;
}

.modal-submit:hover {
    background: #32683e;
    transform: translateY(-2px);
}

.modal-submit span {
    margin-right: 8px;
}

/* Mobile */

@media (max-width: 600px) {

    .request-modal {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .modal-header h2 {
        font-size: 21px;
    }

}




.success-message {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 18px;
    margin: 20px auto;
    max-width: 600px;

    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;

    color: #065f46;
    font-size: 15px;
    font-weight: 500;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    background: #10b981;
    color: white;

    border-radius: 50%;
    font-weight: bold;
}


.alert-danger {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 18px;
    margin-bottom: 20px;

    background: #fef2f2;
    border: 1px solid #fecaca;
    border-right: 4px solid #ef4444;
    border-radius: 10px;

    color: #b91c1c;
    font-size: 14px;
    line-height: 1.8;
}

.alert-danger ul {
    margin: 0;
    padding-right: 20px;
}

.alert-danger li {
    margin-bottom: 4px;
}

.alert-danger li:last-child {
    margin-bottom: 0;
}

.success-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);

    z-index: 9999;

    animation: modalFadeIn 0.25s ease;
}

.success-modal-content {
    position: relative;

    width: 90%;
    max-width: 420px;

    padding: 35px 30px;

    background: #ffffff;
    border-radius: 18px;

    text-align: center;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);

    animation: modalScaleIn 0.25s ease;
}

.success-modal-close {
    position: absolute;
    top: 12px;
    left: 15px;

    width: 32px;
    height: 32px;

    border: none;
    background: transparent;

    font-size: 28px;
    color: #777;

    cursor: pointer;
}

.success-modal-close:hover {
    color: #222;
}

.success-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #10b981;
    color: white;

    border-radius: 50%;

    font-size: 32px;
    font-weight: bold;
}

.success-modal-content h3 {
    margin: 0 0 10px;

    color: #222;
    font-size: 22px;
}

.success-modal-content p {
    margin: 0 0 25px;

    color: #666;
    font-size: 15px;
}

.success-modal-button {
    width: 100%;

    padding: 12px 20px;

    border: none;
    border-radius: 10px;

    background: #10b981;
    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.success-modal-button:hover {
    background: #059669;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
.request-modal {
    position: relative;
    width: 80%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 20px;
    padding: 22px;
    box-sizing: border-box;

    transform: translateY(30px) scale(0.97);
    transition: 0.3s ease;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0 0 6px;
    font-size: 21px;
}

.modal-header p {
    font-size: 12px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    margin-bottom: 5px;
    font-size: 13px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.form-group textarea {
    min-height: 80px;
    height: 80px;
}

.modal-submit {
    padding: 11px;
    border-radius: 10px;
    font-size: 14px;
}
