/* =============================================
   Global Variables — Brand Tokens
   ============================================= */
:root {
    /* Colors */
    --color-primary-1: #FF6B6B;
    --color-primary-2: #4ECDC4;
    --color-secondary: #54595F;
    --color-text: #333;
    --color-accent: #D7A667;
    --color-dark: #011627;
    --section-header: #011627;
    --color-white: #ffffff;

    /* Aliases */
    --primary-1: var(--color-primary-1);
    --primary-2: var(--color-primary-2);
    --secondary: var(--color-secondary);
    --text-color: var(--color-text);
    --accent: var(--color-accent);

    /* Fonts */
    --font-primary: 'Fredoka', sans-serif;
    --font-primary-weight: 700;
    --font-secondary: 'Bubblegum Sans', cursive;
    --font-secondary-weight: 500;
    --font-text: 'Comic Neue', cursive;
    --font-text-weight: 400;
    --font-text-medium: 500;

    /* Legacy/Snippet Mappings */
    --primary-font: var(--font-primary);
    --secondary-font: var(--font-secondary);
    --text-font: var(--font-text);
    --e-global-typography-primary-font-family: var(--font-primary);
    --e-global-typography-primary-font-weight: var(--font-primary-weight);

    /* Gradients */
    --bg-gradient: linear-gradient(180deg, var(--color-primary-2) 30%, #49D828 100%);
}

/* =============================================
   Reset & Base
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    color: #000000;
    background-color: var(--color-primary-1);
}

::-moz-selection {
    color: #000000;
    background-color: var(--color-primary-1);
}

body {
    font-family: var(--font-text);
    font-weight: 500;
    color: var(--color-text);
    background-color: white;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* =============================================
   Utility Classes
   ============================================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* =============================================
   Header & Navigation
   ============================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.logo h1 a {
    color: var(--primary-1);
    transition: color 0.3s ease;
}

.logo:hover h1 a {
    color: var(--primary-2);
}

.logo h1:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-2);
    bottom: 0;
    left: -100%;
    transition: all 0.3s ease;
}

.logo:hover h1:after {
    left: 0;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    padding: 5px 0;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    border-radius: 20px;
    display: block;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-links a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-1);
    transition: all 0.3s ease;
}

.nav-links a:hover:before,
.nav-links a.active:before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 9999;
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 5vw;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
        z-index: 10001;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    position: relative;
    background-image: var(--bg-gradient);
    padding: 150px 20px 180px;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Background Image Overlay with Filters */
.hero-section::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background-image: url('assets/general-pics/hero-section-bg.webp');
    background-position: center center;
    background-size: cover;
    filter: brightness(75%) contrast(150%) saturate(113%) blur(5px) hue-rotate(0deg);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-section.bg-loaded::before {
    opacity: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 55%;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper::before {
    --background-overlay: '';
    --overlay-opacity: 1;
    --overlay-mix-blend-mode: luminosity;

    content: var(--background-overlay);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    background-image: radial-gradient(at center center, #FFFFFF 0%, #F2295B00 60%);
    opacity: var(--overlay-opacity);
    mix-blend-mode: var(--overlay-mix-blend-mode);
    z-index: 0;
    pointer-events: none;
}

/* Typography & Text Elements */
.typewrite-container {
    font-family: var(--font-primary);
    font-weight: var(--font-primary-weight);
    font-size: 60px !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
    margin-bottom: 10px;
}

.bounce-effect {
    display: inline-block;
    animation: bounceInfinite 3s infinite;
}

@keyframes bounceInfinite {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}


.static-text {
    margin-right: 15px;
}

.typewrite {
    display: inline;
}

.typewrite>.wrap {
    border-right: 0.13em solid #fff;
    animation: blink-caret 0.75s step-end infinite;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.typewrite .selected {
    background-color: rgba(255, 255, 255, 0.6);
}

@keyframes blink-caret {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: white;
    }
}

h4.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: var(--font-secondary-weight);
    color: var(--color-white);
}

h3.hero-trust {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1.75rem;
    font-weight: var(--e-global-typography-primary-font-weight);
    text-shadow: 2px 2px 0px #FF0000;
    color: #FFD800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--primary-font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-primary svg,
.btn-secondary svg {
    fill: var(--color-white);
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    color: var(--color-white);
}

.btn-icon,
.btn svg,
.btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.btn-primary .btn-icon,
.btn-secondary .btn-icon,
.view-more-btn .btn-icon {
    filter: brightness(0) invert(1);
}


/* Animations (Image Float) */
.floating-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    animation: bounce-image 4s ease-in-out infinite;
    filter: drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.15));
}

@keyframes bounce-image {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =============================================
   Liquid Glass Floating Elements
   ============================================= */

/* Outer Wrappers - Handles the floating keyframe animations */
.glass-float-wrap {
    position: absolute;
    z-index: 10;
    pointer-events: auto;
    /* Allow mouse events to pass to the inner glass card */
}

/* Float-views animation wrapper */
.float-views-wrap {
    top: 8%;
    right: -5%;
    animation: float-views-anim 6s ease-in-out infinite;
}

/* Float-trending animation wrapper */
.float-trending-wrap {
    top: 38%;
    left: -8%;
    animation: float-trending-anim 6.5s ease-in-out infinite;
}

/* Glass float base class - Handles pure aesthetics, transitions & hover scaling */
.glass-float {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    /* Ultra-smooth transition for hover transformation, shadows, and filters */
    transition:
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.4s ease;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    /* Mask/clip the diagonal shimmer specular sheen perfectly! */
}

/* Diagonal specular sheen / shimmer reflection on glass hover */
.glass-float::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    pointer-events: none;
}

.glass-float:hover::after {
    left: 130%;
}

/* Global hover state - Extremely smooth and premium scaling & shadow transition */
.glass-float:hover {
    transform: translateY(-8px) scale(1.08);
}

/* Views badge specifically */
.float-views {
    padding: 12px 20px;
    gap: 15px;
    border-radius: 24px;
    box-shadow:
        0 8px 32px 0 rgba(1, 22, 39, 0.15),
        0 0 25px 0 rgba(255, 107, 107, 0.25),
        /* soft red brand glow */
        inset 0 2px 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 10px 0 rgba(255, 255, 255, 0.1);
}

.float-views:hover {
    box-shadow:
        0 18px 45px 0 rgba(1, 22, 39, 0.25),
        0 0 45px 12px rgba(255, 107, 107, 0.55),
        /* active hover red glow */
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 15px 0 rgba(255, 255, 255, 0.2);
}

/* Trending badge specifically */
.float-trending {
    padding: 12px 20px;
    gap: 15px;
    border-radius: 24px;
    box-shadow:
        0 8px 32px 0 rgba(1, 22, 39, 0.15),
        0 0 25px 0 rgba(46, 213, 115, 0.25),
        /* soft mint green brand glow */
        inset 0 2px 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 10px 0 rgba(255, 255, 255, 0.1);
}

.float-trending:hover {
    box-shadow:
        0 18px 45px 0 rgba(1, 22, 39, 0.25),
        0 0 45px 12px rgba(46, 213, 115, 0.55),
        /* active hover mint green glow */
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 15px 0 rgba(255, 255, 255, 0.2);
}

