/* ===============================================
   BOLD DARK + ORANGE THEME
   Unique Portfolio Design
   K.A. Muhammad Aasif
   =============================================== */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, span, a, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

:root {
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Dark Theme Colors */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    
    /* Orange Accent */
    --accent: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    --accent-glow: rgba(249, 115, 22, 0.4);
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-gray: #a3a3a3;
    --text-muted: #737373;
    
    /* Borders */
    --border-dark: #262626;
    --border-light: #404040;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.light-theme {
    --bg-dark: #ffffff;
    --bg-card: #f5f5f5;
    --bg-card-hover: #eeeeee;
    --text-white: #0a0a0a;
    --text-gray: #525252;
    --text-muted: #737373;
    --border-dark: #e5e5e5;
    --border-light: #d4d4d4;
    --accent: #ea580c;
    --accent-light: #f97316;
    --accent-dark: #c2410c;
    --accent-glow: rgba(234, 88, 12, 0.2);
}

::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-2xl) 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 3px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 100px 0 var(--space-xl) 0;
        overflow-y: auto;
        list-style: none;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    }
    
    /* Backdrop overlay */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 998;
        backdrop-filter: blur(5px);
    }
    
    body.menu-open::before {
        opacity: 1;
        visibility: visible;
    }
    
    /* Light theme menu background */
    body.light-theme .nav-menu {
        background: #ffffff;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    }
    
    body:not(.light-theme) .nav-menu {
        background: #0a0a0a;
    }
    
    /* Top branding in menu */
    .nav-menu::before {
        content: 'Menu';
        position: absolute;
        top: 40px;
        left: var(--space-lg);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--text-muted);
    }
    
    /* Orange accent line */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 80px;
        left: var(--space-lg);
        right: var(--space-lg);
        height: 2px;
        background: var(--accent);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Stagger animation */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
    
    .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: var(--space-md) var(--space-lg);
        position: relative;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
        color: var(--text-gray);
        background: transparent;
        border: none;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        text-align: left;
    }
    
    /* Number indicator before each link */
    .nav-link::before {
        content: '0' counter(menu-counter);
        counter-increment: menu-counter;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--accent);
        min-width: 25px;
    }
    
    .nav-menu {
        counter-reset: menu-counter;
    }
    
    .nav-link::after {
        content: '→';
        position: absolute;
        right: var(--space-lg);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        color: var(--accent);
        font-size: 1.2rem;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--text-white);
        background: rgba(249, 115, 22, 0.08);
        border-left-color: var(--accent);
        padding-left: calc(var(--space-lg) + 5px);
    }
    
    .nav-link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-link.active {
        color: var(--accent);
        font-weight: 700;
    }
    
    /* Hamburger button */
    .hamburger {
        display: flex;
        z-index: 1001;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-md);
        background: var(--bg-card);
        border: 2px solid var(--border-dark);
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .hamburger:hover {
        background: var(--accent);
        border-color: var(--accent);
    }
    
    .hamburger:hover span {
        background: white;
    }
    
    .hamburger.active {
        background: var(--accent);
        border-color: var(--accent);
    }
    
    .hamburger.active span {
        background: white;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

/* Light mode - orange text with black stroke for ALL hero title text */
body.light-theme .hero-title {
    color: #f97316 !important;
    -webkit-text-stroke: 2px #0a0a0a;
    -webkit-text-fill-color: #f97316;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

/* Light mode - ensure highlight also gets orange with black stroke */
body.light-theme .hero-title .highlight {
    color: #f97316 !important;
    -webkit-text-stroke: 2px #0a0a0a;
    -webkit-text-fill-color: #f8f5f3;
}

/* Dark mode - orange stroke with transparent fill */
.hero-title .outline-text {
    -webkit-text-stroke: 2px var(--accent);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Light mode - orange fill with black stroke */
body.light-theme .hero-title .outline-text {
    -webkit-text-stroke: 2px #0a0a0a;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-xl);
    transform: rotate(5deg);
    opacity: 0.3;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-xl);
    transform: rotate(-3deg);
    opacity: 0.5;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
    display: block;
}

.hero-floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.hero-floating-card.top {
    top: 30px;
    right: -30px;
}

.hero-floating-card.bottom {
    bottom: 50px;
    left: -30px;
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.floating-card-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.floating-card-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-img {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        display: none;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border-color: var(--border-light);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-email {
    background: transparent;
    color: var(--text-white);
    border-color: var(--border-light);
}

.btn-email:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.section-title .highlight {
    color: var(--accent);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-card);
}

.about-content-full {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content-full .about-text {
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content-full .about-text strong {
    color: var(--accent);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.about-stat-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
}

.about-stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-stat-card:hover .about-stat-icon {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1);
}

.about-stat-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin: 0 auto var(--space-md);
    transition: var(--transition);
}

.about-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.about-stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-content-full .about-highlights {
    margin: var(--space-xl) 0;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.about-content-full .domain-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    white-space: nowrap;
}

.about-content-full .domain-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    flex: 1;
}

.about-content-full .domain-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-dark);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-full);
    padding: var(--space-md) var(--space-xl);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.about-content-full .domain-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.about-content-full .domain-badge:hover::before {
    transform: scaleY(1);
}

