/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #252525;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================
   VARIABLES
========================================= */

:root {

    --primary: #6c4fd3;
    --primary-dark: #553bb5;
    --secondary: #f59e0b;

    --text: #242424;
    --text-light: #6b7280;

    --heading: #171717;

    --background: #ffffff;
    --background-soft: #f8f8fb;

    --border: #e8e8ee;

    --card: #ffffff;

    --shadow:
        0 10px 35px rgba(30, 30, 60, 0.07);

    --radius: 16px;

    --container: 1180px;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 27px;
    font-weight: 800;

    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}


.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    font-weight: 600;

    color: #555;

    transition: 0.25s ease;
}

.nav a:hover {
    color: var(--primary);
}


.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    font-size: 24px;

    color: var(--text);

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 76px);

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(108, 79, 211, 0.08),
            transparent 35%
        );
}

.hero-container {

    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    align-items: center;

    gap: 70px;

    padding-top: 70px;
    padding-bottom: 70px;
}


.hero-small {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 15px;

    font-weight: 600;

    color: var(--primary);
}


.hero h1 {
    font-size: clamp(60px, 8vw, 100px);

    line-height: 1;

    letter-spacing: -4px;

    color: var(--heading);
}

.hero h1 span {
    color: var(--secondary);
}


.hero h2 {
    margin-top: 18px;

    font-size: clamp(28px, 4vw, 46px);

    line-height: 1.15;

    color: var(--heading);
}


.hero p {
    max-width: 620px;

    margin-top: 22px;

    font-size: 17px;

    color: var(--text-light);
}


.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 30px;
}


.btn {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    padding: 13px 22px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s ease;
}


.btn-primary {
    background: var(--primary);

    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}


.btn-outline {

    border: 1px solid var(--border);

    color: var(--text);

    background: #fff;
}

.btn-outline:hover {

    border-color: var(--primary);

    color: var(--primary);
}


.social-links {

    display: flex;

    gap: 18px;

    margin-top: 30px;
}

.social-links a {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: #777;

    transition: 0.25s ease;
}

.social-links a:hover {

    color: var(--primary);

    border-color: var(--primary);

    transform: translateY(-3px);
}


/* HERO IMAGE */

.hero-image {

    display: flex;

    justify-content: center;
}

.image-wrapper {

    width: min(390px, 100%);

    position: relative;
}

.image-wrapper::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: #f1edff;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: -1;
}

.image-wrapper img {

    width: 100%;

    filter: drop-shadow(
        0 25px 30px rgba(0,0,0,0.12)
    );
}


/* =========================================
   SECTION
========================================= */

.section {

    padding: 110px 0;
}

.about,
.journey {

    background: var(--background-soft);
}


.section-heading {

    margin-bottom: 60px;
}

.section-heading.center {

    text-align: center;
}

.section-heading span {

    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--primary);
}


.section-heading h2 {

    font-size: clamp(32px, 5vw, 46px);

    line-height: 1.2;

    color: var(--heading);
}

.section-heading p {

    max-width: 600px;

    margin: 12px auto 0;

    color: var(--text-light);
}


/* =========================================
   ABOUT
========================================= */

.about-grid {

    display: grid;

    grid-template-columns: 0.7fr 1.3fr;

    align-items: center;

    gap: 80px;
}


.about-image {

    display: flex;

    justify-content: center;
}


.about-image img {

    width: 300px;

    filter:
        drop-shadow(
            0 20px 30px rgba(0,0,0,0.12)
        );
}


.about-content p {

    margin-bottom: 18px;

    color: var(--text-light);

    font-size: 16px;
}


/* =========================================
   SKILLS
========================================= */

.skills {

    margin-top: 35px;
}


.skill {

    margin-bottom: 20px;
}


.skill-header {

    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 600;
}


.skill-header span:last-child {

    color: var(--primary);
}


.skill-bar {

    height: 7px;

    overflow: hidden;

    border-radius: 10px;

    background: #e6e6eb;
}


.skill-bar span {

    display: block;

    height: 100%;

    border-radius: inherit;

    background: var(--primary);
}


/* =========================================
   SERVICES
========================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.service-card {

    padding: 35px 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--card);

    transition: 0.3s ease;
}


.service-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

    border-color:
        rgba(108, 79, 211, 0.25);
}


.service-icon {

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 12px;

    background: #f1edff;

    color: var(--primary);

    font-size: 20px;
}


.service-card h3 {

    font-size: 19px;

    margin-bottom: 12px;

    color: var(--heading);
}


.service-card p {

    font-size: 14px;

    color: var(--text-light);
}


/* =========================================
   JOURNEY
========================================= */

.timeline {

    position: relative;

    max-width: 900px;

    margin: auto;

    padding: 20px 0;
}


.timeline::before {

    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 2px;

    background: #ddd;

    transform: translateX(-50%);
}


