/* ==========================================================================
   SOUBKODE PREMIUM FUTURISTIC PORTFOLIO DESIGN SYSTEM
   ========================================================================== */

/* 1. CORE DESIGN VARIABLES & TOKENS */
:root {
    /* Color Palette */
    --bg-color: #06070a;
    --card-bg: rgba(10, 11, 16, 0.6);
    --text-color: #ffffff;
    --text-secondary: #9ea3c0;
    --primary: #e01f34;
    /* Hot Pink/Red */
    --secondary: #2aced5;
    /* Electric Cyan */

    /* Glows & Blurs */
    --primary-glow: rgba(224, 31, 52, 0.4);
    --secondary-glow: rgba(42, 206, 213, 0.4);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-hover: rgba(255, 255, 255, 0.2);
    --card-glow-red: 0 0 25px rgba(224, 31, 52, 0.25);
    --card-glow-cyan: 0 0 25px rgba(42, 206, 213, 0.25);

    /* Typography */
    --font-title: 'Orbitron', sans-serif;
    --font-subtitle: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Headers & Heights */
    --header-height: 80px;
}

/* 2. BASE RESET & INITIALIZATION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* 3. VISUAL ATMOSPHERE & BACKGROUNDS */

/* Floating Glowing Blurs */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.28;
    pointer-events: none;
    mix-blend-mode: screen;
}

.glow-red {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(224, 31, 52, 0) 70%);
    top: -5%;
    left: -10%;
    animation: floatBlobRed 28s infinite alternate ease-in-out;
}

.glow-cyan {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(42, 206, 213, 0) 70%);
    bottom: -10%;
    right: -10%;
    animation: floatBlobCyan 32s infinite alternate ease-in-out;
}

@keyframes floatBlobRed {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(8%, 10%) scale(1.1) rotate(180deg);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9) rotate(360deg);
    }
}

@keyframes floatBlobCyan {
    0% {
        transform: translate(0, 0) scale(1.1) rotate(0deg);
    }

    50% {
        transform: translate(-10%, -8%) scale(0.9) rotate(-180deg);
    }

    100% {
        transform: translate(5%, 5%) scale(1) rotate(-360deg);
    }
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Class Base */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Custom Cursor */
.custom-cursor {
    width: 25px;
    height: 25px;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: none;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    display: none;
}

@media (min-width: 992px) {

    .custom-cursor,
    .custom-cursor-dot {
        display: block;
    }
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(42, 206, 213, 0.1);
    border-color: var(--primary);
}

/* Preloader Screen */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
    text-align: center;
    width: 300px;
}

.preloader-logo {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(42, 206, 213, 0.3);
}

.preloader-bar-bg {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--secondary);
    transition: width 0.1s ease;
}

.preloader-percent {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* 4. BUTTON SYSTEMS & DYNAMICS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #a81223 100%);
    color: var(--text-color);
    box-shadow: 0 5px 20px rgba(224, 31, 52, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    box-shadow: var(--card-glow-cyan);
    transform: translateY(-3px);
}

.btn-nav {
    padding: 10px 22px;
    font-size: 0.75rem;
    background: rgba(42, 206, 213, 0.1);
    border: 1px solid rgba(42, 206, 213, 0.2);
    color: var(--text-color);
}

.glow-btn-red:hover {
    box-shadow: 0 0 30px var(--primary);
    transform: translateY(-4px);
}

.glow-btn-cyan:hover {
    box-shadow: 0 0 30px var(--secondary);
    transform: translateY(-4px);
}

.glow-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--secondary);
    transform: translateY(-2px);
}

.btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px) translateY(-2px);
}

