/* ============================
   GLOBAL VARIABLES
============================ */
:root {
    --primary: #1e90ff;          /* آبی آسمانی پررنگ */
    --primary-light: #6472c2;
    --primary-dark: #156fcc;

    --text: #1f2933;
    --muted: #6b7280;

    --bg: #18e8ff;
    --white: #ffffff;
    --border: #b9a0dd;
}

/* ============================
   RESET
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: 12px;
}

/* ============================
   CONTAINER
============================ */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================
   HEADER
============================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 999px;
    transition: 0.2s;
}

.nav a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ============================
   HERO SECTION
============================ */
.hero {
    background: linear-gradient(to bottom right, var(--primary-light), var(--bg));
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-text p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-info {
    display: flex;
    gap: 20px;
    font-size: 15px;
    color: var(--muted);
}

/* ============================
   BUTTONS
============================ */
.btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background: var(--primary-light);
}

/* ============================
   SECTIONS
============================ */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--white);
}

.section h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
    border-left: 6px solid var(--primary);
    padding-left: 12px;
}

/* ============================
   GRID & CARDS
============================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.card h3 {
    margin-top: 12px;
    font-size: 18px;
    color: var(--primary-dark);
}

.card p {
    color: var(--muted);
    font-size: 14px;
}

/* ============================
   ABOUT SECTION
============================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-grid p {
    color: var(--muted);
    font-size: 15px;
}

/* ============================
   CONTACT SECTION
============================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* ============================
   FOOTER
============================ */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 0;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-links a {
    margin-left: 16px;
    text-decoration: none;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--primary-dark);
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

