/* ============================================
   ASEL VALVES - Frontend Stylesheet
   Color Palette: Metallic Gold & Premium Dark Blue
   ============================================ */

:root {
    --primary: #d4af37;
    --primary-dark: #b8941f;
    --primary-light: #e8c547;
    --deep-blue: #0a1f3d;
    --medium-blue: #1a3a5f;
    --dark-blue: #0f2438;
    --steel-grey: #6b7b8d;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #0a1f3d;
    --text-muted: #6b7b8d;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 12px rgba(212, 175, 55, 0.08);
    --shadow-md: 0 8px 32px rgba(10, 31, 61, 0.12);
    --shadow-lg: 0 16px 48px rgba(10, 31, 61, 0.16);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 20px;
    --radius-sm: 12px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    padding-top: 70px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Barlow", "Inter", sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}
a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    color: var(--primary-dark);
}
img {
    max-width: 100%;
    height: auto;
}
.x-small {
    font-size: 0.75rem;
}
.bg-light-blue {
    background: linear-gradient(135deg, #f0f4f9 0%, #e6f0ff 100%);
}
.text-primary-light {
    color: var(--primary-light);
}

/* Section Spacing */
.py-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* Section Headers */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.12),
        rgba(212, 175, 55, 0.06)
    );
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--deep-blue), var(--medium-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.75rem auto 0;
}
.section-title-sm {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-blue);
}

/* ===== NAVBAR ===== */
.asel-navbar {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(240, 244, 249, 0.5)
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(10, 31, 61, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}
.asel-navbar.scrolled {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98),
        rgba(245, 248, 252, 0.95)
    );
    box-shadow: 0 4px 30px rgba(10, 31, 61, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.navbar-logo-text {
    font-family: "Barlow", sans-serif;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}
.logo-asel {
    background: linear-gradient(135deg, var(--deep-blue), var(--medium-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.logo-valves {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.asel-navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.asel-navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}
.asel-navbar .nav-link:hover::after,
.asel-navbar .nav-link.active::after {
    width: 100%;
}
.asel-navbar .nav-link:hover,
.asel-navbar .nav-link.active {
    color: var(--primary) !important;
}
.dropdown-menu-products {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(10, 31, 61, 0.15);
    backdrop-filter: blur(12px);
    padding: 0.5rem;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
}
.dropdown-menu-products .dropdown-item {
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    padding: 0.6rem 0.85rem;
    transition: var(--transition);
}
.dropdown-menu-products .dropdown-item:hover {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1),
        rgba(212, 175, 55, 0.05)
    );
    color: var(--primary);
}

/* Submenu styling for nested categories */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-toggle::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 0.5rem;
}
.dropdown-submenu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0.1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.12);
    backdrop-filter: blur(12px);
    padding: 0.5rem;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu .dropdown-menu .dropdown-item {
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}
.dropdown-submenu .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1),
        rgba(212, 175, 55, 0.05)
    );
    color: var(--primary);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: -70px;
    padding-top: 70px;
}
.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
}
#heroCarousel .carousel-item {
    height: 100vh;
    contain: layout style paint;
    will-change: opacity;
}
#heroCarousel .carousel-inner {
    height: 100vh;
}
.hero-default {
    background: linear-gradient(
        135deg,
        var(--deep-blue) 0%,
        var(--medium-blue) 100%
    );
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 61, 0.55) 0%,
        rgba(26, 58, 95, 0.4) 50%,
        rgba(212, 175, 55, 0.08) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #fff;
    padding: 3rem 2rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.25),
        rgba(212, 175, 55, 0.15)
    );
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 90%;
    word-spacing: 0.1em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.btn-hero {
    padding: 0.85rem 2.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.scroll-down-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
    transition: var(--transition);
}
.scroll-down-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--primary);
}
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* ===== TRUST BAR ===== */
.trust-item {
    color: var(--text-dark);
    padding: 0.5rem;
}
.trust-item i {
    opacity: 0.9;
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius);
    padding: 2.5rem 1.75rem;
    transition: var(--transition);
    color: var(--text-dark);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.05),
        transparent
    );
    transition: left 0.4s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
    color: var(--text-dark);
}

