﻿:root {
    --turkmen-blue: #00a6d6;
    --turkmen-dark: #004b70;
    --turkmen-deep: #012e49;
    --turkmen-glow: rgba(0, 166, 214, 0.12);
    --neutral-50: #f8fafc;
    --neutral-200: #e2e8f0;
    --neutral-400: #94a3b8;
    --neutral-600: #475569;
    --neutral-900: #0f172a;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    color: var(--neutral-900);
    background: radial-gradient(circle at top left, rgba(0, 166, 214, 0.15), transparent 55%), #f3f6f9;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 18px;
}

.site-header {
    background: linear-gradient(135deg, var(--turkmen-dark), var(--turkmen-blue));
    color: #fff;
    border-bottom-left-radius: 56px;
    border-bottom-right-radius: 56px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(0, 45, 68, 0.28);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem clamp(1.5rem, 5vw, 4rem);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(1, 46, 73, 0.85);
    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-mark {
    display: inline-flex;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.logo-text {
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    font-weight: 500;
}

.nav-links a {
    color: #fff;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
    max-width: 36ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.btn-primary {
    background: #fff;
    color: var(--turkmen-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1rem 1.4rem;
    min-width: 140px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-media {
    display: grid;
    gap: 1.4rem;
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-image.primary {
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

.hero-image.secondary {
    max-width: 70%;
    justify-self: end;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.section {
    padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}

.section-heading {
    margin-bottom: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--turkmen-dark);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: var(--neutral-600);
    max-width: 50ch;
    margin: 0 auto;
}

.about-grid,
.vision-grid,
.skills-grid,
.achievements-grid,
.gallery-grid,
.contact-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2.2rem);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 166, 214, 0.08);
}

.about-card.highlight {
    background: linear-gradient(135deg, rgba(0, 166, 214, 0.1), rgba(0, 166, 214, 0.02));
    border: 1px solid rgba(0, 166, 214, 0.2);
}

.personal-info {
    list-style: none;
    margin-top: 1.4rem;
    display: grid;
    gap: 0.6rem;
}

.personal-info a {
    color: var(--turkmen-dark);
    font-weight: 600;
}

.vision-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vision-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem;
    border: 1px solid rgba(0, 166, 214, 0.1);
    box-shadow: 0 14px 30px rgba(1, 46, 73, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(1, 46, 73, 0.12);
}

.vision-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.vision-points div {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.vision-points i {
    color: var(--turkmen-dark);
    font-size: 1.2rem;
}

.timeline {
    border-right: 3px solid var(--turkmen-blue);
    padding-right: 1.8rem;
    display: grid;
    gap: 1.8rem;
}

.timeline-item {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 166, 214, 0.12);
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -2.45rem;
    top: 1.6rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--turkmen-blue);
}

.timeline-date {
    font-weight: 600;
    color: var(--turkmen-dark);
}

.timeline-item h3 {
    margin: 0.6rem 0;
    font-size: 1.2rem;
}

.education {
    background: var(--turkmen-glow);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.education-card {
    background: #fff;
    padding: 1.6rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 166, 214, 0.18);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.education-date {
    display: inline-flex;
    padding: 0.35rem 1rem;
    background: rgba(0, 166, 214, 0.12);
    border-radius: 999px;
    color: var(--turkmen-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.training-list {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.training-list ul {
    list-style: disc inside;
    color: var(--neutral-600);
    display: grid;
    gap: 0.5rem;
    line-height: 1.8;
}

.skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.skill-card {
    background: #fff;
    border-radius: 22px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 10px 26px rgba(1, 46, 73, 0.12);
    border: 1px solid rgba(0, 166, 214, 0.14);
}

.skill-card i {
    font-size: 1.8rem;
    color: var(--turkmen-dark);
    margin-bottom: 0.8rem;
}

.volunteering-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.volunteering-list li {
    background: #fff;
    padding: 1.4rem 1.6rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 166, 214, 0.12);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.achievements-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.achievements-list li {
    background: #fff;
    padding: 1.4rem 1.6rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 166, 214, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: var(--neutral-600);
    line-height: 1.8;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid img {
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: flex-start;
}

.contact-card {
    background: #fff;
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 166, 214, 0.12);
}

.contact-card ul {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--neutral-600);
}

.contact-card i {
    color: var(--turkmen-dark);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 166, 214, 0.12);
    color: var(--turkmen-dark);
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--turkmen-blue);
    color: #fff;
}

.social-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--neutral-400);
}

.contact-form {
    background: #fff;
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 166, 214, 0.12);
    display: grid;
    gap: 1.2rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: var(--neutral-600);
}

input,
textarea {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 166, 214, 0.18);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--turkmen-blue);
    box-shadow: 0 0 0 4px rgba(0, 166, 214, 0.12);
}

textarea {
    resize: vertical;
}

.site-footer {
    background: var(--turkmen-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.8rem clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}

.site-footer p + p {
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .timeline {
        border-right: none;
        padding-right: 0;
    }

    .timeline-item::before {
        display: none;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        inset-inline-start: 0;
        inset-block-start: 100%;
        width: 100%;
        background: rgba(1, 46, 73, 0.95);
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links a {
        display: block;
        padding: 1rem clamp(1.5rem, 6vw, 3rem);
    }

    .nav-links.open {
        max-height: 24rem;
    }
}

@media (max-width: 540px) {
    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat {
        flex: 1;
    }
}

