/* ====================================================
   DESIGN SYSTEM & VARIABLES — Purple & White Theme
   ==================================================== */
:root {
    /* Core Purple Palette */
    --color-purple-primary: #7C3AED;
    --color-purple-hover: #6D28D9;
    --color-purple-deep: #5B21B6;
    --color-purple-light: #A78BFA;
    --color-purple-glow: rgba(124, 58, 237, 0.45);
    --color-purple-glow-soft: rgba(124, 58, 237, 0.12);
    
    /* Backgrounds */
    --color-bg-white: #FFFFFF;
    --color-bg-snow: #FAFAFE;
    --color-bg-lavender: #F3EEFF;
    --color-bg-soft-purple: #EDE5FF;
    --color-bg-dark: #1A1035;
    --color-bg-dark-purple: #0F0A1F;
    
    /* Text */
    --color-text-heading: #1A1035;
    --color-text-body: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-text-white: #FFFFFF;
    
    /* Border & surface */
    --color-border: rgba(124, 58, 237, 0.12);
    --color-border-light: rgba(124, 58, 237, 0.06);
    --color-card-bg: #FFFFFF;
    
    /* Layout & Styling Tokens */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(26, 16, 53, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 16, 53, 0.08);
    --shadow-lg: 0 16px 48px rgba(26, 16, 53, 0.1);
    --shadow-purple: 0 8px 30px rgba(124, 58, 237, 0.2);
    --shadow-purple-hover: 0 12px 40px rgba(124, 58, 237, 0.35);
    
    --transition-fast: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-round: 50%;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ====================================================
   TYPOGRAPHY
   ==================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    color: var(--color-text-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.accent-text {
    background: linear-gradient(135deg, var(--color-purple-primary), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-purple-primary), #c084fc);
    opacity: 0.2;
    border-radius: 3px;
}

/* ====================================================
   SCROLL REVEAL ANIMATIONS
   ==================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children for service cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }

/* Stagger children for portfolio cards */
.portfolio-grid .portfolio-card:nth-child(1) { transition-delay: 0s; }
.portfolio-grid .portfolio-card:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid .portfolio-card:nth-child(3) { transition-delay: 0.2s; }
.portfolio-grid .portfolio-card:nth-child(4) { transition-delay: 0.3s; }
.portfolio-grid .portfolio-card:nth-child(5) { transition-delay: 0.4s; }
.portfolio-grid .portfolio-card:nth-child(6) { transition-delay: 0.5s; }

/* Stagger stat cards */
.grid-stats .stat-card:nth-child(1) { transition-delay: 0s; }
.grid-stats .stat-card:nth-child(2) { transition-delay: 0.1s; }
.grid-stats .stat-card:nth-child(3) { transition-delay: 0.15s; }
.grid-stats .stat-card:nth-child(4) { transition-delay: 0.2s; }

/* ====================================================
   COMPONENTS: BUTTONS
   ==================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-spring);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: var(--color-text-white);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-purple-hover), #7e22ce);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-purple-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-heading);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-bg-lavender);
    border-color: var(--color-purple-primary);
    color: var(--color-purple-primary);
    transform: translateY(-3px);
}

/* Dark section variant */
.hero .btn-secondary {
    color: var(--color-text-white);
    border-color: rgba(255,255,255,0.2);
}

.hero .btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-purple-light);
    color: var(--color-purple-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-purple-primary);
    border-color: var(--color-purple-primary);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

/* ====================================================
   PREMIUM PRELOADER
   ==================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1A1035, #2D1B69);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.logo-monogram {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: var(--color-text-white);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.monogram-v {
    color: var(--color-text-white);
}

.monogram-c {
    color: var(--color-purple-light);
    margin-left: -15px;
    text-shadow: 0 0 20px var(--color-purple-glow);
}

.preloader-pulse {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-purple-light), transparent);
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
}

.preloader-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: preloaderPulse 1.5s infinite;
}

@keyframes preloaderPulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-white);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.preloader-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--color-purple-light);
    text-transform: uppercase;
}

/* ====================================================
   HEADER & NAVBAR
   ==================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 72px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo-text {
    color: var(--color-text-heading);
}

.navbar.scrolled .nav-link {
    color: var(--color-text-body);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-purple-primary);
}

.navbar.scrolled .mobile-toggle {
    color: var(--color-text-heading);
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-purple-light), var(--color-purple-primary));
    transition: var(--transition-fast);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.navbar.scrolled .nav-link::after {
    background: linear-gradient(90deg, var(--color-purple-primary), #9333ea);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu dropdown */
.mobile-menu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-bg-white);
    z-index: 999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    height: calc(100vh - 90px);
    padding-bottom: 90px;
}