.category-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.12),
        rgba(212, 175, 55, 0.06)
    );
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.category-card:hover .category-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    transform: scale(1.15) rotate(5deg);
}

.category-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--deep-blue);
    line-height: 1.4;
}

.category-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-card-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.category-card:hover .category-card-cta {
    color: var(--deep-blue);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-dark);
    height: 100%;
    box-shadow: 0 4px 16px rgba(10, 31, 61, 0.06);
}
.product-card:hover {
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.18);
    transform: translateY(-8px);
    color: var(--text-dark);
    border-color: var(--primary);
}
.product-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img {
    transform: scale(1.08) rotate(1deg);
}
.product-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--deep-blue), var(--medium-blue));
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}
.product-badge-featured {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--deep-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
}
.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    color: var(--deep-blue);
}
.product-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-grow: 1;
}
.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.product-card-price {
    font-size: 0.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.product-card-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.08)
    );
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.product-card:hover .product-card-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--deep-blue);
    box-shadow: var(--glow-gold);
    transform: scale(1.15) rotate(-15deg);
}

/* ===== WHY CHOOSE US ===== */
.why-section {
    background: linear-gradient(135deg, #f0f4f9 0%, #e8f2ff 50%, #f5f0e8 100%);
}
.why-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.why-feature:hover {
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12);
    transform: translateX(4px);
}
.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.08)
    );
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.cert-badge-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.9rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.cert-badge-card:hover {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    border-color: var(--primary);
}

/* ===== STATS COUNTER ===== */
.stats-section {
    background: linear-gradient(
        135deg,
        var(--deep-blue) 0%,
        var(--medium-blue) 50%,
        #0d3d62 100%
    );
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}
.stat-card {
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}
.stat-number {
    font-family: "Barlow", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    display: inline-block;
    text-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.stat-plus {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.35rem;
    font-weight: 600;
}

/* ===== INDUSTRIES ===== */
.industry-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 4px 12px rgba(10, 31, 61, 0.05);
}
.industry-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
    transform: translateY(-6px);
}
.industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.08)
    );
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.9rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}
.industry-card:hover .industry-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--deep-blue);
    box-shadow: var(--glow-gold);
    transform: scale(1.1);
}
.industry-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--deep-blue);
}
.industry-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, #f0f4f9 0%, #e8f2ff 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 !important;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.testimonial-quote-icon-compact {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1),
        rgba(212, 175, 55, 0.05)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.testimonial-stars-compact {
    display: flex;
    gap: 0.2rem;
    font-size: 0.8rem;
}

.testimonial-stars-compact i.fa-star.text-warning {
    color: #fbbf24 !important;
}

.testimonial-stars-compact i.fa-star.text-muted {
    color: rgba(212, 175, 55, 0.2) !important;
}

.testimonial-text-compact {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #475569;
    margin: 0.8rem 0 0 0;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.testimonial-author-compact {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.avatar-placeholder-compact {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.testimonial-author-name-compact {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--deep-blue);
    line-height: 1.2;
}

.testimonial-author-role-compact {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.2;
}

/* ===== COVERFLOW TESTIMONIALS ===== */
.testimonials-carousel-wrapper-3d {
    position: relative;
    z-index: 1;
    padding: 3rem 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* The stage — single perspective origin for true coverflow depth */
.testimonials-3d-container {
    position: relative;
    width: 100%;
    height: 320px;
    perspective: 1200px;
    perspective-origin: 50% 40%;
    margin: 0 auto;
    transform-style: preserve-3d;
}

/* Each card is absolutely positioned and moved by JS */
.testimonial-card-3d {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 14px;
    padding: 1.4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 280px;
    margin-top: -140px; /* half height */
    margin-left: -150px; /* half width  */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    /* ALL position/visual changes animate through this transition */
    transition:
        transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.65s ease,
        z-index 0s 0.3s;
    will-change: transform, opacity;
    cursor: pointer;
}

.testimonial-card-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    border-radius: 14px 14px 0 0;
}

/* ── POSITION CLASSES set by JS ── */

/* Active center card — face-on, full size, elevated */
.cf-pos-0 {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1.08);
    opacity: 1;
    filter: none;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.28);
    border-color: rgba(212, 175, 55, 0.5);
    cursor: default;
}

