* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 70px;
    background: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #38bdf8;
}

/* HERO */
.portfolio-hero {
    min-height: 75vh;
    background: linear-gradient(135deg, #0f172a, #111827, #1e293b);
    display: flex;
    align-items: center;
    padding: 0 70px;
}

.hero-content {
    max-width: 750px;
}

.section-tag {
    color: #38bdf8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 650px;
}

/* INTRO */
.portfolio-intro {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 100px 70px;
    background: #ffffff;
}

.intro-left,
.intro-right {
    flex: 1;
}

.intro-left h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #0f172a;
}

.intro-right p {
    font-size: 18px;
    color: #475569;
    margin-top: 40px;
}

/* FEATURED PROJECTS */
.featured-projects {
    padding: 20px 70px 100px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.project-card.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    min-height: 400px;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.project-info {
    flex: 1;
    padding: 40px;
}

.project-type {
    color: #0ea5e9;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 34px;
    margin-bottom: 16px;
    color: #0f172a;
}

.project-info p {
    color: #475569;
    font-size: 17px;
    margin-bottom: 22px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.project-tags span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.project-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s ease;
}

.project-btn:hover {
    transform: translateY(-2px);
}

/* GRID SECTION */
.portfolio-grid-section {
    padding: 100px 70px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.center {
    text-align: center;
}

.center-title {
    text-align: center;
    font-size: 42px;
    color: #0f172a;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    transition: 0.35s ease;
    border: 1px solid #e2e8f0;
}

.grid-card:hover {
    transform: translateY(-8px);
}

.grid-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.grid-content {
    padding: 28px;
}

.grid-content h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 12px;
}

.grid-content p {
    color: #475569;
    font-size: 16px;
    margin-bottom: 18px;
}

.small-btn {
    display: inline-block;
    padding: 11px 22px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

/* VALUE SECTION */
.portfolio-value {
    display: flex;
    gap: 50px;
    padding: 100px 70px;
    background: #ffffff;
}

.value-left,
.value-right {
    flex: 1;
}

.value-left h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #0f172a;
}

.value-left p {
    font-size: 18px;
    color: #475569;
    max-width: 520px;
}

.value-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.value-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
}

.value-box p {
    font-size: 15px;
    color: #475569;
}

/* CTA */
.portfolio-cta {
    padding: 100px 70px;
    background: #f8fafc;
}

.cta-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    text-align: center;
    padding: 70px 30px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 18px;
}

.cta-box p {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #cbd5e1;
    font-size: 18px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 34px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-value {
        flex-direction: column;
    }

    .value-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card,
    .project-card.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px 30px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .portfolio-hero,
    .portfolio-intro,
    .featured-projects,
    .portfolio-grid-section,
    .portfolio-value,
    .portfolio-cta {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .intro-left h2,
    .center-title,
    .value-left h2,
    .cta-box h2 {
        font-size: 32px;
    }

    .portfolio-intro,
    .portfolio-value {
        flex-direction: column;
    }

    .portfolio-grid,
    .value-right {
        grid-template-columns: 1fr;
    }

    .project-info {
        padding: 28px;
    }

    .project-info h3 {
        font-size: 28px;
    }
}