.mobile-link {
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-heading);
    transition: var(--transition-fast);
}

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

/* ====================================================
   HERO SECTION — Purple Gradient Mesh
   ==================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #0F0A1F 0%, #1A1035 30%, #2D1B69 60%, #1A1035 100%);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 70%);
    top: -20%;
    right: -15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.35), transparent 70%);
    bottom: -20%;
    left: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -14s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -40px) scale(1.12); }
    50% { transform: translate(-30px, 50px) scale(0.92); }
    75% { transform: translate(40px, 25px) scale(1.06); }
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(167, 139, 250, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: 1;
}

/* Particle shimmer effect */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 90%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(167, 139, 250,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(167, 139, 250,0.4) 0%, transparent 100%);
    animation: particleDrift 30s linear infinite;
    z-index: 1;
}

@keyframes particleDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.hero-content {
    max-width: 850px;
    padding: 0 2rem;
    z-index: 10;
    position: relative;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-purple-light);
    margin-bottom: 1.5rem;
    padding: 0.55rem 1.6rem;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 30px;
    background-color: rgba(124, 58, 237, 0.12);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--color-text-white);
}

.hero .accent-text {
    background: linear-gradient(135deg, #c084fc, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .accent-text::after {
    background: linear-gradient(90deg, #c084fc, #e9d5ff);
    opacity: 0.25;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    cursor: pointer;
    animation: gentleBounce 2.5s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: linear-gradient(to bottom, var(--color-purple-light), transparent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouseWheel 1.5s infinite;
}

@keyframes scrollMouseWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* ====================================================
   STATS DASHBOARD
   ==================================================== */
.stats-dashboard {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border-light);
    padding: 4.5rem 0;
    position: relative;
    z-index: 20;
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem 1rem;
    border-right: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-smooth);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--color-bg-lavender), var(--color-bg-soft-purple));
    color: var(--color-purple-primary);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: white;
    box-shadow: var(--shadow-purple);
}

.stat-icon i {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.35rem;
}

/* ====================================================
   SECTION STYLING
   ==================================================== */
section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-purple-primary);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-text-heading);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-body);
}

/* ====================================================
   SERVICES SECTION
   ==================================================== */
.services {
    background-color: var(--color-bg-snow);
}

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

.service-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-purple-primary), #c084fc, var(--color-purple-primary));
    background-size: 200% 100%;
    opacity: 0;
    transition: var(--transition-smooth);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 0 20px 50px rgba(26, 16, 53, 0.12), var(--shadow-purple);
}

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

.service-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.service-icon-wrap i {
    width: 26px;
    height: 26px;
}

.service-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    color: var(--color-text-heading);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-body);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-purple-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.service-link i {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--color-purple-hover);
}

.service-card:hover .service-link i {
    transform: translateX(6px);
}

/* ====================================================
   PORTFOLIO HIGHLIGHTS — Masonry Grid
   ==================================================== */
.portfolio {
    background-color: var(--color-bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-lg);
}

.portfolio-card-tall {
    grid-row: span 2;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(15, 10, 31, 0.95) 0%,
        rgba(15, 10, 31, 0.5) 40%,
        transparent 70%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(10px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-purple-light);
    background-color: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--color-text-white);
}

.portfolio-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.portfolio-location i {
    width: 14px;
    height: 14px;
    color: var(--color-purple-light);
}

.portfolio-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-purple-light);
    margin-bottom: 0;
}

/* ====================================================
   BRAND VIDEO SHOWCASE
   ==================================================== */