/* ±1 — immediate neighbours, angled inward */
.cf-pos-1 {
    transform: translateX(340px) translateZ(-120px) rotateY(-42deg) scale(0.88);
    opacity: 0.82;
    filter: brightness(0.88);
    z-index: 7;
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.1);
}
.cf-pos-n1 {
    transform: translateX(-340px) translateZ(-120px) rotateY(42deg) scale(0.88);
    opacity: 0.82;
    filter: brightness(0.88);
    z-index: 7;
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.1);
}

/* ±2 — further out, more angled, more dimmed */
.cf-pos-2 {
    transform: translateX(580px) translateZ(-220px) rotateY(-58deg) scale(0.72);
    opacity: 0.45;
    filter: brightness(0.75) blur(1px);
    z-index: 4;
}
.cf-pos-n2 {
    transform: translateX(-580px) translateZ(-220px) rotateY(58deg) scale(0.72);
    opacity: 0.45;
    filter: brightness(0.75) blur(1px);
    z-index: 4;
}

/* ±3 and beyond — nearly hidden off the sides */
.cf-pos-far {
    transform: translateX(750px) translateZ(-300px) rotateY(-70deg) scale(0.6);
    opacity: 0;
    filter: brightness(0.6) blur(2px);
    z-index: 1;
    pointer-events: none;
}
.cf-pos-farn {
    transform: translateX(-750px) translateZ(-300px) rotateY(70deg) scale(0.6);
    opacity: 0;
    filter: brightness(0.6) blur(2px);
    z-index: 1;
    pointer-events: none;
}

/* Hover on side cards — lift them slightly */
.cf-pos-1:hover,
.cf-pos-n1:hover {
    filter: brightness(0.96);
    opacity: 0.95;
}

/* Reflection strip under center card */
.cf-pos-0::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 5%;
    width: 90%;
    height: 18px;
    background: linear-gradient(
        to bottom,
        rgba(212, 175, 55, 0.12),
        transparent
    );
    border-radius: 0 0 14px 14px;
    pointer-events: none;
}