/* 5. NAVIGATION HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(6, 7, 10, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(6, 7, 10, 0.85);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--secondary);
    font-weight: 400;
    transition: var(--transition-smooth);
}

.logo:hover .logo-accent {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

/* Round Logo Image in Navbar */
.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.logo:hover .nav-logo-img {
    border-color: var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
    transform: scale(1.08) rotate(5deg);
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1100;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* 6. HERO LANDING SECTION (3D ORBIT ATTRACTION) */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-left {
    z-index: 5;
    position: relative;
}

.hero-badge-container {
    margin-bottom: 20px;
}

.hero-badge {
    background: rgba(42, 206, 213, 0.08);
    border: 1px solid rgba(42, 206, 213, 0.2);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-family: var(--font-title);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(42, 206, 213, 0.1);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.4;
        box-shadow: 0 0 0 0 var(--secondary-glow);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 8px 3px var(--secondary-glow);
    }

    100% {
        transform: scale(0.9);
        opacity: 0.4;
        box-shadow: 0 0 0 0 var(--secondary-glow);
    }
}

.hero-brand {
    font-family: var(--font-title);
    font-size: 5.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 0.95;
    background: linear-gradient(135deg, var(--text-color) 30%, rgba(255, 255, 255, 0.15) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.hero-name {
    font-family: var(--font-subtitle);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: block;
}

.hero-tagline {
    font-family: var(--font-subtitle);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.text-glow {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary-glow);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.scroll-mouse-btn {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
    display: block;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 2s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
    0% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.1;
    }

    100% {
        top: 6px;
        opacity: 1;
    }
}

.scroll-text {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

/* 3D ORBIT UNIVERSE MECHANICAL HOVER */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 600px;
    width: 100%;
}

.orbit-universe {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center Avatar and HUD Rings */
.orbit-center {
    position: absolute;
    top: 50px;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.avatar-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    animation: floatAvatar 6s infinite ease-in-out;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2) translateY(-8%);
    filter: saturate(1.1) contrast(1.05);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(224, 31, 52, 0.25) 100%);
    mix-blend-mode: overlay;
}

.avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(224, 31, 52, 0.4), inset 0 0 20px rgba(42, 206, 213, 0.3);
    z-index: -1;
    pointer-events: none;
}

@keyframes floatAvatar {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* HUD Scanning Rings */
.hud-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.ring-outer {
    width: 220px;
    height: 220px;
    border: 1px dashed rgba(42, 206, 213, 0.25);
    border-top: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    animation: spinClockwise 25s infinite linear;
}

.ring-middle {
    width: 190px;
    height: 190px;
    border: 1px dashed rgba(224, 31, 52, 0.25);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    animation: spinCounterClockwise 18s infinite linear;
}

.ring-inner {
    width: 170px;
    height: 170px;
    border: 1px dotted rgba(255, 255, 255, 0.15);
    animation: spinClockwise 8s infinite linear;
}

@keyframes spinClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinCounterClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* 3D Orbiting Cards Track */
.orbit-track {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
    z-index: 6;
}

.project-card-3d {
    position: absolute;
    width: 195px;
    height: 250px;
    cursor: pointer;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-3d-link {
    width: 100%;
    height: 100%;
    display: block;
}

.card-3d-inner {
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition-bounce);
}

.project-card-3d:hover .card-3d-inner {
    border-color: var(--secondary);
    box-shadow: 0 0 25px rgba(42, 206, 213, 0.3), 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-8px) scale(1.05);
}