.timeline-item {

    position: relative;

    width: 50%;

    padding: 15px 45px;

    margin-bottom: 25px;
}


.timeline-item:nth-child(odd) {

    left: 0;

    text-align: right;
}


.timeline-item:nth-child(even) {

    left: 50%;
}


.timeline-dot {

    position: absolute;

    top: 30px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: var(--primary);

    border: 3px solid #fff;

    box-shadow:
        0 0 0 2px var(--primary);

    z-index: 2;
}


.timeline-item:nth-child(odd)
.timeline-dot {

    right: -7px;
}


.timeline-item:nth-child(even)
.timeline-dot {

    left: -7px;
}


.timeline-content {

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.03);
}


.timeline-year {

    display: inline-block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 700;

    color: var(--primary);
}


.timeline-content h3 {

    margin-bottom: 8px;

    font-size: 19px;

    color: var(--heading);
}


.timeline-content p {

    margin-bottom: 15px;

    font-size: 14px;

    color: var(--text-light);
}


/* =========================================
   TOOLS
========================================= */

.tools {
    background: #fff;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 950px;
    margin: auto;
}

.tool-card {
    position: relative;
    display: flex;
    gap: 25px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: 0.3s ease;
    overflow: hidden;
}

.tool-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f6f3ff;
    right: -50px;
    bottom: -50px;
    z-index: 0;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108,79,211,0.35);
    box-shadow: var(--shadow);
}

.tool-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f1edff;
    color: var(--primary);
    font-size: 21px;
    z-index: 1;
}

.tool-content {
    position: relative;
    z-index: 1;
}

.tool-number {
    font-size: 11px;
    font-weight: 800;
    color: var(--secondary);
}

.tool-content h3 {
    margin: 3px 0 8px;
    font-size: 20px;
    color: var(--heading);
}

.tool-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 14px;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   CONTACT
========================================= */

.contact {

    background: var(--background-soft);
}


.contact-box {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    padding: 60px;

    border-radius: 24px;

    background: #fff;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}


.contact-content > span {

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--primary);
}


.contact-content h2 {

    margin: 10px 0;

    font-size: 38px;

    line-height: 1.2;

    color: var(--heading);
}


.contact-content p {

    color: var(--text-light);
}


.contact-links {

    display: grid;

    gap: 12px;
}


.contact-links a {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px 20px;

    border: 1px solid var(--border);

    border-radius: 12px;

    transition: 0.25s ease;
}


.contact-links a:hover {

    border-color: var(--primary);

    color: var(--primary);
}


.contact-links i {

    font-size: 22px;
}


.contact-links small {

    display: block;

    font-size: 11px;

    color: var(--text-light);
}


.contact-links strong {

    display: block;

    font-size: 14px;
}


/* =========================================
   FOOTER
========================================= */

.footer {

    padding: 35px 0;

    background: #171717;

    color: #fff;
}


.footer-container {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.footer strong {

    font-size: 20px;
}


.footer strong span {

    color: var(--secondary);
}


.footer p {

    font-size: 12px;

    color: #aaa;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero p {

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .social-links {

        justify-content: center;
    }

    .hero-image {

        order: -1;
    }

    .image-wrapper {

        width: 280px;
    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image {

        order: -1;
    }

    .about-content {

        max-width: 800px;

        margin: auto;
    }

    .contact-box {

        grid-template-columns: 1fr;

        gap: 35px;
    }
}


@media (max-width: 768px) {

    .container {

        width: min(
            var(--container),
            calc(100% - 30px)
        );
    }


    .nav {

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 20px 20px;

        background: #fff;

        border-bottom: 1px solid var(--border);

        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }


    .nav.active {

        display: flex;
    }


    .nav a {

        padding: 12px 0;

        border-bottom: 1px solid #f1f1f1;
    }


    .menu-toggle {

        display: block;
    }


    .section {

        padding: 80px 0;
    }


    .services-grid {

        grid-template-columns: 1fr;
    }


    .tools-grid {

        grid-template-columns: 1fr;
    }


    .timeline::before {

        left: 10px;

        transform: none;
    }


    .timeline-item,
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {

        width: 100%;

        left: 0;

        padding-left: 40px;

        padding-right: 0;

        text-align: left;
    }


    .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {

        left: 4px;

        right: auto;
    }


    .contact-box {

        padding: 35px 25px;
    }


    .footer-container {

        flex-direction: column;

        gap: 12px;

        text-align: center;
    }
}


@media (max-width: 500px) {

    .hero h1 {

        font-size: 64px;

        letter-spacing: -3px;
    }


    .hero h2 {

        font-size: 29px;
    }


    .hero-buttons {

        flex-direction: column;
    }


    .btn {

        justify-content: center;
    }


    .tool-card {

        flex-direction: column;

        padding: 25px;
    }


    .contact-content h2 {

        font-size: 30px;
    }
}