/* =========================
   GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1120;
    color: #f8fafc;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.section {
    padding: 100px 8%;
}


/* =========================
   NAVBAR
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.95);
    border-bottom: 1px solid #1e293b;
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1200px;
    margin: auto;

    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo span,
.footer-logo span {
    color: #22c55e;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #22c55e;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 90vh;
    max-width: 1200px;
    margin: auto;

    padding: 80px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    max-width: 650px;
}

.small-title {
    color: #22c55e;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #22c55e;
}

.hero-text {
    color: #94a3b8;
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background: #22c55e;
    color: #04110a;
}

.primary-btn:hover {
    background: #16a34a;
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid #334155;
    color: white;
}

.secondary-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
}


/* =========================
   PROFILE PHOTO
========================= */

.profile-container {
    text-align: center;
    margin-top: 20px;
}

.profile-circle {
    width: 296px;
    height: 296px;

    border-radius: 50%;

    padding: 8px;

    background: linear-gradient(
        135deg,
        #22c55e,
        #0ea5e9
    );

    box-shadow:
        0 0 50px rgba(34, 197, 94, 0.2);
}

.profile-placeholder {
    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: #1e293b;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #94a3b8;
}

.profile-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.upload-btn {
    display: inline-block;

    margin-top: 20px;

    padding: 10px 18px;

    border: 1px solid #334155;

    border-radius: 6px;

    color: #cbd5e1;

    cursor: pointer;

    font-size: 14px;

    transition: 0.3s;
}

.upload-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
}


/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-heading > p:first-child {
    color: #22c55e;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 40px;
    margin-bottom: 15px;
}


/* =========================
   ABOUT
========================= */

.about {
    background: #111827;
}

.about-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-text p {
    color: #94a3b8;
    font-size: 17px;
    margin-bottom: 20px;
}

.about-text strong {
    color: white;
}

.skills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.skills span {
    padding: 8px 15px;
    border-radius: 20px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
    font-size: 14px;
}


/* =========================
   SERVICES
========================= */

.services {
    background: #0f172a;
}

.service-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    background: #111c31;

    border: 1px solid #263449;

    padding: 35px 30px;

    border-radius: 14px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #22c55e;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.service-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: #94a3b8;
}


/* =========================
   PROJECTS
========================= */

.projects {
    background: #111827;
}

.project-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    background: #0f172a;

    border: 1px solid #263449;

    border-radius: 14px;

    overflow: hidden;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #22c55e;
}

.project-image {
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #064e3b,
            #0f172a
        );

    color: #22c55e;

    font-size: 22px;
    font-weight: bold;
}

.business-project {
    background:
        linear-gradient(
            135deg,
            #164e63,
            #0f172a
        );
}

.landing-project {
    background:
        linear-gradient(
            135deg,
            #312e81,
            #0f172a
        );
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: #94a3b8;
    margin-bottom: 15px;
}

.project-info span {
    color: #22c55e;
    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: #0f172a;
}

.contact-description {
    color: #94a3b8;
}

.contact-container {
    max-width: 1000px;
    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;
}

.contact-info {
    padding: 30px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.email {
    color: #22c55e;
    font-weight: bold;
    word-break: break-word;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 15px;

    background: #111827;

    border: 1px solid #334155;

    border-radius: 8px;

    color: white;

    outline: none;

    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #22c55e;
}

.contact-form textarea {
    resize: vertical;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #020617;

    text-align: center;

    padding: 40px 20px;

    color: #64748b;
}

.footer-logo {
    color: white;
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        background: #0b1120;

        flex-direction: column;

        text-align: center;

        padding: 25px;

        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: auto;

        padding-top: 80px;
        padding-bottom: 80px;

        flex-direction: column;

        text-align: center;
    }

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

    .profile-circle {
        width: 230px;
        height: 230px;
    }

    .service-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading h2 {
        font-size: 32px;
        
    }
}
/* FIX PROFILE PHOTO LAYOUT */

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-circle {
    width: 296px !important;
    height: 296px !important;
}

.profile-placeholder {
    width: 280px !important;
    height: 280px !important;
}

.profile-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.upload-btn {
    display: inline-block !important;
    margin-top: 20px !important;
}