/* ============================================
   PIXELUP GRAPHICS - PREMIUM PRINT PORTFOLIO
   Complete Stylesheet (Dark Gold Theme)
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --bg-primary: #151515;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #222222;
    --bg-card: #1c1c1c;
    --bg-card-hover: #262626;
    
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-tertiary: #888888;
    
    --accent-primary: #d4af37;
    --accent-secondary: #e5c271;
    --accent-tertiary: #8a6025;
    
    --gradient-1: linear-gradient(135deg, #d4af37 0%, #8a6025 100%);
    --gradient-2: linear-gradient(135deg, #e5c271 0%, #d4af37 50%, #8a6025 100%);
    --gradient-3: linear-gradient(135deg, #8a6025 0%, #d4af37 50%, #e5c271 100%);
    --gradient-text: linear-gradient(135deg, #e5c271, #d4af37, #8a6025);
    
    --glow-primary: 0 0 20px rgba(212, 175, 55, 0.3);
    --glow-secondary: 0 0 20px rgba(229, 194, 113, 0.3);
    --glow-intense: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 80px rgba(138, 96, 37, 0.2);
    
    --border-color: rgba(212, 175, 55, 0.15);
    --border-light: rgba(212, 175, 55, 0.25);
    
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50%;
    
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);
}
/* =========================================
   PREMIUM FLOATING CLIENTS SECTION
   ========================================= */
/* .premium-clients-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 60px;
}

/* Mobile and Tablet responsiveness */
/* @media (max-width: 900px) {
    .premium-clients-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}
@media (max-width: 500px) {
    .premium-clients-wrapper {
        grid-template-columns: 1fr;
    }
} */ */

/* .premium-client-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* DEFAULT STATE: Faded Grayscale */
/* .premium-client-item img, 
.premium-client-item .text-logo {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
} */

/* CSS Trick to remove black background from Universe Capital */
/* .magic-blend {
    mix-blend-mode: screen; 
} */

/* HOVER STATE: Full Color and Scale Up */
/* .premium-client-item:hover img, 
.premium-client-item:hover .text-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Text-based Logos Styling */
/* .text-logo-serif {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ceaa5f;
    margin: 0;
    font-style: italic;
}

.text-logo-modern {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 4px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
} */ */

/* =========================================
   PREMIUM FLOATING CLIENTS SECTION (UPDATED)
   ========================================= */
/* =========================================
   PREMIUM FLOATING CLIENTS SECTION (ZIDDI FIX)
   ========================================= */
.premium-clients-wrapper {
    display: flex !important;
    flex-direction: row !important; /* Zabardasti horizontal line banayega */
    flex-wrap: wrap !important;
    justify-content: center !important; 
    align-items: center !important; 
    gap: 80px !important; 
    margin-top: 60px;
    width: 100%;
}

.premium-client-item {
    width: auto !important; /* Yeh sabse zaroori hai! Purani 100% width ko hatane ke liye */
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto !important;
}

/* DEFAULT STATE: Hamesha Colored Rahenge */
.premium-client-item img, 
.premium-client-item .text-logo {
    max-width: 180px !important;
    height: auto;
    transition: transform 0.3s ease; 
    cursor: pointer;
}

/* CSS Trick to remove black background from Universe Capital */
.magic-blend {
    mix-blend-mode: screen; 
}

/* HOVER STATE: Mouse laane par sirf thoda bada (zoom) honge */
.premium-client-item:hover img, 
.premium-client-item:hover .text-logo {
    transform: scale(1.1);
}

/* Text-based Logos Styling */
.text-logo-serif {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ceaa5f;
    margin: 0;
    font-style: italic;
}



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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
    font-size: 16px;
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--gradient-1); border-radius: 10px; }

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; outline: none; }

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ===== Custom Cursor ===== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.cursor-follower.hover {
    width: 64px;
    height: 64px;
    border-color: var(--accent-secondary);
    background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none; }
}

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

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    animation: preloaderSpin 2s linear infinite;
}

.preloader-circle:nth-child(1) {
    width: 200px; height: 200px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-top-color: var(--accent-primary);
}

.preloader-circle:nth-child(2) {
    width: 160px; height: 160px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-right-color: var(--accent-secondary);
    animation-direction: reverse;
    animation-duration: 1.5s;
}

.preloader-circle:nth-child(3) {
    width: 120px; height: 120px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-bottom-color: var(--accent-tertiary);
    animation-duration: 1s;
}

