/* ===== CSS VARIABLES ===== */
:root {
    --primary-orange: #FF6B35;
    --light-orange: #FF8C42;
    --dark-orange: #E55A2B;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --dark-text: #1A1A2E;
    --gray-text: #6C757D;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 50px rgba(255, 107, 53, 0.15);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--pure-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
}

.orange-dot {
    color: var(--primary-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-text);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.btn-nav {
    background: var(--primary-orange);
    color: var(--pure-white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--dark-text);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--off-white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.orange-text {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 20px;
    min-height: 40px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--pure-white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-text);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-3px);
}

.experience-badge {
    background: var(--primary-orange);
    color: var(--pure-white);
    padding: 20px 30px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: var(--shadow-hover);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.exp-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.orange-shape {
    position: absolute;
    top: -1px;
    right: -2px;
    width: 404px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    border-radius: 50%;
    z-index: 1;
}

.profile-img {
    position: relative;
    width: 400px;
    height: 399px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    border: 8px solid var(--pure-white);
    box-shadow: var(--shadow);
    object-position: top; 
}

/* ===== SKILLS SECTION ===== */
.skills {
    padding: 100px 0;
    background: var(--pure-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 60px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--off-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.skill-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--pure-white);
}

.skill-icon.php { background: linear-gradient(135deg, #777BB4, #8892C9); }
.skill-icon.wordpress { background: linear-gradient(135deg, #21759B, #3FA9F5); }
.skill-icon.javascript { background: linear-gradient(135deg, #F7DF1E, #FFD700); }
.skill-icon.html { background: linear-gradient(135deg, #E34F26, #FF6B35); }
.skill-icon.ai { background: linear-gradient(135deg, var(--primary-orange), var(--light-orange)); }
.skill-icon.python { background: linear-gradient(135deg, #3776AB, #4B8BBE); }

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.skill-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 100px 0;
    background: var(--off-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view {
    background: var(--pure-white);
    color: var(--primary-orange);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--dark-text);
    color: var(--pure-white);
}

.project-info {
    padding: 25px;
    position: relative;
}

.project-number {
    position: absolute;
    top: -15px;
    right: 25px;
    background: var(--primary-orange);
    color: var(--pure-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tags span {
    background: var(--off-white);
    color: var(--primary-orange);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.projects-cta {
    text-align: center;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--pure-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
}

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

.about-img-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.orange-shape-small {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

.about-img-container img {
    position: relative;
    width: 100%;
    border-radius: 20px;
    z-index: 2;
    box-shadow: var(--shadow);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.3rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray-text);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-link:hover {
    background: var(--primary-orange);
    color: var(--pure-white);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-text);
    color: var(--pure-white);
    padding: 30px 0;
}

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

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-container,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

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

    .hero-image {
        order: -1;
    }

    .image-container {
        width: 300px;
        height: 300px;
    }

    /* .profile-img {
        width: 260px;
        height: 260px;
    } */

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

    .about-stats {
        justify-content: center;
    }
      .orange-shape {
    position: absolute;
    top: 3px;
    right: -6px;
    width: 304px;
    height: 302px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    border-radius: 50%;
    z-index: 1;
}
.profile-img {
    position: relative;
    width: 300px;
    height: 299px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    border: 8px solid var(--pure-white);
    box-shadow: var(--shadow);
    object-position: top;
}
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--pure-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .orange-shape {
    position: absolute;
    top: 3px;
    right: -6px;
    width: 304px;
    height: 302px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    border-radius: 50%;
    z-index: 1;
}

}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.skill-card,
.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

.skill-card:nth-child(2) { animation-delay: 0.1s; }
.skill-card:nth-child(3) { animation-delay: 0.2s; }
.skill-card:nth-child(4) { animation-delay: 0.3s; }
.skill-card:nth-child(5) { animation-delay: 0.4s; }
.skill-card:nth-child(6) { animation-delay: 0.5s; }

.project-card:nth-child(2) { animation-delay: 0.1s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.3s; }