* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a1f 0%, #1a0a2e 50%, #2d1b4e 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 90px;
}

/* STICKY HEADER - ALWAYS VISIBLE */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 31, 0.98);
    backdrop-filter: blur(15px);
    z-index: 10000;
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.2);
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.main-content {
    padding-top: 40px;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 15px; 
    font-weight: 500;
    z-index: 10003;
    position: relative;
}

.logo-icon {
    width: 45px; 
    height: 45px; 
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
    color: #ffffff; 
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.main-nav { 
    display: flex; 
    gap: 30px; 
    align-items: center;
}

.main-nav a {
    color: #ffffff; 
    text-decoration: none; 
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a855f7;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover { 
    color: #a855f7; 
}

.hire-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
    padding: 12px 28px !important; 
    border-radius: 25px; 
    color: #ffffff !important;
    text-decoration: none; 
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.hire-btn::after {
    display: none !important;
}

.hire-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(168,85,247,0.5);
    color: #ffffff !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10003;
    position: relative;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle:hover .hamburger-line {
    background-color: #a855f7;
}

.hero {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px;
    align-items: center; 
    margin-top: 60px; 
    margin-bottom: 80px;
    padding: 0 20px;
}

.hero-content h1 { 
    font-size: clamp(36px, 6vw, 58px); 
    font-weight: 800; 
    margin-bottom: 25px; 
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-content h2 { 
    font-size: clamp(20px, 3.5vw, 28px); 
    font-weight: 400; 
    margin-bottom: 25px; 
    color: #d1d5db; 
}

.hero-content p { 
    font-size: clamp(16px, 2.2vw, 18px); 
    line-height: 1.8; 
    color: #e5e7eb; 
    margin-bottom: 35px; 
}

.hero-actions { 
    display: flex; 
    align-items: center; 
    gap: 25px;
    flex-wrap: wrap;
}

.download-btn {
    background: transparent; 
    border: 2px solid #a855f7; 
    padding: 14px 35px;
    border-radius: 30px; 
    color: #ffffff; 
    text-decoration: none;
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    transition: all 0.3s ease;
    font-size: 16px;
}

.download-btn:hover {
    background: #a855f7; 
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168,85,247,0.5);
}

.social-links { 
    display: flex; 
    gap: 15px; 
}

.social-links a {
    width: 45px; 
    height: 45px; 
    border: 2px solid #4b5563; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #9ca3af; 
    text-decoration: none; 
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
}

.social-links a:hover {
    border-color: #a855f7; 
    color: #a855f7; 
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(168,85,247,0.3);
}

.hero-image { 
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.image-frame {
    position: relative; 
    border: 3px solid #a855f7;
    border-radius: 40px; 
    padding: 20px;
    background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(139,92,246,0.15));
    transform: rotate(3deg); 
    box-shadow: 0 25px 70px rgba(168,85,247,0.4);
    max-width: 100%;
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg);
}

.image-frame img { 
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover; 
    border-radius: 30px; 
    display: block; 
}

.stats { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 40px; 
    margin-bottom: 80px;
    padding: 0 20px;
}

.stat-item { 
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: clamp(52px, 10vw, 80px); 
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    line-height: 1; 
    margin-bottom: 15px;
}

.stat-label { 
    font-size: clamp(15px, 2.2vw, 18px); 
    color: #d1d5db; 
    font-weight: 400; 
}

.cta-section { 
    text-align: center; 
    margin-top: 60px;
    margin-bottom: 80px;
    padding: 0 20px;
}

.get-started-btn {
    background: transparent; 
    border: 2px solid #a855f7;
    padding: 16px 50px; 
    border-radius: 35px; 
    color: #ffffff;
    text-decoration: none; 
    font-size: clamp(17px, 2.8vw, 22px); 
    font-weight: 600;
    display: inline-block; 
    transition: all 0.3s ease;
}

.get-started-btn:hover {
    background: #a855f7; 
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(168,85,247,0.6);
}

.services-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.section-title {
    font-size: clamp(32px, 6vw, 42px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
}

.section-description {
    font-size: clamp(17px, 2.8vw, 20px);
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
    color: #ccc;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    padding: 0 20px;
}

.service-item {
    background-color: #1a1a1a;
    padding: 35px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    background-color: #8b5cf6;
    border-color: #a855f7;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(168,85,247,0.3);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-number {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: bold;
}

.service-title {
    font-size: clamp(20px, 3.5vw, 26px);
    font-weight: bold;
    color: #fff;
    transition: color 0.3s ease;
}

.service-item:hover .service-title {
    color: #000;
}

.service-description {
    font-size: clamp(15px, 2.2vw, 17px);
    line-height: 1.7;
    color: #ccc;
    transition: color 0.3s ease;
}

.service-item:hover .service-description {
    color: #000;
}

.recent-works-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 20px;
}

.tab-link {
    font-size: clamp(17px, 2.8vw, 20px);
    font-weight: bold;
    color: #ccc;
    text-decoration: none;
    padding: 12px 25px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.tab-link.active,
.tab-link:hover {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.works-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.work-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(168,85,247,0.3);
    border-color: #a855f7;
}

.work-image img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
}

.work-info {
    padding: 30px;
}

.work-title {
    font-size: clamp(20px, 3.5vw, 26px);
    font-weight: bold;
    margin-bottom: 15px;
}

.work-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail {
    background-color: #8b5cf6;
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 600;
}

.work-description {
    font-size: clamp(15px, 2.2vw, 17px);
    line-height: 1.6;
    color: #ccc;
}

.resume-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.experience-section,
.education-section {
    margin-bottom: 80px;
}

.experience-items,
.education-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    padding: 0 20px;
}

