/* =============================================================
   AKTAURA — AGENCY CMS DESIGN SYSTEM
   Light blue brand theme inspired by aktaura.com
   Fonts: Plus Jakarta Sans (display), Inter (body)
   Loaded on every frontend page via layouts/main.php.
   ============================================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Brand — Aktaura Blue Palette */
    --color-primary:       #1a73c8;   /* deep aktaura blue */
    --color-primary-2:     #2196f3;   /* medium blue */
    --color-accent:        #00bcd4;   /* cyan-blue highlight */
    --color-accent-2:      #29b6f6;   /* sky blue */
    --color-orange:        #ff7a2f;   /* warm CTA accent */
    --color-orange-2:      #ffb04a;

    /* Backgrounds */
    --color-bg:            #f8fafc;   /* clean Slate-tinted premium background */
    --color-bg-alt:        #ffffff;
    --color-bg-section:    #f1f5f9;   /* subtle modern section alternation */
    --color-dark:          #0f172a;   /* Slate 900 for modern premium text */
    --color-dark-2:        #1e293b;   /* Slate 800 */
    --color-text:          #334155;   /* Slate 700 body text */
    --color-muted:         #64748b;   /* Slate 500 */
    --color-border:        rgba(226, 232, 240, 0.8); /* ultra-soft borders */

    /* Gradients */
    --grad-primary:    linear-gradient(135deg, #1a73c8 0%, #29b6f6 50%, #00bcd4 100%);
    --color-accent-gradient: var(--grad-primary);
    --grad-dark:       linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1a73c8 100%);
    --grad-cta:        linear-gradient(135deg, #ff7a2f, #ffb04a);
    --grad-hero:       linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
    --grad-section:    linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);

    /* Shadows */
    --shadow-sm:   0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md:   0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg:   0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    --shadow-xl:   0 20px 25px -5px rgba(26, 115, 200, 0.06), 0 10px 10px -5px rgba(26, 115, 200, 0.03);
    --shadow-glow: 0 0 25px 4px rgba(26, 115, 200, 0.12);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --container: 1200px;

    /* Motion */
    --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p  { color: var(--color-muted); }

/* ---------- LAYOUT HELPERS ---------- */
.container-agency {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section     { padding: 5rem 0; position: relative; }
.section-sm  { padding: 3rem 0; }
.section-alt { background: var(--grad-section); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(26, 115, 200, 0.08);
    color: var(--color-primary);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--grad-primary);
    z-index: 9999;
    transition: width .1s linear;
}

/* ---------- STICKY NAVIGATION ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: .4rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all var(--transition);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.site-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.9);
}

.site-header-inner {
    height: 63px;
}
.site-header .navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    padding: .35rem 0;
}

/* Crop excess padding baked into the logo PNG so the mark displays at a normal site size */
.brand-logo-media {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.site-header .brand-logo-media {
    width: 210px;
    height: auto;
    display: flex;
    align-items: center;
}

.site-header .brand-logo-media img {
    position: static;
    transform: none;
    height: auto;
    width: 100%;
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
    display: block;
}
.site-header .navbar-nav {
    gap: 0.35rem;
}

.site-header .nav-link,
.site-header .nav-link.dropdown-toggle {
    color: var(--color-dark) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem .75rem !important;
    border-radius: 8px;
    transition: color var(--transition);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--color-primary) !important;
    background: none;
}


/* Chevron indicator for dropdown toggle instead of lines */
.site-header .dropdown-toggle::after {
    display: inline-block;
    content: "\f078" !important; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border: none !important;
    margin-left: 0.35em;
    font-size: 0.7rem;
    transition: transform var(--transition);
    vertical-align: middle;
    opacity: 0.7;
}

