/* Start custom CSS for html, class: .elementor-element-ab8e8e4 *//* ==========================================================================
   PREMIUM PORTFOLIO STYLESHEET: NOOR UL AIN (.DEV)
   Aesthetic Concept: Elephant Skin (Architectural Blueprint, Cinematic Dark, Custom Cursor)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Global CSS Custom Properties (Design System Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    
    --accent-gold: #cfa860;       /* Champagne gold - primary brand CTA and premium touch */
    --accent-gold-rgb: 207, 168, 96;
    --accent-blue: #3b82f6;       /* Electric blue - highlights frontend / technical aspects */
    --accent-blue-rgb: 59, 130, 246;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #606060;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-light: rgba(255, 255, 255, 0.12);
    --glow-gold: rgba(207, 168, 96, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --max-width: 1440px;
    --header-height: 90px;
    --header-height-scrolled: 70px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   02. CSS Reset & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.625;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color-light);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   03. Blueprint Grid & Structural Lines (Elephant Skin Concept)
   -------------------------------------------------------------------------- */
.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    pointer-events: none;
    z-index: 1;
}

.grid-line {
    height: 100%;
    border-right: 1px solid var(--border-color);
}

.grid-line:last-child {
    border-right: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section-padding {
    padding: 8rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
}

/* --------------------------------------------------------------------------
   04. Custom Interactive Cursor
   -------------------------------------------------------------------------- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor States on Hover */
body.cursor-hover .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: #ffffff;
}

body.cursor-hover .custom-cursor-follower {
    width: 60px;
    height: 60px;
    border-color: var(--accent-gold);
    background-color: rgba(207, 168, 96, 0.05);
}

body.cursor-view-project .custom-cursor-follower::after {
    content: 'VIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: #ffffff;
    font-weight: 700;
}

body.cursor-view-project .custom-cursor-follower {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

body.cursor-view-project .custom-cursor {
    opacity: 0;
}

/* Hide on mobile devices */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   05. Reusable Component Styles (Buttons, Titles, Badges)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.4rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000000;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-text {
    padding: 1rem 0;
    background: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-muted);
    font-size: 0.9rem;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-text .download-icon {
    transition: transform 0.3s;
}

.btn-text:hover .download-icon {
    transform: translateY(3px);
}

/* Section Title */
.section-title-wrapper {
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    max-width: 800px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
    .section-title-wrapper {
        margin-bottom: 3rem;
    }
}

/* --------------------------------------------------------------------------
   06. Glassmorphism Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

.logo {
    /* font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff; */

    width: 3em;
}
/* 
.logo span {
    color: var(--accent-gold);
}  */

.nav-menu ul {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-header {
    padding: 0.6rem 1.6rem;
    font-size: 0.8rem;
}

/* Hamburger Menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-fast);
}

@media (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #080808;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .btn-header {
        display: none; /* Hide Hire Me on mobile in header, contact form is linked elsewhere */
    }
    
    /* Hamburger Active animation */
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* --------------------------------------------------------------------------
   07. Home / Hero Section (Video Background)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient over video to make content readable */
    background: radial-gradient(circle at 30% 50%, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.92) 80%);
}

.hero-container {
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 950px;
    padding-top: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    margin-top: 2em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3em;
    row-gap: 0.1em;
}

.hero-headline .word {
    display: inline-block;
    position: relative;
}

.hero-headline .word.highlight {
    color: var(--accent-gold);
    font-weight: 800;
}