.experience-item,
.education-item {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.experience-item:hover,
.education-item:hover {
    background-color: #8b5cf6;
    border-color: #a855f7;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(168,85,247,0.3);
}

.experience-title,
.education-title {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
    transition: color 0.3s ease;
}

.experience-item:hover .experience-title,
.education-item:hover .education-title {
    color: #000;
}

.experience-company,
.education-institution {
    font-size: clamp(15px, 2.2vw, 18px);
    color: #ccc;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.experience-item:hover .experience-company,
.education-item:hover .education-institution {
    color: #000;
}

.experience-duration,
.education-duration {
    font-size: clamp(13px, 2vw, 16px);
    color: #999;
    transition: color 0.3s ease;
}

.experience-item:hover .experience-duration,
.education-item:hover .education-duration {
    color: #000;
}

.skills-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    padding: 0 20px;
}

.skill-item {
    background-color: #1a1a1a;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skill-item:hover {
    background-color: #8b5cf6;
    border-color: #a855f7;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(168,85,247,0.3);
}

.skill-icon {
    margin-bottom: 25px;
}

.skill-icon img {
    width: 70px;
    height: 70px;
}

.skill-name {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
    transition: color 0.3s ease;
}

.skill-item:hover .skill-name {
    color: #000;
}

.skill-proficiency {
    font-size: clamp(18px, 3vw, 20px);
    font-weight: bold;
    color: #ccc;
    transition: color 0.3s ease;
}

.skill-item:hover .skill-proficiency {
    color: #000;
}

.blogs-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.blogs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.blog-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(168,85,247,0.3);
    border-color: #a855f7;
}

.blog-image img {
    width: 100%;
    height: 500px;
    min-height: 220px;
    object-fit: cover;
}

.blog-info {
    padding: 25px;
}

.blog-category {
    font-size: clamp(13px, 2vw, 15px);
    font-weight: bold;
    color: #8b5cf6;
    margin-bottom: 12px;
}

.blog-date,
.blog-comments {
    font-size: clamp(13px, 2vw, 15px);
    color: #ccc;
    margin-right: 15px;
}

.blog-title {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: bold;
    margin-top: 12px;
    color: #fff;
    transition: color 0.3s ease;
}

.blog-item:hover .blog-title {
    color: #8b5cf6;
}

.contact-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.form-input,
.form-select,
.form-textarea {
    flex: 1;
    min-width: 280px;
    background-color: #1a1a1a;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 18px;
    font-size: clamp(15px, 2.2vw, 17px);
    color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #6b34c2;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #8b5cf6;
    outline: none;
    box-shadow: 0 0 20px rgba(168,85,247,0.2);
}

.form-textarea {
    height: 180px;
    min-width: 100%;
    resize: vertical;
}

.form-submit {
    background-color: #8b5cf6;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 18px 40px;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.form-submit:hover {
    background-color: #6b34c2;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168,85,247,0.5);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
}

.info-icon {
    font-size: 28px;
}

.info-value {
    font-size: clamp(15px, 2.2vw, 17px);
    color: #ccc;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-actions { 
        justify-content: center; 
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    body {
        padding-top: 75px;
    }

    .header-container {
        padding: 18px 20px;
    }

    /* CRITICAL FIX: Complete Mobile Menu Overhaul */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 31, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 100px 20px 40px 20px;
        gap: 25px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        z-index: 10001;
    }

    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        font-size: 24px;
        padding: 15px 30px;
        width: 90%;
        max-width: 400px;
        text-align: center;
        display: block;
        background: rgba(139, 92, 246, 0.1);
        border-radius: 15px;
        border: 2px solid transparent;
    }

    .main-nav a:hover {
        background: rgba(139, 92, 246, 0.2);
        border-color: #a855f7;
    }

    .main-nav a::after {
        display: none;
    }

    .hire-btn {
        padding: 18px 45px !important;
        font-size: 20px !important;
        margin-top: 10px;
    }

    .menu-toggle {
        display: flex;
    }
    
    .logo-text {
        font-size: 13px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .image-frame img {
        max-width: 350px;
    }
    
    .form-input,
    .form-select {
        min-width: 100%;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .services-container,
    .works-container,
    .experience-items,
    .education-items,
    .skills-container,
    .blogs-container {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .header-container {
        padding: 15px 15px;
    }
    
    .logo {
        font-size: 11px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .hamburger-line {
        width: 24px;
        height: 2.5px;
    }
    
    .hero {
        margin-top: 30px;
        margin-bottom: 50px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-section,
    .recent-works-section,
    .resume-section,
    .skills-section,
    .blogs-section,
    .contact-section {
        padding: 70px 0;
    }

    .social-links a {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .download-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .form-submit {
        max-width: 100%;
    }

    .works-container,
    .blogs-container {
        gap: 30px;
    }

    .main-nav a {
        font-size: 20px;
        padding: 12px 25px;
    }

    .hire-btn {
        padding: 15px 35px !important;
        font-size: 18px !important;
    }
}

/* RESPONSIVE - EXTRA SMALL */
@media (max-width: 360px) {
    .header-container {
        padding: 12px 10px;
    }

    .logo-text {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .social-links {
        width: 100%;
        justify-content: center;
    }

    .main-nav a {
        font-size: 18px;
        width: 95%;
    }
}