.site-header .dropdown.show .dropdown-toggle::after,
.site-header .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown styling */
.site-header .dropdown-menu {
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: .4rem !important;
    min-width: 210px;
    margin-top: .5rem !important;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.site-header .dropdown-item {
    color: var(--color-text) !important;
    border-radius: var(--radius-sm);
    padding: .5rem .85rem;
    font-size: .88rem;
    font-weight: 500;
    transition: all var(--transition);
}
.site-header .dropdown-item:hover {
    background: rgba(26, 115, 200, .06) !important;
    color: var(--color-primary) !important;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile nav toggler */
.site-header .navbar-toggler {
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--color-dark);
    font-size: 1.1rem;
    padding: .35rem .55rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.site-header .navbar-toggler:hover {
    background: rgba(26, 115, 200, .06);
}

/* ---------- BUTTONS ---------- */
.btn-gradient {
    background: var(--grad-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: .75rem 1.6rem;
    border-radius: 999px;
    transition: transform var(--transition), box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: .9rem;
    box-shadow: 0 10px 25px -5px rgba(26, 115, 200, 0.35);
    position: relative;
    overflow: hidden;
}
.btn-gradient::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    opacity: 1;
    transition: opacity var(--transition);
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(26, 115, 200, 0.45);
    color: #fff;
}

.btn-outline-glass {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--color-dark);
    font-weight: 600;
    padding: .73rem 1.58rem;
    border-radius: 999px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: .9rem;
    box-shadow: var(--shadow-sm);
}
.btn-outline-glass:hover {
    background: #f8fafc;
    border-color: rgba(26, 115, 200, .4);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--grad-cta);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: .75rem 1.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-size: .9rem;
    box-shadow: 0 10px 25px -5px rgba(255, 122, 47, .3);
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 122, 47, .4);
    color: #fff;
}

.btn-sm {
    padding: .5rem 1.1rem !important;
    font-size: .85rem !important;
}

/* Ripple */
.ripple-effect {
    position: absolute; border-radius: 50%;
    transform: scale(0); animation: ripple .6s linear;
    background: rgba(255,255,255,.45);
    pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    background: var(--grad-hero);
}

