* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary: #0e8fe6;
    --primary-dark: #0c7ac4;
    --primary-light: #5bb5f0;
    --secondary: #6c5ce7;
    --accent: #00d2ff;
    --dark: #0f172a;
    --light: #edf2fb;
    --white: #ffffff;
    --black: #1a1a2e;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, #0e8fe6 0%, #6c5ce7 100%);
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
}

body.dark {
    --primary: #0e8fe6;
    --light: #0f172a;
    --dark: #edf2fb;
    --white: #1e293b;
    --black: #f1f5f9;
    --gray: #94a3b8;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--black);
    transition: all 0.3s ease;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--gray);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(14, 143, 230, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.08) 0%, transparent 50%);
    animation: bgMove 20s ease infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, 2%); }
}

/* Theme Toggle - Desktop */
.theme-toggle {
    position: fixed;
    top: 28px;
    right: 30px;
    z-index: 1001;
    cursor: pointer;
    width: 42px;
    height: 42px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    font-size: 18px;
    color: var(--primary);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

/* Header */
#header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--white);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 0 25px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

body.dark #header {
    background: var(--white);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-dot {
    color: var(--primary);
    font-size: 28px;
}

/* Navbar */
.navbar {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

/* Login Section */
.logindiv {
    display: flex;
    align-items: center;
    gap: 15px;
}

.loginbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--gradient);
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.loginbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 143, 230, 0.4);
}

/* User Icon */
.user-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 5px 15px;
    background: var(--gradient);
    border-radius: 40px;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.user-icon i {
    font-size: 20px;
}

.user-icon span {
    font-size: 14px;
}

/* Dropdown */
.user-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

.user-icon:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--black);
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 1px solid var(--light);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 20px;
}

body.dark .user-dropdown {
    background: var(--white);
}

