﻿@font-face {
    font-family: "Vazirmatn";
    src: local("Vazirmatn"), local("Tahoma");
}

:root {
    --primary: #075e54;
    --primary-dark: #03473f;
    --secondary: #d7a928;
    --secondary-light: #f6df8d;
    --background: #f4f8f7;
    --surface: #ffffff;
    --text: #172523;
    --muted: #687875;
    --border: #dce7e4;
    --shadow: 0 20px 50px rgba(7, 94, 84, 0.10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.9;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(7, 94, 84, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-logo-placeholder {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border: 2px dashed rgba(7, 94, 84, 0.55);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 11px;
    background: #f8fffd;
}

.brand-title {
    color: var(--primary);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.5;
}

.brand-subtitle {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .main-nav a {
        color: #3d4d4a;
        font-size: 14px;
        font-weight: 700;
        transition: 0.25s;
    }

        .main-nav a:hover {
            color: var(--primary);
        }

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 21px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(7, 94, 84, 0.17);
    transition: 0.25s;
}

    .header-button:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

/* Hero */

.hero {
    position: relative;
    min-height: 760px;
    padding: 165px 0 95px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(215, 169, 40, 0.17), transparent 28%), radial-gradient(circle at 88% 25%, rgba(7, 94, 84, 0.13), transparent 33%), linear-gradient(145deg, #f6fbfa 0%, #edf7f4 100%);
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        left: -260px;
        bottom: -250px;
        border: 70px solid rgba(7, 94, 84, 0.05);
        border-radius: 50%;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -80px;
        top: 140px;
        border: 42px solid rgba(215, 169, 40, 0.08);
        border-radius: 50%;
    }

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    margin-bottom: 20px;
    border-radius: 100px;
    background: rgba(7, 94, 84, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

    .eyebrow::before {
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--secondary);
        box-shadow: 0 0 0 5px rgba(215, 169, 40, 0.15);
    }

.hero h1 {
    margin-bottom: 22px;
    color: var(--primary-dark);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 950;
    line-height: 1.35;
}

    .hero h1 span {
        position: relative;
        color: var(--secondary);
        white-space: nowrap;
    }

        .hero h1 span::after {
            content: "";
            position: absolute;
            right: 2px;
            left: 2px;
            bottom: 2px;
            height: 8px;
            border-radius: 50px;
            background: rgba(215, 169, 40, 0.23);
            z-index: -1;
        }

.hero-description {
    max-width: 650px;
    margin-bottom: 32px;
    color: #536561;
    font-size: 17px;
    line-height: 2.05;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.button {
    min-height: 53px;
    padding: 0 25px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 900;
    transition: 0.25s;
}

.button-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 13px 30px rgba(7, 94, 84, 0.20);
}

    .button-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
    }

.button-outline {
    border: 1px solid rgba(7, 94, 84, 0.2);
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
}

    .button-outline:hover {
        border-color: var(--primary);
        background: white;
        transform: translateY(-3px);
    }

.hero-stats {
    margin-top: 46px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.hero-stat strong {
    display: block;
    color: var(--primary);
    font-size: 24px;
    font-weight: 950;
    line-height: 1.3;
}

.hero-stat span {
    color: var(--muted);
    font-size: 12px;
}

/* Hero visual */

.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-back {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), #0d8173);
    box-shadow: 0 35px 80px rgba(7, 94, 84, 0.22);
}

    .visual-back::before,
    .visual-back::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.22);
    }

    .visual-back::before {
        inset: 35px;
    }

    .visual-back::after {
        inset: 75px;
    }

.hero-logo-card {
    position: relative;
    z-index: 3;
    width: 300px;
    min-height: 325px;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 70px rgba(1, 55, 48, 0.20);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-logo-placeholder {
    width: 170px;
    height: 170px;
    margin-bottom: 22px;
    border: 3px dashed rgba(7, 94, 84, 0.48);
    border-radius: 25px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #f7fffd;
    font-size: 15px;
    font-weight: 800;
}

.hero-logo-card strong {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 950;
}

.hero-logo-card span {
    color: var(--muted);
    font-size: 13px;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 15px 35px rgba(2, 70, 62, 0.13);
    backdrop-filter: blur(12px);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

    .floating-card .icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        display: grid;
        place-items: center;
        background: rgba(215, 169, 40, 0.16);
        color: #a47a08;
        font-size: 19px;
    }

.floating-one {
    top: 33px;
    right: -10px;
}

.floating-two {
    bottom: 40px;
    left: -15px;
}

/* General sections */

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 730px;
    margin: 0 auto 52px;
    text-align: center;
}

    .section-heading .small-title {
        display: inline-block;
        margin-bottom: 10px;
        color: var(--secondary);
        font-size: 13px;
        font-weight: 900;
    }

    .section-heading h2 {
        margin-bottom: 13px;
        color: var(--primary-dark);
        font-size: clamp(27px, 4vw, 40px);
        font-weight: 950;
        line-height: 1.55;
    }

    .section-heading p {
        color: var(--muted);
        font-size: 15px;
    }

/* Websites */

.websites {
    background: var(--surface);
}

.website-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.website-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 23px;
    background: white;
    overflow: hidden;
    transition: 0.3s;
}

    .website-card::after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        left: -65px;
        top: -65px;
        border-radius: 50%;
        background: rgba(215, 169, 40, 0.09);
        transition: 0.3s;
    }

    .website-card:hover {
        transform: translateY(-8px);
        border-color: rgba(7, 94, 84, 0.25);
        box-shadow: var(--shadow);
    }

        .website-card:hover::after {
            transform: scale(1.5);
        }