/* Animated blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    pointer-events: none;
}
.hero-blob--1 {
    width: 600px; height: 600px;
    background: rgba(41, 182, 246, 0.4);
    top: -150px; right: -120px;
    animation: blobFloat 14s ease-in-out infinite;
}
.hero-blob--2 {
    width: 450px; height: 450px;
    background: rgba(255, 122, 47, 0.25);
    bottom: -120px; left: -100px;
    animation: blobFloat 18s ease-in-out infinite reverse;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(30px, -30px) scale(1.05); }
}

/* Grid overlay */
.hero-grid-overlay {
    position: absolute; inset: 0; opacity: .45;
    background-image:
        linear-gradient(rgba(26,115,200,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,115,200,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    pointer-events: none;
}

.hero-video-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.hero-content h1 .text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p.lead {
    font-size: 1.15rem;
    color: var(--color-muted);
    max-width: 600px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Badge above hero title */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(26, 115, 200, 0.06);
    border: 1px solid rgba(26, 115, 200, 0.12);
    color: var(--color-primary);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Trust bar under CTA */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    color: var(--color-muted);
    font-size: .88rem;
}
.hero-trust strong { color: var(--color-dark); }
.hero-avatars { display: flex; }
.hero-avatars span {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: var(--grad-primary);
    box-shadow: var(--shadow-sm);
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars span:nth-child(2) { background: var(--grad-cta); }
.hero-avatars span:nth-child(3) { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.hero-avatars span:nth-child(4) { background: linear-gradient(135deg, #0a1437, #1d4ed8); }

/* Hero visual / glass cards */
.hero-visual { position: relative; height: 460px; }

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.02), var(--shadow-xl);
    padding: 1.5rem;
}
.glass-card--main { position: absolute; top: 10px; right: 0; width: 330px; }
.glass-card__head {
    display: flex; align-items: center; gap: .45rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 1.25rem;
}
.glass-card__head p { margin-left: auto; font-size: .8rem; color: var(--color-muted); font-weight: 500; }
.glass-dot { width: 8px; height: 8px; border-radius: 50%; }
.glass-dot--r { background: #ef4444; }
.glass-dot--y { background: #f59e0b; }
.glass-dot--g { background: #10b981; }
.glass-metric { margin-bottom: 1.25rem; }
.glass-metric p { font-size: .8rem; color: var(--color-muted); margin-bottom: .3rem; font-weight: 500; }
.glass-metric h3 { font-size: 1.35rem; margin-bottom: .5rem; color: var(--color-dark); font-weight: 800; }
.glass-bar {
    width: 100%; height: 6px;
    background: rgba(226, 232, 240, 0.6);
    border-radius: 999px; overflow: hidden;
}
.glass-bar span {
    display: block; height: 100%;
    background: var(--grad-primary);
    border-radius: 999px;
}
.glass-card--float, .glass-card--float2 {
    position: absolute;
    display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
}
.glass-card--float  { bottom: 50px; left: 0; width: 215px; animation: floatY 5s ease-in-out infinite; }
.glass-card--float2 { top: 70px;   left: 30px; width: 195px; animation: floatY 6s ease-in-out infinite reverse; }
.glass-card--float  i,
.glass-card--float2 i {
    width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--grad-primary); color: #fff; font-size: 1rem;
    box-shadow: 0 4px 10px rgba(26, 115, 200, 0.2);
}
.glass-card--float2 i { background: var(--grad-cta); box-shadow: 0 4px 10px rgba(255, 122, 47, 0.2); }
.glass-card--float  p,
.glass-card--float2 p { font-size: .75rem; color: var(--color-muted); margin: 0; font-weight: 500; }
.glass-card--float  h4,
.glass-card--float2 h4 { font-size: 1.05rem; color: var(--color-dark); margin: 0; font-weight: 800; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: var(--color-dark);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: "";
    position: absolute; inset: 0; opacity: .15;
    background:
        radial-gradient(circle at 20% 50%, rgba(26,115,200,.4), transparent 45%),
        radial-gradient(circle at 80% 50%, rgba(255,122,47,.3), transparent 45%);
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: .25rem;
}
.stat-label {
    color: rgba(255,255,255,.7);
    font-weight: 500;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ---------- CARDS (light glassmorphism) ---------- */
.card-glass {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.card-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 115, 200, 0.2);
    box-shadow: var(--shadow-md);
}

.card-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--color-bg-section);
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.card-media:hover img { transform: scale(1.04); }

/* ---------- SERVICE CARDS ---------- */
.service-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: block;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}
.service-card::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(26, 115, 200, 0.06);
    color: var(--color-primary);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}
.service-card h3 {
    margin-bottom: .6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    transition: color var(--transition);
}
.service-card p {
    color: var(--color-muted);
    font-size: .92rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    transition: color var(--transition);
}
.service-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--color-primary);
    font-weight: 600; font-size: .88rem;
    transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: .6rem; }
.service-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255, 255, 255, 0.85); }
.service-card:hover .service-link { color: #fff; }
.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ---------- PORTFOLIO CARDS ---------- */
.portfolio-item {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.portfolio-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-section);
    display: grid;
    place-items: center;
    color: #fff;
}
.portfolio-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.portfolio-item:hover .portfolio-media img { transform: scale(1.04); }
.portfolio-category {
    position: absolute; top: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--color-primary);
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .05em;
    box-shadow: var(--shadow-sm);
}
.portfolio-body { padding: 1.5rem; }
.portfolio-meta {
    display: flex; justify-content: space-between;
    color: var(--color-muted); font-size: .78rem; margin-bottom: .6rem;
}
.portfolio-body h3 { margin-bottom: .5rem; font-size: 1.1rem; color: var(--color-dark); font-weight: 700; }
.portfolio-footer {
    display: flex; justify-content: space-between;
    align-items: center; padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    margin-top: .5rem;
}
.portfolio-client { font-size: .8rem; color: var(--color-dark); font-weight: 600; }
.portfolio-btn {
    color: var(--color-primary); font-weight: 600;
    font-size: .88rem; display: inline-flex; gap: .4rem; align-items: center;
    transition: gap var(--transition);
}
.portfolio-btn:hover { gap: .6rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.rating-stars { color: #ffb04a; font-size: .9rem; margin-bottom: .85rem; }
.testimonial-quote {
    font-size: 1.05rem;
    color: var(--color-dark-2);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}
.testimonial-person {
    display: flex; align-items: center;
    justify-content: center; gap: .85rem;
}
.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--color-bg-section);
    display: grid; place-items: center;
    color: var(--color-primary); font-weight: 700; font-size: .85rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.testimonial-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.testimonial-name { font-size: .95rem; color: var(--color-dark); font-weight: 700; margin: 0; }
.testimonial-role { font-size: .8rem; color: var(--color-muted); margin: 0; }

/* ---------- BADGE TAGS ---------- */
.badge-soft {
    background: rgba(26, 115, 200, 0.05);
    border: 1px solid rgba(26, 115, 200, 0.12);
    color: var(--color-primary);
    font-weight: 500;
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .78rem;
    display: inline-flex; align-items: center; gap: .4rem;
    transition: all var(--transition);
    text-decoration: none;
}
.badge-soft:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* ---------- AVATAR ---------- */
.avatar-ring {
    border-radius: 50%;
    border: 2px solid var(--color-border);
    object-fit: cover;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 5rem 0;
    background: var(--grad-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute; inset: 0; opacity: .2;
    background: radial-gradient(circle at 80% 50%, rgba(255,122,47,.4), transparent 50%);
}
.cta-banner__inner {
    position: relative;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: .6rem; font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 520px; font-size: 1.05rem; }

/* ---------- PROCESS STEPS ---------- */
.process-step {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.step-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.25rem; font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: .5rem;
}
.process-step h4 { color: var(--color-dark); margin-bottom: .5rem; font-weight: 700; }
.process-step p  { color: var(--color-muted); font-size: .9rem; line-height: 1.6; }

/* ---------- FAQ ACCORDION ---------- */
.faq-item {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 115, 200, 0.2);
}
.faq-q {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 600; color: var(--color-dark);
    text-align: left; font-size: .98rem;
    cursor: pointer; background: none; border: none;
}
.faq-q i { transition: transform var(--transition); color: var(--color-primary); font-size: .85rem; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; padding: 0 1.5rem; }
.faq-a p { padding-bottom: 1.25rem; color: var(--color-muted); font-size: .92rem; }

/* ---------- TECH GRID ---------- */
.tech-item {
    background: #fff;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 115, 200, 0.2);
}
.tech-item i { font-size: 1.85rem; color: var(--color-primary); margin-bottom: .5rem; }
.tech-item p { font-size: .85rem; font-weight: 600; color: var(--color-text); margin: 0; }

/* ---------- STICKY SIDEBAR ---------- */
.sticky-sidebar {
    position: sticky;
    top: 6rem;
    display: flex; flex-direction: column; gap: 1.5rem;
}
.sidebar-widget {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 { font-size: .95rem; margin-bottom: 1.25rem; color: var(--color-dark); font-weight: 700; border-bottom: 1px solid rgba(226, 232, 240, 0.6); padding-bottom: .5rem; }
.adsense-slot {
    background: var(--color-bg-section);
    border: 1px dashed rgba(26, 115, 200, 0.15);
    border-radius: var(--radius-sm);
    min-height: 250px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-muted);
    font-size: .75rem; text-transform: uppercase; letter-spacing: .05em;
}
@media (max-width: 991.98px) {
    .sticky-sidebar { display: none !important; }
}

/* ---------- MOBILE NAVIGATION (site-header) ---------- */
@media (max-width: 991.98px) {
    .site-header-inner { position: relative; }

    .site-header .navbar-brand { max-width: calc(100% - 56px); }

    /* Collapsed menu becomes a floating panel under the header instead of
       an inline block that overlaps the logo/toggle row */
    .site-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 1px;
        background: #fff;
        border-top: 1px solid rgba(226, 232, 240, 0.6);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.25rem 1.5rem;
        max-height: calc(100vh - 63px);
        overflow-y: auto;
        z-index: 999;
    }

    .site-header .navbar-nav {
        gap: 0.15rem;
        margin: 0 !important;
    }

    .site-header .nav-link,
    .site-header .nav-link.dropdown-toggle {
        padding: .75rem .9rem !important;
        border-radius: var(--radius-sm);
    }

    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        background: rgba(26, 115, 200, .06);
    }

    /* Dropdowns (Company / Work / Resources) render inline/expanded rather
       than as floating popovers, which don't work well on small screens */
    .site-header .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        box-shadow: none !important;
        border: none !important;
        background: rgba(26, 115, 200, .03) !important;
        margin: .25rem 0 .5rem .5rem !important;
        padding: .4rem !important;
        border-left: 2px solid rgba(26, 115, 200, .15) !important;
        border-radius: var(--radius-sm) !important;
        animation: none;
    }

    .site-header .dropdown-item { font-size: .85rem; }

    /* Advertise / Contact buttons stack full width at the bottom of the panel */
    .site-header .navbar-collapse > .d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: .6rem !important;
        margin-top: .75rem !important;
        padding-top: .75rem;
        border-top: 1px solid rgba(226, 232, 240, 0.6);
    }
    .site-header .navbar-collapse > .d-flex .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
    padding: var(--space-lg) 0;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}
