/* =========================================================================
   Base Layout & Setup
   ========================================================================= */

/* CSS Variables for Theme */
:root {
    /* Colors */
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --bg-card: rgba(255, 255, 255, 0.03);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Brand Gradients & Colors */
    --accent-primary: #3b82f6;
    /* Electric Blue */
    --accent-secondary: #0ea5e9;
    /* Sky Blue */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    --glow-color: rgba(59, 130, 246, 0.3);

    /* Layout */
    --max-width: 1200px;
    --container-padding: 1.5rem;
    --nav-height: 80px;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;

    /* Borders & Shadow */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px var(--glow-color);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    /* For anchor links */
}

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

/* Container Utility */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* Gradients text */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.layout-flex {
    display: flex;
}

.flex-justify-between {
    justify-content: space-between;
}

.flex-align-center {
    align-items: center;
}

/* Grid Background Effect */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* Ambient Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.orb-1 {
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    animation: float 10s infinite alternate ease-in-out;
}

.orb-2 {
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    animation: float 12s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    background: var(--glow-color);
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(50px) scale(1.1);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* =========================================================================
   Typography & Utilities
   ========================================================================= */

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

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

.section-desc {
    margin-top: 1rem;
    font-size: 1.25rem;
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    background: #2563eb;
}

.btn-primary.group:hover .icon-transition {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* =========================================================================
   Navbar Navigation
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    transition: all var(--transition-normal);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 101;
}

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

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-fast);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 101;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* =========================================================================
   Hero Section
   ========================================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.stats-row {
    display: flex;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }

    .stats-row {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        border-top: none;
        padding-top: 0;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* =========================================================================
   Animations & Reveals
   ========================================================================= */

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* =========================================================================
   Clients / Marquee Section
   ========================================================================= */

.clients {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.clients-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.clients-title::before,
.clients-title::after {
    content: '';
    flex: 1;
    max-width: 90px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5));
}

.clients-title::after {
    background: linear-gradient(to left, transparent, rgba(59, 130, 246, 0.5));
}