.hero-headline .word.highlight-alt {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-tag {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-separator {
    color: var(--text-muted);
}

.inline-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 80rem;
    z-index: 2;
    transition: var(--transition-smooth);
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    display: inline-block;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }
    100% {
        top: 18px;
        opacity: 0;
    }
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.scroll-indicator:hover .scroll-text {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hero-headline {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
    
    .hero-headline {
        font-size: 2.3rem;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   08. About Section
   -------------------------------------------------------------------------- */
.about-layout {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 5rem;
}

/* Left: Portrait Frame & Stats */
.about-visual-column {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.about-frame {
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.profile-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: var(--transition-smooth);
}

.about-image-placeholder:hover .profile-image {
    filter: grayscale(0) contrast(1);
    transform: scale(1.03);
}

.frame-border-top, .frame-border-bottom {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-gold);
    pointer-events: none;
}

.frame-border-top {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.frame-border-bottom {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.experience-badge {
    position: absolute;
    bottom: 2.5rem;
    left: -2rem;
    background-color: #ffffff;
    color: #000000;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-gold);
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.metric-item {
    text-align: center;
}

.metric-item .val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-item .lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* Right: Bio & Expertise */
.about-info-column {
    display: flex;
    flex-direction: column;
}

.about-heading {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-bio {
    font-size: 1.15rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-bio-secondary {
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-size: 0.95rem;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.expertise-card {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.expertise-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.exp-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.expertise-card h4 {
    font-size: 1.15rem;
    text-transform: uppercase;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 2.25rem;
}

.about-buttons {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual-column {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .experience-badge {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .about-buttons .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   09. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    transition: var(--transition-smooth);
    border-radius: 35px;
}

.service-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(207, 168, 96, 0.04) 0%, rgba(207, 168, 96, 0) 60%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-icon-wrapper {
    margin-bottom: 2rem;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition-smooth);
    margin-top: auto;
}

/* Card Hover */
.service-card:hover {
    border-color: rgba(207, 168, 96, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.service-card:hover .service-bg-glow {
    opacity: 1;
}

.service-card:hover .service-icon-wrapper {
    border-color: var(--accent-gold);
    background-color: rgba(207, 168, 96, 0.05);
}

.service-card:hover .service-arrow {
    background-color: var(--accent-gold);
    color: #000000;
    border-color: var(--accent-gold);
    transform: rotate(45deg);
}

/* Wide bottom card for Video Editing */
.service-card-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    min-height: auto;
    padding: 3rem;
    gap: 3rem;
}

.service-card-wide .service-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-card-wide .service-desc {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-wide {
        grid-column: span 2;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .service-card-wide .service-icon-wrapper {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        min-height: auto;
        padding: 2.5rem 2rem;
    }
    
    .service-card-wide {
        grid-column: span 1;
    }
}

/* --------------------------------------------------------------------------
   10. Portfolio Section (Filtering)
   -------------------------------------------------------------------------- */
.portfolio-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4.5rem;
    gap: 2rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.4rem;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: #ffffff;
}

.filter-btn.active {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.portfolio-card {
    opacity: 0;
    transform: scale(0.95);
    display: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card.show {
    display: block;
}

.portfolio-card.fade-in {
    opacity: 1;
    transform: scale(1);
}

.card-inner {
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.hover-view-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-details {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    margin-bottom: 0.75rem;
}

.proj-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.project-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.project-tech-stack span {
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.6rem;
    color: var(--text-secondary);
}

.btn-project-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.arrow-ico {
    transition: transform 0.3s;
}

/* Portfolio Card Hover states */
.card-inner:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-inner:hover .project-img {
    transform: scale(1.05);
}

.card-inner:hover .project-hover-overlay {
    opacity: 1;
}

.card-inner:hover .btn-project-link {
    color: var(--accent-gold);
}

.card-inner:hover .btn-project-link .arrow-ico {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .portfolio-header-container {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   11. Contact Section
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-heading-main {
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-size: 1rem;
    font-weight: 300;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-detail-item .icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item .icon-box i {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.detail-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
}

.detail-val:hover {
    color: var(--accent-gold);
}

.brand-statement {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.spark-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.brand-statement p {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Form column */
.form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem;
    position: relative;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.75rem;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input, .input-wrapper textarea {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.input-wrapper input:focus, .input-wrapper textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

.input-focus-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.input-wrapper input:focus ~ .input-focus-line, 
.input-wrapper textarea:focus ~ .input-focus-line {
    width: 100%;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
}

.send-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-submit:hover .send-icon {
    transform: translateX(4px) translateY(-2px);
}

/* Success Message Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c0c0ced;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    color: #10b981;
}

.success-message-content h3 {
    font-size: 1.75rem;
    text-transform: uppercase;
}

.success-message-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .form-wrapper {
        padding: 3rem;
    }
}

@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: #020202;
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 3rem;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-link-btn i {
    width: 18px;
    height: 18px;
}

.social-link-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 2.5rem;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-top {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-top:hover {
    color: var(--accent-gold);
}

@media (max-width: 600px) {
    .footer-top-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .footer-bottom-row {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   13. Entrance / Scroll Reveal Animations
   -------------------------------------------------------------------------- */
/* Initial Reveal States */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sequential Stagger Delays */
.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-delay-2 { transition-delay: 0.2s; }
.scroll-delay-3 { transition-delay: 0.3s; }
.scroll-delay-4 { transition-delay: 0.4s; }
.scroll-delay-5 { transition-delay: 0.5s; }

/* Staggered Heading Words for Hero (Opacity mask slide-up) */
.hero-headline .word {
    opacity: 0;
    transform: translateY(1.2em);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease-out;
}

.hero-headline.visible .word {
    opacity: 1;
    transform: translateY(0);
}

/* Loop timing for staggered words */
.hero-headline.visible .word:nth-child(1) { transition-delay: 0.05s; }
.hero-headline.visible .word:nth-child(2) { transition-delay: 0.1s; }
.hero-headline.visible .word:nth-child(3) { transition-delay: 0.15s; }
.hero-headline.visible .word:nth-child(4) { transition-delay: 0.2s; }
.hero-headline.visible .word:nth-child(5) { transition-delay: 0.25s; }
.hero-headline.visible .word:nth-child(6) { transition-delay: 0.3s; }
.hero-headline.visible .word:nth-child(7) { transition-delay: 0.35s; }
.hero-headline.visible .word:nth-child(8) { transition-delay: 0.4s; }
.hero-headline.visible .word:nth-child(9) { transition-delay: 0.45s; }
.hero-headline.visible .word:nth-child(10) { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   14. Accessibility (Reduced Motion Settings)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    .reveal-item, .hero-headline .word {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
    
    .pulse-dot {
        animation: none !important;
    }
}/* End custom CSS */