.newsletter-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(26,115,200,.04) 0%, rgba(255,122,47,.02) 100%);
    border: 1px solid rgba(26,115,200,.06);
    padding: 3rem;
    border-radius: var(--radius-lg);
}
.newsletter-inner h3 { margin-bottom: .3rem; color: var(--color-dark); font-weight: 700; }
.newsletter-form {
    display: flex; gap: .5rem; flex: 1; max-width: 460px;
}
.newsletter-form input {
    flex: 1;
    padding: .8rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #fff;
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: .9rem;
    outline: none;
    transition: all var(--transition);
}
.newsletter-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 115, 200, 0.1);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,.65);
    padding-top: 5rem;
}
.site-footer h5 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-display);
    font-weight: 600;
}
.site-footer a {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    display: block;
    margin-bottom: .6rem;
    transition: color var(--transition), transform var(--transition);
}
.site-footer a:hover {
    color: var(--color-accent-2);
    transform: translateX(2px);
}
.site-footer .brand-logo-media--footer {
    width: 220px;
    height: auto;
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
}

.site-footer .brand-logo-media--footer img {
    position: static;
    transform: none;
    height: auto;
    width: 100%;
    max-width: 100%;
    /* filter removed to keep it colored */
}
.site-footer .footer-logo .logo-text {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}
.site-footer .footer-tagline {
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    max-width: 320px;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
}
/* Override the generic .site-footer a { display:block } for social icon links */
.site-footer .footer-social a,
.site-footer .footer-social a.social-icon {
    display: inline-flex !important;
    margin-bottom: 0 !important;
    transform: none;
}
.site-footer .footer-social a:hover,
.site-footer .footer-social a.social-icon:hover {
    color: #fff;
    transform: translateY(-3px) !important;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(41, 182, 246, 0.25);
    border-radius: 50%;
    color: var(--color-accent-2);
    transition: all var(--transition);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.social-icon:hover {
    background: var(--grad-primary);
    border-color: transparent;
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 115, 200, 0.35);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 1.75rem 0;
    margin-top: 4rem;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}