.about-content-full .domain-badge:hover {
    border-color: var(--accent);
    background: rgba(249, 115, 22, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.1);
}

.about-content-full .domain-badge-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-content-full .domain-badge:hover .domain-badge-icon {
    background: var(--accent-gradient);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.about-content-full .domain-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-content-full .domain-badge-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.about-content-full .domain-badge:hover .domain-badge-content h4 {
    color: var(--accent);
}

.about-content-full .domain-badge-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1;
}

.about-quote {
    background: var(--bg-dark);
    border-left: 4px solid var(--accent);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border-radius: var(--radius-md);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: left;
}

.about-quote i {
    color: var(--accent);
    opacity: 0.5;
    margin: 0 8px;
}

@media (max-width: 900px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content-full .domain-badges {
        gap: var(--space-sm);
    }
    
    .about-content-full .domain-badge {
        padding: var(--space-sm) var(--space-lg);
    }
}

@media (max-width: 500px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content-full .domain-badges {
        flex-direction: column;
    }
    
    .about-content-full .domain-badge {
        width: 100%;
    }
}

/* Legacy About Styles (kept for compatibility) */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-gradient);
    color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 20px 40px var(--accent-glow);
}

.experience-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content {
    padding: var(--space-lg) 0;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.about-text {
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
}

.highlight-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

.highlight-text {
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-experience-card {
        right: 50%;
        transform: translateX(50%);
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--border-light);
}

.service-card:hover .service-icon {
    background: var(--accent-gradient);
    color: white;
    transform: rotateY(180deg);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: var(--border-dark);
    line-height: 1;
    opacity: 0.5;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-dark);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tag {
    background: var(--bg-dark);
    color: var(--accent);
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
    background: var(--bg-card);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-lg);
}

.tech-category {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: var(--transition);
}

.tech-category:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.tech-category h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--accent);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition);
    cursor: default;
}

.tech-item:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: scale(1.05);
}

.tech-item i {
    font-size: 1.3rem;
}

.tech-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--bg-card);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--space-xl);
}

/* New Project Card Design (No Image) */
.project-card-v2 {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.project-card-v2:hover::before {
    transform: scaleX(1);
}

.project-card-v2:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.project-card-v2:hover .project-icon {
    background: var(--accent-gradient);
    border-color: var(--accent);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.project-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    transition: var(--transition);
}

.project-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--border-dark);
    line-height: 1;
    opacity: 0.5;
}

.project-card-v2 .project-industry {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.project-card-v2 h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
}

.project-card-v2 > p {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
    line-height: 1.7;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
}

.project-features .feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.project-features .feature i {
    color: var(--accent);
    font-size: 0.75rem;
}

.project-card-v2 .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.project-card-v2 .tech-badge {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.project-card-v2:hover .tech-badge {
    background: var(--accent);
    color: white;
}

.project-card-v2 .project-result {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-dark);
    color: var(--text-white);
    font-weight: 600;
}

.project-card-v2 .project-result i {
    color: var(--accent);
    font-size: 1.2rem;
}

@media (max-width: 500px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
}

/* ===== PROJECT MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications {
    background: var(--bg-card);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-lg);
}

.cert-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
}

.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto var(--space-lg);
}

.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.cert-issuer {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.cert-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
}

.skill-tag {
    background: var(--bg-card);
    color: var(--accent);
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dark);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-link {
    color: var(--accent);
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.social-links {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
}

.social-links h4 {
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-5px);
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea {
    background: var(--bg-dark);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    display: none;
    margin-top: var(--space-md);
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-dark);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
    color: var(--text-muted);
}

.footer-bottom i {
    color: var(--accent);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ===== WHY HIRE ME ===== */
.why-hire-me {
    margin-top: var(--space-2xl);
}

