/* ========================================
   ASTRA DIGI - Portfolio Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --dark-bg: #0a0a0f;
    --dark-surface: #12121a;
    --dark-card: #1a1a24;
    --dark-border: #2a2a3a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --gradient-1: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-text: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #f59e0b 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--dark-border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }
}

.logo-icon {
    font-size: 28px;
    color: var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.logo-text {
    color: var(--text-primary);
}

.logo .accent {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--gradient-1);
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    margin-right: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    background: var(--dark-border);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 120px 0;
    background: var(--dark-surface);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 28px;
    color: var(--primary-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.service-title {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.service-features i {
    color: var(--primary-light);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
}

.service-link:hover {
    gap: 12px;
    color: var(--text-primary);
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    padding: 120px 0;
    background: var(--dark-surface);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    font-size: 28px;
    color: var(--primary-light);
    transition: var(--transition);
}

.skill-category:hover .category-icon {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.skill-category-header h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-tag {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 16px;
    transition: var(--transition);
    position: relative;
}

.skill-tag:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-2px);
}

.skill-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.skill-level {
    height: 4px;
    background: var(--dark-border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    height: 100%;
    background: var(--gradient-1);
    width: 0;
    border-radius: 2px;
    animation: fillSkillBar 1.5s ease-out forwards;
}

@keyframes fillSkillBar {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--gradient-1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    opacity: 0.8;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
    color: var(--secondary);
}

.floating-card span {
    font-weight: 600;
    font-size: 14px;
}

.card-1 {
    top: 30px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.about-text .section-tag {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio {
    padding: 120px 0;
    background: var(--dark-surface);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/12;
    background: var(--dark-card);
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--dark-border);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-placeholder {
    color: var(--primary);
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-overlay h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-overlay p {
    font-size: 14px;
    color: var(--text-secondary);
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

/* Black Hole Buttons */
.portfolio-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.blackhole-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px 60px;
    min-width: 280px;
    text-decoration: none;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1a1a2e 0%, #0a0a12 50%, #000000 100%);
    border: 3px solid #1a1a2e;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 40px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blackhole-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.blackhole-btn:hover::before {
    width: 300px;
    height: 300px;
}

.blackhole-btn:hover {
    transform: scale(1.05);
    border-color: #8b5cf6;
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.4),
        0 0 80px rgba(139, 92, 246, 0.2),
        0 0 120px rgba(139, 92, 246, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.95);
}

.blackhole-btn-text {
    position: relative;
    z-index: 2;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e0e0e0;
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.5),
        0 0 20px rgba(139, 92, 246, 0.3);
    transition: all 0.4s ease;
}

.blackhole-btn:hover .blackhole-btn-text {
    color: #ffffff;
    text-shadow: 
        0 0 15px rgba(196, 181, 253, 0.8),
        0 0 30px rgba(139, 92, 246, 0.6),
        0 0 45px rgba(139, 92, 246, 0.4);
}

.blackhole-btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.blackhole-btn:hover .blackhole-btn-glow {
    opacity: 1;
    width: 250px;
    height: 250px;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.blackhole-btn-1::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.1);
    opacity: 0;
    transition: all 0.4s ease;
}

.blackhole-btn-1:hover::after {
    opacity: 1;
    border-color: rgba(139, 92, 246, 0.3);
}

.blackhole-btn-2::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid rgba(236, 72, 153, 0.1);
    opacity: 0;
    transition: all 0.4s ease;
}

.blackhole-btn-2:hover::after {
    opacity: 1;
    border-color: rgba(236, 72, 153, 0.3);
}

