﻿:root {
    --font-primary: 'Lexend', sans-serif;
    --color-primary: #0d6efd;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --header-height: 90px;
    --logo-size: 140px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: #ffffff;
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* Carousel Navigation - Mobile Fix */
@media (max-width: 768px) {

    /* Hide carousel arrows on mobile - users can swipe */
    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        display: none;
    }

    /* Ensure carousel indicators are visible and positioned well */
    /* Ensure carousel indicators are visible, neat, and positioned well */
    #heroCarousel .carousel-indicators {
        bottom: 20px;
        margin-bottom: 0;
        justify-content: center;
        display: flex;
        gap: 8px;
    }

    #heroCarousel .carousel-indicators [data-bs-target] {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        /* Prevent collapsing */
        min-height: 8px !important;
        border-radius: 50%;
        margin: 0 !important;
        border: 0 !important;
        /* Critical to remove Bootstrap's transparent borders */
        padding: 0 !important;
        background-color: rgba(255, 255, 255, 0.5);
        opacity: 1;
        /* Override Bootstrap opacity to control color directly */
        transition: all 0.3s ease;
        flex: 0 0 auto;
        /* Prevent flexing/stretching */
    }

    #heroCarousel .carousel-indicators .active {
        background-color: #ffffff;
        transform: scale(1.4);
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

/* =========================================
   MOBILE BUTTON RESPONSIVE STYLES
   ========================================= */
@media (max-width: 768px) {

    /* All buttons - base mobile styles */
    .btn,
    button:not(.navbar-toggler):not(.btn-close):not(.carousel-control-prev):not(.carousel-control-next) {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        white-space: normal;
        text-align: center;
        width: auto;
        max-width: 100%;
        display: inline-block;
    }

    /* Large buttons on mobile */
    .btn-lg {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    /* Small buttons on mobile */
    .btn-sm {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Full width buttons on mobile when needed */
    .btn-block,
    .w-100.btn {
        width: 100%;
        display: block;
    }

    /* Hero section buttons */
    #hero .btn,
    .hero-overlay .btn {
        font-size: 0.9rem;
        padding: 0.75rem 2rem;
        margin: 0.5rem auto;
        display: inline-block;
    }

    /* CTA buttons */
    .btn-primary,
    .btn-light,
    .btn-outline-primary {
        min-width: 150px;
        padding: 0.75rem 1.5rem;
    }

    /* Button groups on mobile */
    .btn-group {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-group .btn {
        margin: 0.25rem;
    }

    /* Ensure text doesn't overflow */
    .btn span,
    .btn i {
        vertical-align: middle;
    }

    /* Modal buttons */
    .modal-footer .btn {
        margin: 0.25rem;
        flex: 1 1 auto;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 991px) {
    .btn {
        font-size: 0.95rem;
        padding: 0.65rem 1.75rem;
    }

    .btn-lg {
        font-size: 1.1rem;
        padding: 0.8rem 2.25rem;
    }
}


/* =========================================
   CATEGORY GRID STYLES (CURATED EXCELLENCE)
   ========================================= */

/* Modern Category Card */
.category-card-modern {
    position: relative;
    height: 400px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #000;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card-modern:hover .category-bg-img {
    transform: scale(1.1);
}

.category-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.category-card-modern:hover .category-overlay-gradient {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.9) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card-modern:hover .category-content {
    transform: translateY(-10px);
}

.category-badge {
    font-size: 0.75rem;
    opacity: 0.9;
}

.category-link-arrow {
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-link-arrow {
    transform: translateX(5px);
}

.category-link-arrow i {
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-link-arrow i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .category-card-modern {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .category-card-modern {
        height: 320px;
    }
}

/* Category Carousel - Multi-Item Display */
#categoryCarousel .carousel-inner {
    display: flex;
    overflow: visible;
}

#categoryCarousel .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 100%;
    width: 100%;
}

.category-slide-wrapper {
    padding: 0 10px;
}

/* Desktop: Show 3 items */
@media (min-width: 992px) {
    #categoryCarousel .carousel-item {
        flex: 0 0 33.333333%;
        width: 33.333333%;
    }
}

/* Tablet: Show 2 items */
@media (min-width: 768px) and (max-width: 991px) {
    #categoryCarousel .carousel-item {
        flex: 0 0 50%;
        width: 50%;
    }
}

/* Mobile: Show 1 item */
@media (max-width: 767px) {
    #categoryCarousel .carousel-item {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Category Carousel Navigation */
.category-carousel-prev,
.category-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.category-carousel-prev {
    left: -25px;
}

.category-carousel-next {
    right: -25px;
}

.category-carousel-prev:hover,
.category-carousel-next:hover {
    background: var(--color-primary);
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-icon {
    color: var(--color-dark);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.category-carousel-prev:hover .carousel-control-icon,
.category-carousel-next:hover .carousel-control-icon {
    color: white;
}

/* Mobile: Position arrows inside */
@media (max-width: 768px) {
    .category-carousel-prev {
        left: 10px;
    }

    .category-carousel-next {
        right: 10px;
    }

    .category-carousel-prev,
    .category-carousel-next {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.95);
    }
}


/* =========================================
   HEADER & NAVIGATION
   ========================================= */
#main-header {
    height: var(--header-height);
    transition: all 0.4s ease-in-out;
    padding: 0;
    z-index: 1030;
    background-color: transparent;
}

#main-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#main-header .container {
    align-items: center;
    /* Vertical center alignment */
}

/* --- LOGO --- */
.logo-wrapper {
    position: relative;
    height: var(--header-height);
    width: var(--logo-size);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1040;
}

.logo-container {
    width: var(--logo-size);
    height: var(--logo-size);
    background-color: transparent;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#main-header.scrolled .logo-container {
    background-color: #ffffff;
    box-shadow: none;
}

#site-logo {
    width: 85%;
    height: auto;
    filter: brightness(0) invert(1);
    /* Initial White */
    transition: filter 0.4s;
}

#main-header.scrolled #site-logo {
    filter: none;
    /* Original Brand Color */
}