/* ---------- FORMS ---------- */
.form-control-agency, .form-select-agency {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--color-text);
    padding: .8rem 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    font-family: var(--font-body);
    font-size: .92rem;
    transition: all var(--transition);
}
.form-control-agency:focus, .form-select-agency:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 115, 200, .1);
}
.form-label-agency {
    color: var(--color-dark);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .4rem;
    display: block;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
    background: linear-gradient(180deg, #f1f5f9, #f8fafc);
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    margin-bottom: 3rem;
}
.page-header h1 { color: var(--color-dark); font-weight: 800; }

/* Guaranteed breathing room between the page-header divider line and
   whatever comes next — filter pills, card grids, testimonial cards, etc.
   Applies site-wide across testimonials, portfolio, services, case-studies,
   industries, blog and news pages without needing to touch each template. */
.container-agency.section-sm {
    padding-top: 3rem;
}
.page-header + .container-agency > .row:first-child,
.page-header + .container-agency .d-flex.flex-wrap.gap-2:first-child {
    margin-top: 0.5rem;
}

.breadcrumb-agency a {
    color: var(--color-muted);
    font-size: .82rem;
    text-decoration: none;
    transition: color var(--transition);
}
.breadcrumb-agency a:hover { color: var(--color-primary); }
.breadcrumb-agency .current { color: var(--color-dark); font-size: .82rem; font-weight: 500; }

/* ---------- ALERTS ---------- */
.alert-custom-error {
    background: rgba(239, 68, 68, .06);
    border: 1px solid rgba(239, 68, 68, .2);
    color: #ef4444;
    font-size: .875rem;
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    font-weight: 500;
}
.alert-custom-status {
    background: rgba(16, 185, 129, .06);
    border: 1px solid rgba(16, 185, 129, .2);
    color: #10b981;
    font-size: .875rem;
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    font-weight: 500;
}

/* ---------- UTILITY ---------- */
.text-muted-agency  { color: var(--color-muted) !important; }
.text-faint-agency  { color: var(--color-muted) !important; opacity: .65; }
.text-primary-agency { color: var(--color-primary) !important; }
.rounded-agency     { border-radius: var(--radius-md) !important; }
.divider-glass {
    height: 1px;
    background: rgba(226, 232, 240, 0.6);
    border: none;
}

/* ---------- FADE-IN ON SCROLL (AOS backup) ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- FLOATING WHATSAPP / SCROLL TOP ---------- */
.float-whatsapp {
    position: fixed; right: 24px; bottom: 24px; z-index: 1050;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.3);
    color: #fff; font-size: 1.4rem;
    transition: all var(--transition);
    animation: waPulse 2s infinite;
}
.float-whatsapp:hover { transform: scale(1.08); color: #fff; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.3), 0 0 0 0 rgba(37,211,102,.45); }
    50%       { box-shadow: 0 8px 24px rgba(37,211,102,.3), 0 0 0 12px rgba(37,211,102,0); }
}

