/* Global Styles */
:root {
    /* Premium Palette */
    --primary-color: #00A3FF;
    /* Brighter, more electric blue for contrast */
    --primary-glow: rgba(0, 163, 255, 0.4);
    --secondary-color: #ffffff;

    --bg-color: #050505;
    /* Deep, rich black */
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;

    --text-color: #e0e0e0;
    /* Off-white for better readability */
    --text-muted: #aaaaaa;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --container-width: 1280px;
    /* Wider container */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    /* Premium ease */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #000;
}

/* Custom Scrollbar - Sleek */
::-webkit-scrollbar {
    width: 6px;
    /* Thinner */
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    /* Increased breathing room */
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

/* Premium Noise Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnoiPjZmRUJsdWVuZCBtb2RlPSJub3JtYWwiIGluPSJTb3VyY2VHcmFwaGljIiBpbjI9Ik5vaXNlIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBmaWxsPSIjMDAwIi8+PC9zdmc+');
    /* Placeholder for noise if needed, or use CSS radial gradient overlay */
    background: radial-gradient(circle at 50% 50%, transparent 0%, #000 120%);
    mix-blend-mode: overlay;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
    /* Mimics the style in screenshots often */
}

/* Global Button Style (Premium) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    /* Pill shape is often more premium/modern than sharp edges */
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    z-index: 1;
    cursor: none;
    /* For custom cursor interaction */
}

/* Button Hover State - Fill & Glow */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
    border-radius: 50px;
}

.btn:hover {
    border-color: transparent;
    box-shadow: 0 10px 30px var(--primary-glow);
    transform: translateY(-2px);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Section Header - Editorial Style */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    /* Tighter kerning for impact */
    color: #fff;
    margin: 0;
    display: inline-block;
}



/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(11, 144, 211, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background: rgba(11, 144, 211, 0.1);
    border: 1px solid var(--primary-color);
}

.cursor-follower.hovered {
    border-color: transparent;
}

/* Background Abstract Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    /* Behind content, behind canvas if needed, or blended */
    opacity: 0.3;
    animation: float 20s infinite alternate ease-in-out;
    pointer-events: none;
    mix-blend-mode: screen;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* On top of orbs */
    pointer-events: none;
    opacity: 0.6;
}

/* Removed Glitch Effect for Cleaner Look */
.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #5D12D2, transparent 70%);
    /* Purple */
    bottom: 10%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FF0054, transparent 70%);
    /* Pink */
    top: 40%;
    left: 40%;
    opacity: 0.4;
    animation-duration: 20s;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, 50px) rotate(10deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s;
    background: transparent;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    /* Increased from 50px */
    width: auto;
    /* Preserve aspect ratio */
    object-fit: contain;
    /* Removed placeholder bg and text styles */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: #ddd;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    /* Reverted to fixed height as requested */
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    z-index: 1;
    overflow: hidden;
    /* Prevent potential overlap if content spills */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.6;
    /* Adjust opacity as needed */
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, #000 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-10vh);
}

/* ... Marquee styles ... */

/* Simplified Hero Text - VISIBILITY FIRST */
.creative-hero-text {
    font-family: var(--font-heading);
    font-size: 6vw;
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    color: #fff !important;
    /* Force White */
    text-align: center;
    position: relative;
    z-index: 10;
}

.creative-hero-text span {
    display: inline-block;
    opacity: 1 !important;
    /* Force Visible */
    transform: none !important;
    /* No transforms */
    /* animation: revealUp ... REMOVED */
}

/* =========================
   GLOBAL MARQUEE (Background)
   ========================= */
.global-marquee {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%) rotate(-5deg);
    /* Diagonal sleek look */
    pointer-events: none;
    z-index: 0;
    /* Behind content, above background */
    opacity: 0.03;
    /* Very subtle */
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    animation: scrollText 40s linear infinite;
}

@keyframes scrollText {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* 3D Tilt Effect Container */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Layered Text Effect - Refined */
.hero-text-layer {
    position: relative;
    margin-bottom: 30px;
    display: block;
}

.creative-hero-text {
    font-family: var(--font-heading);
    font-size: 6vw;
    /* Responsive large text */
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 10;
}

.creative-hero-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.1s;
    /* smooth resetting if needed */
}