/* Dot indicators */
.cf-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}
.cf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
    cursor: pointer;
}
.cf-dot.active {
    background: var(--primary);
    transform: scale(1.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .testimonials-3d-container {
        height: 290px;
        perspective: 900px;
    }
    .testimonial-card-3d {
        width: 270px;
        height: 260px;
        margin-left: -135px;
        margin-top: -130px;
    }
    .cf-pos-1 {
        transform: translateX(290px) translateZ(-100px) rotateY(-40deg)
            scale(0.85);
    }
    .cf-pos-n1 {
        transform: translateX(-290px) translateZ(-100px) rotateY(40deg)
            scale(0.85);
    }
    .cf-pos-2 {
        transform: translateX(490px) translateZ(-180px) rotateY(-55deg)
            scale(0.7);
    }
    .cf-pos-n2 {
        transform: translateX(-490px) translateZ(-180px) rotateY(55deg)
            scale(0.7);
    }
}

@media (max-width: 768px) {
    .testimonials-3d-container {
        height: 270px;
        perspective: 700px;
    }
    .testimonial-card-3d {
        width: 240px;
        height: 250px;
        margin-left: -120px;
        margin-top: -125px;
        padding: 1rem;
    }
    .cf-pos-1 {
        transform: translateX(230px) translateZ(-80px) rotateY(-38deg)
            scale(0.82);
    }
    .cf-pos-n1 {
        transform: translateX(-230px) translateZ(-80px) rotateY(38deg)
            scale(0.82);
    }
    .cf-pos-2 {
        transform: translateX(400px) translateZ(-160px) rotateY(-52deg)
            scale(0.65);
        opacity: 0.25;
    }
    .cf-pos-n2 {
        transform: translateX(-400px) translateZ(-160px) rotateY(52deg)
            scale(0.65);
        opacity: 0.25;
    }
}

@media (max-width: 540px) {
    .testimonials-3d-container {
        height: 260px;
        perspective: 600px;
    }
    .testimonial-card-3d {
        width: 220px;
        height: 240px;
        margin-left: -110px;
        margin-top: -120px;
    }
    .cf-pos-1 {
        transform: translateX(185px) translateZ(-70px) rotateY(-36deg)
            scale(0.78);
        opacity: 0.6;
    }
    .cf-pos-n1 {
        transform: translateX(-185px) translateZ(-70px) rotateY(36deg)
            scale(0.78);
        opacity: 0.6;
    }
    .cf-pos-2,
    .cf-pos-far {
        opacity: 0;
        pointer-events: none;
    }
    .cf-pos-n2,
    .cf-pos-farn {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 640px) {
    .testimonials-3d-container {
        gap: 0.5rem;
    }
    .testimonial-card-3d {
        min-width: 180px;
        height: 200px;
        padding: 0.8rem;
        font-size: 0.85rem;
        flex: 0 0 180px;
    }
    .testimonial-left {
        display: none;
    }
    .testimonial-right {
        display: none;
    }
    .testimonial-center {
        transform: translateZ(0) rotateY(0deg) scale(1);
        flex: 0 0 280px;
        min-width: 280px;
    }
}

/* ===== TESTIMONIALS CAROUSEL CONTROLS ===== */
.carousel-control-3d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-control-3d:hover {
    opacity: 1;
    background: var(--deep-blue);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-3d:active {
    transform: translateY(-50%) scale(0.95);
}

#prevBtn {
    left: 20px;
}

#nextBtn {
    right: 20px;
}

.carousel-control-3d .carousel-control-prev-icon,
.carousel-control-3d .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .carousel-control-3d {
        width: 40px;
        height: 40px;
    }
}

/* Carousel controls for hero banner */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 50%;
    opacity: 0.7;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    opacity: 1;
    box-shadow: var(--glow-gold);
    transform: translateY(-50%) scale(1.1);
}

#heroCarousel .carousel-control-prev {
    left: 20px;
}

#heroCarousel .carousel-control-next {
    right: 20px;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--deep-blue) 0%,
        var(--medium-blue) 50%,
        #0f3d5c 100%
    );
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 1;
}
.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(
        135deg,
        var(--deep-blue) 0%,
        var(--medium-blue) 50%,
        #0d3d62 100%
    );
    color: #fff;
    padding: 4rem 0 2.5rem;
    padding-top: calc(70px + 4rem);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.page-hero-sm {
    min-height: auto;
    padding: 3rem 0 2rem;
    padding-top: calc(40px);
}
.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-top: 0.5rem;
}
.page-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    max-width: 600px;
}
.breadcrumb-light {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
}
.breadcrumb-light .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.breadcrumb-light .breadcrumb-item a:hover {
    color: var(--primary-light);
}
.breadcrumb-light .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== PRODUCT FILTERS ===== */
.filter-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 20px rgba(10, 31, 61, 0.06);
}
.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--deep-blue), var(--medium-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.category-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.category-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.category-filter-item:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
}
.category-filter-item.active {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.12),
        rgba(212, 175, 55, 0.06)
    );
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

/* Category parent with expand/collapse button */
.category-filter-parent {
    display: flex;
    gap: 0;
    align-items: stretch;
}
.category-filter-parent .category-filter-item {
    flex: 1;
    margin: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.category-expand-btn {
    background: none;
    border: none;
    padding: 0.5rem 0.6rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}
.category-expand-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary);
}
.category-expand-btn.expanded i {
    transform: rotate(180deg);
}

