/* 
 * DEVISE DIGITAL - PREMIUM PRINTING AGENCY 
 * Core Stylesheet
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Extracted from Logo Requirements */
    --c-cyan: #00C3FF;
    --c-magenta: #FF007F;
    --c-yellow: #FFD700;

    /* Neutrals & UI Colors */
    --c-dark: #0A0F1A;
    --c-dark-muted: #1A2235;
    --c-text: #334155;
    --c-text-light: #64748B;
    --c-bg: #FFFFFF;
    --c-bg-off: #F8FAFC;
    --c-bg-glass: rgba(255, 255, 255, 0.85);
    --c-border: rgba(0, 0, 0, 0.06);
    --c-border-hover: rgba(0, 0, 0, 0.12);

    /* Gradients */
    --gradient-cmyk: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-magenta) 50%, var(--c-yellow) 100%);
    --gradient-brand: linear-gradient(135deg, #0088FF 0%, var(--c-magenta) 100%);
    --gradient-text: linear-gradient(135deg, var(--c-dark) 0%, var(--c-text) 100%);
    --gradient-text-cmyk: linear-gradient(to right, var(--c-cyan), var(--c-magenta));
    --gradient-soft: linear-gradient(180deg, var(--c-bg-off) 0%, var(--c-bg) 100%);
    --gradient-dark: linear-gradient(135deg, var(--c-dark) 0%, #1a1a2e 100%);

    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 15, 26, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 15, 26, 0.08);
    --shadow-lg: 0 20px 48px rgba(10, 15, 26, 0.12);
    --shadow-glow: 0 10px 30px -10px rgba(0, 195, 255, 0.3);

    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-width: 1280px;
    --section-spacing: 120px;
    --nav-height: 110px;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--c-dark);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-text-cmyk);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* Section Styles */
section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.section-light {
    background: var(--c-bg);
}

.section-muted {
    background: var(--c-bg-off);
}

.section-dark {
    background: var(--c-dark);
    color: var(--c-bg-off);
}

.section-dark h2,
.section-dark h3 {
    color: var(--c-bg);
}

.section-dark .text-muted {
    color: var(--c-text-light);
}

/* Section Separators */
.separator-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--c-bg-off), transparent);
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    gap: 8px;
    z-index: 1;
}

.btn-primary {
    background: var(--c-dark);
    color: var(--c-bg);
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-brand);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--c-dark);
    border: 1px solid var(--c-border-hover);
}

.btn-outline:hover {
    border-color: var(--c-dark);
    background: var(--c-bg-off);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-brand);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: var(--c-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--c-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--c-dark);
    z-index: 1001;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.nav-logo-img-footer {
    height: 64px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-text);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-brand);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--c-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--c-dark);
    z-index: 1001;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--c-bg-off);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand p {
    color: var(--c-text-light);
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--c-text-light);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--c-cyan);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--c-text-light);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--c-cyan);
    transform: translateY(-4px);
}

/* Animations (Intersection Observer Targets) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all var(--transition-slow);
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.fade-in.active {
    opacity: 1;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-brand);
    width: 0%;
    z-index: 1002;
    transition: width 0.1s ease-out;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--c-bg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-dark);
    font-size: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--c-dark);
    color: white;
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
        --nav-height: 100px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--c-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-base);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================================================
   COMPONENTS & PAGE SPECIFIC STYLES 
   ========================================================================= */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    background: var(--c-bg);
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 195, 255, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 0, 127, 0.05), transparent 40%);
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--c-cyan);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--c-magenta);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--c-yellow);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--c-bg-off);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--c-text);
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--c-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Grids */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Section Header */
.section-header {
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--c-text-light);
    font-size: 1.125rem;
    margin-top: 16px;
}

/* Cards */
.card {
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card {
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 195, 255, 0.3);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--c-bg-off);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--c-dark);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-card:hover .card-icon {
    background: var(--gradient-brand);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--c-text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--c-dark);
    font-size: 0.9rem;
}

.card-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .card-link {
    color: var(--c-cyan);
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}

/* About Section Placeholder */
.about-image-wrapper {
    position: relative;
}

.image-placeholder {
    width: 100%;
    background: var(--c-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text-light);
    gap: 16px;
    font-size: 1.25rem;
}

.image-placeholder i {
    font-size: 3rem;
    color: var(--c-dark-muted);
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.about-decor {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 4px solid var(--c-cyan);
    border-radius: var(--radius-md);
    z-index: -1;
}

/* Statistics */
.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Products */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 200px;
    background: var(--c-bg-off);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--c-border-hover);
    transition: all var(--transition-base);
}