.glass-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-1) 0%, #ff8e8e 100%);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    color: white;
    font-size: 0.95rem;
}

/* Specific YouTube 3D Glass Icon Styling */
.float-views .glass-icon-circle {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.45) 0%, rgba(180, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 4px 12px rgba(255, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 1.15rem;
    /* Make the YouTube brand icon pop and look very premium */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.float-views:hover .glass-icon-circle {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.65) 0%, rgba(200, 0, 0, 0.35) 100%);
    box-shadow:
        0 6px 18px rgba(255, 0, 0, 0.45),
        inset 0 1px 3px rgba(255, 255, 255, 0.7);
    transform: scale(1.08) rotate(-5deg);
    /* Subtle premium tilt */
}

/* Specific Trending 3D Glass Icon Styling */
.float-trending .glass-icon-circle {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.45) 0%, rgba(30, 144, 255, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 4px 12px rgba(46, 213, 115, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.float-trending:hover .glass-icon-circle {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.65) 0%, rgba(30, 144, 255, 0.35) 100%);
    box-shadow:
        0 6px 18px rgba(46, 213, 115, 0.45),
        inset 0 1px 3px rgba(255, 255, 255, 0.7);
    transform: scale(1.08) rotate(5deg);
    /* Subtle premium opposite tilt */
}

