/* =========================
   1. GLOBAL STYLES
========================= */


:root {
    --orange: #ff7a18;
    --orange-light: #ffb347;
    --dark: #171717;
    --text: #555555;
    --white: #ffffff;
    --light-bg: #fff8f2;
    --border: #eeeeee;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.25;
    margin-bottom: 25px;
}

.section-title span,
.hero-text h1 span {
    color: var(--orange);
}

.section-description {
    color: var(--text);
    margin-bottom: 40px;
}


/* =========================
   2. NAVIGATION
========================= */

.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    white-space: nowrap;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--white) !important;
    padding: 11px 20px;
    border-radius: 6px;
    line-height: 1.2;
}

.contact-link:hover,
.contact-link:active {
    background: #e9680c;
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
}


/* =========================
   3. HERO SECTION
========================= */


.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 179, 71, 0.25),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #fff9f3,
            #fff0df,
            #ffe1c1
        );
    overflow: hidden;
}


.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 65px;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.hero-description {
    color: var(--text);
    max-width: 560px;
    margin-bottom: 30px;
}

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

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 24px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}


.btn-primary {
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--orange),
        #ff9a44
    );
    box-shadow: 0 8px 20px rgba(255, 122, 24, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 122, 24, 0.3);
}


.btn-outline {
    border: 1px solid var(--orange);
    color: var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--white);
}

.hero-socials {
    display: flex;
    gap: 25px;
}

.hero-socials a {
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.hero-socials a:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.profile-image {
    position: relative;
    z-index: 2;
    width: 330px;
    height: 400px;
    object-fit: cover;
    border-radius: 160px 160px 25px 25px;
    border: 8px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 60px rgba(110, 64, 25, 0.15);
}

.image-decoration {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--orange-light),
        var(--orange)
    );
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: -15px;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22b573;
    margin-right: 7px;
}


/* =========================
   4. ABOUT SECTION
========================= */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 40px;
}

.about-content h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    max-width: 400px;
}

.about-content p {
    color: var(--text);
    margin-bottom: 18px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.skills span,
.project-tags span {
    padding: 7px 13px;
    border-radius: 5px;
    background: var(--light-bg);
    color: #bd5a13;
    font-size: 0.8rem;
    font-weight: 600;
}


/* =========================
   5. WORK SECTION
========================= */

.work {
    background: #fafafa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.project-number {
    color: var(--orange);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.project-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
}


/* =========================
   6. SERVICES SECTION
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
}

.service-icon {
    display: inline-block;
    color: var(--orange);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

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

.service-card p,
.service-note {
    color: var(--text);
    font-size: 0.9rem;
}

.service-note {
    margin-top: 25px;
}


/* =========================
   7. BLOG SECTION
========================= */

.blog {
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.blog-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #f5e7db;
}

.blog-category {
    display: inline-block;
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-card p {
    color: var(--text);
    margin-bottom: 20px;
}

.blog-card a {
    color: var(--orange);
    font-weight: 600;
}


/* =========================
   8. CONTACT SECTION
========================= */

.contact {
    text-align: center;
}

.contact-content {
    max-width: 750px;
}

.contact-content > p:not(.eyebrow) {
    color: var(--text);
    margin-bottom: 30px;
}

.contact .section-title {
    margin-bottom: 20px;
}


/* =========================
   9. FOOTER
========================= */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 25px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
}

.footer a {
    color: var(--orange-light);
}


/* =========================
   10. RESPONSIVE DESIGN
========================= */

@media (max-width: 950px) {

    .nav-links {
        gap: 15px;
    }

    .hero-content {
        gap: 35px;
    }

    .profile-image {
        width: 280px;
        height: 350px;
    }

    .image-decoration {
        width: 290px;
        height: 290px;
    }

    .project-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 760px) {

    .section {
        padding: 75px 0;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 25px 5%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

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

    .nav-links a {
        display: block;
    }

    .contact-link {
        text-align: center;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        min-height: 390px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .floating-card {
        left: 0;
    }

}

@media (max-width: 450px) {

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.1rem;
    }

    .profile-image {
        width: 250px;
        height: 320px;
    }

    .image-decoration {
        width: 260px;
        height: 260px;
    }

    .floating-card {
        font-size: 0.7rem;
        padding: 11px;
    }

    .project-card,
    .service-card,
    .blog-card {
        padding: 24px;
    }

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

}


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

.contact-hero {
    padding: 100px 0 90px;
    text-align: center;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 179, 71, 0.25),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #fff9f3,
            #fff0df,
            #ffe1c1
        );
}