.product-card:hover .product-img {
    background: var(--c-dark);
    color: var(--c-cyan);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.text-link {
    font-weight: 600;
    color: var(--c-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card:hover .text-link {
    color: var(--c-magenta);
}

/* Parallax Break */
.parallax-break {
    padding: 120px 0;
    background-color: var(--c-dark);
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    /* Normally you put a URL here, we will simulate the premium vibe with gradients */
    background-image: radial-gradient(circle at center, rgba(0, 195, 255, 0.2), transparent 50%),
        radial-gradient(circle at top right, rgba(255, 0, 127, 0.2), transparent 50%);
}

.parallax-break h2 {
    color: white;
}

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--c-border);
    margin-bottom: 24px;
}

.quote-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--c-dark);
    margin-bottom: 32px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.placeholder-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--c-bg-off);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-light);
}

/* CTA */
.cta-section {
    padding: 120px 0;
    position: relative;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.15), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Responsive Grids */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* =========================================================================
   ABOUT PAGE STYLES 
   ========================================================================= */

.page-header {
    padding: 160px 0 80px;
    background: var(--c-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 195, 255, 0.1), transparent 50%);
    animation: rotate 60s linear infinite;
    z-index: 0;
}

.page-title {
    position: relative;
    z-index: 1;
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.page-subtitle {
    position: relative;
    z-index: 1;
    color: var(--c-text-light);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--c-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--c-bg);
    border-radius: 50%;
    border: 4px solid var(--c-cyan);
    box-shadow: 0 0 0 4px var(--c-bg-off);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--c-magenta);
    margin-bottom: 8px;
}

.timeline-content h3 {
    margin-bottom: 12px;
}

/* Team Grid */
.team-card {
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--c-bg-off);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--c-border-hover);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.team-role {
    color: var(--c-cyan);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    color: var(--c-text-light);
}

.team-social a:hover {
    color: var(--c-dark);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        width: 100%;
        padding: 0 0 0 64px !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }
}

/* =========================================================================
   SERVICES PAGE STYLES 
   ========================================================================= */

.service-detail-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--c-border);
}

.service-detail-section:nth-child(even) {
    background: var(--c-bg-off);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.service-feature {
    background: var(--c-bg);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--c-dark);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.service-feature i {
    color: var(--c-cyan);
}

.service-detail-content h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.service-detail-content p {
    font-size: 1.1rem;
    color: var(--c-text-light);
    margin-bottom: 1.5rem;
}

.service-detail-content h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.use-cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.use-case-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--c-text);
}

.use-case-item i {
    color: var(--c-magenta);
}

/* =========================================================================
   PRODUCTS PAGE STYLES 
   ========================================================================= */

.product-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 48px;
    padding: 80px 0;
}

.product-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
}

.product-sidebar h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--c-text-light);
    transition: all var(--transition-fast);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-link:hover,
.category-link.active {
    background: var(--c-bg-off);
    color: var(--c-dark);
}

.category-link.active {
    background: var(--c-dark);
    color: white;
}

.product-catalog-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-catalog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-catalog-img {
    height: 240px;
    background: var(--c-bg-off);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--c-border-hover);
    position: relative;
}

.product-catalog-info {
    padding: 24px;
}

.product-catalog-info h3 {
    margin-bottom: 8px;
}

.product-catalog-info p {
    color: var(--c-text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: relative;
        top: 0;
    }

    .use-cases {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   GALLERY PAGE STYLES 
   ========================================================================= */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--c-border);
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--c-dark);
    color: white;
    border-color: var(--c-dark);
    box-shadow: var(--shadow-sm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--c-bg-off);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--c-border-hover);
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item-img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.9) 0%, rgba(10, 15, 26, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h4 {
    color: white;
    margin-bottom: 4px;
    font-size: 1.25rem;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay h4 {
    transform: translateY(0);
}

.gallery-item-overlay span {
    color: var(--c-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform var(--transition-base) 0.1s;
}

.gallery-item:hover .gallery-item-overlay span {
    transform: translateY(0);
}

/* =========================================================================
   CONTACT PAGE STYLES 
   ========================================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
}

.contact-info-card {
    background: var(--gradient-dark);
    color: white;
    padding: 64px 48px;
    border-radius: var(--radius-lg);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.2), transparent 70%);
    border-radius: 50%;
}

.contact-info-card h2 {
    color: white;
    margin-bottom: 12px;
}

.contact-detail {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-cyan);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    color: white;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.contact-detail p,
.contact-detail a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-detail a:hover {
    color: white;
}

/* Form Styles */
.contact-form-container {
    padding: 24px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--c-dark);
}

.form-control {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    background: var(--c-bg-off);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--c-text);
    transition: all var(--transition-fast);
}

.form-control::placeholder {
    color: var(--c-text-light);
    opacity: 0.6;
}

.form-control:focus {
    outline: none;
    border-color: var(--c-cyan);
    box-shadow: 0 0 0 4px rgba(0, 195, 255, 0.1);
    background: var(--c-bg);
}

textarea.form-control {
    resize: vertical;
    min-height: 180px;
}

/* Map */
.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--c-bg-off);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text-light);
    border: 1px solid var(--c-border);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--c-dark-muted);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 16px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 40px 24px;
    }
}