/* --- MENU --- */
.nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

#main-header.scrolled .nav-link {
    color: var(--color-dark);
}

#main-header.scrolled .nav-link:hover {
    color: var(--color-primary);
}

/* --- BUTTONS --- */
.btn-custom {
    background-color: #ffffff;
    color: var(--color-dark);
    font-weight: 500;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled .btn-custom {
    background-color: var(--color-dark);
    color: #ffffff;
}

/* --- DIVIDER & SOCIALS --- */
.header-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
    display: none;
    /* Hidden by default */
}

.header-socials {
    display: none;
    /* Hidden by default */
}

/* Display on Scroll */
#main-header.scrolled .header-divider {
    display: block;
}

#main-header.scrolled .header-socials {
    display: flex;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 0.25rem;
    transition: all 0.3s;
    text-decoration: none;
    /* No underline */
    color: var(--color-dark);
    /* Default (hidden mostly) */
}

/* Scrolled State: Black Circle, White Icon */
#main-header.scrolled .social-link {
    background-color: var(--color-dark);
    color: #ffffff;
}

#main-header.scrolled .social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 0.9rem;
}

/* --- MOBILE TOGGLE --- */
.navbar-toggler {
    border: none;
    outline: none;
}

#main-header.scrolled .navbar-toggler {
    color: var(--color-dark);
}


/* =========================================
   HERO SECTION
   ========================================= */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.text-primary-light {
    color: #6ea8fe;
}

.hover-opacity-100:hover {
    opacity: 1;
}


/* =========================================
   COMPONENTS / UTILITIES
   ========================================= */
/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

.delay-200 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.shadow-premium {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Liquid Glass Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 40px;
}