.glass-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.glass-number {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.glass-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Individualized Animations (Different offset & delays for floating parallax) */
@keyframes float-views-anim {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes float-trending-anim {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(-1.5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive Scaling & Placement */
@media (max-width: 1024px) {
    .float-views-wrap {
        right: -10%;
        top: 5%;
    }

    .float-views {
        padding: 10px 16px;
    }

    .glass-number {
        font-size: 1.3rem;
    }

    .float-trending-wrap {
        left: -15%;
        top: 35%;
    }

    .float-trending {
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {

    /* Clustered around the centered character on mobile */
    .hero-image-wrapper {
        margin: 40px auto 20px;
        width: 280px;
        height: 330px;
    }

    .float-views-wrap {
        right: -20%;
        top: 15%;
    }

    .float-views {
        padding: 8px 14px;
        gap: 10px;
    }

    .glass-number {
        font-size: 1.15rem;
    }

    .glass-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .float-trending-wrap {
        left: -25%;
        top: 45%;
    }

    .float-trending {
        padding: 8px 14px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper {
        width: 240px;
        height: 290px;
    }

    .float-views-wrap {
        right: -20%;
        top: 15%;
    }

    .float-views {
        padding: 6px 12px;
    }

    .glass-number {
        font-size: 1.05rem;
    }

    .glass-label {
        font-size: 0.65rem;
    }

    .float-trending-wrap {
        left: -27%;
        top: 46%;
    }

    .float-trending {
        padding: 6px 12px;
    }
}

/* Bottom Shape Divider */
.hero-section .shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
}

.hero-section .shape-divider img {
    position: relative;
    display: block;
    width: 100%;
    height: 65px;
}

.hero-section .shape-divider .elementor-shape-fill {
    fill: #f9f9f9;
}

/* =============================================
   Featured Works Section
   ============================================= */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

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

.featured-works-section {
    padding: 60px 0;
}

.featured-works-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Responsive Grid / Flexbox */
.video-grid {
    display: flex;
    gap: 30px;
    width: 100%;
}

.video-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Shift the center column up slightly on desktop */
@media (min-width: 769px) {
    .video-column:nth-child(2) {
        transform: translateY(-40px);
    }
}

/* Video Elements & Animations */
.video-wrapper,
.video-card {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    /* Shimmer Effect Background */
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;

    /* Zoom In Animation Defaults */
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-wrapper.is-visible,
.video-card.is-visible {
    opacity: 1;
    transform: scale(1);
}

.video-wrapper video,
.video-card video {
    width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrapper video.loaded,
.video-card video.loaded {
    opacity: 1;
}

/* Button Styles */
.btn-container {
    margin-top: -70px;
    z-index: 5;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: var(--primary-1);
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.view-more-btn:hover {
    background-color: var(--color-dark);
    box-shadow: 0 4px 12px rgba(1, 22, 39, 0.3);
}

/* =============================================
   Featured Stars Section
   ============================================= */
.featured-stars-section {
    padding-bottom: 80px;
    /* Space for the services wave mask */
}

/* =============================================
   Services Section
   ============================================= */
.services-section {
    position: relative;
    padding: 100px 0 150px;
    background-color: #FFCDCD;
    color: var(--color-dark);
}

/* Shape Divider Services */
.shape-divider-services {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.shape-divider-services svg {
    display: block;
    width: calc(100% + 2px);
    height: 35px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.shape-divider-services path {
    fill: var(--color-white);
}

.shape-top {
    top: -1px;
}

.shape-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.shape-fill-half {
    opacity: 0.5;
}

.shape-fill-quarter {
    opacity: 0.25;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

/* Titles and Dividers handled by Shared Rules */

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
}

/* Service Card */
.service-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 300px;
    border-radius: 25px;
    border: 3px solid var(--color-white);
    text-decoration: none;
    box-shadow: 0px 0px 50px 20px rgba(0, 0, 0, 0.11);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Hardware acceleration to prevent blurring during transform */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--color-primary-1) 0%, var(--color-primary-2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: rotate(-1deg) scale(1.02);
    box-shadow: 0px 0px 55px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary-1);
}

.service-card:hover::before {
    opacity: 0.25;
}

/* Ensure content is above the overlay */
.icon-wrapper,
.service-title {
    position: relative;
    z-index: 2;
}

/* Card Colors */
.card-2d {
    background-color: #F1B5B1;
}

.card-voice {
    background-color: #EDCDAE;
}

.card-3d {
    background-color: #EFACC7;
}

.card-video {
    background-color: #D1AECB;
}

.card-logo {
    background-color: #D2D1B6;
}

.card-banner {
    background-color: #FCB898;
}

.card-moral {
    background-color: #FFD39A;
}

.card-explainer {
    background-color: #BDCBD8;
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #ffffff;
    background-image: linear-gradient(90deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    padding: 10px;
}

.icon-wrapper.loaded {
    background-image: none;
    animation: none;
}

.icon-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-wrapper img.loaded {
    opacity: 1;
}

.service-title {
    color: rgba(1, 22, 40, 0.75);
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .shape-divider-services svg {
        height: 65px;
    }
}

.stars-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Animated Stars Headline */
.stars-headline {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--color-dark);
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.highlight-wrapper {
    position: relative;
    color: #ebbc53;
    text-shadow: 0px 0px 10px rgba(255, 227, 0, 0.96);
    display: inline-block;
}

.stars-headline .highlight-svg {
    position: absolute;
    bottom: -20px;
    /* Adjusted to look right relative to text */
    left: 0;
    width: 100%;
    height: 20px;
    /* Scaled up from 12px to look like a proper underline */
    z-index: -1;
    transform: none;
    /* Reset inherited transform if any */
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    position: relative;
    padding: 0 40px;
}

.starsSwiper {
    width: 100%;
    padding-top: 15px !important;
    padding-bottom: 40px !important;
}

.swiper-slide {
    text-align: center;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.swiper-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

.swiper-slide-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.swiper-slide-image.loaded {
    opacity: 1;
}

.carousel-caption {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-dark);
    text-align: center;
}

/* Swiper Navigation & Pagination */
.stars-prev,
.stars-next {
    color: rgba(1, 22, 40, 0.75) !important;
    top: 35% !important;
    width: 35px !important;
    height: 35px !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
    z-index: 10 !important;
    position: absolute !important;
}

.stars-prev::after,
.stars-next::after {
    font-size: 24px !important;
    font-weight: 700;
}

.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background-color: var(--color-secondary) !important;
    opacity: 0.5;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-primary-1) !important;
    opacity: 1;
}

/* Footer Note */
.footer-note {
    font-family: var(--font-text);
    font-size: 1rem;
    color: rgba(1, 22, 40, 0.75);
    font-weight: bolder;
    text-align: center;
    font-style: italic;
    margin-top: -10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stars-headline {
        font-size: 2rem;
        justify-content: flex-start;
        text-align: left;
    }

    .carousel-container {
        padding: 0 35px;
    }

    .stars-prev,
    .stars-next {
        top: 32% !important;
    }

    .stars-prev::after,
    .stars-next::after {
        font-size: 18px !important;
    }

    .carousel-caption {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .footer-note {
        font-size: 10px;
    }
}

/* =============================================
   Responsive Design (Global)
   ============================================= */
@media (max-width: 768px) {
    .video-grid {
        flex-direction: column;
    }

    .portfolio-section {
        padding: 40px 15px;
    }

    .btn-container {
        margin-top: -20px;
    }

    .hero-section {
        padding-top: 130px;
        padding-bottom: 100px;
    }

    .hero-container {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .hero-content {
        align-items: flex-start;
    }

    .typewrite-container {
        font-size: 40px !important;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .static-text {
        margin-right: 7px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .floating-image {
        max-width: 80%;
        padding-top: 40px;
    }

    .shape-divider img {
        height: 30px;
    }
}

/* =============================================
   Recent Works Section
   ============================================= */
.recent-works-section {
    padding-top: 100px;
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.title-divider {
    height: 5px;
    width: 80px;
    background-color: var(--color-primary-1);
    margin: 0 auto;
    border-radius: 50px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-primary);
    font-weight: 700;
    color: #011627;
    font-size: 13px;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 15px;
    cursor: pointer;
    border-style: solid;
    border-width: 3px;
    border-color: var(--color-primary-1);
    border-radius: 50px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: scale(1.05);
}

.filter-btn.active {
    background-color: var(--color-primary-1);
    color: var(--color-white);
}

.filter-btn.active:hover {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    will-change: transform, opacity;
}

.gallery-item .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s ease;
    display: block;
}

.gallery-item .thumbnail.loaded {
    opacity: 1;
}

.gallery-item:hover .thumbnail {
    transform: scale(1.05);
}

.gallery-item .video-duration,
.suggestion-thumb-wrapper .video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(1, 22, 40, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    z-index: 3;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gallery-item .video-duration i,
.suggestion-thumb-wrapper .video-duration i {
    font-size: 8px;
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay img {
    transform: scale(1.1);
}

.load-more-container {
    text-align: center;
    margin-top: 25px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary-1);
    color: var(--color-white);
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: shuttle-shake 3.1s infinite;
}

.load-more-btn:hover {
    background-color: var(--color-dark);
    transform: translateY(-3px);
}

.load-more-btn .btn-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.load-more-btn:hover .btn-icon {
    transform: translateY(2px);
}

.load-more-btn.btn-collapse {
    background-color: var(--color-dark);
}

.load-more-btn.btn-collapse .btn-icon {
    transform: rotate(180deg);
}

.load-more-btn.btn-collapse:hover .btn-icon {
    transform: rotate(180deg) translateY(-2px);
}


/* =============================================
   Video Modal (Lightbox)
   ============================================= */
.video-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

/* Shimmer Highlight for Filter Buttons */
.filter-btn-highlighted {
    position: relative;
    overflow: hidden;
    background-size: 200% 200% !important;
    border-color: var(--color-primary-2) !important;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.45),
        inset 0 0 10px rgba(78, 205, 196, 0.7);
    animation: highlightGradientShift 3s ease infinite;
}

/* Shimmer sweep — only on normal (non-active) state */
.filter-btn-highlighted:not(.active)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    animation: shimmerSweep 2.2s ease-in-out infinite;
    pointer-events: none;
}

/* Active state: match regular active button (primary-1 red) */
.filter-btn-highlighted.active {
    background: var(--color-primary-1) !important;
    background-size: unset !important;
    border-color: var(--color-primary-1) !important;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.4);
    animation: none;
}

@keyframes highlightGradientShift {
    0% {
        background-position: 0% 50%;
    }

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

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

@keyframes shimmerSweep {
    0% {
        left: -80%;
    }

    60% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.video-modal.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.close-modal-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.close-modal-btn:hover {
    color: var(--color-primary-1);
}

.close-icon {
    width: 45px;
    height: 45px;
}

.modal-content {
    width: 100%;
    max-width: 1000px;
    background-color: transparent;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.video-player-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
}

#modalVideoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-watermark {
    position: absolute;
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
    z-index: 5;
    white-space: nowrap;
}

/* Custom Video Player Variables */
:root {
    --player-primary: var(--color-primary-1);
    --player-bg: var(--color-dark);
    --player-text: #ffffff;
    --player-control-bg: rgba(1, 22, 40, 0.85);
    /* Dark blue with opacity */
    --player-slider-track: rgba(255, 255, 255, 0.3);
    --player-slider-thumb: #ffffff;
    --player-focus-ring: rgba(255, 107, 107, 0.5);
    --player-font: var(--font-primary);
    --player-radius-base: 8px;
    --player-radius-lg: 12px;
    --player-transition: 0.25s;
}

/* Custom Video Player Styles */
.video-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--player-radius-lg);
    overflow: hidden;
    background-color: var(--player-bg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow var(--player-transition) ease;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: var(--modal-thumb);
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.6);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-container[style*="--modal-thumb"]::before {
    opacity: 1;
}

.video-container.is-playing {
    box-shadow: 0 0 25px var(--player-primary);
}

.video-container:focus-within:not(.is-playing) {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.video-player {
    width: 100%;
    display: block;
    cursor: pointer;
    object-fit: cover;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.video-player.ready {
    opacity: 1;
}

.video-container.fullscreen,
.video-container:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    padding-top: 0 !important;
    background-color: #000000 !important;
}

/* Disable blurred thumbnail backdrop when in fullscreen mode */
.video-container.fullscreen::before,
.video-container:fullscreen::before {
    opacity: 0 !important;
    display: none !important;
}

.video-container.fullscreen .video-player,
.video-container:fullscreen .video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--player-transition) ease;
}

.video-overlay i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-container.show-overlay .video-overlay {
    opacity: 1;
}

.video-container.show-overlay .video-overlay i {
    transform: scale(1);
}

.skip-overlay {
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skip-left {
    left: 0;
    background: radial-gradient(ellipse farthest-side at left center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.skip-right {
    right: 0;
    background: radial-gradient(ellipse farthest-side at right center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.skip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skip-content i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.skip-content span {
    font-size: 1rem;
    font-family: var(--player-font);
    font-weight: bold;
}

.video-container.show-skip-left .skip-left,
.video-container.show-skip-right .skip-right {
    opacity: 1;
}

.video-container.show-skip-left .skip-left .skip-content,
.video-container.show-skip-right .skip-right .skip-content {
    transform: scale(1);
    animation: skipPulse 0.5s ease;
}

@keyframes skipPulse {
    0% {
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.controls-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateY(0);
    transition: transform var(--player-transition) ease-in-out, opacity var(--player-transition) ease-in-out;
    z-index: 10;
    font-family: var(--player-font);
}

.video-container.hide-controls .controls-wrapper {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.video-container.hide-controls {
    cursor: none;
}

.progress-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 8px;
    cursor: pointer;
    position: relative;
    --progress-width: 0%;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background-color: var(--player-slider-track);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    --buffer-width: 0%;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--player-primary);
    width: var(--progress-width);
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.1s linear;
}

.progress-bar-buffer {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    width: var(--buffer-width);
    position: absolute;
    top: 0;
    left: 0;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: var(--progress-width);
    width: 12px;
    height: 12px;
    background-color: var(--player-slider-thumb);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--player-transition) ease, left 0.1s linear;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.progress-container:hover .progress-thumb,
.progress-container:focus-within .progress-thumb {
    transform: translate(-50%, -50%) scale(1);
}

.controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--player-text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--player-radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--player-transition), background-color var(--player-transition);
    position: relative;
    font-family: var(--player-font);
}

.control-btn:hover {
    color: var(--player-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.control-btn:focus-visible {
    outline: 2px solid var(--player-focus-ring);
    outline-offset: 2px;
}

.control-btn i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.control-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.control-btn .time-skip-svg {
    width: 100%;
    height: 100%;
}

.control-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 20;
}

.control-btn:hover::after,
.control-btn:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--player-primary) var(--volume-percent, 100%), var(--player-slider-track) var(--volume-percent, 100%));
    border-radius: 2px;
    outline: none;
    transition: width 0.3s ease;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--player-slider-thumb);
    cursor: pointer;
    transition: transform 0.1s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--player-slider-thumb);
    cursor: pointer;
    border: none;
}

.vol-anim {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 11px 12px;
}

#volMuteGrp {
    transform-origin: 18px 12px;
}

.vol-hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.vol-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.time-display {
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.5rem;
    font-family: var(--player-font);
}

.fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    border: none;
    background-color: #000;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--player-primary);
    animation: spin 1s ease-in-out infinite;
    display: none;
    z-index: 5;
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

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

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.volume-animate {
    animation: volumePop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-container.loading .loading-spinner {
    display: block;
}

.video-container.loading .video-overlay {
    display: none;
}

.hidden {
    display: none !important;
}

.video-container .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    border-radius: 0;
    animation: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.time-skip-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    transform: translate(0%, 5%);
}

.icon-flip {
    transform: scaleX(-1);
}

.time-skip-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.05em;
    font-family: var(--player-font);
}

#playbackRateDisplay {
    font-size: 0.875rem;
    font-weight: 700;
    width: 2rem;
    text-align: center;
    display: block;
    font-family: var(--player-font);
}

@media (max-width: 1024px) {

    #pipBtn,
    #fullscreenBtn {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .video-overlay i {
        font-size: 2.5rem;
    }

    /* .video-container.show-overlay .video-overlay i {
        transform: scale(0.7);
    } */

    .controls-wrapper {
        padding: 0.5rem 0.5rem;
        gap: 0.25rem;
    }

    .control-group {
        gap: 0.25rem;
    }

    .control-btn {
        padding: 0.25rem;
    }

    .control-btn i {
        font-size: 1rem;
        width: 1.2rem;
    }

    .control-btn svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    .video-container .icon-wrapper {
        width: 1.2rem;
        height: 1.2rem;
    }

    .time-skip-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .time-skip-text {
        font-size: 9px;
    }

    #playbackRateDisplay {
        width: 1.5rem;
        font-size: 0.75rem;
    }

    .time-display {
        font-size: 0.7rem;
        margin-left: 0.25rem;
    }

    .volume-slider {
        width: 50px;
        opacity: 1;
        margin-left: 4px;
    }
}

/* Animations */
@keyframes shuttle-shake {

    0%,
    80%,
    100% {
        transform: translateX(0) rotate(0);
    }

    82%,
    86%,
    90%,
    94%,
    98% {
        transform: translateX(-4px) rotate(-1deg);
    }

    84%,
    88%,
    92%,
    96% {
        transform: translateX(4px) rotate(1deg);
    }
}

/* =============================================
   Responsive Design (Global)
   ============================================= */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .load-more-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }

    .service-card {
        padding: 12px 20px;
        max-width: 320px;
    }
}