/* Submenu styling */
.category-filter-submenu {
    padding-left: 1rem;
    margin-top: 0.2rem;
    border-left: 2px solid rgba(212, 175, 55, 0.2);
    margin-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.category-filter-sub {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    color: var(--text-muted);
}
.category-filter-sub:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
}
.category-filter-sub.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
}

/* ===== PRODUCT DETAIL ===== */
.product-gallery-main {
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
    box-shadow: 0 8px 32px rgba(10, 31, 61, 0.08);
}
.product-main-img {
    object-fit: contain;
    max-height: 400px;
    width: 100%;
}
.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}
.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}
.product-detail-category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.12),
        rgba(212, 175, 55, 0.06)
    );
    color: var(--primary);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.product-detail-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--deep-blue), var(--medium-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
}
.status-active {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.3);
}
.status-draft {
    background: rgba(108, 117, 125, 0.12);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}
.status-out_of_stock {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}
.product-detail-price-box {
    padding: 1.25rem;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.08),
        rgba(212, 175, 55, 0.04)
    );
    border-radius: var(--radius-sm);
    border-left: 5px solid var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--medium-blue);
}
.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.25rem;
}
.product-quote-form {
    background: var(--light-bg);
}
.specs-table {
    font-size: 0.875rem;
}
.specs-table .specs-key {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--deep-blue);
}
.prose p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===== ABOUT PAGE ===== */
.about-stat-mini {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.06),
        rgba(212, 175, 55, 0.03)
    );
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.about-stat-mini:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}
.about-stat-mini .num {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.about-stat-mini .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 600;
}
.mission-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 2.2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(10, 31, 61, 0.06);
    position: relative;
    overflow: hidden;
}
.mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.08) 0%,
        transparent 70%
    );
    transition: right 0.3s ease;
}
.mission-card:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
    border-color: var(--primary);
    transform: translateY(-4px);
}
.mission-card:hover::before {
    right: -30%;
}
.mission-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.08)
    );
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.mission-card:hover .mission-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--deep-blue);
    box-shadow: var(--glow-gold);
    transform: scale(1.1);
}
.cert-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(10, 31, 61, 0.04);
}
.cert-card:hover {
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.12);
    border-color: var(--primary);
}
.cert-card-header {
    display: flex;
    align-items: center;
}
.cert-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--deep-blue);
}