.carousel-control-next {
    right: 40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Category Cards */
.section-title h5 {
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.category-card {
    transition: all 0.4s ease;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cat-img-wrapper {
    overflow: hidden;
    height: 300px;
    position: relative;
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .cat-img-wrapper img {
    transform: scale(1.1);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 2;
}

.category-card h3 {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.btn-hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-quote-box {
    transition: transform 0.3s ease;
}

.about-quote-box:hover {
    transform: translateX(10px);
}

.about-image-wrapper img {
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

.experience-badge {
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.title-separator {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   FEATURED CATEGORIES (PREMIUM)
   ========================================= */
.premium-cat-card {
    height: 360px;
    /* Reduced by 40% from 600px */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    /* Ensure child absolute positioning works */
    display: block;
}

@media (max-width: 991px) {
    .premium-cat-card {
        height: 300px;
    }
}

.cat-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    filter: brightness(0.95);
}

.premium-cat-card:hover .cat-bg-img {
    transform: scale(1.08);
    /* Gentle zoom */
    filter: brightness(1);
}

.cat-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to the link */
}

.cat-text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    transform: translateY(0);
    /* Visible by default */
    color: #ffffff;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cat-text-content h3,
.cat-text-content span,
.cat-text-content div,
.cat-text-content i {
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.premium-cat-card:hover .cat-text-content {
    transform: translateY(-10px);
    /* Move UP slightly on hover */
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-us-img-wrapper {
    position: relative;
    padding: 2rem;
}

.why-us-bg-shape {
    animation: pulseShape 4s infinite alternate;
}

@keyframes pulseShape {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: rotateY(360deg);
}

.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translate(-50%, -60%);
    /* Slight lift up from the centered position */
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-bg {
    will-change: transform;
    /* Hint for better performance */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

@media (pointer: coarse) {

    /* Disable fixed background on touch devices to prevent jitter */
    .cta-bg {
        background-attachment: scroll !important;
    }
}

/* Mobile media query for max-width (additional fallback) */
@media (max-width: 768px) {
    .cta-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
    }
}

/* =========================================
   UTILITIES
   ========================================= */
.hover-up:hover {
    transform: translateY(-5px);
}

.hover-border-primary:hover {
    border-color: var(--color-primary);
}

.transition-all {
    transition: all 0.3s ease;
}


/* =========================================
   FOOTER STYLES
   ========================================= */

/* =========================================
   FOOTER STYLES
   ========================================= */
.footer-gloss {
    background: #000000;
    /* Solid black fallback */
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
    /* Deep gloss black */
    border-top: 5px solid var(--color-primary);
    position: relative;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    color: #cccccc;
    /* High contrast grey */
}

.footer-gloss .container {
    position: relative;
    z-index: 1;
}

.footer-link {
    color: #999999;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #ffffff;
    /* White on hover */
    transform: translateX(5px);
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}


.footer-social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    color: white;
}

/* Footer Input Placeholder Fix */
.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.footer-input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.6);
}


/* =========================================
   PAGE HEADER (MATCHING HERO)
   ========================================= */
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    filter: brightness(0.85);
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .page-header-overlay {
        padding-top: 80px;
        align-items: center;
    }

    .page-header {
        min-height: 400px !important;
    }
    
    .page-header-bg {
        background-size: cover !important;
        background-position: center !important;
    }
}

/* Reusing letter-spacing-2 if not already defined globally or defining here if needed */
.letter-spacing-2 {
    letter-spacing: 2px;
}

.cat-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    font-size: 0.85rem;
    font-weight: 600;
}

.premium-cat-card:hover .cat-link {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure no whitespace issues with g-0 */
.row.g-0>.col-md-6,
.row.g-0>.col-lg-3 {
    padding: 0;
}

.object-fit-cover {
    object-fit: cover;
}

/* =========================================
   SERVICES / WHAT WE DO (NEW)
   ========================================= */
#services {
    position: relative;
    /* Ensure z-index works */
}

.services-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideFade 15s infinite;
}

.service-slide-item:nth-child(1) {
    animation-delay: 0s;
}

.service-slide-item:nth-child(2) {
    animation-delay: 5s;
}

.service-slide-item:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
        transform: scale(1.05);
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Darker overlay for better text contrast */
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-box-glass {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin: 0 1.5rem 0 0;
    background: #f8f9fa;
    /* Light Gray Background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    /* Blue Icon */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    font-size: 1.8rem;
}

.glass-card:hover .icon-box-glass {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotateY(180deg);
    /* Added rotation for extra flair like product page often has */
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.5);
}

.glass-card h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

/* ... previous CSS ... */

.glass-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =========================================
   WHAT WE EXPORT (NEW PRODUCT GRID)
   ========================================= */
#what-we-export {
    background-color: #f8f9fa;
    /* Light background for contrast */
}

