/* =====================================================
   PAVAN KUMAR PALLA — PORTFOLIO
   Dark Theme · Purple/Violet · Artistic & Creative
   ===================================================== */

:root {
    /* Colors — Dark Theme with Purple Accents */
    --primary: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #7c3aed;
    --primary-glow: rgba(168, 85, 247, 0.15);
    --primary-glow-strong: rgba(168, 85, 247, 0.3);

    --bg-primary: #07070d;
    --bg-secondary: #0c0c14;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-elevated: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #6b6b80;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(168, 85, 247, 0.35);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
    --glass-blur-strong: blur(24px);

    /* Accent */
    --accent-warm: #f59e0b;
    --accent-pink: #ec4899;

    /* WhatsApp */
    --whatsapp: #25d366;

    /* Spacing */
    --container-width: 1140px;
    --section-padding: 7rem 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

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

img {
    max-width: 100%;
    display: block;
}

em {
    font-style: normal;
}

/* ===================== NOISE TEXTURE ===================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===================== DECORATIVE ELEMENTS ===================== */

/* Dot Grid Patterns */
.deco-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(168, 85, 247, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 1;
}

.deco-dots-1 {
    top: 15%;
    right: 8%;
    width: 100px;
    height: 100px;
    opacity: 0.6;
}

.deco-dots-2 {
    bottom: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    opacity: 0.4;
}

.deco-dots-3 {
    top: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    opacity: 0.4;
}

.deco-dots-4 {
    top: 5%;
    left: 3%;
    width: 80px;
    height: 80px;
    opacity: 0.35;
}

/* Ring Decorations */
.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.1);
    pointer-events: none;
    z-index: 1;
}

.deco-ring-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -50px;
    animation: ring-float 20s ease-in-out infinite;
}

.deco-ring-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 10%;
    border-color: rgba(236, 72, 153, 0.1);
    animation: ring-float 15s ease-in-out infinite reverse;
}

.deco-ring-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 3%;
    animation: ring-float 25s ease-in-out infinite;
}

.deco-ring-4 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 3%;
    border-color: rgba(245, 158, 11, 0.08);
    animation: ring-float 18s ease-in-out infinite reverse;
}

.deco-ring-5 {
    width: 180px;
    height: 180px;
    top: 5%;
    left: -40px;
    animation: ring-float 22s ease-in-out infinite;
}

@keyframes ring-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Cross / Sparkle Decorations */
.deco-cross {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(168, 85, 247, 0.12);
    pointer-events: none;
    z-index: 1;
    animation: cross-twinkle 4s ease-in-out infinite;
}

.deco-cross-1 {
    top: 25%;
    right: 15%;
    font-size: 2rem;
}

.deco-cross-2 {
    bottom: 30%;
    left: 12%;
    font-size: 1.2rem;
    animation-delay: 1.5s;
    color: rgba(236, 72, 153, 0.1);
}

.deco-cross-3 {
    top: 8%;
    left: 8%;
    font-size: 1.2rem;
    animation-delay: 0.8s;
}

.deco-cross-4 {
    bottom: 15%;
    right: 6%;
    font-size: 1rem;
    animation-delay: 2s;
    color: rgba(245, 158, 11, 0.1);
}

@keyframes cross-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.2) rotate(15deg); }
}

/* Decorative Line */
.deco-line {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.deco-line-1 {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
    top: 40%;
    left: 5%;
    transform: rotate(-20deg);
}

/* ===================== CARD CORNER DECORATIONS ===================== */
.card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 2;
}

.card-corner-tl {
    top: 12px;
    left: 12px;
    border-top: 2px solid rgba(168, 85, 247, 0.2);
    border-left: 2px solid rgba(168, 85, 247, 0.2);
}

.card-corner-br {
    bottom: 12px;
    right: 12px;
    border-bottom: 2px solid rgba(168, 85, 247, 0.2);
    border-right: 2px solid rgba(168, 85, 247, 0.2);
}

/* ===================== SECTION DIVIDERS ===================== */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.section-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

.section-divider-curve svg {
    height: 50px;
}

.section-divider-wave2 svg {
    height: 60px;
}

.section-divider-slant svg {
    height: 40px;
}

/* ===================== UTILITIES ===================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(168, 85, 247, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.section-tag i {
    font-size: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Italic accent for titles — Playfair Display */
.title-italic,
.hero-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.primary-btn:hover {
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    background: #22c55e;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* ===================== NAVIGATION ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 13, 0.85);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav-profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links li a:hover {
    color: var(--text-primary);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-cta {
    background: rgba(168, 85, 247, 0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--primary-light);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.nav-cta:hover {
    background: var(--primary-glow-strong);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 7, 13, 0.9);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    transform: translateX(100%);
    transition: var(--transition-slow);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 1rem;
    background: var(--whatsapp);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
}

/* ===================== HERO ===================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Ambient glows */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, 0.12);
    top: -100px;
    right: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.06);
    bottom: -50px;
    left: -100px;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.04);
    top: 50%;
    left: 40%;
}

/* Grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 5;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    background: rgba(168, 85, 247, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--whatsapp);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-italic {
    font-size: 3.4rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Image */
.hero-image {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrapper {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.15);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.hero-image-ring {
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.15);
    z-index: 1;
    animation: ring-rotate 20s linear infinite;
}

.hero-image-ring-2 {
    width: 420px;
    height: 420px;
    border-color: rgba(236, 72, 153, 0.08);
    animation-direction: reverse;
    animation-duration: 30s;
}

/* Decorative accents around hero image */
.hero-deco-triangle {
    position: absolute;
    top: -15px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid rgba(245, 158, 11, 0.25);
    z-index: 3;
    animation: cross-twinkle 5s ease-in-out infinite;
}

.hero-deco-circle {
    position: absolute;
    bottom: 20px;
    left: -10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.2);
    z-index: 3;
    animation: cross-twinkle 4s ease-in-out infinite 1s;
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================== ANIMATIONS ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.7s forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== SERVICES ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink), var(--accent-warm));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .card-corner-tl,
.service-card:hover .card-corner-br {
    border-color: rgba(168, 85, 247, 0.4);
}

.service-card.featured {
    border-color: rgba(168, 85, 247, 0.25);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-pink));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1.2rem;
    border-radius: 0 var(--radius-lg) 0 var(--radius-md);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(168, 85, 247, 0.12);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-features span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-features span i {
    color: var(--primary);
    font-size: 0.7rem;
}

.service-price {
    margin-bottom: 1.5rem;
}

.price-range {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-btn {
    width: 100%;
    justify-content: center;
    background: rgba(168, 85, 247, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--primary-light);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.service-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

/* ===================== PROJECTS ===================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

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

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.project-placeholder i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 13, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-view-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.project-view-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.project-info {
    padding: 1.5rem 1.5rem 2rem;
}

.project-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: rgba(168, 85, 247, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--primary-light);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.12);
}

/* Featured Project (CivicX) */
.project-card-featured {
    border-color: rgba(37, 99, 235, 0.2);
}

.project-card-featured:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--whatsapp);
    margin-bottom: 0.5rem;
}

.project-live-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--whatsapp);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* ===================== ABOUT ===================== */
.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    text-align: center;
    line-height: 1.8;
}

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

.about-text em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-light);
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.about-highlight:hover {
    border-color: var(--border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

.about-highlight i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* ===================== SKILLS ===================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.skill-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    width: 130px;
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: var(--glass-bg-hover);
}

.skill-card i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.skill-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Creative skill cards */
.creative-card {
    border-color: rgba(236, 72, 153, 0.1);
}

.creative-card i {
    font-size: 2rem;
    color: var(--accent-pink);
}

.creative-card:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
}

/* ===================== CONTACT ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.contact-card:hover {
    border-color: var(--border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.whatsapp-card .contact-card-icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
}

.whatsapp-card:hover .contact-card-icon {
    background: var(--whatsapp);
    color: #fff;
}

.email-card .contact-card-icon {
    background: var(--primary-glow);
    color: var(--primary);
}

.email-card:hover .contact-card-icon {
    background: var(--primary);
    color: #fff;
}

.github-card .contact-card-icon {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.github-card:hover .contact-card-icon {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.linkedin-card .contact-card-icon {
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
}

.linkedin-card:hover .contact-card-icon {
    background: #0a66c2;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.contact-card:hover .contact-action {
    gap: 0.7rem;
}

/* ===================== FOOTER ===================== */
footer {
    padding: 3rem 0 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom i.fa-heart {
    color: #ef4444;
    font-size: 0.7rem;
}

.footer-bottom i.fa-palette {
    color: var(--primary);
    font-size: 0.7rem;
}

/* ===================== FLOATING WHATSAPP ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: float-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes float-pulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 35px rgba(37, 211, 102, 0.6); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-italic {
        font-size: 2.7rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding: 7rem 0 5rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

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

    .img-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-image-ring {
        width: 270px;
        height: 270px;
    }

    .hero-image-ring-2 {
        width: 320px;
        height: 320px;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        padding: 0 1.25rem;
    }

    .about-highlights {
        flex-direction: column;
        align-items: center;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Hide some decorative elements on mobile */
    .deco-dots,
    .deco-ring,
    .deco-cross,
    .deco-line,
    .hero-deco-triangle,
    .hero-deco-circle {
        display: none;
    }

    .section-divider svg {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-italic {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .skill-card {
        width: 100px;
        padding: 1rem;
    }

    .skill-card i {
        font-size: 2rem;
    }

    .creative-card i {
        font-size: 1.5rem;
    }
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}

/* ===================== SELECTION ===================== */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: var(--text-primary);
}