/* Only animate when parent has .active */
.creative-hero-text.active span {
    animation: revealUp 1.2s var(--ease-out-expo) forwards;
}

.creative-hero-text.active span:nth-child(1) {
    animation-delay: 0.2s;
}

.creative-hero-text.active span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(100px) skewY(5deg);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) skewY(0);
        filter: blur(0);
    }
}

.highlight-text {
    color: var(--primary-color);
    text-shadow: 0 10px 30px rgba(11, 144, 211, 0.3);
    /* Premium glow shadow */
    position: relative;
}

.gradient-text {
    display: block;
    background: linear-gradient(to right,
            var(--primary-color) 20%,
            #ff0054 40%,
            #9d00ff 60%,
            var(--primary-color) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    position: relative;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}



/* Sidebar */


.btn-hero {
    /* Inherits .btn wireframe style now */
    padding: 15px 40px;
    font-size: 1rem;
    margin-top: 20px;
    /* Spacing */
}

.btn-hero i {
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

#services-interactive-container {
    width: 100%;
    height: 50vh;
    /* Responsive height */
    min-height: 400px;
    max-height: 600px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Made thicker and more visible */
    border-radius: 16px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.02);
    /* Slight tint to show presence */
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    cursor: grab;
    touch-action: pan-y;
    /* Enable vertical scrolling */
}

#services-interactive-container:active {
    cursor: grabbing;
}

.services-interactive-wrapper {
    position: relative;
    width: 100%;
}

.section-pretitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-description {
    max-width: 600px;
    margin: 15px auto 0;
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    min-height: 400px;
    /* Placeholder height */
    /* Removed flex centering to allow absolute image to fill */
    display: block;
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-text .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
    font-style: italic;
}

.about-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ddd;
    display: flex;
    align-items: center;
    opacity: 0;
    /* Hidden by default for animation */
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.about-text.active .about-list li {
    opacity: 1;
    transform: translateX(0);
}

.about-text.active .about-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.about-text.active .about-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.about-text.active .about-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.about-text.active .about-list li:nth-child(4) {
    transition-delay: 0.4s;
}

.about-text.active .about-list li:nth-child(5) {
    transition-delay: 0.5s;
}

.about-text.active .about-list li:nth-child(6) {
    transition-delay: 0.6s;
}

.about-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 0.8rem;
}

/* Universal Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    /* White title */
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.underline-anim {
    color: #fff;
    position: relative;
    display: inline-block;
    z-index: 1;
    /* Ensure text is above the line */
}

.underline-anim::after {
    content: '';
    position: absolute;
    width: 0;
    height: 15px;
    /* Thicker line ("big alittle") */
    bottom: 2px;
    /* Moved up to overlap text */
    left: 0;
    background: var(--primary-color);
    z-index: -1;
    /* Behind the text */
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Trigger animation when parent (.section-header) gets .active class from scroll observer */
.section-header.active .underline-anim::after {
    width: 100%;
}

/* General Slide Up Reveal */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Clients Slider */
.clients {
    padding: 60px 0;
    background: var(--bg-color);
    overflow: hidden;
    /* Hide scrollbar */
}





.clients-slider {
    margin-top: 40px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(250px * 14);
    /* Reverted to 250px */
    animation: scrollClients 30s linear infinite;
}

.slide-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

.client-logo {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #666;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    margin: 0 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* ... hover styles ... */

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move exactly half the width (the first set) */
    }
}

.slide-track-reverse {
    display: flex;
    width: calc(250px * 14);
    animation: scrollClientsReverse 30s linear infinite;
}

.slide-track-reverse:hover {
    animation-play-state: paused;
}

@keyframes scrollClientsReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}


.client-logo:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Slight lightening on hover */
    /* No scale/shadow on container anymore, focusing on image */
    border-color: rgba(255, 255, 255, 0.1);
}

.client-logo-img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.client-logo:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}



/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    /* For lines */
    overflow: hidden;
}

/* Ensure content is above lines */
.services .container {
    position: relative;
    z-index: 2;
}