.video-showcase {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.video-showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.brand-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.video-showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(15, 10, 31, 0.92) 0%,
        rgba(26, 16, 53, 0.55) 35%,
        rgba(26, 16, 53, 0.55) 65%,
        rgba(15, 10, 31, 0.92) 100%
    );
}

.video-showcase-content {
    max-width: 800px;
    z-index: 10;
    padding: 0 2rem;
    position: relative;
}

.showcase-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-purple-light);
    display: block;
    margin-bottom: 1.5rem;
}

.showcase-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--color-text-white);
}

.showcase-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.showcase-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.showcase-controls .btn {
    gap: 0.5rem;
}

.hero-vid-btn {
    color: var(--color-text-white);
    border-color: rgba(255,255,255,0.25);
}

.hero-vid-btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-purple-light);
    color: var(--color-purple-light);
}

/* Play button visual */
.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-round);
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-purple-hover);
    transition: var(--transition-spring);
    position: relative;
    margin-bottom: 2rem;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-round);
    border: 2px solid var(--color-purple-light);
    animation: playPulse 2s ease-out infinite;
}

@keyframes playPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 50px rgba(124, 58, 237, 0.5);
}

.video-play-btn i {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* ====================================================
   ABOUT SECTION
   ==================================================== */
.about {
    background-color: var(--color-bg-snow);
}

.grid-about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    padding: 1.5rem;
}

.about-backdrop-glow {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: var(--color-purple-primary);
    opacity: 0.1;
    filter: blur(80px);
    z-index: 0;
}

.about-frame {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 3px solid var(--color-bg-lavender);
    background-color: var(--color-bg-lavender);
    z-index: 2;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.about-frame:hover {
    box-shadow: var(--shadow-purple);
    border-color: rgba(124, 58, 237, 0.2);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-bg-lavender);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.75rem;
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.experience-badge:hover {
    box-shadow: var(--shadow-purple);
    border-color: var(--color-purple-primary);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.badge-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-body);
    white-space: nowrap;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--color-purple-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.about-description {
    font-size: 1.05rem;
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
}

/* Skills Tags */
.skills-section {
    margin: 2rem 0;
}

.skills-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-purple-primary);
    margin-bottom: 1rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-purple-primary);
    background: var(--color-bg-lavender);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 30px;
    transition: var(--transition-spring);
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-purple);
}

/* Certifications */
.certifications {
    margin: 2rem 0 2.5rem 0;
}

.cert-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-purple-primary);
    margin-bottom: 1rem;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-body);
    transition: var(--transition-fast);
}

.cert-item:hover {
    color: var(--color-text-heading);
    transform: translateX(4px);
}

.cert-item i {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

/* Signature Block */
.signature-block {
    margin: 1.8rem 0 0 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-purple-primary);
}

.sig-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

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

/* ====================================================
   TESTIMONIALS SECTION
   ==================================================== */
.testimonials {
    background-color: var(--color-bg-white);
}

.testimonials-slider-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background-color: var(--color-bg-snow);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--color-border-light);
    position: relative;
    text-align: center;
}

.quote-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-round);
    background: linear-gradient(135deg, var(--color-bg-lavender), var(--color-bg-soft-purple));
    color: var(--color-purple-primary);
    margin-bottom: 1.8rem;
}

.quote-icon i {
    width: 26px;
    height: 26px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.6;
    color: var(--color-text-heading);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-client {
    margin-top: 1.5rem;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text-heading);
}

.client-role {
    font-size: 0.8rem;
    color: var(--color-purple-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slider-arrow {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-heading);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-round);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
}

.slider-arrow:hover {
    border-color: var(--color-purple-primary);
    color: var(--color-purple-primary);
    box-shadow: var(--shadow-purple);
    transform: scale(1.08);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--border-radius-round);
    background-color: var(--color-bg-soft-purple);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* ====================================================
   CONTACT & CONSULTATION
   ==================================================== */
