:root {
    --bg-color: #0f172a;
    --second-bg-color: #111827;
    --card-color: #1e293b;
    --text-color: #f8fafc;
    --muted-color: #cbd5e1;
    --main-color: #38bdf8;
    --light-color: #e0f2fe;
    --shadow: rgba(56, 189, 248, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

section {
    padding: 10rem 9% 2rem;
    min-height: 100vh;
}

.heading {
    text-align: center;
    font-size: clamp(3rem, 3vw, 4.5rem);
    margin-bottom: 5rem;
}

.heading span {
    color: var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.6rem;
    background: var(--main-color);
    border-radius: 4rem;
    color: var(--bg-color);
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 0 1.2rem var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
    margin-left: 1rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 9%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-color);
}

.logo span {
    color: var(--main-color);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.navbar a {
    font-size: 1.6rem;
    color: var(--text-color);
    transition: 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

.menu-toggle {
    display: none;
    font-size: 2.8rem;
    background: none;
    color: var(--text-color);
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    background: linear-gradient(135deg, var(--bg-color), var(--second-bg-color));
}

.hero-image {
    flex: 0 0 30rem;
}

.hero-image img {
    width: 30rem;
    height: 30rem;
    object-fit: cover;
    border-radius: 50%;
    border: 0.5rem solid var(--main-color);
    box-shadow: 0 0 2rem var(--shadow);
}

.hero-content {
    flex: 1;
}

.hero-content h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.7rem;
    color: var(--muted-color);
    max-width: 60rem;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about,
.help,
.contact {
    background: var(--bg-color);
}

.about-grid,
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.about-card,
.help-card {
    background: var(--card-color);
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.about-card:hover,
.help-card:hover {
    transform: translateY(-0.8rem);
}

.about-card i,
.help-card i {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.about-card h3,
.help-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-card p,
.help-card p {
    font-size: 1.5rem;
    color: var(--muted-color);
}

.about-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
}

.summary-box {
    background: var(--card-color);
    border-radius: 1.6rem;
    padding: 2.5rem 2rem;
    text-align: center;
}

.summary-box strong {
    display: block;
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}

.summary-box span {
    font-size: 1.5rem;
    color: var(--muted-color);
}

.projects {
    background: var(--second-bg-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-color);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-1rem);
}

.project-card img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
}

.project-info {
    padding: 2.5rem;
}

.project-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--muted-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-info a {
    color: var(--main-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.faq {
    max-width: 90rem;
    margin: 0 auto;
}

.faq h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    background: var(--card-color);
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    font-size: 1.9rem;
    margin-bottom: 0.7rem;
    color: var(--light-color);
}

.faq-item p {
    font-size: 1.5rem;
    color: var(--muted-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-color);
    padding: 2rem;
    border-radius: 1.5rem;
}

.contact-item i {
    font-size: 2.2rem;
    color: var(--main-color);
}

.contact-item h4 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--muted-color);
    font-size: 1.5rem;
}

.contact-form {
    background: var(--card-color);
    padding: 2.5rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.03);
    color: var(--text-color);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 1.6rem;
}

.contact-form textarea {
    min-height: 15rem;
    resize: vertical;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 9%;
    background: #020817;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer p {
    font-size: 1.5rem;
    color: var(--muted-color);
}

.socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.socials a {
    font-size: 2.2rem;
    color: var(--text-color);
    transition: 0.3s ease;
}

.socials a:hover {
    color: var(--main-color);
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    section,
    .header,
    .footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--bg-color);
        padding: 2rem 5%;
        border-top: 1px solid rgba(255,255,255,0.1);
        transition: 0.3s ease;
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        display: block;
        margin: 1rem 0;
    }

    .hero {
        padding-top: 12rem;
    }

    .about-card,
    .help-card,
    .contact-form,
    .contact-item {
        padding: 2rem 1.5rem;
    }
}