/* =============================================
   Shorts Section
   ============================================= */
.shorts-section {
    background-color: var(--color-white);
    width: 100%;
}

.shorts-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    margin-bottom: 10px;
}

.shorts-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 30px;
    color: var(--color-dark);
    line-height: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .shorts-title {
        font-size: 40px;
    }
}

.shorts-icon {
    display: flex;
    align-items: center;
}

.shorts-icon img,
.shorts-icon svg {
    width: 42px;
    height: 42px;
    display: block;
}

.shorts-carousel-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* White fade effect overlays for left and right edges on shorts carousel */
.shorts-carousel-container::before,
.shorts-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.shorts-carousel-container::before {
    left: 20px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}

.shorts-carousel-container::after {
    right: 20px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}

/* Disable edge fading overlays on mobile/small screens (showing single short at a time) */
@media (max-width: 767px) {

    .shorts-carousel-container::before,
    .shorts-carousel-container::after {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .shorts-carousel-container {
        padding: 0 32px;
    }
}

.swiper-shorts {
    width: 100%;
    padding: 16px 16px 48px 16px !important;
    --swiper-theme-color: #011627;
    --swiper-pagination-bullet-inactive-color: #011627;
    --swiper-pagination-bullet-size: 8px;
    --swiper-pagination-bullet-horizontal-gap: 6px;
}

@media (max-width: 767px) {
    .swiper-shorts {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.swiper-shorts .swiper-slide:not(.swiper-slide-visible) .video-card {
    box-shadow: none;
}

.video-card {
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    aspect-ratio: 9 / 16;
    transition: box-shadow 0.3s ease;
}

.enhanced-video {
    filter: brightness(127%) contrast(119%) saturate(108%) blur(0px) hue-rotate(0deg);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shorts-prev,
.shorts-next {
    width: 48px !important;
    height: 48px !important;
    top: calc(50% - 16px) !important;
    /* Offset for the bottom pagination padding */
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    background-color: #fff !important;
    /* This shows through the cutout */
    border-radius: 50%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    z-index: 12 !important;
}

.shorts-prev::before,
.shorts-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-1);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.3s ease;
}

.shorts-prev::before {
    -webkit-mask-image: url('assets/svg-icons/chevron-circle-left.svg');
    mask-image: url('assets/svg-icons/chevron-circle-left.svg');
}

.shorts-next::before {
    -webkit-mask-image: url('assets/svg-icons/chevron-circle-right.svg');
    mask-image: url('assets/svg-icons/chevron-circle-right.svg');
}

.shorts-prev:hover::before,
.shorts-next:hover::before {
    background-color: #011627;
}

.shorts-prev::after,
.shorts-next::after {
    display: none;
}

.shorts-prev {
    left: 0 !important;
}

.shorts-next {
    right: 0 !important;
}

@media (min-width: 768px) {
    .shorts-prev {
        left: 12px !important;
    }

    .shorts-next {
        right: 12px !important;
    }
}

/* =============================================
   Thumbnails Section
   ============================================= */
.thumbnails-section {
    padding-top: 50px;
    padding-bottom: 100px;
    background-color: var(--color-white);
    overflow-x: hidden;
}

.thumbnails-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

/* Headline Container - Shared Rules Handle Basic Typography */
.animated-headline {
    text-align: center;
}

.animated-headline .plain-text {
    display: inline-block;
    margin-right: 10px;
    color: #011627;
}

/* Dynamic Text Wrapper */
.dynamic-wrapper {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    z-index: 1;
}

.dynamic-text {
    position: relative;
    z-index: 2;
    color: #AEBCB9;
    font-family: var(--font-primary, 'Fredoka', sans-serif);
    font-weight: var(--font-primary-weight, 700);
}

/* SVG Highlight Marker */
.thumbnails-header .highlight-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    z-index: -1;
    overflow: visible;
}

.thumbnails-header .highlight-svg path {
    fill: none;
    stroke: red;
    /* Explicitly set to 'red' as requested */
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive Headline */
@media (max-width: 768px) {
    .animated-headline {
        font-size: 2.5rem;
    }
}

/* Carousel Styles */
.thumb-carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    padding: 0 20px;
    position: relative;
}

/* White fade effect overlays for left and right edges */
.thumb-carousel-container::before,
.thumb-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 767px) {

    .thumb-carousel-container::before,
    .thumb-carousel-container::after {
        display: none;
    }
}