@keyframes preloaderSpin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.preloader-text {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.preloader-text span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 12px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-text span:nth-child(2) {
    font-size: 1.2rem;
    letter-spacing: 20px;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
    background: none;
    animation-delay: 0.2s;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.preloader-counter {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 4px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--bg-tertiary);
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.preloader-bar-inner {
    height: 100%;
    width: 0%;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* ===== Noise Overlay ===== */
.noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    animation: noiseMove 0.2s steps(4) infinite;
}

@keyframes noiseMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 2%); }
    50% { transform: translate(2%, -2%); }
    75% { transform: translate(-2%, -2%); }
    100% { transform: translate(2%, 2%); }
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(0);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.logo-dot {
    color: var(--accent-primary);
    font-size: 2.2rem;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 16px;
    color: var(--accent-primary);
    font-weight: 600;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: var(--glow-primary);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-intense);
}

.nav-cta i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.nav-cta:hover i {
    transform: translateX(4px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 10002;
}

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

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

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

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

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.97);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    backdrop-filter: blur(20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list li {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-menu-overlay.active .mobile-nav-list li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

/* ===== EDITORIAL SECTION HEADERS ===== */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ceaa5f; /* Fixed from purple to gold */
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ===== LUXURY SERVICE CARDS (No Photos Needed) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px; /* Creates a fine grid line effect */
    background: rgba(255, 255, 255, 0.05); /* Subtle grid line color */
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.service-card {
    background: var(--bg-primary); /* Solid dark background */
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-style: italic;
    color: rgba(206, 170, 95, 0.15); /* Faint gold number */
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-icon {
    font-size: 2rem;
    color: #ceaa5f; /* Solid gold icons */
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: white;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
}

/* Elegant Hover Effect */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ceaa5f;
    transition: width 0.4s ease;
}

.service-card:hover {
    background: rgba(20, 20, 20, 1);
    transform: translateY(-5px);
}

.service-card:hover::after {
    width: 100%;
}

.service-card:hover .service-number {
    color: rgba(206, 170, 95, 0.4);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

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

/* ===== HERO SECTION ===== */
/* ============================================
   NEW LOVABLE EDITORIAL HERO DESIGN OVERRIDES
============================================ */

/* Navbar Updates */
.nav-custom-layout { display: flex; align-items: center; justify-content: space-between; }
.logo-ds { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: white; }
.logo-adv { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: #d4af37; } 
.nav-menu { flex-grow: 1; display: flex; justify-content: center; }
.new-nav-list { display: flex; gap: 40px; }
.nav-link-new { font-size: 0.75rem; letter-spacing: 2px; color: #aaa; text-transform: uppercase; font-weight: 500; transition: var(--transition); }
.nav-link-new:hover, .nav-link-new.active { color: white; }
.nav-inquire-btn { padding: 10px 24px; border: 1px solid rgba(255,255,255,0.2); color: #aaa; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; transition: var(--transition); border-radius: 2px; }
.nav-inquire-btn:hover { border-color: white; color: white; }

/* Hero Section Updates */
.hero-section-lovable { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg-image { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; z-index: 0; }

/* Dark gradient fade from left to right so the image shows on the right */
.hero-gradient-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(90deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.85) 45%, rgba(10,10,10,0) 100%); z-index: 1; }

.hero-container-lovable { width: 100%; z-index: 2; position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 10vh; height: 100%; padding-bottom: 80px;}
.hero-left-col { max-width: 650px; align-self: center; }

.eyebrow { display: flex; align-items: center; gap: 15px; font-size: 0.75rem; letter-spacing: 3px; color: #ceaa5f; text-transform: uppercase; margin-bottom: 30px; font-weight: 600; }
.eyebrow-line { width: 40px; height: 1px; background: #ceaa5f; }

.hero-heading { font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1.1; font-weight: 300; color: white; margin-bottom: 30px; letter-spacing: -1px; }
.playfair { font-family: var(--font-display); }
.italic { font-style: italic; color: white; }
.gold { color: #ceaa5f; }

.hero-subtext { font-size: 1.15rem; color: #999; line-height: 1.6; font-weight: 300; margin-bottom: 50px; max-width: 500px; }

/* Square Editorial Buttons */
.hero-buttons { display: flex; gap: 20px; }
.btn-lovable { padding: 18px 36px; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: var(--transition); border-radius: 2px; display: inline-block;}
.btn-lovable.primary { background: #ceaa5f; color: #111; border: 1px solid #ceaa5f; }
.btn-lovable.primary:hover { background: #b8954d; border-color: #b8954d; }
.btn-lovable.secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-lovable.secondary:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* Stats positioned bottom right */
.hero-right-col { display: flex; gap: 50px; margin-bottom: -10px; }
.stat-group { display: flex; flex-direction: column; gap: 5px; }
.stat-number { font-size: 3.5rem; color: white; line-height: 1; font-weight: 400;}
.stat-label { font-size: 0.65rem; color: #777; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container-lovable { flex-direction: column; align-items: flex-start; justify-content: center; gap: 60px; padding-bottom: 40px;}
    .hero-left-col { align-self: flex-start; }
    .hero-right-col { margin-bottom: 0; }
    .nav-menu { display: none; }
    .hero-gradient-overlay { background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.85) 100%); }
}
@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-lovable { text-align: center; }
    .hero-right-col { gap: 30px; }
    .hero-heading { font-size: 3rem; }
}

/* ===== MARQUEE ===== */
.marquee-section {
    padding: 30px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.marquee-star {
    color: var(--accent-primary) !important;
    font-size: 1rem !important;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.06);
    line-height: 1;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: rgba(212, 175, 55, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:hover .service-icon {
    background: var(--gradient-1);
}

.service-card:hover .service-icon i {
    -webkit-text-fill-color: white;
    background: none;
}

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

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

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    justify-content: center;
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

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

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-link:hover {
    background: var(--accent-secondary);
    transform: scale(1.1) !important;
}

.project-info {
    padding: 24px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CUSTOM INSTAGRAM GALLERY (FANCYBOX)
============================================ */
.custom-insta-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.insta-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.insta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.insta-overlay i {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.insta-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.insta-card:hover img { transform: scale(1.1); }
.insta-card:hover .insta-overlay { opacity: 1; }
.insta-card:hover .insta-overlay i,
.insta-card:hover .insta-overlay span { transform: translateY(0); }

/* ============ Achievement Section =================*/
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s ease;
    color: inherit;
    text-decoration: none;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-terminal {
    background: rgba(12, 12, 18, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 1000px;
    margin: 0 auto;
}
.terminal-header {
    background: rgba(255,255,255,0.03);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-dots {
    display: flex;
    gap: 8px;
}
.terminal-dots span {
    width: 12px; height: 12px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.terminal-status {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pulse-green {
    color: #00ff88;
    animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.terminal-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.terminal-sidebar {
    padding: 40px 30px;
    background: rgba(0,0,0,0.2);
    border-right: 1px solid rgba(255,255,255,0.05);
}
.comm-channel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}
.comm-channel i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-top: 4px;
}
.comm-channel h5 {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.comm-channel p {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}
.terminal-socials h5 {
    color: var(--text-tertiary);
    font-family: 'Courier New', monospace;
    margin-bottom: 16px;
}
.social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.soc-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.soc-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-primary);
    color: white;
}

.terminal-form-wrapper {
    padding: 40px;
}
.contact-form-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.input-group {
    position: relative;
}
.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 6px;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.input-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-tertiary);
    font-family: 'Courier New', monospace;
    pointer-events: none;
    transition: var(--transition);
}
.input-group input:focus, .input-group textarea:focus,
.input-group input:not(:placeholder-shown), .input-group textarea:not(:placeholder-shown) {
    border-color: rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.4);
}
.input-group input:focus ~ label, .input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    color: var(--accent-secondary);
    background: var(--bg-card);
    padding: 0 6px;
}
.input-glow {
    position: absolute;
    bottom: 0; left: 0;
    height: 2px; width: 0;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}
.input-group input:focus ~ .input-glow, .input-group textarea:focus ~ .input-glow {
    width: 100%;
}
.btn-transmit {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.btn-transmit:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

@media (max-width: 900px) {
    .terminal-body { grid-template-columns: 1fr; }
    .terminal-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .contact-form-premium { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 100px 0;
    text-align: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-bottom {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-logo span {
    color: var(--accent-primary);
}

.footer-col p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-col ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--accent-primary);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 20px;
}

.footer-col ul li a:hover::before {
    left: 0;
    opacity: 1;
}

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

.footer-socials a {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 30px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.back-to-top {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
/* ============================================
   GLOBAL FIX FOR INVISIBLE ELEMENTS (JS OVERRIDE)
============================================ */
.reveal-up, 
.reveal-left, 
.reveal-right,
.project-card,
.service-card,
.section-title {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
    visibility: visible !important;
}

/* Force the custom cursor to be Gold */
.cursor {
    background: #ceaa5f !important;
}

.cursor-follower {
    border-color: #ceaa5f !important;
}

.cursor-follower.hover {
    background: rgba(206, 170, 95, 0.15) !important;
}
/* ============================================
   EMERGENCY FIXES & OVERRIDES
============================================ */

/* 1. Force the Services grid and titles to show even if JS fails */
.services-section .reveal-up,
.services-section .service-card,
.section-title {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* 2. Force the custom cursor to be Gold (Overrides main.js) */
.cursor {
    background: #ceaa5f !important;
}

.cursor-follower {
    border-color: #ceaa5f !important;
}

.cursor-follower.hover {
    background: rgba(206, 170, 95, 0.15) !important;
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.magnetic-btn {
    display: inline-flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}