.marquee-container {
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-container:hover .marquee {
    animation-play-state: paused;
}

.marquee {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 68px;
    width: 152px;
    padding: 0.7rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: default;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(59, 130, 246, 0.28), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(15%) opacity(0.88);
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Portrait / square logos — narrower card */
.logo-square {
    width: 84px;
    padding: 0.6rem 0.7rem;
}

/* Per-logo zoom for images with excess whitespace */
.logo-zoom-xl img {
    transform: scale(2.1);
}

.logo-zoom-xl:hover img {
    transform: scale(2.1);
}

.logo-zoom-lg img {
    transform: scale(1.6);
}

.logo-zoom-lg:hover img {
    transform: scale(1.6);
}

.logo-zoom-md img {
    transform: scale(1.25);
}

.logo-zoom-md:hover img {
    transform: scale(1.25);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================================================
   Services Section (Bento Grid Style)
   ========================================================================= */

.services {
    background: var(--bg-secondary);
    position: relative;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-title {
    margin-bottom: 1rem;
}

.service-desc {
    margin-bottom: 2rem;
}

.service-result {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.service-result strong {
    color: var(--accent-primary);
}

.service-features {
    list-style: none;
    margin-bottom: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--accent-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 600;
}

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

.service-link i {
    transition: transform var(--transition-fast);
}

/* =========================================================================
   Works / Portfolio Section
   ========================================================================= */

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

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

.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.work-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 2;
}

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

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.work-card:hover .work-image {
    transform: scale(1.05);
}

.work-content {
    padding: 2rem;
}

.work-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.work-title {
    margin-bottom: 0.5rem;
}

.works-action {
    display: flex;
    justify-content: center;
}

/* =========================================================================
   Portfolio Filter + Grid + Lightbox
   ========================================================================= */

/* Filter Pills */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.4rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
    letter-spacing: 0.01em;
}

.filter-btn:hover {
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.06);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

/* Portfolio Count */
.portfolio-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-weight: 500;
}

.portfolio-count-num {
    color: var(--accent-primary);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}

/* Portfolio Slider */
.portfolio-slider-wrap {
    position: relative;
    padding: 0 52px;
    margin-bottom: 0;
}

.portfolio-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

/* Slider Arrow Buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-65%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-arrow:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
    margin-bottom: 3rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-primary);
}

/* Portfolio Item */
.portfolio-item {
    flex: 0 0 calc(33.333% - 0.67rem);
    height: 320px;
    scroll-snap-align: start;
    transition: opacity 0.3s ease;
}

.portfolio-item.is-hidden {
    display: none;
}

@media (max-width: 1024px) {
    .portfolio-slider-wrap {
        padding: 0 44px;
    }

    .portfolio-item {
        flex: 0 0 calc(50% - 0.5rem);
        height: 280px;
    }
}

@media (max-width: 640px) {
    .portfolio-slider-wrap {
        padding: 0;
    }

    .slider-arrow {
        display: none;
    }

    .portfolio-item {
        flex: 0 0 80%;
        height: 260px;
    }
}

.portfolio-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-thumb:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

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

.portfolio-thumb:hover img {
    transform: scale(1.08);
}

/* Hover Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-thumb:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.portfolio-overlay-icon svg {
    width: 20px;
    height: 20px;
}

.portfolio-cat-badge {
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

/* Persistent video badge (bottom-left corner) */
.portfolio-video-badge {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    color: #fff;
    display: flex;
    align-items: center;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

/* Portfolio Caption (always-visible bottom gradient) */
.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 0.85rem 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    pointer-events: none;
    z-index: 1;
    transform: translateY(6px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.portfolio-thumb:hover .portfolio-caption {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-caption-brand {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-secondary);
}

.portfolio-caption-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.portfolio-video-badge svg {
    width: 22px;
    height: 22px;
}

/* ---- Lightbox ---- */
.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.portfolio-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 92vw;
    max-height: 92vh;
}

.lightbox-media-wrap {
    max-width: 88vw;
    max-height: 80vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media-wrap img {
    max-width: 88vw;
    max-height: 80vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    text-align: center;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Lightbox Buttons */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 20px;
    height: 20px;
}

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-prev {
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
}

@media (max-width: 640px) {
    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

/* =========================================================================
   How We Work / Process Section
   ========================================================================= */

.process {
    background: var(--bg-primary);
    position: relative;
}

.process-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 4rem;
}

.process-step {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.04);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.process-num {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.process-step:hover .process-num {
    opacity: 1;
}

.process-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.process-step:hover .process-icon-wrap {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
}

.process-icon {
    width: 24px;
    height: 24px;
}

.process-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.process-step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Dotted connector between steps */
.process-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 0 1.25rem;
    margin-bottom: 2rem;
}

.connector-dot {
    display: block;
    width: 5px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.35;
}

.process-cta {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .process-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .process-connector {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Testimonials Section
   ========================================================================= */

.testimonials {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.stagger-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.stagger-card {
    position: absolute;
    left: 50%;
    top: 50%;
    cursor: pointer;
    border: 2px solid;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
    display: flex;
    flex-direction: column;
}

/* The decorative cut-corner line indicator */
.stagger-card::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 48px;
    width: 70.71px;
    /* Math.sqrt(5000) roughly */
    height: 2px;
    background: var(--border-color);
    transform-origin: top right;
    transform: rotate(45deg);
}

.stagger-card.is-center {
    z-index: 10;
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.45);
}

.stagger-card.is-center::after {
    background: rgba(255, 255, 255, 0.3);
}

.stagger-card.is-inactive {
    z-index: 0;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: 0px 0px 0px 0px transparent;
}

.stagger-card.is-inactive:hover {
    border-color: rgba(59, 130, 246, 0.5);
    /* Primary hover border */
}

.stagger-quote {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    max-height: 180px;
    overflow: hidden;
}

.is-inactive .stagger-quote {
    color: var(--text-primary);
}

.stagger-author {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    font-size: 0.875rem;
    font-style: italic;
}

.is-center .stagger-author {
    color: rgba(255, 255, 255, 0.7);
}

.is-center .stagger-quote {
    color: #ffffff;
    font-size: 1.35rem;
}

.is-inactive .stagger-author {
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .stagger-container {
        height: 500px;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }
}

/* Stagger Navigation Controls */
.stagger-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.stagger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: white;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stagger-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.stagger-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent-primary);
}

/* Video Testimonial */
.video-testimonial {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.video-section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.video-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
}

.video-label i {
    width: 13px;
    height: 13px;
}

.video-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.video-section-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

.video-cards-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.video-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
}

.video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
}

/* =========================================================================
   About Section
   ========================================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

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

.about-cta {
    align-self: flex-start;
}

/* Value Props */
.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.about-value-icon i {
    width: 18px;
    height: 18px;
}

.about-value-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.about-value-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* About Card */
.about-card-wrap {
    display: flex;
    justify-content: center;
}

.about-card-inner {
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: calc(var(--border-radius) + 4px);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.about-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.about-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
}

.about-card-loc {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-card-loc i {
    width: 14px;
    height: 14px;
}

.about-card-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.75rem 0;
}

.about-card-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.75rem;
}