.contact {
    background: linear-gradient(160deg, #1A1035, #2D1B69, #1A1035);
    position: relative;
    overflow: hidden;
}

.contact .section-tag {
    color: var(--color-purple-light);
}

.contact .section-title {
    color: var(--color-text-white);
}

.contact::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: var(--color-purple-primary);
    opacity: 0.08;
    filter: blur(120px);
    border-radius: var(--border-radius-round);
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: #c084fc;
    opacity: 0.06;
    filter: blur(120px);
    border-radius: var(--border-radius-round);
    z-index: 0;
}

.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4.5rem;
    z-index: 1;
    position: relative;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
}

.contact-box-desc {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.7);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}

.method-card {
    display: flex;
    gap: 1.25rem;
    transition: var(--transition-fast);
}

.method-card:hover {
    transform: translateX(6px);
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: var(--border-radius-lg);
    color: var(--color-purple-light);
    transition: var(--transition-smooth);
}

.method-card:hover .method-icon {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-purple);
}

.method-icon i {
    width: 22px;
    height: 22px;
}

.method-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text-white);
}

.method-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.social-links-box h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--color-purple-light);
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(124, 58, 237, 0.1);
    color: rgba(255,255,255,0.6);
    border-radius: var(--border-radius-round);
    text-decoration: none;
    transition: var(--transition-spring);
    border: 1px solid rgba(167, 139, 250, 0.1);
}

.social-icon:hover {
    color: white;
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-purple);
}

.contact-form-box {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(167, 139, 250, 0.12);
    padding: 3rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.15);
    padding-bottom: 1rem;
    color: var(--color-text-white);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.8);
}

.form-field input,
.form-field select,
.form-field textarea {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(167, 139, 250, 0.15);
    color: var(--color-text-white);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    outline: none;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-purple-light);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
    background-color: rgba(255,255,255,0.08);
}

/* Custom dropdown arrow styling */
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}

.form-field select option {
    background-color: #1A1035;
    color: white;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    gap: 0.75rem;
}

.btn-submit i {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.btn-submit:hover i {
    transform: translate(4px, -3px);
}

.form-feedback {
    padding: 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
    background-color: var(--color-bg-dark-purple);
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    padding: 5rem 0 2rem 0;
}

.grid-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.brand-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-nav h4, .footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-purple-light);
    margin-bottom: 1.5rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-nav ul a {
    text-decoration: none;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-nav ul a:hover {
    color: var(--color-purple-light);
    padding-left: 6px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.55);
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
    transition: var(--transition-fast);
}

.newsletter-form:focus-within {
    border-color: var(--color-purple-primary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.15);
}

.newsletter-form input {
    flex-grow: 1;
    background: none;
    border: none;
    color: var(--color-text-white);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.35);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: var(--color-text-white);
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--color-purple-hover), #7e22ce);
}

.footer-bottom {
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copy-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}

.bottom-links {
    display: flex;
    gap: 2rem;
}

.bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: var(--transition-fast);
}

.bottom-links a:hover {
    color: var(--color-purple-light);
}

/* ====================================================
   BACK TO TOP BUTTON
   ==================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-purple-primary), #9333ea);
    color: var(--color-text-white);
    border: none;
    border-radius: var(--border-radius-round);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-spring);
    box-shadow: var(--shadow-purple);
}

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

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: var(--shadow-purple-hover);
}

/* ====================================================
   RESPONSIVE DESIGN
   ==================================================== */

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }

    .portfolio-card-tall {
        grid-row: span 2;
    }
    
    .grid-about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .grid-contact {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .grid-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .navbar {
        height: 80px;
    }
    
    .navbar.scrolled {
        height: 68px;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .grid-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--color-border-light);
        padding-bottom: 1.5rem;
    }
    
    .stat-card:nth-child(even) {
        border-right: none;
    }
    
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .portfolio-card-tall {
        grid-row: span 1;
    }

    .portfolio-overlay {
        opacity: 1;
        transform: translateY(0);
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-box {
        padding: 2rem 1.5rem;
    }

    .video-showcase {
        min-height: 70vh;
    }

    .video-play-btn {
        width: 64px;
        height: 64px;
    }

    .video-play-btn i {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .grid-stats {
        grid-template-columns: 1fr;
    }
    
    .grid-footer {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-tag {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}