.thumb-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}

.thumb-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}

.thumb-carousel-container.second {
    margin-top: 30px;
}

.thumbSwiperLtoR,
.thumbSwiperRtoL {
    width: 100%;
    height: auto;
}

/* Marquee effect: smooth linear scroll */
.thumbnails-section .swiper-wrapper {
    transition-timing-function: linear !important;
}

.thumbnails-section .swiper-slide {
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: auto;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

.thumbnails-section .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid rgba(1, 22, 40, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnails-section .swiper-slide img.loaded {
    opacity: 1;
}

/* =============================================
   Stats / Numbers Section
   ============================================= */
.stats-section {
    position: relative;
    background-color: #F0F0F0;
    padding: 50px 20px;
    margin: 0 auto;
    width: 100%;
}

/* --- Wave Shape Dividers --- */
.wave-shape-divider {
    position: absolute;
    left: 0;
    right: 0;
    height: 11px;
    z-index: 1;
    background-repeat: repeat-x;
    background-position: left center;
    background-size: 42px 11px;
}

.wave-shape-top {
    top: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 15'%3E%3Cpath fill='white' d='M-1,-1 L61,-1 L61,7 Q45,15 30,7 Q15,-1 -1,7 Z'/%3E%3C/svg%3E");
}

.wave-shape-bottom {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 15'%3E%3Cpath fill='white' d='M-1,16 L61,16 L61,7 Q45,-1 30,7 Q15,15 -1,7 Z'/%3E%3C/svg%3E");
    transform: none;
}

/* --- Container & Items --- */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* --- Typography --- */
.stat-title {
    font-family: var(--font-primary, 'Fredoka', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #384857;
    text-transform: capitalize;
}

.stat-number-wrapper {
    font-family: var(--font-primary, 'Fredoka', sans-serif);
    font-size: 4.5rem;
    font-weight: 700;
    color: #384857;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.stat-number-suffix {
    margin-left: 2px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .stats-section {
        padding: 80px 20px;
    }

    .stat-number-wrapper {
        font-size: 69px;
    }
}

@media (max-width: 576px) {
    .stats-container {
        flex-wrap: wrap;
    }
}

/* =============================================
   Why Choose Us Section
   ============================================= */
.why-us-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow-x: hidden;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.why-us-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 48px;
}

.why-us-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--color-dark);
}

@media (min-width: 768px) {
    .why-us-title {
        font-size: 3rem;
    }
}

.why-us-divider {
    width: 15%;
    height: 8px;
    background-color: var(--color-primary-1);
    margin-top: 30px;
    border-radius: 4px;
    /* Optional slight rounding to match theme */
}

/* Desktop Grid Layout */
.why-us-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 30px 20px;
}

/* Feature Card Shared Styles */
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0;
    padding: 50px 30px 30px 30px;
    background-color: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 25px;
    box-shadow: 0px 0px 50px 20px rgba(0, 0, 0, 0.11), inset 0px 0px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, var(--color-primary-1) 0%, #6AEBEC 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    border-color: #ffffff;
    box-shadow: 0px 0px 15px 1px rgba(135, 135, 135, 0.42), inset 0px 0px 25px rgba(0, 0, 0, 0.05);
}

.feature-card:hover::before {
    opacity: 0.25;
}

/* Mobile Overrides (applied to .mobile-feature directly or within carousel) */
.mobile-feature {
    margin: 0 auto;
    border-color: var(--color-primary-1);
}

.mobile-feature::before {
    background: linear-gradient(-45deg, var(--color-primary-2) 30%, var(--color-primary-1) 100%);
    opacity: 0.25;
}

.mobile-feature:hover {
    border-color: var(--color-primary-2);
}

.mobile-feature:hover::before {
    background: radial-gradient(circle at top center, var(--color-primary-1) 0%, #6AEBEC 100%);
    opacity: 0.25;
}

/* Icon & Animation */
@keyframes spring-punch {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.75);
    }

    60% {
        transform: scale(1.15);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background-color: var(--color-primary-1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 10;
    cursor: default;
    transition: all 0.3s ease;
    animation: bounce-image 4s ease-in-out infinite;
}

.feature-icon-wrapper:hover {
    background-color: #ffffff;
    border-color: var(--color-primary-1);
    color: var(--color-primary-1);
    animation: spring-punch 0.6s ease-in-out forwards;
}

.feature-icon {
    width: 50px;
    height: 50px;
    fill: currentColor;
}

.rotated-icon {
    transform: rotate(-30deg);
}

/* Typography Inside Cards */
.feature-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 32px;
    color: var(--color-primary-1);
    margin-bottom: 8px;
    line-height: 1.1;
    position: relative;
    z-index: 10;
}

.feature-desc {
    font-family: var(--font-secondary);
    /* Bubblegum Sans */
    font-weight: 500;
    color: #374C59;
    font-size: 17px;
    line-height: 31.6px;
    position: relative;
    z-index: 10;
}