.scroll-top-btn {
    position: fixed; right: 24px; bottom: 88px; z-index: 1050;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--grad-primary);
    display: grid; place-items: center;
    color: #fff; font-size: 1rem;
    cursor: pointer; border: none;
    opacity: 0; pointer-events: none;
    transform: translateY(15px);
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(26, 115, 200, 0.2);
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top-btn:hover { transform: translateY(-2px); }

/* ---------- SWIPER CUSTOMIZATION ---------- */
.swiper-pagination-bullet {
    background: rgba(226, 232, 240, 0.9);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--grad-primary) !important;
    width: 24px !important;
    border-radius: 999px !important;
}

/* ---------- BOOTSTRAP DROPDOWN OVERRIDE ---------- */
.dropdown-menu {
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
}
.dropdown-item { color: var(--color-text) !important; }
.dropdown-item:hover {
    background: rgba(26, 115, 200, .06) !important;
    color: var(--color-primary) !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-visual { height: 400px; }
    .glass-card--main { width: 100%; max-width: 300px; right: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .site-header .brand-logo-media {
        width: 150px;
        height: auto;
    }
    .site-footer .brand-logo-media--footer {
        width: 180px;
        height: auto;
    }
    .hero-section { padding: 5rem 0 3rem; text-align: center; }
    .hero-trust   { justify-content: center; }
    .hero-visual  { display: none; }
    .glass-card--float, .glass-card--float2 { display: none; }
    .newsletter-inner { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
    .newsletter-form  { width: 100%; max-width: 100%; }
    .cta-banner__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .section    { padding: 3.5rem 0; }
    .stats-bar  { padding: 2rem 0; }
}

/* ---------- CLIENTS BAR (HOME PAGE) ---------- */
.clients-bar {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0 2rem;
}
.clients-bar__label {
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-muted);
    margin-bottom: 1.75rem;
}
.clients-bar__link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: gap .2s;
}
.clients-bar__link:hover { gap: .65rem; }

/* Flex row of logo cells — wraps on small screens */
.clients-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
}

/* Each cell is a fixed-height box — images can't overflow it */
.clients-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;            /* hard ceiling — nothing renders taller */
    overflow: hidden;
}
.clients-logo-cell img {
    display: block;
    height: 48px !important;       /* enforce even if inline style not applied */
    max-height: 48px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain;
    filter: grayscale(80%) opacity(.6);
    transition: filter .3s ease;
}
.clients-logo-cell:hover img { filter: grayscale(0%) opacity(1); }
.clients-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.clients-name-pill {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-muted);
    white-space: nowrap;
    padding: .4rem .9rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
}

/* ---------- PUBLIC CLIENTS PAGE ---------- */
.page-hero-sm {
    background: var(--color-bg-section);
    padding: 5rem 0 3.5rem;
    border-bottom: 1px solid var(--color-border);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.client-logo-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.5rem;
    height: 110px;              /* fixed height — prevents image blowout */
    overflow: hidden;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.client-logo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(26, 115, 200, .25);
}
.client-logo-card img {
    display: block;
    max-height: 56px;
    max-width: 140px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: grayscale(80%) opacity(.65);
    transition: filter .3s;
}
.client-logo-card:hover img { filter: grayscale(0%) opacity(1); }
.client-logo-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.clients-names-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.client-name-tag {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: .65rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-text);
    transition: background .2s, border-color .2s;
}
.client-name-tag:hover { background: var(--color-bg-section); border-color: var(--color-primary); }
.client-name-tag a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.client-name-tag a:hover { color: var(--color-primary); }
.client-name-tag span { display: flex; align-items: center; gap: .45rem; }

/* ================================================================
   HERO BANNER SLIDER — Homepage top slider
   ================================================================ */

/* .hero-section.has-slider {
    padding: 0;
    overflow: hidden;
} */

.hero-section.has-slider {
    padding: 14px 0;
    overflow: hidden;
}