.export-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.export-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.export-img-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.export-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.export-card:hover .export-img-wrapper img {
    transform: scale(1.05);
    /* Subtle zoom */
}

.export-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.export-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.export-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.export-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-export-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-enquiry {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
}

.btn-enquiry:hover {
    background-color: #0b5ed7;
    /* Darker blue */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-details {
    background-color: transparent;
    color: var(--color-dark);
    border: 1px solid #dee2e6;
}

.btn-details:hover {
    background-color: #f8f9fa;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

/* Icon adjustments */
.btn-export-action i {
    margin-right: 6px;
    /* Spacing for text buttons */
}

/* If user wants ICON ONLY buttons for cleaner look, use this class instead */
.btn-icon-only {
    width: 42px;
    height: 42px;
}

/* =========================================
   WHY CHOOSE US (CLEAN DESIGN)
   ========================================= */
#why-us {
    background-color: #ffffff;
}

.why-choose-card {
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #eef2ff;
}

.icon-box-clean {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #f8f9fa;
    /* Light background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

/* Hover effect: Icon box becomes blue, icon white */
.why-choose-card:hover .icon-box-clean {
    background: var(--color-primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

.why-choose-card h5 {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-choose-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =========================================
   PREMIUM GALLERY SECTION
   ========================================= */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    height: 300px;
}

.gallery-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-bg-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-caption h5,
.gallery-item:hover .gallery-caption p {
    transform: translateY(0);
}

.btn-view-gallery {
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-view-gallery:hover {
    background: var(--color-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   CERTIFICATIONS MARQUEE
   ========================================= */
.certifications-section {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
    /* Double safeguard against horizontal scroll */
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
    max-width: 100%;
    /* Ensure it doesn't exceed screen width */
    width: 100%;
}

.marquee-wrapper:before,
.marquee-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper:before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.marquee-wrapper:after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marqueeScroll 40s linear infinite;
}

/* Pause on hover for better user experience */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.logo-item {
    margin: 0 30px;
    /* Reduced margin */
    opacity: 1;
    /* Fully visible */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item img {
    height: 150px;
    /* Increased from 90px */
    width: auto;
    object-fit: contain;
    /* Colorful by default */
    transition: all 0.3s ease;
}

/* Force specific max-widths if needed for wide logos */
.logo-item img {
    max-width: 300px;
    /* Increased from 180px */
}

@media (min-width: 992px) {
    .logo-item {
        margin: 0 80px;
        /* Increased spacing for desktop to fill space */
    }

    .logo-item img {
        height: 180px;
        /* Even larger on desktop */
        max-width: 400px;
    }
}

.logo-item:hover img {
    filter: none;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   CERTIFICATION GRID PAGE
   ========================================= */
.cert-grid-card {
    background: #fff;
    border: 1px solid #deebfd;
    /* Subtle blue-ish border to match theme or just light grey */
    border-radius: 4px;
    /* Slightly squared corners as per typical certificate look */
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Space out content */
    transition: all 0.3s ease;
    text-align: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.cert-grid-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.1);
    transform: translateY(-5px);
}

.cert-grid-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.cert-grid-card:hover .cert-grid-logo {
    transform: scale(1.05);
    /* Slight zoom on logo */
}

.cert-grid-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.cert-grid-desc {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
    font-weight: 500;
}

/* =========================================
   FEATURE / VALUE CARDS (Icon Boxes)
   ========================================= */
.feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    /* rounded-4 approx */
    height: 100%;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    /* shadow-sm */
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Use .hover-up utility for lift */

.icon-circle-wrapper {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    /* bg-light */
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-circle-wrapper {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: rotateY(180deg);
    /* Add distinct flip effect */
}


/* =========================================
   DARK CORE SERVICES SECTION
   ========================================= */
.services-dark-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    padding: 5rem 0;
    color: #ffffff;
}

/* Fix background display on mobile devices */
@media (max-width: 768px) {
    .services-dark-section {
        background-attachment: scroll !important;
    }
}

.services-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Heavy dark overlay */
    z-index: 1;
}

.service-dark-card {
    background: rgba(255, 255, 255, 0.1);
    /* Glassy dark */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.service-dark-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-icon-circle {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1.5rem;
    color: var(--color-primary);
    /* Blue icon */
    font-size: 1.75rem;
}

.service-dark-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}


/* Line Clamp Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dropdown on Hover for Desktop */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* =========================================
   HERO CAROUSEL MOBILE FIX
   ========================================= */
@media (max-width: 768px) {
    #heroCarousel .carousel-indicators {
        bottom: 30px;
        margin-bottom: 0;
        justify-content: center;
        display: flex;
        gap: 10px;
    }

    #heroCarousel .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0;
        border: none;
        background-color: rgba(255, 255, 255, 0.5);
        transition: all 0.3s ease;
    }

    #heroCarousel .carousel-indicators button.active {
        background-color: #ffffff;
        transform: scale(1.2);
    }
}

/* =========================================
   PREMIUM CATEGORY CAROUSEL CARDS
   ========================================= */
.categorySwiper {
    padding: 20px 0 60px;
}

.category-card-premium {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
    min-height: 400px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.category-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.category-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card-premium:hover .category-bg-img {
    transform: scale(1.1);
}

.category-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.category-card-premium:hover .category-overlay-gradient {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.95) 100%);
}

.category-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 2rem;
    align-items: flex-start;
}

.category-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.category-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.category-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Swiper Navigation */
.categorySwiper .swiper-button-next,
.categorySwiper .swiper-button-prev {
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.categorySwiper .swiper-button-next:after,
.categorySwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.categorySwiper .swiper-button-next:hover,
.categorySwiper .swiper-button-prev:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

/* Pagination */
.categorySwiper .swiper-pagination {
    bottom: 5px;
}

.categorySwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #e5e7eb;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

.categorySwiper .swiper-pagination-bullet-active {
    background: #111827;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
    .category-card-premium {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .category-card-premium {
        min-height: 350px;
    }

    .category-content {
        padding: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .categorySwiper .swiper-button-next,
    .categorySwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .categorySwiper .swiper-button-next:after,
    .categorySwiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Mobile Fix for Testimonial Buttons */
@media (max-width: 768px) {
    .testimonial-nav-btn {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        flex: 0 0 45px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        aspect-ratio: 1 / 1;
    }
}


/* Mobile Fix for CTA Buttons */
@media (max-width: 576px) {
    #cta .btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.2rem !important;
        min-width: auto !important;
        white-space: nowrap !important;
    }
}

/* =========================================
   BLOG DETAIL PREMIUM TYPOGRAPHY
   ========================================= */

/* Blog Content Container */
.blog-article-content {
    color: #212529;
    /* Dark text for readability (not grey) */
    font-family: 'Jost', sans-serif;
    /* Clean, modern sans-serif */
    font-size: 1.15rem;
    /* 18.5px for desktop */
    line-height: 1.8;
    font-weight: 400;
}

/* Paragraphs */
.blog-article-content p {
    margin-bottom: 2rem;
    color: #343a40;
    /* Slightly softer black */
}

/* Headings within content */
.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: #1a1a1a;
    /* Jet black */
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.blog-article-content h2 {
    font-size: 2rem;
}

.blog-article-content h3 {
    font-size: 1.5rem;
}

/* Lists */
.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.75rem;
}

/* Blockquotes */
.blog-article-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #495057;
    margin: 3rem 0;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0 10px 10px 0;
}

/* Images in content */
.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .blog-article-content {
        font-size: 1.05rem;
        /* Slightly larger than standard mobile text */
        line-height: 1.7;
    }

    .blog-article-content h2 {
        font-size: 1.6rem;
    }

    .blog-article-content h3 {
        font-size: 1.3rem;
    }

    .blog-article-content p {
        margin-bottom: 1.5rem;
        text-align: left;
        /* Ensure alignment looks good */
    }

    /* Fix Breadcrumb Scroll */
    .mobile-scroll-breadcrumb {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        /* Space for scrollbar if any */
    }

    .mobile-scroll-breadcrumb .breadcrumb {
        width: max-content;
        margin-bottom: 0;
        justify-content: flex-start !important;
        /* Left align on mobile */
    }
}


/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.animate-on-scroll.from-left {
    transform: translateX(-100px);
}

.animate-on-scroll.from-right {
    transform: translateX(100px);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateX(0);
}