.contact-hero-content {
    max-width: 780px;
    margin: 0 auto;
}

.contact-hero h1 {
    margin: 18px 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.15;
    color: var(--dark);
}

.contact-hero h1 span {
    display: block;
    color: var(--orange);
}

.contact-hero p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: var(--text);
    line-height: 1.8;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.contact-info h3,
.contact-form-wrapper h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.5rem;
}

.contact-info > p,
.form-intro {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff0df;
    color: var(--orange);
    font-size: 1.4rem;
}

.contact-method h4 {
    margin: 0 0 6px;
    color: var(--dark);
}

.contact-method p {
    margin: 0 0 7px;
    color: var(--text);
    line-height: 1.7;
}

.contact-method a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
}

.contact-method a:hover {
    color: #e9680c;
}

.contact-note {
    margin-top: 30px;
    padding: 22px;
    border-left: 4px solid var(--orange);
    border-radius: 8px;
    background: var(--light-bg);
}

.contact-note strong {
    color: var(--dark);
}

.contact-note p {
    margin: 8px 0 0;
    color: var(--text);
    line-height: 1.7;
}

.contact-form-wrapper {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 35px rgba(23, 23, 23, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
    color: var(--text);
    font: inherit;
    box-sizing: border-box;
}

.contact-form input:disabled,
.contact-form textarea:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    box-shadow: none;
}

.form-notice {
    margin-top: 16px;
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.7;
}

.contact-cta {
    padding: 75px 0;
    text-align: center;
    background: var(--light-bg);
}

.contact-cta h2 {
    margin: 15px 0;
    color: var(--dark);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-cta p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--text);
    line-height: 1.8;
}

/* CONTACT PAGE RESPONSIVENESS */
@media (max-width: 760px) {
    .contact-hero {
        padding: 75px 0 65px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-cta {
        padding: 60px 0;
    }
}

@media (max-width: 450px) {
    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-method {
        gap: 12px;
    }
}

/* =========================
   WORK SECTION CTA
========================= */

.work-cta {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}



/* =========================
   SERVICES SECTION CTA
========================= */

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

html {
    scroll-behavior: smooth;
}



/* JavaScript project icons */
.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.github-icon {
    color: var(--dark);
}

.weather-icon,
.gemini-icon {
    background: transparent;
}

.section-title .blog-brand {
    color: #171717;
}

.section-title .blog-brand span {
    color: #ff7a18;
}




/* =========================
   BLOG ARTICLE PAGE
========================= */

.article-container {
    max-width: 850px;
    margin: 0 auto;
}

.article-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.article-back:hover {
    opacity: 0.75;
}

.article-content .section-title {
    margin-bottom: 20px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.article-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 30px;
}

.article-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--orange),
        var(--orange-light)
    );
    border-radius: 10px;
    margin: 30px 0;
}

.article-block {
    margin-bottom: 30px;
}

.article-block h2 {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--dark);
}

.article-block p,
.article-signoff p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 16px;
}

.article-signoff {
    border-top: 1px solid #e5e5e5;
    padding-top: 25px;
    margin-top: 35px;
}

.article-bottom {
    margin-top: 35px;
}

@media (max-width: 600px) {
    .article-content .section-title {
        font-size: 1.8rem;
    }

    .article-intro {
        font-size: 1rem;
    }

    .article-block h2 {
        font-size: 1.2rem;
    }

    .article-block p,
    .article-signoff p {
        font-size: 0.95rem;
    }
}

.logo-icon {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: var(--white);
    background-color: rgb(52, 52, 213);
    border-radius: 14px;

    font-size: 1.35rem;
}

span i {
    color: white;
}

.logo-icons {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--orange);
    border-radius: 10px 10px 10px 3px;
    font-size: 19px;
    letter-spacing: 0;
}

.brand-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ff9b46, #f05b16);
  border-radius: 11px;
  font-size: 21px;
  box-shadow: 0 5px 20px #ff7a1820;
}


/* =========================
   DOWNLOAD CV BUTTON
========================= */

.btn-cv {
    background: transparent;
    color: #ff7a18;
    border: 2px solid #ff7a18;
    transition: all 0.3s ease;
}

.btn-cv:hover {
    background: #ff7a18;
    color: #ffffff;
    transform: translateY(-3px);
}