.about-card-stats div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about-card-stats strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.about-card-stats span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-card-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}

@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-card-wrap {
        order: -1;
    }
}

/* =========================================================================
   Contact Section
   ========================================================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.contact-methods {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.method-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.method-details p {
    font-size: 0.875rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Form Styling */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.custom-select {
    position: relative;
}

select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}

.btn-block {
    width: 100%;
}

.form-success-msg {
    color: #10b981;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

/* =========================================================================
   Footer
   ========================================================================= */

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

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

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

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.footer-social i {
    width: 15px;
    height: 15px;
}

/* Nav columns */
.footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

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

.footer-nav a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

/* Contact column */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-contact-list i {
    width: 15px;
    height: 15px;
    min-width: 15px;
    color: var(--accent-primary);
    margin-top: 2px;
}

.footer-contact-list a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: var(--text-primary);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding-bottom: 3rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================================
   WhatsApp Floating Widget
   ========================================================================= */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-pulse 2s infinite ease-in-out alternate;
}

.whatsapp-widget:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #1ebe57;
    animation-play-state: paused;
}

@keyframes float-pulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    100% {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-widget svg {
        width: 26px;
        height: 26px;
    }
}

/* =========================================================================
   Pricing Section
   ========================================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pricing-featured {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.05));
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px);
}

.pricing-featured:hover {
    transform: translateY(-12px);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-secondary);
    display: block;
    margin-bottom: 0.75rem;
}

.pricing-price {
    margin-bottom: 0.75rem;
}

.pricing-from {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.pricing-amount {
    font-size: 2.1rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--accent-primary);
}

.pricing-feature-muted {
    opacity: 0.4;
}

.pricing-feature-muted i {
    color: var(--text-muted) !important;
}

.pricing-btn {
    display: block;
    text-align: center;
    width: 100%;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-featured {
        transform: none;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }
}

/* =========================================================================
   FAQ Section
   ========================================================================= */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.is-open {
    border-color: rgba(59, 130, 246, 0.35);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 1.5rem 1.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}

/* =========================================================================
   Contact Map
   ========================================================================= */

.contact-map {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-map iframe {
    display: block;
}

/* =========================================================================
   Pre-footer CTA Bar
   ========================================================================= */

.footer-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.18);
    border-bottom: 1px solid rgba(59, 130, 246, 0.18);
    padding: 4rem 0;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-cta-title {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.footer-cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

.footer-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta-actions {
        justify-content: center;
    }

    .footer-cta-title {
        font-size: 1.5rem;
    }
}

/* =========================================================================
   Back to Top Button
   ========================================================================= */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 5.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 5.5rem;
        right: 1rem;
    }
}

/* =========================================================================
   Sticky Mobile CTA
   ========================================================================= */

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    background: rgba(18, 18, 22, 0.95);
    border-top: 1px solid var(--border-color);
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }

    /* Push page content above the sticky bar */
    body {
        padding-bottom: 72px;
    }

    /* Raise WhatsApp button above sticky CTA */
    .whatsapp-widget {
        bottom: 5.5rem;
    }
}

/* =========================================================================
   Testimonial Star Ratings
   ========================================================================= */

.stagger-stars {
    font-size: 1.1rem;
    color: #facc15;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.is-center .stagger-stars {
    color: #fde68a;
}
}