/* Desktop Only vs Mobile Only Display Helpers (BEM Integrated) */
@media (min-width: 768px) {
    .why-us-carousel {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .why-us-grid {
        display: none !important;
    }
}

/* Swiper Overrides for Why Us Carousel */
.why-us-carousel {
    padding-bottom: 40px;
}

.whyUsSwiper {
    padding: 56px 0 !important;
    overflow: visible !important;
}

.whyUsSwiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #000;
    opacity: 0.3;
}

.whyUsSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

.whyUsSwiper .swiper-button-next,
.whyUsSwiper .swiper-button-prev {
    color: var(--color-secondary);
    transform: scale(0.6);
}

.whyUsSwiper .swiper-pagination {
    bottom: 0 !important;
}

/* =============================================
   FAQ Section
   ============================================= */
.faq-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

.faq-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.faq-header {
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
}

/* --- Shared Section Titles & Dividers --- */
.main-section-title,
.stars-headline,
.animated-headline {
    font-family: var(--font-primary);
    font-weight: 700;
    color: #011627;
    margin-bottom: 5px;
    text-align: center;
}

/* Specific Responsive Sizes for Main Section Titles */
.main-section-title {
    font-size: 32px;
    /* Mobile */
}

@media (min-width: 768px) {
    .main-section-title {
        font-size: 36px;
        /* Tablet */
    }
}

@media (min-width: 1024px) {
    .main-section-title {
        font-size: 45px;
        /* Desktop */
    }
}

/* Special Headlines Responsive (Preserving previous logic) */
.stars-headline,
.animated-headline {
    font-size: 2.25rem;
}

@media (min-width: 768px) {

    .stars-headline,
    .animated-headline {
        font-size: 3rem;
        line-height: 1.2;
    }
}

.main-section-divider {
    width: 8%;
    height: 8px;
    background-color: var(--color-primary-1);
    margin: 20px auto 40px;
    opacity: 0.8;
    border-radius: 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.accordion-item {
    width: 100%;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
    background-color: #F1F1F1;
    color: #011627;
    border-radius: 0.5rem;
    border: none;
    height: 50px;
}

.accordion-header:hover {
    background-color: #444444;
    color: #ffffff;
}

.accordion-item.active .accordion-header {
    background-color: #444444;
    color: #ffffff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    /* Mobile */
}

@media (min-width: 768px) {
    .accordion-title {
        font-size: 16px;
        /* Tablet */
    }
}

@media (min-width: 1024px) {
    .accordion-title {
        font-size: 17px;
        /* Desktop */
    }
}

.accordion-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.accordion-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.accordion-item.active .accordion-content {
    opacity: 1;
}

.accordion-item.active .icon-closed {
    display: none;
}

.accordion-item.active .icon-opened {
    display: block;
}

.icon-opened {
    display: none;
}

.accordion-content-inner {
    border: 1px solid #e5e7eb;
    border-top: none;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    background-color: #ffffff;
    padding: 24px;
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 500;
    font-size: 14px;
    /* Mobile */
    line-height: 1.7;
    color: #011627;
}

@media (min-width: 768px) {
    .accordion-content-inner {
        font-size: 16px;
        /* Tablet */
    }
}

@media (min-width: 1024px) {
    .accordion-content-inner {
        font-size: 17px;
        /* Desktop */
    }
}

.padding-spaced {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-bold-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-style: normal;
}

.content-indent {
    padding-left: 16px;
    display: block;
}

@media (min-width: 768px) {
    .content-indent {
        padding-left: 32px;
    }
}

.bottom-spaced {
    margin-bottom: 16px;
}

.bottom-spaced-sm {
    margin-bottom: 8px;
}

.content-note {
    font-size: 0.875rem;
    margin-top: 16px;
    color: var(--color-text);
}

.faq-list {
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =============================================
   About Section
   ============================================= */
.about-section {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
    background-color: #ffffff;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 64px;
    width: 100%;
}

.about-title {
    margin-bottom: 16px;
}

/* About Title Shared Rules Handle Typography */

/* About Divider Shared Rules Handle Style */

.about-content-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .about-content-grid {
        flex-direction: row;
    }
}

.about-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .about-sidebar {
        /* width: 41.666667%; */
    }
}

@media (min-width: 1024px) {
    .about-sidebar {
        /* width: 33.333333%; */
    }
}

.about-profile-wrapper {
    position: relative;
    width: 75%;
    max-width: 240px;
    max-height: 240px;
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

.about-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.5);
    transform: rotate(-4deg);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-profile-image.loaded {
    opacity: 1;
}

.about-profile-wrapper:hover .about-profile-image {
    transform: rotate(0deg);
}

.about-social-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.about-social-link {
    width: 40px;
    height: 40px;
    background-color: #011627;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.about-social-link:hover {
    background-color: var(--color-primary-1);
    transform: translateY(-4px);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.about-skills-header {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
}

@media (min-width: 768px) {
    .about-skills-header {
        font-size: 3rem;
    }
}

.skills-prefix {
    color: #011627;
}

.skills-wrapper {
    position: relative;
    display: inline-block;
    color: #abb8c3;
}

.skills-text {
    position: relative;
    z-index: 10;
}

.skills-zigzag-svg {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 110%;
    height: 24px;
    color: red;
    z-index: 0;
    margin-left: -8px;
    overflow: visible;
}

.about-skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-secondary);
}

.about-skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-icon {
    width: 16px;
    height: 16px;
    color: #011627;
    flex-shrink: 0;
}

.about-biography {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .about-biography {
        /* width: 58.333333%; */
        padding-top: 16px;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .about-biography {
        /* width: 66.666667%; */
    }
}

.about-bio-headline {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 25px;
    line-height: 41.6px;
    color: var(--color-primary-1);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .about-bio-headline {
        font-size: 25px;
        line-height: 32.5px;
    }
}

@media (min-width: 1024px) {
    .about-bio-headline {
        font-size: 32px;
        line-height: 41.6px;
    }
}

.about-bio-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 20px;
    line-height: 1.8;
    color: rgba(1, 22, 40, 0.85);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .about-bio-text {
        font-size: 20px;
    }
}

.about-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    padding-top: 16px;
}


.about-marquee-track {
    display: flex;
    gap: 50px;
    min-width: 100%;
    flex-shrink: 0;
    padding-right: 50px;
    align-items: center;
}

.about-marquee-image {
    height: 56px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    /* Individual shimmer for icons */
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 8px;
}

.about-marquee-image.loaded {
    opacity: 1;
    background: transparent;
    animation: none;
}

@media (min-width: 768px) {
    .about-marquee-image {
        height: 64px;
    }
}

/* Animations */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

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

.animate-marquee {
    animation: marquee 20s linear infinite;
}

@keyframes draw-path {
    0% {
        stroke-dashoffset: 100;
        opacity: 1;
    }

    13% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    90% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    95% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    100% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
}

.animate-draw-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-path 9.2s ease-in-out infinite;
}

/* =============================================
   Contact Section
   ============================================= */
.contact-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 50px 24px;
    background: linear-gradient(-45deg, #4ECDC4 0%, #FF6B6B 100%);
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1135px;
    z-index: 10;
    position: relative;
}