.blackhole-btn-2 {
    background: radial-gradient(circle at 30% 30%, #1a1a2e 0%, #0a0a12 50%, #000000 100%);
    border-color: #1a1a2e;
}

.blackhole-btn-2:hover {
    border-color: #ec4899;
    box-shadow: 
        0 0 40px rgba(236, 72, 153, 0.4),
        0 0 80px rgba(236, 72, 153, 0.2),
        0 0 120px rgba(236, 72, 153, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.95);
}

.blackhole-btn-2 .blackhole-btn-text {
    text-shadow: 
        0 0 10px rgba(236, 72, 153, 0.5),
        0 0 20px rgba(236, 72, 153, 0.3);
}

.blackhole-btn-2:hover .blackhole-btn-text {
    text-shadow: 
        0 0 15px rgba(249, 168, 212, 0.8),
        0 0 30px rgba(236, 72, 153, 0.6),
        0 0 45px rgba(236, 72, 153, 0.4);
}

.hero-showcase {
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}

.code-block {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.code-keyword {
    color: #c085ef;
}

.code-variable {
    color: #fbbf24;
}

.code-property {
    color: #60e0a0;
}

.code-string {
    color: #a7f3d1;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.project-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 64px;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-light);
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-tech i {
    font-size: 20px;
    color: var(--primary-light);
}
@media (max-width: 768px) {
    .portfolio-buttons {
        flex-direction: column;
        gap: 30px;
    }
    
    .blackhole-btn {
        padding: 25px 50px;
        min-width: 240px;
    }
    
    .blackhole-btn-text {
        font-size: 1.2rem;
    }
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-us {
    padding: 120px 0;
    background: var(--dark-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-light);
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    background: var(--gradient-1);
    color: white;
}

.why-us-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.why-us-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--dark-surface);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text span:last-child {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.social-link.whatsapp {
    background: var(--gradient-1);
    border-color: transparent;
}

.social-link.whatsapp:hover {
    background: var(--gradient-1);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
    filter: brightness(1.1);
}

.contact-form-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
}

.form-group select option {
    background: var(--dark-bg);
    color: var(--text-primary);
}

.form-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 30px;
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 350px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-column ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========================================
   Global Mobile Styles
   ======================================== */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Force proper box sizing */
html, body {
    min-width: 320px;
    overflow-x: hidden;
}

/* Fix container on mobile */
.container {
    padding: 0 15px;
    max-width: 100%;
}

/* ========================================
   Navigation Mobile
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
        background: rgba(10, 10, 15, 0.98);
    }
    
    .nav-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .logo {
        font-size: 18px;
        display: flex;
        align-items: center;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .logo-text {
        white-space: nowrap;
    }
    
    .logo .accent {
        display: inline;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        background: none;
        border: none;
    }
    
    .hamburger span {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-surface);
        flex-direction: column;
        padding: 80px 25px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
        color: var(--text-primary);
    }
    
    .nav-links li a:hover {
        color: var(--primary-light);
        background: rgba(124, 58, 237, 0.1);
    }
    
    .btn-nav {
        display: block;
        text-align: center;
        margin: 20px 10px 0;
        padding: 14px 25px;
        background: var(--gradient-1);
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    /* General improvements */
    .section-header {
        text-align: center;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .section-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }
    
    /* Navbar improvements */
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-container {
        max-width: 100%;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    /* Hero section */
    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .stat-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    /* Skills section */
    .skills {
        padding: 80px 20px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .skill-category {
        padding: 30px 25px;
    }
    
    .skill-category-header {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .skill-category-header h3 {
        font-size: 18px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-tag {
        padding: 12px;
    }
    
    .skill-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

    /* Services section */
    .services {
        padding: 80px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .service-list {
        padding-left: 20px;
    }
    
    .service-list li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .service-link {
        font-size: 14px;
        margin-top: 20px;
    }
    
    /* About section */
    .about {
        padding: 80px 20px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-img {
        width: 100%;
        height: auto;
        min-height: 300px;
        object-fit: cover;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-description {
        font-size: 15px;
        text-align: left;
    }
    
    .about-features {
        gap: 20px;
    }
    
    .about-feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* Portfolio section */
    .portfolio {
        padding: 80px 20px;
    }
    
    .portfolio-buttons {
        gap: 25px;
    }
    
    .blackhole-btn {
        padding: 25px 45px;
        min-width: 220px;
    }
    
    .blackhole-btn-text {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    /* Contact section */
    .contact {
        padding: 80px 20px;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-description {
        font-size: 15px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-form h3 {
        font-size: 22px;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 15px 14px 45px;
        font-size: 15px;
    }
    
    .form-group i {
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .form-group textarea + i {
        top: 20px;
        transform: none;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 20px 30px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-column ul {
        padding: 0;
    }
    
    .footer-column ul li {
        margin-bottom: 12px;
    }
    
    .footer-column ul li a {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 30px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
    
    .footer-bottom-links {
        gap: 20px;
    }
    
    .footer-bottom-links a {
        font-size: 13px;
    }
    
    /* Scroll indicator */
    .scroll-indicator {
        display: none;
    }
}

/* Small mobile devices */
@media (max-width: 380px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .blackhole-btn {
        padding: 22px 35px;
        min-width: 200px;
    }
    
    .blackhole-btn-text {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* ========================================
   Animations & Transitions
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