.hero-banner-swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-banner-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Slide 1: Default Hero Slide */
.default-hero-slide {
    background: transparent;
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.default-hero-slide .container-agency {
    width: 100%;
}

/* Slides 2+: Individual database slide wrapper */
.hero-banner-slide {
    width: 100%;
    aspect-ratio: 1920 / 600;
    max-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0;
}

/* Content box inside each slide */
.hero-banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
}

/* Animating only the active slide content */
.swiper-slide-active .hero-banner-content {
    animation: bannerFadeIn .6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bannerFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Title */
.hero-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: inherit;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: .75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.18);
}

/* Subtitle */
.hero-banner-subtitle {
    font-size: clamp(.95rem, 1.8vw, 1.2rem);
    color: inherit;
    opacity: .9;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 540px;
    text-shadow: 0 1px 6px rgba(0,0,0,.12);
}

/* CTA button */
.hero-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .78rem 1.8rem;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    font-family: var(--font-body);
    color: inherit;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.hero-banner-btn:hover {
    background: rgba(255,255,255,.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.hero-banner-btn i { transition: transform var(--transition); }
.hero-banner-btn:hover i { transform: translateX(4px); }

/* ── Navigation arrows (Glass style, visible on light & dark) ── */
.hero-banner-prev,
.hero-banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), color var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.hero-banner-prev { left: 1.5rem; }
.hero-banner-next { right: 1.5rem; }
.hero-banner-prev:hover,
.hero-banner-next:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Hide arrows when only one slide */
.hero-banner-swiper:has(.swiper-slide:only-child) .hero-banner-prev,
.hero-banner-swiper:has(.swiper-slide:only-child) .hero-banner-next { display: none; }

/* ── Pagination dots ── */
.hero-banner-pagination {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 20;
}
.hero-banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0.85;
    margin: 0 5px;
    transition: width var(--transition), background var(--transition);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}
.hero-banner-pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--color-primary);
}

/* Adjust colors on dark slides */
.database-banner-slide .hero-banner-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.database-banner-slide .hero-banner-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

/* ── Responsive tweaks ── */
@media (max-width: 575.98px) {
    .default-hero-slide { padding-top: 2rem; padding-bottom: 2rem; }
    .hero-banner-slide { min-height: 350px; padding: 2.5rem 0; }
    .hero-banner-content { padding: 2.5rem 0; }
    .hero-banner-prev { left: .5rem; }
    .hero-banner-next { right: .5rem; }
    .hero-banner-prev,
    .hero-banner-next { width: 38px; height: 38px; font-size: .9rem; }
}

/* ============================================================
   BANNER SHOWCASE SECTION (BELOW HERO)
   ============================================================ */
.banner-showcase-section {
    position: relative;
    background: var(--color-bg-alt, #0f172a);
    overflow: hidden;
}
.banner-showcase-swiper {
    position: relative;
    padding-bottom: 3rem;
}

/* ── DESKTOP & LAPTOP STYLING (>= 992px) ── */
@media (min-width: 992px) {
    .banner-showcase-card {
        border-radius: 20px;
        overflow: hidden;
        min-height: 380px;
        padding: 4rem 4.5rem;
        display: flex;
        align-items: center;
        position: relative;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.15);
        background-color: var(--banner-bg-color, #1a73e8);
    }
    .banner-showcase-card.has-desktop-bg {
        background-image: linear-gradient(
            to right,
            var(--banner-bg-color, #1a73e8) 0%,
            rgba(15, 23, 42, 0.82) 45%,
            transparent 100%
        ), var(--banner-desktop-img);
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
    }
    .banner-showcase-content {
        max-width: 580px;
        position: relative;
        z-index: 3;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 2.25rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    .banner-showcase-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 3.2vw, 2.75rem);
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: .85rem;
        letter-spacing: -0.02em;
    }
    .banner-showcase-subtitle {
        font-size: 1.1rem;
        opacity: .92;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }
    .banner-showcase-btn {
        border-radius: 999px;
        padding: .75rem 2rem;
        font-weight: 700;
        font-size: .95rem;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        border: 2px solid currentColor;
        transition: all 0.3s ease;
    }
    .banner-showcase-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    }
}