.contact-title {
    margin-bottom: 16px;
}

.contact-subtitle {
    font-family: var(--font-primary);
    font-size: 20px;
    color: #ffffff;
    margin: 15px 0 0 0;
    text-align: center;
    font-weight: 500;
}

.contact-divider {}

.contact-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    min-height: 320px;
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
    }

    .contact-card {
        width: 310px !important;
    }
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    border: 3px solid transparent;
    box-shadow: 0px 0px 50px 20px rgba(0, 0, 0, 0.11);
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    cursor: pointer;
}

.contact-card:hover {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0px 10px 20px 30px rgba(135, 135, 135, 0.42);
    transform: scale(1.07);
}


.contact-card:hover .contact-icon-wrapper {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}


.contact-icon {
    width: 50px;
    height: 50px;
    fill: var(--color-primary-1);
}

.contact-method-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 32px;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.contact-method-detail {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    margin-top: 8px;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-card:nth-child(2) .contact-method-detail {
    font-size: 23px;
}

.contact-method-detail:hover {
    color: #000000;
}

/* =============================================
   Footer Section
   ============================================= */
.site-footer {
    background-color: #333333;
    width: 100%;
    padding: 50px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.footer-inner {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-1);
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.footer-subtitle {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 35px 0 30px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    align-content: center;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-size: 17px;
    color: #FAF4EB;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.85;
}

.footer-item.copyright-item {
    display: inline-block;
    text-align: center;
    max-width: 100%;
}

.copyright-item .icon-copyright {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.copyright-item span {
    display: inline;
    vertical-align: middle;
}

a.footer-item:hover {
    color: var(--color-primary-1);
}

.icon-copyright {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.icon-separator {
    width: 6px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .footer-title {
        font-size: 25px;
    }

    .footer-subtitle {
        font-size: 1.2rem;
    }

    .footer-item {
        font-size: 0.8rem;
    }

    .icon-copyright {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 768px) {
    .footer-title {
        font-size: 22px;
    }

    .footer-subtitle {
        font-size: 1rem;
    }

    .footer-item {
        font-size: 0.75rem;
    }

    .icon-copyright {
        width: 11px;
        height: 11px;
    }
}

/* =============================================
   Scroll To Top Button
   ============================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

body.no-scroll .scroll-top-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.scroll-top-btn:hover {
    transform: translateY(0) scale(0.9);
    transition: transform 0.3s;
}

.scroll-top-btn.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    animation: scroll-btn-bounce-in 0.5s ease;
}

.scroll-top-btn .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--primary-1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.scroll-top-btn:hover .icon-wrapper {
    background-color: var(--color-primary-2);
}

.scroll-top-btn img {
    height: 30px;
    width: 30px;
    filter: brightness(0) invert(1);
}

@keyframes scroll-btn-bounce-in {
    0% {
        transform: translateY(20px) scale(0.9);
        opacity: 0;
    }

    60% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .scroll-top-btn {
        scale: 0.9;
        bottom: 24px;
        right: 24px;
    }
}

/* =============================================
   Legal Pages Custom Styles (Privacy Policy & Terms)
   ============================================= */
.terms-container {
    max-width: 100%;
    padding-bottom: 40px;
}

.last-updated {
    font-size: 0.9rem;
    font-style: italic;
    color: #969696;
    margin-bottom: 20px;
}

.terms-header {
    background: linear-gradient(-45deg, var(--color-primary-2) 0%, var(--color-primary-1) 100%);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.terms-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translate(-50px, -50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.terms-header h1 {
    font-size: 2.5rem;
    color: #011627;
    position: relative;
    z-index: 1;
}

.terms-header h1:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: white;
    opacity: 0.3;
}

.terms-header p {
    font-size: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin-top: 25px;
    font-family: var(--font-secondary);
    font-weight: 500;
}

/* Sticky Navigation */
.nav-wrapper {
    margin-bottom: 30px;
    position: sticky;
    top: 0px;
    z-index: 100;
}

.terms-nav {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.35s ease, border-radius 0.35s ease, background-color 0.35s ease, transform 0.35s ease, width 0.35s ease;
    will-change: transform, box-shadow, border-radius;
}

.terms-nav.sticky-active {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: linear-gradient(90deg, #fbfcfd 0%, #f1f3f5 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transform: translateX(-15px);
    width: calc(100% + 30px);
}

.terms-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.terms-nav a {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--color-primary-1);
    padding: 8px 16px;
    border-radius: 30px;
    display: block;
    white-space: nowrap;
}

.terms-nav a:hover {
    color: white;
    background: var(--color-primary-1);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#main-home-link {
    color: white;
    background-color: var(--color-primary-1);
    border: 2px solid var(--color-primary-1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

#main-home-link:hover {
    color: var(--color-primary-1);
    background-color: transparent !important;
    box-shadow: none;
}

/* Content Typography */
.terms-content h2 {
    color: var(--color-primary-1);
    font-size: 2rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-primary-1);
    position: relative;
}

.terms-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 200px;
    height: 3px;
    background: linear-gradient(-45deg, var(--color-primary-1) 0%, var(--color-primary-2) 100%);
}

.terms-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.terms-content p,
.terms-content li {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.terms-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.cookie-box {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.highlight-box {
    color: #6b6b6b;
    font-style: italic;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--color-primary-1);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section {
    scroll-margin-top: 110px;
}

.nav-sentinel {
    height: 1px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .terms-header {
        padding: 15px;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-nav {
        padding: 15px;
    }

    .terms-nav ul {
        gap: 8px;
    }

    .terms-content h2 {
        font-size: 1.6rem;
    }
}

/* =============================================
   Utility Classes (Extracted from Inline CSS)
   ============================================= */
.video-brightness-125 {
    filter: brightness(1.25);
}

#loadMoreContainer {
    display: none;
}

.svg-sprite-hidden {
    display: none;
}

/* Global Image & SVG Protection */
img,
svg {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Exclude Asset Browser */
.asset-browser img,
.asset-browser svg,
.asset-library img,
.asset-library svg,
.blender-assets img,
.blender-assets svg,
.asset-card img,
.asset-card svg {
    pointer-events: auto;
    user-select: auto;
    -webkit-user-drag: auto;
}

/* Video Mute Toggle Button */
.mute-toggle-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto !important;
    opacity: 0.6;
}

.mute-toggle-btn:hover {
    background: var(--color-primary-1);
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.mute-toggle-btn i {
    font-size: 14px;
    pointer-events: none;
}

.mute-toggle-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    right: 0;
    background: #011627;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-family: var(--font-primary);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mute-toggle-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure parents are relative */
.video-wrapper,
.video-card {
    position: relative;
}

/* =============================================
   Video Player End Screen Suggestions
   ============================================= */
.video-endscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-endscreen.active {
    opacity: 1;
    pointer-events: auto;
}

.endscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin-bottom: 20px;
    animation: fadeInDown 0.5s ease both;
}

.endscreen-title {
    font-family: var(--font-primary, 'Fredoka', sans-serif);
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.endscreen-replay-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.endscreen-replay-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

.endscreen-suggestions {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 700px;
    justify-content: center;
    align-items: stretch;
    animation: fadeInUp 0.6s ease both 0.1s;
}

.suggestion-card {
    flex: 1 1 300px;
    max-width: 330px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.suggestion-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.suggestion-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    transition: background-color 0.3s ease;
}

/* Shimmer Loading Animation */
@keyframes suggestionShimmer {
    0% {
        background-position: -200% 0;
    }

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

.suggestion-thumb-wrapper.loading {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: suggestionShimmer 1.6s infinite linear;
}

.suggestion-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Fade in smoothly once loaded */
    transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.suggestion-thumb.loaded {
    opacity: 1;
}

.suggestion-card:hover .suggestion-thumb.loaded {
    transform: scale(1.08);
}

.suggestion-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.suggestion-play-overlay i {
    color: #ffffff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.suggestion-card:hover .suggestion-play-overlay {
    opacity: 1;
}

.suggestion-card:hover .suggestion-play-overlay i {
    transform: scale(1);
}

.suggestion-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.suggestion-tag {
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-1, #00C6FF);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.suggestion-title {
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disable blur on low-end or mobile devices for performance */
@media (max-width: 767px) {
    .video-endscreen {
        padding: 15px;
        backdrop-filter: none;
        background-color: rgba(0, 0, 0, 0.95);
    }

    .endscreen-suggestions {
        flex-direction: row;
        gap: 12px;
    }

    .suggestion-card {
        flex: 1 1 45%;
        max-width: 180px;
    }

    .suggestion-info {
        padding: 10px;
    }

    .suggestion-title {
        font-size: 0.8rem;
    }

    .suggestion-tag {
        font-size: 0.65rem;
    }
}

/* =============================================
   Reviews / Testimonials Section
   ============================================= */
.reviews-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #F9FAFC 0%, #F3F5F9 100%);
    /* Elegant light cool grey gradient */
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 48px;
}

.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* White/cool grey fade effect overlays for left and right edges on reviews carousel */
.reviews-carousel-wrapper::before,
.reviews-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: -20px;
    bottom: -30px;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

.reviews-carousel-wrapper::before {
    left: -2px;
    background: linear-gradient(to right, #F9FAFC 0%, rgba(249, 250, 252, 0) 100%);
}

.reviews-carousel-wrapper::after {
    right: -2px;
    background: linear-gradient(to left, #F3F5F9 0%, rgba(243, 245, 249, 0) 100%);
}

/* Disable edge fading overlays on mobile/small screens (showing single card at a time) */
@media (max-width: 768px) {

    .reviews-carousel-wrapper::before,
    .reviews-carousel-wrapper::after {
        display: none !important;
    }
}

.reviewsSwiper {
    width: 100%;
    padding: 20px 0 30px !important;
    overflow: hidden !important;
    /* Hide cards outside the swiper container */
}

.reviews-grid {
    display: flex;
}

/* Card — clean white with a thick left accent strip */
.review-card {
    background: #ffffff;
    border-left: 6px solid var(--color-primary-1);
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 30px 28px 28px;
    width: 100%;
    max-width: none;
    /* Stretch cards to equal size inside Swiper wrapper */
    height: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    /* Ensure all text and elements inside reviews are strictly left-aligned */
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Big decorative opening quote */
.review-card::before {
    content: "\201C";
    /* left double quotation mark */
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--color-primary-1);
    opacity: 0.15;
    pointer-events: none;
}

/* Fiverr verified badge — top row */
.review-fiverr-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f1fbf7;
    border: 1px solid #b7e8d0;
    border-radius: 20px;
    padding: 4px 12px;
    align-self: flex-start;
}

.fiverr-badge-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.badge-text {
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 700;
    color: #1dbf73;
}

/* Star rating */
.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating i {
    color: #FFC107;
    font-size: 1rem;
}

/* Quote text */
.review-text {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3a3a3a;
    font-style: italic;
    margin: 0;
}

/* Author row — avatar + name + location */
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eeeeee;
    padding-top: 16px;
    margin-top: auto;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-tick {
    width: 17px;
    height: 17px;
    background-color: #1da1f2;
    /* Premium verified blue color! */
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    -webkit-mask: url('assets/svg-icons/verified.svg') no-repeat center / contain;
    mask: url('assets/svg-icons/verified.svg') no-repeat center / contain;
}

.author-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.author-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-text);
    font-size: 0.88rem;
    color: #888;
    margin: 0;
}

.location-flag-img {
    width: 20px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Repeat client pill */
.repeat-client-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-primary-2);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* Review Avatar Custom Gradients */
.avatar-e {
    background: linear-gradient(135deg, var(--color-primary-1), #FF8E53);
}

.avatar-g {
    background: linear-gradient(135deg, var(--color-primary-2), #20B2AA);
}

.avatar-p {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.avatar-f {
    background: linear-gradient(135deg, #FAD961, #F76B1C);
    /* Premium vibrant orange-gold gradient */
}

.avatar-d {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    /* Premium vibrant cyan-blue gradient */
}

.avatar-r {
    background: linear-gradient(135deg, #ea4c89, #6a11cb);
    /* Premium vibrant pink-purple gradient */
}

/* Upwork Platform Badge Variant */
.review-card .upwork-badge {
    background: #f1f3f5;
    /* Premium light gray background */
    border-color: #dcdfe3;
    /* Soft border */
}

.review-card .upwork-badge .badge-text {
    color: #212529;
    /* Deep charcoal/blackish text */
}

.review-card .upwork-badge .fiverr-badge-icon {
    filter: grayscale(1) brightness(0.2);
    /* Dynamically colors the SVG icon to deep charcoal via CSS! */
}

/* Direct Client Platform Badge Variant */
.review-card .direct-badge {
    background: #f5f8ff;
    /* Soft elegant blue/indigo background */
    border-color: #cbd7f6;
    /* Modern subtle indigo border */
}

.review-card .direct-badge .badge-text {
    color: #4f46e5;
    /* Premium indigo/blue text */
}

.review-card .direct-badge .direct-badge-icon {
    color: #4f46e5;
    /* Matching indigo mail icon */
    font-size: 0.85rem;
    display: inline-block;
    vertical-align: middle;
}

/* Mobile */
@media (max-width: 768px) {
    .reviews-section {
        overflow: hidden;
        /* Prevent horizontal scrollbar on section level */
    }

    .review-card {
        padding: 24px 20px 22px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .review-text {
        font-size: 1rem;
    }
}

/* Reviews Header Star Icon Styling & Micro-Animation */
.reviews-star-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -15px;
    color: #FFC107;
    /* Fiverr / Google Gold Star color */
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.4));
    animation: reviews-star-pop 3.5s ease-in-out infinite;
}

.reviews-star-icon path {
    fill: currentColor;
}

@keyframes reviews-star-pop {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    40% {
        transform: translateY(-6px) scale(1.12) rotate(10deg);
    }

    55% {
        transform: translateY(-6px) scale(1.12) rotate(-10deg);
    }

    70% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Volume SVG control dimensions */
#volumeSvg {
    width: 100%;
    height: 100%;
}