/*
Theme Name: Kritox Digital
Theme URI: https://kritox.com
Author: Kritox Digital
Author URI: https://kritox.com
Description: A premium digital agency WordPress theme for Kritox Digital, featuring mega menus, carousel sections, testimonials, portfolio, and a comprehensive contact form.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kritox
Tags: business, digital-agency, portfolio, responsive, one-page
*/

/* ─── Kritox Digital Design System ─────────────────────── */
/* ─── Kritox Digital Design System ─────────────────────── */
:root {
    --primary-dark: #1F3D5A;
    --primary-base: #2F6F73;
    --teal-light: #7FB8B4;
    --accent-yellow: #E5B93C;
    --neutral-black: #1A1A1A;
    --neutral-dark: #4A4A4A;
    --neutral-light: #EDEDED;
    --white: #FFFFFF;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    color: var(--neutral-dark);
}

/* ─── Typography ────────────────────────────────────────── */
.inner-hero-title {
    font-size: 3.8rem;
}

@media (max-width: 768px) {
    .inner-hero-title {
        font-size: 2.8rem;
    }
}

.inner-hero {
    background-color: #FFFBF0;
    color: var(--primary-dark);
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .inner-hero {
        padding-top: 10rem;
        padding-bottom: 5rem;
    }
}

.inner-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid var(--neutral-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.inner-breadcrumb a {
    color: var(--neutral-dark);
    transition: color 0.2s ease;
}

.inner-breadcrumb a:hover {
    color: var(--primary-base);
}

.inner-breadcrumb i {
    width: 0.75rem;
    height: 0.75rem;
    color: rgba(74, 74, 74, 0.5);
    margin: 0 0.35rem;
}

/* ─── Utility helpers ───────────────────────────────────── */
.brand-primary {
    color: var(--primary-dark);
}

.brand-teal {
    color: var(--primary-base);
}

.brand-accent {
    color: var(--accent-yellow);
}

.bg-brand-primary {
    background-color: var(--primary-dark);
}

.bg-brand-teal {
    background-color: var(--primary-base);
}

.bg-brand-light {
    background-color: var(--neutral-light);
}

.bg-brand-icn {
    background-color: rgba(47, 111, 115, 0.08);
}

/* Legacy aliases so existing Tailwind JIT refs still work */
.teal-primary {
    color: var(--primary-base);
}

.bg-teal-primary {
    background-color: var(--primary-base);
}

.bg-teal-light {
    background-color: rgba(47, 111, 115, 0.08);
}

.selection-style::selection {
    background-color: rgba(47, 111, 115, 0.12);
    color: var(--primary-base);
}

/* ─── Mega Menu ─────────────────────────────────────────── */
.mega-menu-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-item:hover .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-full {
    position: static;
}

.mega-menu-full {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
}

/* ─── Mobile menu ───────────────────────────────────────── */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* ─── Scrolled nav ──────────────────────────────────────── */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-light);
}

/* ─── Nav link hover: subtle bg pill, no underline ───────── */
.nav-link-item {
    border-radius: 8px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link-item:hover {
    background-color: rgba(31, 61, 90, 0.06);
    color: var(--primary-dark);
}

/* ─── Carousel Helpers ───────────────────────────────────── */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: auto;
}

/* Precise Alignment for Bleed Carousels */
.bleed-carousel-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .bleed-carousel-container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .bleed-carousel-container {
        padding-left: 2.5rem;
        padding-right: 0;
    }
}

@media (min-width: 1280px) {
    .bleed-carousel-container {
        /* Aligns card left edge with max-w-7xl heading above */
        padding-left: max(2.5rem, calc((100vw - 80rem) / 2 + 2.5rem));
        padding-right: 0;
    }
}

.carousel-arrow i {
    stroke-linecap: square !important;
    stroke-linejoin: miter !important;
}

.carousel-container.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Smooth horizontal drag; snap fights continuous drag */
.carousel-container {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.carousel-container.is-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

/* ─── Quote CTA Button (Navbar) ─────────────────────────── */
.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.35rem 0.35rem 1.2rem;
    background-color: var(--primary-dark);
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: filter 0.25s ease, transform 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-quote:hover {
    filter: brightness(1.14);
    transform: translateY(-1px);
}

.btn-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--white);
    border-radius: 9999px;
    color: var(--primary-dark);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-quote:hover .btn-quote-icon {
    transform: translateX(3px);
}

/* White variant for dark backgrounds */
.btn-quote-white {
    background-color: var(--white);
    color: var(--primary-base);
}

.btn-quote-white .btn-quote-icon {
    background-color: var(--primary-base);
    color: var(--white);
}

.btn-quote-white:hover {
    filter: brightness(0.95);
}

/* Golden-Yellow Highlight variant */
.btn-quote-highlight {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
}

.btn-quote-highlight .btn-quote-icon {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-quote-highlight:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 20px rgba(229, 185, 60, 0.4);
}

/* Large size variant for hero or prominent sections */
.btn-quote-lg {
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    font-size: 1.125rem;
}

.btn-quote-lg .btn-quote-icon {
    width: 2.5rem;
    height: 2.5rem;
}

/* Extra Large size variant */
.btn-quote-xl {
    padding: 0.65rem 0.65rem 0.65rem 2.25rem;
    font-size: 1.25rem;
}

.btn-quote-xl .btn-quote-icon {
    width: 3rem;
    height: 3rem;
}

/* Full-width variant (mobile menu) */
.btn-quote.btn-quote-full {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    font-size: 1rem;
}

/* ─── Quote CTA Button (Mega Menu, on dark card) ─────────── */
.btn-quote-sm {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
    padding: 0.3rem 0.3rem 0.3rem 0.9rem;
    background-color: var(--white);
    color: var(--primary-base);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    margin-top: 1.5rem;
    transition: filter 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-quote-sm:hover {
    filter: brightness(0.95);
}

.btn-quote-sm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    background-color: var(--primary-dark);
    border-radius: 9999px;
    color: var(--white);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-quote-sm:hover .btn-quote-sm-icon {
    transform: translateX(2px);
}

/* Smooth Gradient Flow Animation */
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient-text {
    background-size: 200% 200%;
    animation: gradient-flow 5s ease infinite;
}