/* Custom project card visual styles in 3D orbit */
.card-3d-preview {
    height: 140px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

.preview-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.project-icon {
    font-size: 2.8rem;
    color: var(--text-color);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 2;
    transition: var(--transition-bounce);
}

.project-card-3d:hover .project-icon {
    transform: scale(1.2);
}

/* Individual project visual designs */
.preview-nirkala {
    background: linear-gradient(135deg, #1f1437 0%, #3e1b5b 100%);
    border: 1px solid rgba(158, 73, 237, 0.2);
}

.preview-nirkala .project-icon {
    color: #cc8ef5;
    text-shadow: 0 0 15px rgba(204, 142, 245, 0.5);
}

.preview-mirum {
    background: linear-gradient(135deg, #0f1f3a 0%, #153c6b 100%);
    border: 1px solid rgba(42, 114, 213, 0.2);
}

.preview-mirum .project-icon {
    color: #6db6ff;
    text-shadow: 0 0 15px rgba(109, 182, 255, 0.5);
}

.preview-abhi {
    background: linear-gradient(135deg, #1a1a1c 0%, #323236 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-abhi .project-icon {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.preview-brg {
    background: linear-gradient(135deg, #2b1c11 0%, #522d14 100%);
    border: 1px solid rgba(243, 115, 32, 0.2);
}

.preview-brg .project-icon {
    color: #fca368;
    text-shadow: 0 0 15px rgba(252, 163, 104, 0.5);
}

.preview-google {
    background: linear-gradient(135deg, #10241b 0%, #1b4b35 100%);
    border: 1px solid rgba(34, 166, 101, 0.2);
}

.preview-google .project-icon {
    color: #6bf2ab;
    text-shadow: 0 0 15px rgba(107, 242, 171, 0.5);
}

.preview-oaktree {
    background: linear-gradient(135deg, #1c2612 0%, #3a4c21 100%);
    border: 1px solid rgba(135, 186, 68, 0.2);
}

.preview-oaktree .project-icon {
    color: #b7e376;
    text-shadow: 0 0 15px rgba(183, 227, 118, 0.5);
}

.card-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(6, 7, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-color);
    padding: 3px 8px;
    border-radius: 30px;
    font-size: 0.62rem;
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-3d-info {
    padding: 12px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-3d-info h4 {
    font-family: var(--font-subtitle);
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-3d-info p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.2;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link-btn {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.project-card-3d:hover .card-link-btn {
    color: var(--primary);
    transform: translateX(3px);
}

/* 7. SECTION HEADER SYSTEM */
.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(224, 31, 52, 0.2);
}

.section-title {
    font-family: var(--font-subtitle);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 800px;
    background: linear-gradient(135deg, var(--text-color) 40%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 8. ABOUT SECTION DESIGN */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.about-card {
    padding: 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.about-icon-top {
    font-size: 2.2rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.about-card h3 {
    font-family: var(--font-subtitle);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.about-lead {
    font-size: 1.05rem !important;
    line-height: 1.5;
    color: var(--text-color) !important;
}

.text-cyan {
    color: var(--secondary);
    font-weight: 600;
}

.text-red {
    color: var(--primary);
    font-weight: 600;
}

/* Personal Details Sub-layout */
.personal-details {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

.detail-label {
    color: var(--text-secondary);
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-value {
    color: var(--text-color);
    font-weight: 600;
}

/* Technology Grid Items */
.stack-desc {
    margin-bottom: 25px !important;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: auto;
}

.tech-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 1.5rem;
    transition: transform 0.4s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.15) rotate(5deg);
}

.tech-item span {
    font-size: 0.65rem;
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Stack Brand Colors */
.html-color {
    color: #e34f26;
}

.css-color {
    color: #1572b6;
}

.js-color {
    color: #f7df1e;
}

.gsap-color {
    color: #88ce02;
}

.swiper-color {
    color: #0080ff;
}

.three-color {
    color: #ffffff;
}

.figma-color {
    color: #f24e1e;
}

.responsive-color {
    color: var(--secondary);
}

/* 9. SERVICES SECTION DESIGN */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-border {
    border-color: var(--secondary);
    box-shadow: inset 0 0 15px rgba(42, 206, 213, 0.15);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 25px;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon-box {
    background: var(--secondary);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--secondary);
    transform: scale(1.08) rotate(-5deg);
}

.service-card h3 {
    font-family: var(--font-subtitle);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.service-tag {
    margin-top: auto;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(224, 31, 52, 0.08);
    border: 1px solid rgba(224, 31, 52, 0.15);
    padding: 6px 12px;
    border-radius: 30px;
    width: fit-content;
}

/* Mouse cursor hover glow effect */
.hover-glow-effect {
    position: relative;
}

.hover-glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hover-glow-effect:hover::before {
    opacity: 1;
}

/* 10. PROJECTS GALLERY DISPLAY */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-grid-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-image {
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-img-placeholder i {
    font-size: 4rem;
    transition: var(--transition-bounce);
}

.project-grid-card:hover .project-img-placeholder {
    transform: scale(1.12);
}

.project-grid-card:hover .project-img-placeholder i {
    transform: scale(1.15) rotate(8deg);
}

.project-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(6, 7, 10, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-family: var(--font-title);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-card-body {
    padding: 25px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-body h3 {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-card-body p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.project-tech-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.project-tech-badges span {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.btn-project-link {
    margin-top: auto;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.project-grid-card:hover .btn-project-link {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(224, 31, 52, 0.3);
    transform: translateY(-2px);
}

.project-grid-card:hover .btn-project-link i {
    transform: translate(2px, -2px);
}

/* 11. PACKAGES PRICING STRUCTURES */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.package-card {
    padding: 50px 35px 35px 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-family: var(--font-title);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.package-card h3 {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.package-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.package-price .currency {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary);
    margin-right: 5px;
}

.package-price .amount {
    font-family: var(--font-title);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-color);
}

.package-price .period {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 5px;
}

.package-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.5;
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    margin-top: auto;
}

.package-features li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.package-features li i.fa-circle-check {
    color: var(--secondary);
}

.package-features li.disabled {
    color: rgba(255, 255, 255, 0.25);
}

.package-features li.disabled i {
    color: rgba(255, 255, 255, 0.15);
}

.btn-package {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

/* Styling Highlight Popular Card */
.popular-card {
    border-color: rgba(224, 31, 52, 0.25);
    background: rgba(10, 11, 16, 0.85);
}

.popular-badge {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--text-color) !important;
    box-shadow: 0 0 10px rgba(224, 31, 52, 0.4);
}

.popular-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 15px var(--primary);
}

.popular-card .btn-package {
    background: var(--primary);
    border-color: var(--primary);
}

.popular-card .btn-package:hover {
    box-shadow: var(--card-glow-red);
}

.popular-card .package-price .currency {
    color: var(--primary);
}

.hover-lift-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* 12. TESTIMONIALS SECTION */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-bounce);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(42, 206, 213, 0.1);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.author-info h4 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.author-info span {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 13. FAQ ACCORDION LAYOUT */
.faq-accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-subtitle);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-color);
}

.faq-icon-box {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--secondary);
    transition: var(--transition-bounce);
}

.faq-trigger:hover .faq-icon-box {
    background: var(--secondary);
    color: var(--bg-color);
    box-shadow: 0 0 12px var(--secondary);
}

/* Smooth Accordion Height Animation via CSS Grid Hack */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content p {
    padding: 0 30px 24px 30px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Active State Accordion */
.faq-item.active .faq-content {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-icon-box {
    transform: rotate(135deg);
    background: var(--primary);
    color: var(--text-color);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary);
}

/* 13. CONTACT INQUIRY & TRANSMISSION SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-panel {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.contact-info-panel h3 {
    font-family: var(--font-subtitle);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-lead {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.c-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--secondary);
}

.c-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.c-info span {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.c-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.c-link:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px var(--secondary-glow);
}

.social-block {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-block span {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--text-color);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--secondary);
    transform: translateY(-3px) scale(1.05);
}

/* Glassmorphic Contact Form */
.contact-form-panel {
    padding: 50px 40px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.form-group select option {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(42, 206, 213, 0.2);
}

/* Submit Button & Feedback */
.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
}

.form-feedback {
    font-family: var(--font-title);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    min-height: 20px;
    transition: var(--transition-smooth);
}

.form-feedback.success {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(42, 206, 213, 0.3);
}

.form-feedback.error {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(224, 31, 52, 0.3);
}

/* 14. FOOTER */
.main-footer {
    background: rgba(4, 5, 8, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px 0;
}

.footer-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-color);
    margin-bottom: 20px;
    display: block;
}

.footer-brand-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    max-width: 420px;
    line-height: 1.6;
}

.footer-links-column h4,
.footer-legal-column h4 {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--text-color);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links-column ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

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

.footer-links-column a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-legal-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-family: var(--font-title);
    letter-spacing: 1px;
    color: var(--text-secondary);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-socials a:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(224, 31, 52, 0.3);
    transform: translateY(-2px);
}

/* 15. FLOATING ELEMENTS & MISC COMPONENTS */

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 2rem;
    z-index: 999;
    animation: whatsappPulse 2s infinite ease-in-out;
    transition: var(--transition-bounce);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #0f111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1rem;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    color: var(--bg-color);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    transform: translateY(-3px);
}

/* Section Reveal Mechanics for JS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   16. COMPREHENSIVE RESPONSIVE ADAPTATION (MOBILE-FIRST DRIVEN)
   ========================================================================== */

/* Large Laptops / Desktops (< 1200px) */
@media (max-width: 1200px) {
    .hero-brand {
        font-size: 4.4rem;
    }

    .hero-tagline {
        font-size: 1.9rem;
    }

    .about-card {
        padding: 30px;
    }

    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-card {
        padding: 35px 25px;
    }

    .package-price .amount {
        font-size: 3.2rem;
    }
}

/* Tablets & Small Laptops (< 992px) */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .header-container {
        padding: 0 24px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(6, 7, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid var(--glass-border);
        padding: 100px 40px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    /* Toggle active hamburger styling */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        padding: 40px 24px;
    }

    .hero-brand {
        font-size: 4rem;
    }

    .hero-name {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

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

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    /* Orbit Space adjust for smaller layout */
    .hero-right {
        height: 480px;
        order: 2;
        /* Display 3D carousel after text in tablet/mobile */
    }

    .orbit-center {
        width: 180px;
        height: 180px;
        top: 0px; /* Adjusted to move avatar up on mobile */
    }

    .avatar-container {
        width: 130px;
        height: 130px;
    }

    .ring-outer {
        width: 180px;
        height: 180px;
    }

    .ring-middle {
        width: 155px;
        height: 155px;
    }

    .ring-inner {
        width: 135px;
        height: 135px;
    }

    /* Grid Adjustments */
    .about-grid,
    .services-grid,
    .projects-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-container {
        padding: 60px 24px;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
    .hero-brand {
        font-size: 3.2rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .hero-right {
        height: 420px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .faq-trigger {
        padding: 20px;
        font-size: 0.98rem;
    }

    .faq-content p {
        padding: 0 20px 20px 20px;
    }
}

/* Micro-mobiles (< 480px) */
@media (max-width: 480px) {
    .hero-brand {
        font-size: 2.6rem;
        letter-spacing: -0.5px;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-right {
        height: 380px;
    }

    .project-card-3d {
        width: 140px;
        height: 200px;
    }

    .card-3d-preview {
        height: 100px;
    }

    .project-icon {
        font-size: 2rem;
    }

    .card-3d-info h4 {
        font-size: 0.8rem;
    }

    .card-3d-info p {
        font-size: 0.65rem;
    }

    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        left: 20px;
    }
}

/* ============================================================
   QUALIFICATION TIMELINE SECTION
   ============================================================ */

.qualification-timeline {
    margin-top: 50px;
    padding: 45px 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.timeline-main-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-main-title i {
    font-size: 1.4rem;
}

.timeline-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

/* Horizontal connecting line between all items */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: 0.35;
    z-index: 0;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-top: 0;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 12px var(--secondary-glow), 0 0 25px var(--secondary-glow);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    animation: dotPulse 2.5s ease-in-out infinite;
}

.timeline-item:first-child .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow), 0 0 25px var(--primary-glow);
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 20px 22px;
    width: 100%;
    transition: var(--transition-smooth);
}

.timeline-item:first-child .timeline-content {
    border-color: rgba(224, 31, 52, 0.3);
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
}

.timeline-date {
    font-family: var(--font-subtitle);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

.timeline-item:first-child .timeline-date {
    color: var(--primary);
}

.timeline-content h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mobile: switch to vertical layout */
@media (max-width: 768px) {
    .qualification-timeline {
        padding: 35px 28px;
    }

    .timeline-container {
        flex-direction: column;
        gap: 0;
    }

    .timeline-container::before {
        top: 0;
        left: 7px;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--secondary), var(--primary));
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 30px;
    }

    .timeline-item:last-child {
        padding-bottom: 0;
    }

    .timeline-dot {
        margin-bottom: 0;
        margin-top: 2px;
    }

    .timeline-content {
        flex: 1;
    }
}