body.dark .user-dropdown a {
    color: var(--black);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Mode */
@media (max-width: 968px) {
    #header {
        padding: 0 20px;
        width: 95%;
    }
    
    .theme-toggle {
        top: 85px;
        right: 25px;
        width: 40px;
        height: 40px;
        font-size: 17px;
        background: var(--gradient);
        color: white;
        box-shadow: 0 5px 15px rgba(14, 143, 230, 0.3);
    }
    
    body.dark .theme-toggle {
        background: var(--gradient);
        color: white;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        border-radius: 0 20px 20px 0;
        z-index: 999;
        overflow-y: auto;
    }
    
    body.dark .navbar {
        background: var(--white);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 8px 0;
        font-size: 16px;
        white-space: normal;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Mobile Mode */
@media (max-width: 768px) {
    #header {
        height: 60px;
        top: 15px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-dot {
        font-size: 22px;
    }
    
    .loginbtn {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .loginbtn span {
        display: inline-block;
    }
    
    .theme-toggle {
        top: 85px;
        right: 20px;
        width: 38px;
        height: 38px;
        font-size: 16px;
        background: var(--gradient);
        color: white;
        box-shadow: 0 5px 15px rgba(14, 143, 230, 0.3);
    }
    
    body.dark .theme-toggle {
        background: var(--gradient);
        color: white;
    }
    
    .navbar {
        top: 70px;
        width: 260px;
        padding: 20px;
    }
    
    /* Hero Section */
    #home {
        padding: 85px 5% 40px;
    }
    
    .home-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .home-content {
        text-align: center;
    }
    
    .greeting-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .current-position {
        font-size: 11px;
        padding: 6px 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .home-content h1 {
        font-size: 36px;
    }
    
    .typing-wrapper {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 14px;
        text-align: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .btn-primary, .btn-outline {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .social-strip {
        justify-content: center;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon i {
        font-size: 16px;
    }
    
    /* Profile Image - Size Same as Before */
    .profile-img {
        width: 280px;
    }
    
    /* Badges - Smaller for Mobile Only */
    .experience-badge, .projects-badge {
        position: absolute;
        background: var(--white);
        border-radius: 10px;
        padding: 4px 8px;
        text-align: center;
        box-shadow: var(--shadow-md);
        z-index: 2;
    }
    
    .experience-badge {
        top: -8px;
        right: -8px;
    }
    
    .projects-badge {
        bottom: 15px;
        left: -8px;
    }
    
    .exp-number, .projects-number {
        font-size: 12px;
        font-weight: 700;
    }
    
    .exp-text, .projects-text {
        font-size: 7px;
        line-height: 1.2;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Services Section */
    #services {
        padding: 50px 5%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
        border-radius: 16px;
        text-align: center;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
    }
    
    .service-icon i {
        font-size: 28px;
    }
    
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .service-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-top: 15px;
    }
    
    .service-tech span {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    /* About Section */
    #about {
        padding: 50px 5%;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .about-text h3 {
        font-size: 22px;
        text-align: center;
    }
    
    .about-text p {
        font-size: 14px;
        text-align: center;
    }
    
    .resume-btn {
        margin: 20px auto 0;
        display: inline-flex;
    }
    
    /* Experience Section */
    #experience {
        padding: 50px 5%;
    }
    
    .experience-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .exp-badge {
        position: static;
        display: inline-block;
        align-self: flex-start;
        font-size: 10px;
        padding: 4px 12px;
    }
    
    /* Tech Stack */
    #skills {
        padding: 50px 5%;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-category {
        padding: 20px;
    }
    
    .tech-category h3 {
        font-size: 18px;
    }
    
    .tech-items span {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    /* Contact */
    #contact {
        padding: 50px 5%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-card {
        padding: 18px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon i {
        font-size: 20px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    /* Footer */
    footer {
        padding: 40px 5% 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
    }
}

/* Extra Small Mobile - Badges Even Smaller */
@media (max-width: 550px) {
    #header {
        width: 98%;
        padding: 0 12px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-dot {
        font-size: 20px;
    }
    
    .loginbtn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .loginbtn span {
        display: none;
    }
    
    .loginbtn i {
        font-size: 14px;
        margin: 0;
    }
    
    .user-icon {
        padding: 5px 10px;
    }
    
    .user-icon span {
        display: none;
    }
    
    .user-icon i {
        font-size: 16px;
    }
    
    .theme-toggle {
        top: 75px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .navbar {
        width: 240px;
        top: 65px;
    }
    
    /* Profile Image - Same Size */
    .profile-img {
        width: 280px;
    }
    
    /* Badges - Even Smaller */
    .experience-badge, .projects-badge {
        padding: 3px 6px;
        border-radius: 8px;
    }
    
    .experience-badge {
        top: -10px;
        right: -10px;
    }
    
    .projects-badge {
        bottom: 8px;
        left: -10px;
    }
    
    .exp-number, .projects-number {
        font-size: 10px;
    }
    
    .exp-text, .projects-text {
        font-size: 6px;
    }
    
    .home-content h1 {
        font-size: 28px;
    }
    
    .greeting-badge, .current-position {
        font-size: 9px;
    }
    
    .btn-primary, .btn-outline {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
    
    .social-icon i {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    /* Services - Smaller */
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .service-card p {
        font-size: 12px;
    }
    
    .service-tech span {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .stat-card {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .about-text h3 {
        font-size: 20px;
    }
    
    .tech-category {
        padding: 20px;
    }
    
    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 14px;
        bottom: 70px;
        left: 15px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    #header {
        max-width: 1300px;
    }
    
    .profile-img {
        width: 400px;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 15px;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* Services Section */
#services {
    padding: 100px 5%;
    background: var(--white);
}

body.dark #services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: all 0.4s;
    z-index: 0;
}

.service-card:hover .card-bg {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-tech span {
    position: relative;
    z-index: 1;
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: white;
}

.service-card:hover .service-icon i {
    color: var(--primary);
}

.service-icon i {
    font-size: 40px;
    color: white;
    transition: all 0.4s;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.4s;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    transition: all 0.4s;
}

.service-tech {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.service-tech span {
    padding: 5px 12px;
    background: rgba(14, 143, 230, 0.1);
    border-radius: 50px;
    font-size: 12px;
    transition: all 0.4s;
}

.service-card:hover .service-tech span {
    background: rgba(255, 255, 255, 0.2);
}

/* About Section */
#about {
    padding: 100px 5%;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.dark #about {
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.stat-card {
    background: var(--light);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    animation: iconFloat 3s ease infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    display: inline-block;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 14px;
}

.stat-bg {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 50px;
    font-weight: 800;
    opacity: 0.05;
    pointer-events: none;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    width: 100%;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text p:last-of-type {
    margin-bottom: 30px;
}

.skills {
    margin-top: 20px;
}

.skill {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.skill-percent {
    color: var(--primary);
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    position: relative;
    transition: width 1.5s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
}

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 143, 230, 0.4);
}

/* Experience Section */
#experience {
    padding: 100px 5%;
    background: var(--light);
}

body.dark #experience {
    background: var(--light);
}

.experience-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.experience-card.current {
    border-left: 4px solid var(--primary);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.exp-badge {
    position: absolute;
    top: 20px;
    right: 30px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.exp-logo {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exp-logo i {
    font-size: 28px;
    color: var(--primary);
}

.exp-details {
    flex: 1;
}

.exp-details h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--black);
}

.exp-details h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.exp-date, .exp-location {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 5px;
}

.exp-description {
    color: var(--gray);
    line-height: 1.6;
    margin: 15px 0;
    font-size: 14px;
}

.exp-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.exp-tech span {
    padding: 5px 12px;
    background: var(--light);
    border-radius: 50px;
    font-size: 12px;
    color: var(--black);
    transition: all 0.3s;
}

.exp-tech span:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

/* Tech Stack Section */
#skills {
    padding: 100px 5%;
    background: var(--white);
}

body.dark #skills {
    background: var(--white);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tech-category {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
}

.tech-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tech-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category h3 i {
    font-size: 28px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-items span {
    padding: 8px 18px;
    background: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    transition: all 0.3s;
    cursor: pointer;
}

.tech-items span:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
#contact {
    padding: 100px 5%;
    background: var(--light);
}

body.dark #contact {
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.4s;
    z-index: 0;
}

.info-card:hover::before {
    left: 0;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.info-icon i {
    font-size: 24px;
    transition: all 0.3s;
}

.info-icon .fa-whatsapp { color: #25D366; }
.info-icon .fa-envelope { color: #EA4335; }
.info-icon .fa-map-marker-alt { color: #4285F4; }
.info-icon .fa-github { color: #333333; }

.info-card:hover .info-icon {
    background: white;
}
.info-card:hover .info-icon i {
    color: var(--primary) !important;
}

body.dark .info-icon {
    background: var(--white);
}
body.dark .info-icon .fa-github { color: #ffffff; }

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--black);
    transition: color 0.3s;
}

.info-content p {
    color: var(--gray);
    transition: color 0.3s;
}

.info-hover {
    font-size: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    display: block;
    color: var(--gray);
}

.info-card:hover .info-content h4,
.info-card:hover .info-content p,
.info-card:hover .info-hover {
    color: white;
}

.info-card:hover .info-hover {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--light);
    border-radius: 12px;
    color: var(--black);
    font-family: inherit;
    font-size: 15px;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--gray);
    transition: all 0.3s;
    pointer-events: none;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s;
}

.input-group input:focus ~ .input-border,
.input-group textarea:focus ~ .input-border,
.input-group input:valid ~ .input-border,
.input-group textarea:valid ~ .input-border {
    width: 100%;
    left: 0;
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:valid ~ label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--white);
    padding: 0 5px;
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 143, 230, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover .btn-shine {
    left: 100%;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    max-width: 90%;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-left {
    flex: 1;
    background: var(--gradient);
    padding: 50px 30px;
    color: white;
}

.modal-brand h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.modal-brand p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-right {
    flex: 1;
    padding: 50px 40px;
    position: relative;
}

.close, .close-signup {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s;
}

.close:hover, .close-signup:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-right h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--black);
}

.input-field {
    position: relative;
    margin-bottom: 20px;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-field input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--gray);
    border-radius: 12px;
    background: var(--light);
    color: var(--black);
    font-size: 15px;
    transition: all 0.3s;
}

.input-field input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 143, 230, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray);
}

.form-options a {
    color: var(--primary);
    text-decoration: none;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 143, 230, 0.4);
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.signup-text a {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.demo-note {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: var(--gray);
}

/* Profile Modal */
.profile-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    max-width: 90%;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 2001;
    animation: modalSlideIn 0.4s ease;
}

.profile-modal-header {
    background: var(--gradient);
    padding: 30px;
    text-align: center;
    position: relative;
}

.close-profile {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: all 0.3s;
}

.close-profile:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.profile-avatar {
    position: relative;
    display: inline-block;
}

.profile-avatar i {
    font-size: 80px;
    color: white;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #10b981;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.avatar-badge i {
    font-size: 12px;
    color: white;
}

.profile-modal-body {
    padding: 30px;
    text-align: center;
}

.profile-modal-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.profile-email {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 15px 0;
    background: var(--light);
    border-radius: 16px;
}

.profile-stat {
    text-align: center;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
}

.profile-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s;
}

.profile-info-item:hover {
    transform: translateX(5px);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 18px;
    color: white;
}

.info-details {
    flex: 1;
    text-align: left;
}

.info-label {
    display: block;
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 2px;
}

.info-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.status-active {
    color: #10b981;
}

.profile-close-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 143, 230, 0.4);
}

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 0;
    position: relative;
}

.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.home-content {
    flex: 1;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.greeting-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white);
    border-radius: 40px;
    font-size: 14px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.current-position {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray);
    box-shadow: var(--shadow-sm);
}

.current-position i {
    color: var(--primary);
}

.current-position strong {
    color: var(--primary);
}

.wave {
    animation: wave 1.5s ease infinite;
    display: inline-block;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.home-content h1 {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-wrapper {
    font-size: 28px;
    margin-bottom: 20px;
}

.static-text {
    color: var(--gray);
}

.typing-text {
    color: var(--primary);
    font-weight: 600;
}

.typing-text::after {
    content: '|';
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--gray);
}

.highlight-text {
    color: var(--primary);
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 143, 230, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.social-strip {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.social-icon i {
    color: var(--primary);
    font-size: 18px;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--gradient);
}

.social-icon:hover i {
    color: white;
}

/* Home Image & Badges Desktop */
.home-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-card {
    position: relative;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.profile-img {
    width: 400px;
    max-width: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    transition: all 0.5s;
}

.profile-img:hover {
    transform: scale(1.02);
}

.experience-badge, .projects-badge {
    position: absolute;
    background: var(--white);
    border-radius: 15px;
    padding: 12px 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    top: 20px;
    right: -10px;
}

.projects-badge {
    bottom: 30px;
    left: -10px;
}

.exp-number, .projects-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.exp-text, .projects-text {
    font-size: 12px;
    color: var(--gray);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Footer */
footer {
    background: var(--white);
    padding: 60px 5% 20px;
    margin-top: 50px;
}

body.dark footer {
    background: var(--white);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-logo h3 span {
    color: var(--primary);
}

.footer-logo p {
    color: var(--gray);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-icon i {
    color: var(--primary);
    font-size: 18px;
}

.footer-social-icon:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-social-icon:hover i {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light);
    color: var(--gray);
}

.footer-bottom i {
    color: #ff4757;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive for Desktop */
@media (max-width: 968px) {
    .home-content h1 { font-size: 48px; }
    .typing-wrapper { font-size: 22px; }
    .section-title { font-size: 36px; }
    .about-wrapper, .contact-wrapper { grid-template-columns: 1fr; }
    .modal-left { display: none; }
    .modal-container { width: 90%; }
    .tech-stack-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .home-content h1 { font-size: 40px; }
    .section-title { font-size: 32px; }
    .stats-grid { gap: 15px; }
    .stat-card { padding: 20px 15px; }
    .stat-number { font-size: 32px; }
    .about-text h3 { font-size: 28px; text-align: center; }
    .about-text p { text-align: center; }
    .resume-btn { margin: 20px auto 0; }
    .experience-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .exp-badge { position: static; display: inline-block; margin-bottom: 10px; }
}

@media (max-width: 480px) {
    .home-content h1 { font-size: 36px; }
    .section-title { font-size: 28px; }
    .btn-primary, .btn-outline { padding: 10px 20px; font-size: 14px; }
    .stats-grid { gap: 12px; }
    .stat-card { padding: 20px 15px; }
    .stat-number { font-size: 32px; }
    .stat-icon { font-size: 32px; }
    .about-text h3 { font-size: 24px; }
    .tech-stack-grid { grid-template-columns: 1fr; }
    .tech-category { padding: 25px; }
    .tech-items span { padding: 6px 14px; font-size: 12px; }
    .profile-modal-container { width: 95%; }
    .profile-stats { flex-wrap: wrap; gap: 15px; }
    .profile-stat { flex: 1; min-width: 80px; }
    .profile-avatar i { font-size: 60px; }
}