.line-container {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    pointer-events: none;
    z-index: 0;
    transform: skewX(-15deg);
    /* "Not straight" */
}

.vertical-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.line-1 {
    left: 30%;
}

.line-2 {
    right: 30%;
}

/* The Shooting Star */
.vertical-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 500px;
    /* Longer tail */
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0;
    animation: dropStar 5s infinite ease-in-out;
    /* "Down together" */
}

.line-1::after,
.line-2::after {
    animation-delay: 0s;
    /* Synced */
}

@keyframes dropStar {
    0% {
        top: -50%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 150%;
        opacity: 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns like screenshot */
    gap: 30px;
}

.service-card {
    background: transparent;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: 0.3s;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    border-color: var(--primary-color);
}


.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes button down */
}

/* Link moved to bottom right */
.read-more {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-end;
    /* Right align */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Long arrow effect */
.read-more i {
    transition: 0.3s;
    font-size: 1.2rem;
    /* Larger arrow */
}

.service-card:hover .read-more i {
    transform: translateX(10px);
}

/* Achievements */
.achievements {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    border-right: 1px solid #222;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .count {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio */
.portfolio {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.portfolio-item {
    background: #222;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.5s;
}

.portfolio-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.portfolio-overlay p {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Page Redesign - Premium Glassmorphism */
.contact {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Glassmorphism Form Card */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out-expo);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.2);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
    padding: 18px;
    font-size: 1rem;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
}

/* Info Side Card */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
    border-top: none;
    margin-bottom: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 163, 255, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.info-item span {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.about-centered-content .about-text h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Larger title */
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.about-centered-content .about-text .subtitle {
    font-size: 1.5rem;
    /* Larger subtitle */
    color: #fff;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-centered-content .about-text p:not(.subtitle) {
    font-size: 1.25rem;
    /* Larger body text */
    line-height: 1.8;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Social Links Redesign */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links .social-item {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .social-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 50px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 80px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

/* Scroll Guide Character */
.scroll-guide {
    position: fixed;
    bottom: 30px;
    right: -200px;
    /* Hidden off-screen right */
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    /* Let clicks pass through if needed, or set auto for interaction */
    cursor: pointer;
}

.scroll-guide:hover .guide-avatar {
    transform: scale(1.1);
}

.scroll-guide.visible {
    right: 30px;
}

.guide-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(11, 144, 211, 0.6);
    position: relative;
    animation: floatGuide 3s infinite ease-in-out;
}

.guide-avatar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulseGuide 2s infinite;
}

.guide-bubble {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px 10px 0 10px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    margin-bottom: 10px;
    max-width: 200px;
    min-width: 200px;
    /* Prevent shrink on text change */
    text-align: center;
    /* Center text */
    justify-content: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.scroll-guide.visible .guide-bubble {
    opacity: 1;
    transform: translateY(0);
}

.guide-bubble.pop {
    animation: popBubble 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popBubble {
    0% {
        transform: scale(1);
        /* Don't shrink below 1 to keep hover active */
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes floatGuide {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseGuide {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}



/* Responsive */
@media (max-width: 992px) {

    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item {
        border-right: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
        white-space: normal;
        /* Allow wrap on mobile */
    }

    .hero-text-layer {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: #111;
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    /* Mobile Scroll Guide */
    .scroll-guide.visible {
        right: 15px;
        bottom: 20px;
    }

    .guide-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .guide-bubble {
        font-size: 0.75rem;
        padding: 8px 12px;
        max-width: 160px;
        margin-bottom: 5px;
    }
}

/* =========================================
   PREMIUM ANIMATIONS & UTILITIES
   ========================================= */

/* Preloader - Curtain Effect */


/* Scroll Reveal - Mask Effect (The "Expensive" look) */
.reveal-mask {
    position: relative;
    overflow: hidden;
    display: block;
}



/* The element inside (e.g., img) starts hidden/translated */
.reveal-mask>* {
    transform: translateY(100%);
    transition: transform 1.2s var(--ease-out-expo);
}

/* The mask container reveals it */
.reveal-mask.active>* {
    transform: translateY(0);
}

/* Staggered Text Reveal */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Micro-interaction: Card Lift */
.service-card,
.portfolio-item {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.service-card:hover,
.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 163, 255, 0.15);
    /* Blue glow */
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.1);
    /* Subtle highlight */
}

/* =========================
   NEW CONTENT SECTIONS
   ========================= */

/* Feature Grid (Mission/Values) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-item h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.feature-item p {
    color: var(--text-muted);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
    text-align: center;
}

.team-card:hover {
    border-color: var(--primary-color);
}

.team-img-wrapper {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-info h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.team-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 2;
}

.process-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 30px;
    font-family: var(--font-heading);
}

.process-step h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: #ddd;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
}

.client-details h5 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
}

.client-details span {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Generic CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(45deg, #000, #111);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-content p {
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Mobile Adjustments for Social Sidebar */
@media (max-width: 768px) {
    .social-sidebar {
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 20px;
        width: max-content;
        /* Ensure it doesn't stretch */
    }

    .social-item {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CAREERS JOB LIST (Redesign)
   ========================= */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.job-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Identity: Thin white border */
    border-radius: 16px;
    position: relative;
    transition: all 0.3s var(--ease-out-expo);
    display: flex;
    align-items: center;
    /* Vertical center */
    justify-content: space-between;
    gap: 30px;
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.job-info {
    flex-grow: 1;
}

.job-card h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
}

.job-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 700px;
    line-height: 1.6;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-card:hover .job-tag {
    background: rgba(0, 163, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(0, 163, 255, 0.2);
}

.job-action {
    flex-shrink: 0;
}

.btn-apply {
    background: #000;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-apply:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.3);
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .job-action {
        width: 100%;
        margin-top: 10px;
    }
}

/* =========================
   SITE FOOTER (Standardized)
   ========================= */
.site-footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-item .value {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.footer-item .value a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-item .value a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-bottom-bar p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-contact-info {
        flex-direction: column;
        gap: 30px;
    }
}

/* =========================
   SIDE BUTTONS (Floating)
   ========================= */
.side-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Moved to left */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.side-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.side-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.side-btn.whatsapp {
    background: #25D366;
}

.side-btn.whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.side-btn.phone {
    background: var(--primary-color);
}

.side-btn.phone:hover {
    background: #008ecc;
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.6);
}

@media (max-width: 768px) {
    .side-buttons {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }

    .side-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ========================= 
   About Centered Content 
   ========================= */
.about-centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-centered-content .about-text {
    width: 100%;
}

.about-centered-content .about-text h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.about-centered-content .about-text .subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-centered-content .about-text p:not(.subtitle) {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
    .about-centered-content .about-text h2 {
        font-size: 2.5rem;
    }

    .about-centered-content .about-text .subtitle {
        font-size: 1.2rem;
    }

    .about-centered-content .about-text p:not(.subtitle) {
        font-size: 1rem;
    }
}

/* Services Grid Implementation */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding-bottom: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glassmorphism base */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    /* Softer rounded corners */
    padding: 40px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 163, 255, 0.15);
    /* Premium glow */
}

/* Service Page Styles */
.service-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(to bottom, #000, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
    /* Header spacing */
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.15), transparent 70%);
    z-index: 0;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(0, 163, 255, 0.5);
}

.service-content {
    padding: 80px 0;
    background: var(--bg-color);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.main-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.main-text p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.9;
    margin-bottom: 20px;
}

.sidebar {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-self: start;
}

.sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.related-list li {
    margin-bottom: 15px;
}

.related-list a {
    color: #aaa;
    font-size: 0.95rem;
    transition: 0.3s;
    display: block;
}

.related-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .service-hero {
        height: 40vh;
    }

    .service-title {
        font-size: 2.5rem;
    }
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: rgba(0, 163, 255, 0.05);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-out-expo);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 30px;
    flex-grow: 1;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.btn-service {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-service i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-service:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

.btn-service:hover i {
    transform: translateX(5px);
}

/* Media Modal Styles */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.media-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.media-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.media-modal-close:hover {
    color: var(--primary-color);
}

.media-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.media-modal-content img,
.media-modal-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}