/* ===== CONTACT PAGE ===== */
.contact-form-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(10, 31, 61, 0.08);
}
.contact-info-card {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.06),
        rgba(212, 175, 55, 0.03)
    );
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-info-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.08)
    );
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===== GALLERY PAGE ===== */
.gallery-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.gallery-tab {
    padding: 0.5rem 1.3rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    transition: var(--transition);
    background: transparent;
}
.gallery-tab:hover,
.gallery-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: var(--deep-blue);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}
.gallery-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(10, 31, 61, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.gallery-card:hover {
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.18);
    transform: translateY(-8px);
    border-color: var(--primary);
}
.gallery-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: transparent;
    font-size: 0;
}
.gallery-card:hover .gallery-card-img {
    transform: scale(1.05) rotate(1deg);
}
.gallery-card-img-wrap.image-missing {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 50%, #f0f4f9 100%);
}
.gallery-card-img-wrap.image-missing::before {
    content: attr(data-initials);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.5);
    z-index: 3;
    font-family: "Barlow", sans-serif;
}
.gallery-card-img-wrap.image-missing::after {
    color: rgba(59, 130, 246, 0.4);
}
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 61, 0.6),
        rgba(212, 175, 55, 0.2)
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}
.gallery-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.gallery-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--deep-blue);
}
.gallery-card-cat {
    font-size: 0.75rem;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.12),
        rgba(212, 175, 55, 0.06)
    );
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===== FAQ ===== */
.faq-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-blue), var(--medium-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}
.faq-item {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10, 31, 61, 0.04);
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}
.faq-btn {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    background: var(--white) !important;
    box-shadow: none !important;
    padding: 1.1rem 1.5rem;
    transition: var(--transition);
}
.faq-btn:not(.collapsed) {
    color: var(--primary) !important;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.06),
        rgba(212, 175, 55, 0.03)
    ) !important;
}
.faq-btn::after {
    filter: none !important;
    background-image: none !important;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    transition: transform 0.3s ease;
}
.faq-answer {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    padding: 0.5rem 1.5rem 1.5rem;
}
.faq-cta-box {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.06),
        rgba(212, 175, 55, 0.03)
    );
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===== FOOTER ===== */
.asel-footer {
    background: linear-gradient(
        135deg,
        var(--deep-blue) 0%,
        #0a2840 50%,
        #051620 100%
    );
    color: rgba(255, 255, 255, 0.85);
}
.footer-top {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.footer-logo-text {
    font-family: "Barlow", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.9rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    position: relative;
}
.footer-links a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}
.footer-links a:hover::before {
    width: 100%;
}
.footer-links a:hover {
    color: #fff;
}
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}
.footer-contact-list i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}
.footer-contact-list a:hover {
    color: var(--primary-light);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.text-light-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.25);
}
.social-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--deep-blue);
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.whatsapp-float:hover {
    background: linear-gradient(135deg, #1ebe5d, #17b752);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    padding: 4rem 2rem;
}

/* ===== BTN EXTRAS ===== */
.btn {
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}
.btn:hover::before {
    left: 100%;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: var(--deep-blue);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
    color: var(--deep-blue);
}
.btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--deep-blue);
    border-color: var(--primary-light);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-outline-light {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}
.btn-outline-light:hover {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.2),
        rgba(212, 175, 55, 0.1)
    );
    border-color: var(--primary-light);
    color: #fff;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    border-radius: 50px !important;
    margin: 0 3px;
    font-size: 0.875rem;
    color: var(--primary);
    border: 2px solid rgba(212, 175, 55, 0.2);
    background: transparent;
    transition: var(--transition);
}
.pagination .page-link:hover {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1),
        rgba(212, 175, 55, 0.05)
    );
    border-color: var(--primary);
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: var(--deep-blue);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .py-section {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
    .hero-section {
        min-height: 100vh;
    }
    .hero-slide {
        min-height: 85vh;
    }
    .hero-content {
        padding: 2rem 1.5rem;
    }
    .contact-form-card {
        padding: 1.5rem;
    }
    .filter-card {
        position: static;
    }
}

/* ===== VIDEOS SECTION ===== */
.videos-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
    padding: 80px 0;
}

.videos-section .section-header {
    margin-bottom: 60px;
}

.videos-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Video Item Row - Alternating Layout */
.video-item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.video-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Reverse layout for alternating pattern */
.video-item-reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.video-item-reverse > * {
    direction: ltr;
}

.video-item-content {
    position: relative;
}

/* Video Player */
.video-wrapper {
    position: relative;
    width: 100%;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--deep-blue);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10, 31, 61, 0.2);
    transition: var(--transition);
}

.video-player-container:hover {
    box-shadow: 0 24px 64px rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Details */
.video-item-details {
    padding: 20px;
}

.video-details-wrapper {
    display: flex;
    flex-direction: column;
}

.video-label {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    width: fit-content;
}

.video-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.video-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.video-item-details .btn {
    align-self: flex-start;
    transition: var(--transition);
}

.video-item-details .btn:hover {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    .videos-section {
        padding: 60px 0;
    }

    .video-item-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
        padding-bottom: 50px;
    }

    .video-item-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .video-item-reverse > * {
        direction: ltr;
    }

    .video-title {
        font-size: 24px;
    }

    .video-description {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .videos-section {
        padding: 40px 0;
    }

    .video-item-row {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .video-title {
        font-size: 20px;
    }

    .video-description {
        font-size: 14px;
    }

    .video-player-container {
        border-radius: 12px;
    }
}