.subsection-title {
    font-size: 2rem;
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.subsection-title i {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    margin: 0 auto var(--space-lg);
    transition: var(--transition);
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===== HIGHLIGHT TEXT ===== */
.highlight-text {
    background: var(--bg-dark);
    border-left: 4px solid var(--accent);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: var(--radius-md);
    font-style: italic;
}

.highlight-text i {
    color: var(--accent);
    opacity: 0.5;
    margin: 0 5px;
}

/* ===== INTRO TEXT ===== */
.intro-text {
    font-size: 1.2rem;
    color: var(--text-white);
    line-height: 1.8;
}

.accent-text {
    color: var(--accent);
    font-weight: 600;
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===== EXPERIENCE SECTION (TIMELINE) ===== */
.experience {
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--border-dark));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    padding-left: var(--space-lg);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--border-light);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.timeline-marker.current {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-item:hover .timeline-marker {
    border-color: var(--accent);
    transform: scale(1.2);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: var(--transition);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--border-dark);
}

.timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 21px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 11px solid var(--bg-card);
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.timeline-role {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.timeline-period {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.timeline-period i {
    color: var(--accent);
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.timeline-tech span {
    background: var(--bg-dark);
    color: var(--accent);
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -20px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item {
        padding-left: var(--space-md);
    }
    
    .timeline-content::before,
    .timeline-content::after {
        display: none;
    }
}

/* ===== FREELANCE SECTION ===== */
.freelance {
    background: var(--bg-card);
}

.freelance-intro {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.freelance-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
}

.freelance-text h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.freelance-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: var(--space-xl);
}

.freelance-stats {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.freelance-stat {
    text-align: center;
}

.freelance-stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.freelance-stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-xs);
}

.clients-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    color: var(--text-white);
}

.clients-title i {
    color: var(--accent);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.client-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.client-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin: 0 auto var(--space-lg);
    transition: var(--transition);
}

.client-card:hover .client-icon {
    background: var(--accent-gradient);
    border-color: var(--accent);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.client-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.client-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.client-tags {
    display: flex;
    gap: var(--space-xs);
    justify-content: center;
    flex-wrap: wrap;
}

.client-tags span {
    background: var(--bg-card);
    color: var(--accent);
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.freelance-cta {
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.cta-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: var(--space-xs);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.freelance-cta .btn-primary {
    background: white;
    color: var(--accent-dark);
    border-color: white;
}

.freelance-cta .btn-primary:hover {
    background: var(--bg-dark);
    color: white;
    border-color: var(--bg-dark);
}

@media (max-width: 768px) {
    .freelance-intro {
        padding: var(--space-xl);
    }
    
    .freelance-stats {
        gap: var(--space-xl);
    }
    
    .freelance-stat-value {
        font-size: 2.5rem;
    }
    
    .freelance-cta {
        text-align: center;
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
        width: 100%;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 var(--space-lg);
    }
    
    /* Section spacing */
    .section {
        padding: var(--space-2xl) 0;
    }
    
    /* Section headers */
    .section-title {
        font-size: 2rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
    
    /* Hero section */
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Tech stack */
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    /* Projects grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: var(--space-xl);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Mobile - 600px and below */
@media (max-width: 600px) {
    /* Prevent any horizontal overflow */
    * {
        max-width: 100%;
    }
    
    /* Container */
    .container {
        padding: 0 var(--space-md);
        width: 100%;
        max-width: 100%;
    }
    
    /* Section spacing */
    .section {
        padding: var(--space-xl) 0;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 var(--space-2xl);
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: var(--space-sm);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
    }
    
    .stat {
        width: 100%;
        text-align: center;
    }
    
    /* About stats */
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Domain expertise */
    .about-content-full .about-highlights {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-content-full .domain-badges {
        width: 100%;
    }
    
    /* Why hire section */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services */
    .service-card {
        padding: var(--space-lg);
    }
    
    .service-number {
        font-size: 3rem;
    }
    
    /* Tech categories */
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Timeline */
    .timeline-content {
        padding: var(--space-md);
    }
    
    .timeline-tech {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Freelance */
    .freelance-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .freelance-stat {
        width: 100%;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .freelance-cta {
        padding: var(--space-xl);
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Projects */
    .project-card-v2 {
        padding: var(--space-lg);
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
    
    .project-tech {
        flex-wrap: wrap;
    }
    
    /* Certifications */
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-wrapper {
        gap: var(--space-lg);
    }
    
    .contact-info,
    .contact-form-container {
        padding: var(--space-lg);
    }
    
    .contact-info h3,
    .contact-form-container h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: row;
        padding: var(--space-sm);
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 0.9rem;
    }
    
    .contact-link {
        font-size: 0.95rem;
        word-break: break-all;
    }
    
    .contact-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .contact-cta .btn {
        width: 100%;
    }
    
    .social-links {
        margin-top: var(--space-lg);
    }
    
    .social-icons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Form */
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 150px;
    }
    
    .contact-form .btn-submit {
        width: 100%;
        padding: 16px;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    /* Hero title */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Light mode stroke width for small screens */
    body.light-theme .hero-title {
        -webkit-text-stroke: 1.5px #0a0a0a;
    }
    
    body.light-theme .hero-title .highlight {
        -webkit-text-stroke: 1.5px #0a0a0a;
    }
    
    body.light-theme .hero-title .outline-text {
        -webkit-text-stroke: 1.5px #0a0a0a;
    }
    
    /* Section headers */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
    }
    
    /* About text */
    .about-text {
        font-size: 0.95rem;
    }
    
    /* Service cards */
    .service-card {
        padding: var(--space-md);
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Tech items on very small screens */
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    /* Client cards */
    .client-card {
        padding: var(--space-lg);
    }
    
    /* Timeline */
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    /* Modal content */
    .modal-content {
        padding: var(--space-lg);
        margin: var(--space-md);
    }
    
    /* Contact section for very small screens */
    .contact-info,
    .contact-form-container {
        padding: var(--space-md);
    }
    
    .contact-info h3,
    .contact-form-container h3 {
        font-size: 1.3rem;
        margin-bottom: var(--space-md);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .contact-details {
        width: 100%;
    }
    
    .contact-details h4 {
        font-size: 0.85rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
        display: block;
        word-break: break-word;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

