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

:root {
    --primary-bg: #EAEAEA;
    --accent: #F8B400;
    --text-dark: #1E1E1E;
    --text-muted: #5A5A5A;
    --white-soft: #FFFFFF;
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
    background-color: var(--primary-bg);
    color: var(--text-dark);
    font-family: var(--body-font);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
}

.section-label {
    font-family: var(--header-font);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-label:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent);
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center .section-label:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title {
    font-family: var(--header-font);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 1rem;
}

.section-title span {
    color: var(--accent);
}

.giant-number {
    position: absolute;
    font-family: var(--header-font);
    font-weight: 900;
    font-size: 14rem;
    color: rgba(0,0,0,0.02);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* ========= HERO SECTION ========= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.hero-content {
    flex: 1.2;
    z-index: 2;
}

.creative-badge {
    background: var(--accent);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.porto-word {
    font-family: var(--header-font);
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.9;
    color: var(--accent);
}

.folio-word {
    font-family: var(--header-font);
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.9;
    color: var(--text-dark);
    margin-left: 0.2em;
}

.hero-icons {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 25px;
    border: none;
    cursor: pointer;
    font-family: var(--body-font);
}

.btn-resume:hover {
    background: #e0a000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.social-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.hero-image-area {
    flex: 0.9;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.orange-accent-block {
    background-color: var(--accent);
    width: 90%;
    height: 85%;
    border-radius: 35px 35px 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    box-shadow: 0 30px 30px -15px rgba(0,0,0,0.1);
}

.hero-img {
    max-width: 100%;
    max-height: 95%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.3s ease;
    display: block;
    margin-bottom: -5px;
}

.hero-img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.best-tag {
    position: absolute;
    left: -20px;
    bottom: 30px;
    background: white;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--header-font);
    text-transform: uppercase;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent);
    line-height: 1.3;
}

.signature-cta {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    z-index: 3;
}

.circle-arrow {
    width: 44px;
    height: 44px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.circle-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(5px);
}

.signature-cta a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.signature-cta a:hover {
    color: var(--accent);
}

/* ========= ABOUT SECTION ========= */
.about-section {
    background: #F9F9F9;
    padding: 5rem 0;
    position: relative;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-image-col {
    flex: 1;
    position: relative;
}

.orange-frame {
    background: var(--accent);
    padding: 1.2rem 1.2rem 0 1.2rem;
    border-radius: 28px;
    display: inline-block;
    width: 85%;
}

.about-img {
    width: 100%;
    filter: grayscale(100%);
    border-radius: 20px;
    border: 5px solid white;
    transition: filter 0.4s;
}

.about-img:hover {
    filter: grayscale(0%);
}

.work-card {
    background: var(--accent);
    padding: 1.3rem;
    border-radius: 20px;
    position: absolute;
    left: -10px;
    bottom: -30px;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 25px rgba(0,0,0,0.05);
}

.qr-sim {
    background: white;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.qr-sim i {
    font-size: 2.5rem;
    color: var(--accent);
}

.work-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.work-card p {
    font-size: 0.75rem;
    color: #fff9e0;
    margin: 0.2rem 0;
}

.about-text-col {
    flex: 1.5;
}

.hello-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 1rem 0 1.2rem;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
}

.hello-large {
    font-family: var(--header-font);
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bio-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-family: var(--header-font);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-block h4 {
    font-family: var(--header-font);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.exp-item, .edu-item {
    margin-bottom: 1.2rem;
}

.exp-item p:first-child, .edu-item p:first-child {
    font-weight: 700;
    color: var(--text-dark);
}

.exp-item .meta, .edu-item .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.skill-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.skill-badge {
    background: #2c2c2c;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
}

.contact-small {
    margin-top: 1rem;
}

.contact-small p {
    font-size: 0.85rem;
    margin: 0.4rem 0;
}

.contact-small i {
    width: 24px;
    color: var(--accent);
}

/* ========= PROJECTS SECTION ========= */
.projects-section {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.project-card.large {
    grid-column: span 2;
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e0e0e0;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-family: var(--header-font);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    background: #f0f0f0;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    text-decoration: none;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: #e0a000;
}

/* ========= SKILLS SECTION ========= */
.skills-section {
    padding: 5rem 0;
    background: #F9F9F9;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-cloud-item {
    background: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: default;
}

.skill-cloud-item:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

/* ========= CERTIFICATES SECTION ========= */
.certificates-section {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.certificate-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.certificate-content {
    padding: 1.2rem;
}

.certificate-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.certificate-badge.coursera { background: #2A73FF; color: white; }
.certificate-badge.ibm { background: #052FAD; color: white; }
.certificate-badge.google { background: #0F9D58; color: white; }
.certificate-badge.aws { background: #FF9900; color: white; }

.certificate-title {
    font-family: var(--header-font);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.certificate-org {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.certificate-date {
    font-size: 0.7rem;
    color: #999;
}

/* ========= CONTACT SECTION - HORIZONTAL ========= */
.contact-section {
    padding: 5rem 0;
    background: #F9F9F9;
}

.contact-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-horizontal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    background: #f8f8f8;
    border-radius: 60px;
    transition: var(--transition);
    flex: 1;
    min-width: 220px;
    justify-content: center;
    cursor: pointer;
}

.contact-horizontal-item:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.contact-horizontal-item:hover i,
.contact-horizontal-item:hover .contact-label,
.contact-horizontal-item:hover a {
    color: white;
}

.contact-horizontal-item i {
    font-size: 1.8rem;
    color: var(--accent);
    transition: var(--transition);
}

.contact-horizontal-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.contact-horizontal-info a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-horizontal-info a:hover {
    color: white;
}

/* ========= FOOTER WITH THREE SECTIONS ========= */
.footer {
    background: #1c1c1c;
    color: #ccc;
    padding: 1.5rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left p {
    font-size: 0.8rem;
    margin: 0;
}

.footer-center {
    display: flex;
    gap: 1.5rem;
}

.footer-center a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-center a:hover {
    color: var(--accent);
}

.footer-right p {
    font-size: 0.8rem;
    margin: 0;
    color: #aaa;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        gap: 3rem;
        padding: 4rem 0;
    }
    .hero-image-area {
        justify-content: center;
        width: 100%;
    }
    .orange-accent-block {
        width: 80%;
        height: auto;
    }
    .signature-cta {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 2rem;
        justify-content: center;
    }
    .about-grid {
        flex-direction: column;
    }
    .work-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 1.5rem;
        width: 100%;
    }
    .giant-number {
        font-size: 8rem;
    }
    .project-card.large {
        grid-column: span 1;
    }
    .contact-horizontal {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-horizontal-item {
        justify-content: flex-start;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

@media (max-width: 680px) {
    .info-two-columns {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .orange-frame {
        width: 100%;
    }
    .hello-large {
        font-size: 2.2rem;
    }
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .contact-horizontal-item {
        padding: 0.8rem 1rem;
    }
    .contact-horizontal-info a {
        font-size: 0.75rem;
    }
}