.website-top {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 23px;
}

.website-logo-placeholder {
    width: 79px;
    height: 79px;
    flex-shrink: 0;
    border: 2px dashed rgba(7, 94, 84, 0.46);
    border-radius: 17px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--primary);
    background: #f8fffd;
    font-size: 11px;
    line-height: 1.6;
}

.website-type {
    margin-bottom: 3px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 900;
}

.website-card h3 {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.6;
}

.website-card p {
    min-height: 82px;
    margin-bottom: 21px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.95;
}

.website-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    background: #f1f8f6;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    transition: 0.25s;
}

    .website-link:hover {
        background: var(--primary);
        color: white;
    }

    .website-link .arrow {
        font-size: 20px;
        transition: 0.25s;
    }

    .website-link:hover .arrow {
        transform: translateX(-4px);
    }

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.about-box {
    position: relative;
    min-height: 430px;
    border-radius: 30px;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    box-shadow: 0 30px 65px rgba(7, 94, 84, 0.18);
    overflow: hidden;
    display: grid;
    place-items: center;
}

    .about-box::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        top: -140px;
        right: -120px;
        border: 55px solid rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .about-box::after {
        content: "";
        position: absolute;
        width: 250px;
        height: 250px;
        bottom: -130px;
        left: -100px;
        border: 45px solid rgba(215, 169, 40, 0.10);
        border-radius: 50%;
    }

.about-logo-placeholder {
    position: relative;
    z-index: 2;
    width: 225px;
    height: 225px;
    border: 3px dashed rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    display: grid;
    place-items: center;
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
}

.about-content .small-title {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 900;
}

.about-content h2 {
    margin: 8px 0 19px;
    color: var(--primary-dark);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 950;
    line-height: 1.5;
}

.about-content > p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 15px;
}

.about-list {
    display: grid;
    gap: 14px;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
}

.about-check {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(7, 94, 84, 0.1);
    color: var(--primary);
    font-weight: 950;
}

.about-item strong {
    display: block;
    margin-bottom: 2px;
    color: var(--primary-dark);
    font-size: 14px;
}

.about-item span {
    color: var(--muted);
    font-size: 12px;
}

/* Contact banner */

.contact-banner {
    padding: 0 0 95px;
}

.contact-inner {
    position: relative;
    padding: 45px;
    border-radius: 28px;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.08), transparent), var(--primary);
    box-shadow: 0 25px 60px rgba(7, 94, 84, 0.19);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

    .contact-inner::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        left: -90px;
        top: -130px;
        border: 45px solid rgba(255, 255, 255, 0.06);
        border-radius: 50%;
    }

.contact-content {
    position: relative;
    z-index: 2;
}

    .contact-content h2 {
        margin-bottom: 8px;
        font-size: 27px;
        font-weight: 950;
    }

    .contact-content p {
        color: rgba(255, 255, 255, 0.78);
        font-size: 14px;
    }

.contact-button {
    position: relative;
    z-index: 2;
    min-width: 165px;
    min-height: 51px;
    padding: 0 20px;
    border-radius: 13px;
    background: var(--secondary);
    color: #433308;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 950;
    transition: 0.25s;
}

    .contact-button:hover {
        background: #f0c74e;
        transform: translateY(-3px);
    }

/* Footer */

.site-footer {
    padding: 60px 0 25px;
    background: #063f38;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 55px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.footer-logo-placeholder {
    width: 68px;
    height: 68px;
    border: 2px dashed rgba(255, 255, 255, 0.45);
    border-radius: 15px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
}

.footer-brand strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.63);
    font-size: 12px;
}

.footer-about {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.footer-column h3 {
    margin-bottom: 17px;
    color: var(--secondary-light);
    font-size: 15px;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 10px;
}

    .footer-links a,
    .footer-links span {
        color: rgba(255, 255, 255, 0.67);
        font-size: 13px;
        transition: 0.2s;
    }

        .footer-links a:hover {
            color: white;
            padding-right: 4px;
        }

.footer-bottom {
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

/* Responsive */

@media (max-width: 1000px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 135px;
    }

    .hero-content {
        text-align: center;
    }

    .eyebrow {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 500px;
    }

    .website-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }

    .about-box {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 26px, 1180px);
    }

    .site-header {
        position: absolute;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-logo-placeholder {
        width: 48px;
        height: 48px;
    }

    .brand-title {
        font-size: 15px;
    }

    .brand-subtitle {
        font-size: 10px;
    }

    .header-button {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 65px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 14px;
    }

    .button {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat {
        min-width: 90px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .visual-back {
        width: 300px;
        height: 300px;
    }

    .hero-logo-card {
        width: 240px;
        min-height: 280px;
        padding: 22px;
    }

    .hero-logo-placeholder {
        width: 135px;
        height: 135px;
    }

    .floating-card {
        padding: 9px 11px;
        font-size: 10px;
    }

    .floating-one {
        right: 0;
    }

    .floating-two {
        left: 0;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

        .section-heading h2 {
            font-size: 27px;
        }

    .website-grid {
        grid-template-columns: 1fr;
    }

    .website-card p {
        min-height: auto;
    }

    .about-box {
        min-height: 340px;
    }

    .about-logo-placeholder {
        width: 180px;
        height: 180px;
    }

    .contact-banner {
        padding-bottom: 70px;
    }

    .contact-inner {
        padding: 33px 24px;
        text-align: center;
        flex-direction: column;
    }

    .contact-content h2 {
        font-size: 23px;
    }

    .contact-button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-main {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