/* ── MOBILE & TABLET STYLING (< 992px) ── */
@media (max-width: 991.98px) {
    .banner-showcase-card {
        border-radius: 16px;
        overflow: hidden;
        padding: 1.75rem 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        background: linear-gradient(135deg, var(--banner-bg-color, #1a73e8) 0%, #0f172a 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    .banner-showcase-media {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .banner-showcase-img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    .banner-showcase-content {
        width: 100%;
    }
    .banner-showcase-title {
        font-family: var(--font-display);
        font-size: 1.45rem;
        font-weight: 800;
        line-height: 1.25;
        margin-bottom: .6rem;
    }
    .banner-showcase-subtitle {
        font-size: .92rem;
        opacity: .92;
        line-height: 1.55;
        margin-bottom: 1rem;
    }
    .banner-showcase-btn {
        border-radius: 999px;
        padding: .6rem 1.4rem;
        font-weight: 700;
        font-size: .88rem;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid currentColor;
    }
}

.banner-showcase-prev,
.banner-showcase-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
}
.banner-showcase-prev { left: 10px; }
.banner-showcase-next { right: 10px; }
.banner-showcase-prev:hover,
.banner-showcase-next:hover {
    background: #fff;
    color: var(--color-primary, #1a73e8);
    transform: translateY(-50%) scale(1.08);
}

/* ── Transparent Background Variant ── */
@media (min-width: 992px) {
    .banner-showcase-card.bg-transparent-banner {
        background-color: transparent !important;
        box-shadow: none;
        border-color: rgba(255,255,255,0.08);
    }
    .banner-showcase-card.bg-transparent-banner.has-desktop-bg {
        background-image: var(--banner-desktop-img) !important;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
@media (max-width: 991.98px) {
    .banner-showcase-card.bg-transparent-banner {
        background: transparent !important;
        box-shadow: none;
        border-color: rgba(255,255,255,0.08);
    }
}

/* ── Image-Only Banner (no content panel) ── */
@media (min-width: 992px) {
    .banner-showcase-card.image-only {
        padding: 0;
        min-height: auto;
        justify-content: center;
    }
    .banner-showcase-card.image-only.has-desktop-bg {
        min-height: 380px;
        background-image: var(--banner-desktop-img) !important;
        background-size: cover;
        background-position: center;
    }
}
@media (max-width: 991.98px) {
    .banner-showcase-card.image-only {
        padding: 0;
        gap: 0;
    }
    .banner-showcase-card.image-only .banner-showcase-media {
        border-radius: 16px;
        overflow: hidden;
    }
    .banner-showcase-card.image-only .banner-showcase-img {
        border-radius: 16px;
        max-height: none;
    }
}
/* ============================================================
   YOUTUBE VIDEOS & SHORTS SECTION
   ============================================================ */
.yt-videos-section {
    position: relative;
}
.yt-filter-tabs {
    display: flex;
    gap: .35rem;
    background: #ffffff;
    padding: .35rem;
    border-radius: 999px;
    border: 1px solid var(--color-border, rgba(226, 232, 240, 0.8));
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.08));
}
.yt-tab-btn {
    border: none;
    background: transparent;
    color: var(--color-dark, #0f172a);
    padding: .45rem 1.1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.yt-tab-btn.active, .yt-tab-btn:hover {
    background: var(--color-primary, #1a73e8);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}
.yt-tab-btn.active i, .yt-tab-btn:hover i {
    color: #ffffff !important;
}

.yt-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.yt-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 0, 0.15);
}
.yt-card-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}
.yt-card--short .yt-card-thumb {
    aspect-ratio: 9 / 16;
}
.yt-card--video .yt-card-thumb {
    aspect-ratio: 16 / 9;
}
.yt-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.yt-card:hover .yt-card-thumb img {
    transform: scale(1.06);
}
.yt-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.yt-card:hover .yt-play-overlay {
    background: rgba(0, 0, 0, 0.15);
}
.yt-play-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff0000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    transition: transform 0.3s ease, background 0.3s ease;
    padding-left: 3px;
}
.yt-card--short .yt-play-icon {
    width: 42px; height: 42px; font-size: 1rem;
}
.yt-card:hover .yt-play-icon {
    transform: scale(1.15);
    background: #cc0000;
}
.yt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: .25rem .65rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    backdrop-filter: blur(6px);
    z-index: 2;
}
.yt-badge--short {
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
}
.yt-badge--video {
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.yt-card-body {
    padding: 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.yt-card-title {
    font-size: .98rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .4rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yt-card-desc {
    font-size: .82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yt-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

@media (max-width: 575.98px) {
    .yt-card-body { padding: .85rem; }
    .yt-card-title { font-size: .88rem; }
    .yt-play-icon { width: 38px; height: 38px; font-size: .9rem; }
}