/*
Theme Name: Meshtek
Theme URI: https://www.meshtek.com/
Author: Meshtek
Author URI: https://www.meshtek.com/
Description: Meshtek custom theme with refreshed colour palette, Sora + Instrument Sans typography and responsive fixes.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: meshtek
*/

/* ==========================================================================
   Root Variables
   ========================================================================== */
:root {
    /* ---- Meshtek palette (refreshed) ----
       Ink      #0A1830  deep night navy: navbar, footer, dark bands
       Primary  #12306E  "Mesh" navy: headings, solid buttons, icons
       Signal   #2160E8  bright blue: links, gradients, hover
       Teal     #0A8C99  accent on light surfaces (#3FD3DF on dark)
       CTA      #3FD3DF  brand cyan: main call-to-action buttons
       Mist     #EEF3F9  alternate section background            */
    --ink: #0A1830;
    --ink-2: #132649;
    --primary-color: #12306E;
    --secondary-color: #2160E8;
    --accent-color: #0A8C99;
    --accent-ink: #087380;
    --accent-bright: #3FD3DF;
    --cta: #3FD3DF;
    --cta-hover: #7FE4EC;
    --focus: #2160E8;
    --bg-secondary: #EEF3F9;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F6F8FB;
    --line: #DCE3EE;
    --text-dark: #1B2433;
    --text-muted: #5A6678;
    --text-on-dark: #E6ECF5;
    --text-on-dark-muted: #A9B6CC;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #DC3545;

    /* Font Families */
    --font-heading: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-primary: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Radii */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    /* Box Shadows (navy-tinted, no neon) */
    --box-shadow-sm: 0 1px 2px rgba(10, 24, 48, 0.06);
    --box-shadow: 0 4px 14px rgba(10, 24, 48, 0.08);
    --box-shadow-lg: 0 18px 40px -12px rgba(10, 24, 48, 0.22);
    --box-shadow-glow: 0 0 0 4px rgba(33, 96, 232, 0.18);

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none !important;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-colour-primary {
    color: var(--primary-color) !important;
}

.text-colour-secondary {
    color: var(--secondary-color) !important;
}

.text-colour-accent {
    color: var(--accent-color) !important;
}

.bg-colour-primary {
    background-color: var(--primary-color) !important;
}

.bg-colour-secondary {
    background-color: var(--bg-secondary) !important;
}

.bg-colour-accent {
    background-color: var(--accent-color) !important;
}

.swiper {
    padding: 3rem 0;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background: var(--white);
    color: var(--primary-color);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    z-index: 999 !important;
    box-shadow: var(--box-shadow-lg);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    color: var(--primary-color) !important;
    font-weight: bold;
}

/* Pagination */
.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

@media (max-width:767px) {
    .swiper {
        padding-bottom: 4rem !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 92% !important;
    }
}

.toc-sticky {
    position: sticky;
    top: 120px;

    height: fit-content;
}

.toc-item-3 {
    margin-bottom: 6px;
}

.toc-item-3 a {
    font-weight: 600;
}

.toc-item-3 a.active {
    color: var(--accent-color);
}

h2[id],
h3[id] {

    scroll-margin-top: 120px !important;

}


/* ==========================================================================
   BUTTON ARCHITECTURE (Liquid & Sweeping Animations)
   ========================================================================== */

/* 1. Rotating Border Button - Constant Motion */
.first-btn {
    background-color: #000;
    color: #fff !important;
    padding: 10px 32px 12px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    transition: all 0.3s ease;
    /* Soft glow base */
    box-shadow: 0 0 10px rgba(105, 242, 249, 0.752);
}

/* The "Snake" Border Light */
.first-btn::before {
    content: '';
    position: absolute;
    /* Increased size ensures the "light" never clips awkwardly on long buttons */
    width: 200%;
    height: 400%;
    top: -150%;
    left: -50%;
    /* Refined gradient: sharp leading edge with a fade-out tail */
    background: conic-gradient(from 0deg,
            transparent 0%,
            transparent 70%,
            var(--accent-color) 100%);
    /* Simplified animation for constant speed */
    animation: firstBtnBorderRun 2.5s linear infinite;
    z-index: -2;
}

/* The Inner Cover */
.first-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    /* Border Thickness */
    background: #000;
    border-radius: 48px;
    z-index: -1;
    transition: background 0.3s ease;
}

/* Hover Effects */
.first-btn:hover {
    box-shadow: 0 0 25px var(--accent-color);
    transform: translateY(-2px);
}

.first-btn:hover::after {
    background: #0a0a0a;
    /* Subtle lift */
}

/* Remove 25% and 50% to maintain linear velocity */
@keyframes firstBtnBorderRun {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 2. Glassmorphism Shimmer Button */
.second-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white) !important;
    padding: 10px 32px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.second-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.second-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    /* transform: translateY(-3px); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.second-btn:hover::before {
    left: 150%;
}

.third-btn {
    display: block;
    width: fit-content;
    min-width: 150px;
    line-height: 40px;
    background: var(--primary-color);
    text-align: center;
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 10px;
}

.third-btn:before,
.third-btn:after {
    position: absolute;
    content: "";
    transition: all 0.5s;
}

.third-btn:before {
    border-bottom: 2px solid var(--secondary-color);
    border-left: 2px solid var(--secondary-color);
    width: 10%;
    height: 33%;
    left: -10px;
    bottom: -10px;
}

.third-btn:after {
    border-top: 2px solid var(--secondary-color);
    border-right: 2px solid var(--secondary-color);
    width: 10%;
    height: 33%;
    top: -10px;
    right: -10px;
}

.third-btn:hover:before {
    width: 100%;
    height: 100%;
}

.third-btn:hover:after {
    width: 100%;
    height: 100%;
}

.third-btn:hover {
    box-shadow: 0 0 10px var(--secondary-color);
    color: #fff;
}

/* 4. Radial Expanding Ripple Button */
.fourth-btn {
    background-color: transparent;
    color: var(--accent-color) !important;
    padding: 10px 32px 12px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    transition: all var(--transition-normal);
}

.fourth-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.fourth-btn:hover {
    color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(87, 208, 236, 0.25);
    border-color: var(--accent-color);
}

.fourth-btn:hover::before {
    width: 300px;
    height: 300px;
}


.fifth-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: var(--white) !important;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 36px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none !important;
    outline: none;
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3) !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border-radius: 50px !important;
    margin-top: 10px;
}

.fifth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(13, 71, 161, 0.45) !important;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
}

/* ==========================================================================
   Scroll To Top Button
   ========================================================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
    /* Controlled by JavaScript */
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    z-index: 999;
    transition: all var(--transition-fast);
}

#scrollTopBtn:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--box-shadow-glow);
    transform: translateY(-3px);
}

/* Modern Typography Badge */
.badge {
    display: inline-block;
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 7px 13px !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    width: fit-content;
}

/* ==========================================================================
   Reusable Animations & Stat Cards
   ========================================================================== */

/* LEFT */
.animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 1s ease;
}

.animate-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* RIGHT */
.animate-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 1s ease;
}

.animate-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* TOP */
.animate-top {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 1s ease;
}

.animate-top.active {
    opacity: 1;
    transform: translateY(0);
}

/* BOTTOM */
.animate-bottom {
    opacity: 0;
    /* transform: translateY(80px); */
    /* transition: all 1s ease !important; */
    transition: opacity 0.8s ease, transform 0.8s ease !important;
}

/* .animate-bottom.active {
    opacity: 1;
    transform: translateY(0);
} */
.animate-bottom.active {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate3d(0, 80px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* zoom in */
.animate-zoomin {
    opacity: 0;
    transform: scale(0.5);
    transition: all 1s ease !important;
}

.animate-zoomin.active {
    opacity: 1;
    transform: scale(1);
}

/* zoom out */
.animate-zoomout {
    opacity: 0;
    transform: scale(1.5);
    transition: all 1s ease;
}

.animate-zoomout.active {
    opacity: 1;
    transform: scale(1);
}

.anim-delay-1 {
    transition-delay: 0.2s;
}

.anim-delay-2 {
    transition-delay: 0.4s;
}

.anim-delay-3 {
    transition-delay: 0.6s;
}

.anim-delay-4 {
    transition-delay: 0.8s;
}

.anim-delay-5 {
    transition-delay: 1s;
}

.anim-delay-6 {
    transition-delay: 1.2s;
}

.anim-delay-7 {
    transition-delay: 1.4s;
}

.anim-delay-8 {
    transition-delay: 1.6s;
}

.anim-delay-9 {
    transition-delay: 1.8s;
}

.anim-delay-10 {
    transition-delay: 2s;
}


/* Premium Statistics Card UI */
.premium-stat-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); */
    position: relative;
    /* transition must not clash with border animations */
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Sequential Drawing Border Base */
.premium-stat-card::before,
.premium-stat-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 3px solid transparent;
    /* matches the 3px padding from before */
    box-sizing: border-box;
    border-radius: inherit;
    /* inherit the rounded-4 geometry */
    z-index: 10;
    pointer-events: none;
}

/* Before draws Top (left to right) then Right (top to bottom) */
.premium-stat-card::before {
    top: 0;
    left: 0;
    transition: width 0.2s ease-out 0.6s, height 0.2s ease-out 0.4s, border-color 0s ease-out 0.8s;
}

/* After draws Bottom (right to left) then Left (bottom to top) */
.premium-stat-card::after {
    bottom: 0;
    right: 0;
    transition: width 0.2s ease-out 0.2s, height 0.2s ease-out 0s, border-color 0s ease-out 0.4s;
}

.premium-stat-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 20px 40px rgba(26, 35, 126, 0.08);
    /* Primary color matching shadow */
}

/* Hover Action - Draw sequential boundary stroke */
.premium-stat-card:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    transition: width 0.2s ease-out, height 0.2s ease-out 0.2s;
}

.premium-stat-card:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: var(--primary-color);
    border-left-color: var(--primary-color);
    transition: border-color 0s ease-out 0.4s, width 0.2s ease-out 0.4s, height 0.2s ease-out 0.6s;
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(82, 135, 224, 0.1);
    /* Accent color transparency */
    color: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    margin: 0 auto;
}

.premium-stat-card:hover .stat-icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(10deg) scale(1.1);
}

.gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* ==========================================================================
           YOUTUBE SHOWCASE SECTION 
           ========================================================================== */
.yt-blob-top {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    opacity: 0.06;
    top: -100px;
    left: -100px;
    filter: blur(50px);
    z-index: 0;
}

.yt-blob-bottom {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    bottom: -50px;
    right: -50px;
    filter: blur(50px);
    z-index: 0;
}

.mockup-dot {
    width: 12px;
    height: 12px;
}

.mockup-title {
    letter-spacing: 1px;
}

.mockup-spacer {
    width: 50px;
}



/* ==========================================================================
           HERO BREADCRUMB SECTION 
========================================================================== */

.custom-hero-breadcrumb {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: end;
    justify-content: center;
}

/* Background Media */
.custom-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.custom-hero-media img,
.custom-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom Gradient Overlay */
.custom-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.75) 25%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.05) 100%);
}

/* Content */
.custom-breadcrumb-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 15px;
    text-align: center;
    color: var(--text-color);
}

.custom-breadcrumb-title {
    /* font-size: clamp(2rem, 5vw, 4.5rem); */
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.custom-breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.custom-breadcrumb .breadcrumb-item,
.custom-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
    font-weight: 800;
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Optional Animation */
.custom-breadcrumb-content {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .custom-hero-breadcrumb {
        height: 55vh;
        min-height: 360px;
    }

    .custom-breadcrumb .breadcrumb-item,
    .custom-breadcrumb .breadcrumb-item a {
        font-size: 0.9rem;
    }
}

.breadcrumb-item a:hover {
    color: var(--accent-color) !important;
}


/*==== hero breadcrumb for event details page ====*/
.why-bluehopper-hero-vision {
    min-height: 60vh;
    padding: 70px 0 50px;
}

.why-bluehopper-hero-vision::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 10, 0.6);
}

.why-bluehopper-hero-content {
    z-index: 2;
}

.why-bluehopper-hero-tag {
    font-size: 12px;
    letter-spacing: 3px;
}

.why-bluehopper-hero-desc {
    max-width: 600px;
    margin: auto;
}

.breadcrumb-trail li a:hover {
    color: var(--accent-color) !important;
}

/* extra breadcrumb start below */
/* 
.breadcrumb-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.breadcrumb-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.breadcrumb-media img,
.breadcrumb-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.breadcrumb-content {
    position: relative;
    z-index: 3;
    margin: 0 auto;
}

.glassy-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 45px 50px;
    max-width: 650px;
    box-shadow: 0 0px 5px rgba(104, 220, 241, 0.456);
    transition: all 0.4s ease;
    margin: 0 auto;
}

.glassy-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0px 20px rgba(104, 220, 241, 0.456);
}

.breadcrumb-title {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 10px;
}

.breadcrumb-desc {
    font-size: 15px;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.custom-breadcrumb {
    font-size: 14px;
}

.custom-breadcrumb a {
    text-decoration: none;
    transition: 0.2s;
}

.custom-breadcrumb a:hover {
    color: var(--accent-color) !important;
}

.custom-breadcrumb span {
    margin: 0 6px;
}

@media (max-width:991px) {
    .breadcrumb-hero {
        height: 70vh;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .breadcrumb-hero {
        height: 60vh;
        text-align: center;
    }

    .breadcrumb-title {
        font-size: 25px;
    }

    .breadcrumb-desc {
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
    }

    .glassy-card {
        padding: 20px 10px;
        margin: 0 auto;
        border-radius: 16px;
    }
} */



/* ==========================================================================
            DUAL MESTEK SECTION
       ========================================================================== */

.dual-meshtek {
    overflow: hidden;
}

/* The large grey sphere from the image */
.bg-sphere {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 800px;
    width: 100%;
    max-height: 800px;
    height: 100%;
    background-image: url('https://meshtek.com/staging/wp-content/uploads/2026/05/Mask-group.webp');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    opacity: 1;
    z-index: 0;
}

.custom-divider {
    border-top: 1px solid var(--accent-color);
    width: 100%;
    margin-top: 30px;
}


.dual-meshtek .nav-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--accent-color);
    background: transparent;
    font-size: 18px !important;
}

.dual-meshtek .nav-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* 4. Card Design */
.swiper.dualMestekSwiper {
    padding: 20px 10px 60px !important;
}

.dualMestekSwiper .feature-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #111;
    display: flex;
    align-items: flex-start;
    padding: 25px;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), border 0.3s;
    border: 1px solid var(--white);
}

.dualMestekSwiper .card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
    transition: transform 0.6s ease;
}

.dualMestekSwiper .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    z-index: 2;
}

.dualMestekSwiper .card-title {
    position: relative;
    z-index: 3;
    font-size: 1.2rem;
    font-weight: 600;
    max-width: 90%;
    margin: 0;
    color: var(--white);
}

/* Active/Hover State */
.dualMestekSwiper .swiper-slide-active .feature-card,
.dualMestekSwiper .feature-card:hover {
    border-color: var(--accent-color);
    /* transform: translateY(-10px); */
    box-shadow: 0 0 20px var(--accent-color);
}

.dualMestekSwiper .feature-card:hover .card-image {
    transform: scale(1.1);
}

.dualMestekSwiper .feature-card:hover .card-title,
.dualMestekSwiper .swiper-slide-active .card-title {
    color: var(--accent-color);
}

@media (max-width: 991px) {
    .dualMestekSwiper .feature-card {
        height: 280px;
    }

    .dualMestekSwiper .nav-btn {
        width: 40px;
        height: 40px;
    }
}


/* ==========================================================================
            PARALLAX SECTION
       ========================================================================== */

/* Fixed Background Section */
.parallax-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    /* Adjust height as needed */
    height: 70vh;

    /* The Core "Fixed" Logic */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dark Overlay for Text Readability */
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Darken background */
    z-index: 1;
}

/* Content Styling */
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.parallax-content h2 {
    font-weight: 700;
    margin-bottom: 20px;
}


.parallax-content p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {


    .parallax-content p {
        font-size: 1rem;
    }

    .parallax-section {
        /* Parallax fixed-bg doesn't work well on many mobile devices, 
                   so we often switch it to scroll for better performance */
        background-attachment: scroll;
        height: auto;
        padding: 100px 0;
    }
}

/* Section just to demonstrate the scroll effect */
.spacer {
    height: 100vh;
    background-color: #050a15;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}


/* ======================= product stands out ===================== */
.product-stand-out {
    padding: 80px 0;
    overflow-x: hidden;
}

/* Feature Card Design */
.product-standout-card {
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Leaf-style accent border */
.product-standout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: 0.3s;
}

.product-standout-card:hover {
    /* transform: translateY(-10px); */
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: 0 0px 40px rgba(11, 27, 204, 0.953);
}

.product-standout-card:hover::before {
    opacity: 1;
}

/* Icon Styling */
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: 0.3s;
}

.product-standout-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .product-standout-card {
        padding: 30px;
    }
}




/* ==========================================================================
           ABOUT SPLIT SECTION (Formerly Hero) home page about section
========================================================================== */

.about-split-section {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-split-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(82, 135, 224, 0) 100%);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
    filter: blur(40px);
}

.about-split-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(26, 35, 126, 0) 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
    filter: blur(40px);
}

.about-content-wrapper {
    position: relative;
    z-index: 1;
}

.about-split-section .about-title {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-split-section .about-title span {
    color: var(--accent-color);
}

.about-split-section .about-desc {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.9;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.about-features li i {
    color: var(--accent-color);
    background: rgba(82, 135, 224, 0.15);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
    margin-left: 20px;
}

.about-image-wrapper img {
    width: 100%;
    min-height: 550px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

.about-image-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-color);
    /* background-color: var(--accent-color); */
    border-radius: 12px;
    z-index: 1;
    transition: all 0.3s ease;
}

.about-image-wrapper:hover::before {
    top: -10px;
    left: -10px;
}

@media (max-width: 991.98px) {
    .about-image-wrapper {
        margin-top: 60px;
        margin-left: 0;
    }

    .about-split-section {
        padding: 80px 0;
        text-align: center;
    }

    .about-split-section::before,
    .about-split-section::after {
        display: none;
    }

    .about-image-wrapper::before {
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .about-features-wrapper {
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width:767px) {
    .about-features li {
        justify-content: start;
    }

    .about-image-wrapper img {
        min-height: 300px;
    }
}



/* =========== 
why cluster section 
============ */

.feature-cluster-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Glassmorphism Cards */
.why-card {
    background: var(--off-white);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    width: calc(33.33% - 14px);
    /* Three per row with gap */
    /* transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); */
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* Hover Interaction */
.why-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-color);
    /* transform: scale(1.02); */
    box-shadow: 0 0px 15px rgba(74, 216, 255, 0.714);
    z-index: 10;
}

/* Neo-Industrial Dot & Glow */
.card-dot {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    background-color: var(--off-white);
    box-shadow: 0 0 10px var(--accent-color);
    transition: 0.3s;
}

.why-card:hover .card-dot {
    background-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Card Icon */
.card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.card-icon i {
    color: var(--off-white);
    font-size: 1.5rem;
}

.why-card:hover .card-icon {
    background: var(--accent-color);
    /* transform: scale(1.1) rotate(5deg); */
}

.card-category {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card-point {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.5;
}

/* Mobile Optimization */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }

    .why-card {
        width: calc(50% - 10px);
        /* Two per row on tablet */
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }

    .why-card {
        width: 100%;
        /* One per row on phone */
        margin-bottom: 10px;
    }
}



/*=================== 
   MESHTEK FEATURES 
   ===================*/

/* ===== SCOPED (WORDPRESS SAFE) ===== */
.meshtek-features ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.meshtek-features img {
    max-width: 100%;
    height: auto;
}


.meshtek-features .item {
    background: #fff;
    text-align: center;
    padding: 20px 20px 30px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}

.meshtek-features .item:hover {
    box-shadow: 0 0 20px var(--accent-color);
    /* transform: translateY(-5px); */
}

.meshtek-features .item:hover h4 {
    color: var(--accent-color) !important;
}

.meshtek-features .icon {
    font-size: 35px;
    margin-bottom: 20px !important;
    color: var(--primary-color);
}

.meshtek-features .item:hover .icon {
    color: var(--accent-color);
}

.meshtek-features .item h4 {
    margin-bottom: 10px;
    margin-top: 7px;
}

.meshtek-features .item p {
    /* font-size: 14px; */
    color: #6c757d;
}

.meshtek-features img {
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.meshtek-features .item:hover img {
    box-shadow: 0 0 10px var(--primary-color);
    animation: zoomInOut 2s ease-in-out infinite;
}

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

    50% {
        transform: scale(1.02);
    }

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


/* =============================
   meshtek section 
   ========================== */
/* Complex Image Layout */
.meshtek-section .image-stack {
    position: relative;
    padding: 40px 0;
}

.meshtek-section .img-container {
    border-radius: 50px 0 50px 0;
    /* Signature curved corners */
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.meshtek-section .img-main {
    width: 85%;
    margin-left: auto;
    display: block;
    height: 400px;
}

.meshtek-section .img-overlay {
    position: absolute;
    width: 50%;
    bottom: 0;
    left: 0;
    border: 8px solid var(--primary-color);
    z-index: 2;
    height: 200px;
}

.meshtek-section .img-overlay img {
    height: 100%;
    object-fit: cover;
}

/* Decorative Dot Grid */
.meshtek-section .dot-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: -1;
}

.meshtek-section .dot-top {
    top: 0;
    right: 20%;
}

.meshtek-section .dot-bottom {
    bottom: 0;
    right: 0;
}

@media (max-width: 767px) {
    .meshtek-section .image-stack {
        margin-top: 10px;
    }

    .meshtek-section .img-main {
        width: 100%;
        height: 250px;
    }

    .meshtek-section .img-overlay {
        height: 120px;
    }
}



/* =====================================
FAQ Section
==================================== */

.faq-section .faq-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid var(--primary-color) !important;
}

.faq-section .faq-card:hover {
    /* box-shadow: 0 0px 15px rgba(102, 227, 255, 0.784); */
}

/* Left purple border */
.faq-section .faq-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.faq-section .faq-header {
    padding: 18px 20px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-section .faq-header:hover {
    color: var(--primary-color);
}

.faq-section .faq-header i {
    font-size: 18px;
    background: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.faq-section .faq-body {
    padding: 15px 20px 20px;
    color: #6c757d;
    font-size: 14px;
}

/* Active (open) state */
.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(26, 35, 126, 0.1), rgba(26, 35, 126, 0.2));
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button.collapsed {
    background: white;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

/* Remove default arrow */
.faq-section .accordion-button::after {
    display: none;
}

/* Rotate icon when open */
.faq-section .accordion-button:not(.collapsed) i {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}


/* Header Css start*/

.site_logo {
    width: auto;
    max-height: 30px;
}

@media (max-width:991px) {
    .site_logo {
        max-height: 25px;
    }
}

@media (max-width:576px) {
    .site_logo {
        max-height: 20px;
    }
}

.navbar {
    background-color: #000;
    padding: 15px 0;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 600;
    padding: 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item.show>.nav-link {
    color: var(--accent-color) !important;
    background-color: transparent;
}

.dropdown-menu .dropdown-item {
    color: #000 !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
}

.current-menu-ancestor>.nav-link,
.current-menu-parent>.nav-link {
    color: var(--accent-color) !important;
}

.current-menu-item>a {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
}

.nav-item.current-menu-item>a {
    background-color: transparent !important;
    color: var(--accent-color) !important;
}

.dropdown-menu .menu-item-has-children.current-menu-ancestor>.dropdown-item {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
}

.dropdown-menu .menu-item-has-children.current-menu-ancestor>.dropdown-toggle::after {
    border-top-color: #ffffff;
    border-left-color: #ffffff;
}

.navbar-nav .menu-item-has-children.current-menu-ancestor>.nav-link {
    color: var(--accent-color) !important;
}

.quote-btn-wrapper {
    margin-left: 15px;
}

.quote-btn-link {
    margin-bottom: -6px !important;
}

@media (min-width:991px) {

    .navbar-nav .menu-item-has-children:hover>.dropdown-menu {
        display: block !important;
        margin-top: 0;
    }

    .navbar-nav .menu-item-has-children:hover>.nav-link.dropdown-toggle {
        color: var(--accent-color);
    }

    .dropdown-menu .dropdown:hover>.dropdown-menu {
        display: block !important;
        position: absolute;
        left: 100%;
        right: auto;
        /* left: auto;
        right: 100%; */
        top: 0;
        margin-top: -1px;
    }

    .dropdown-item.dropdown-toggle::after {
        /* border-right: .3em solid;
        border-left: 0; */
        margin-right: .5rem;
        vertical-align: middle;
    }

    .menu-item-has-children:hover>.dropdown-menu {
        display: block !important;
        margin-top: 0;
    }

    .dropend:hover>.dropdown-menu {
        display: block !important;
        position: absolute;
        top: 0;
        left: 100%;
        right: auto;
        /* left: auto;
        right: 100%; */
    }
}


/* header css end */


/* ==========================================================================
   Animated Waves
   ========================================================================== */
.animated-waves {
    position: relative;
    width: 100%;
    height: 10vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}

.parallax-waves>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax-waves>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax-waves>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax-waves>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax-waves>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    .animated-waves {
        height: 40px;
        min-height: 40px;
    }
}


/* Gradient Divider */
.gradient-off-white {
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--white) 100%);
}

/* Gradient Divider */
.gradient-white-off {
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-secondary) 100%);
}


/* --------- 
  benifit section 
  --------- */
.modern-benefit-card {
    background: var(--off-white);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0px 20px rgba(121, 202, 214, 0.395);
}

/* Hover Glow Effect */
.modern-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    /* Border thickness */
    background: var(--accent-color);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-benefit-card:hover {
    /* transform: translateY(-12px); */
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.15);
}

.modern-benefit-card:hover::before {
    opacity: 1;
}

/* Icon Box Customization */
.icon-shape {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.5rem;
    transform: rotate(-5deg);
    transition: transform 0.4s ease;
}

.modern-benefit-card:hover .icon-shape {
    transform: rotate(0deg) scale(1.1);
}


.benefit-p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}


/*====================================
   2. about hero section / dashboard management 
  =========================================== */
.image-box img {
    transition: transform 0.4s ease-in-out;
    height: 430px;
}

.image-box:hover img {
    transform: scale(1.05);
}

@media (max-width:767px) {
    .image-box img {
        height: 250px;
    }
}



/*===================
 application section 
===================*/
.application-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.application-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* Gradient Overlay */
.application-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.7;
    transition: 0.4s;
}

/* Content */
.application-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    z-index: 2;
    /* transform: translateY(100px); */
    transition: 0.4s ease;
}

.application-desc {
    opacity: 0;
    transition: 0.2s ease;
}

/* Hover Effects */
.application-card:hover {
    box-shadow: 0 0 20px rgba(44, 230, 255, 0.704);
}

.application-card:hover img {
    transform: scale(1.08);
}

.application-card:hover .application-content {
    transform: translateY(0);
}

.application-card:hover .application-desc {
    opacity: 1;
}

.application-card:hover::after {
    opacity: 0.9;
}

/* Mobile Fix: Always show content */
@media (max-width: 768px) {
    .application-content {
        transform: translateY(0);
    }

    .application-desc {
        opacity: 1;
    }
}

/* ============== iot application section ============== */
/* CARD */
.iot-application-feature-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transition: 0.4s;
    height: 100%;
}

.iot-application-feature-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 0 25px rgba(25, 190, 236, 0.699);
}

.iot-application-feature-card:hover h5 {
    color: var(--accent-color) !important;
}

.iot-application-feature-img img {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: fill;
}

.iot-application-feature-content p {
    font-size: 0.95rem;
    height: 80px;
}

/* ============== iot application section end ============== */

/*================== product section ============== */

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: none;
    transition: transform 0.3s ease;
    box-shadow: 0 0px 10px rgba(78, 196, 220, 0.273);
}

.product-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 0px 10px rgba(65, 223, 255, 0.721);
}

.product-img-wrapper {
    height: 350px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* transform: translateY(110%); */
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent-color);
    text-align: center;
}

.product-card:hover .product-info {
    transform: translateY(0);
}



@media (max-width: 991px) {
    .product-info {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.2) 100%);
    }


}

/* ================  iot use case section =========== */
/* Card */
.iot-usecase-card {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--box-shadow-lg);
}

.iot-usecase-card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Content */
.iot-usecase-card-overlay-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

/* Hide paragraph completely */
.iot-usecase-card-overlay-content p {
    max-height: 0;
    opacity: 0;
    transform: translateY(15px);
    margin: 0;
    transition: all 0.4s ease;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* On hover → expand + slide */
.iot-usecase-card:hover .iot-usecase-card-overlay-content p {
    max-height: 100px;
    /* enough for text */
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
}

@media (max-width:767px) {
    .iot-usecase-card {
        height: 350px;
    }
}





/*============= usecase of smart cities section ===============  */


.case-study-feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    box-shadow: 0 0px 15px rgba(98, 111, 113, 0.29);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.case-study-feature-card:hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 0px 25px rgba(80, 222, 244, 0.49);
    border-color: var(--primary-color);
}

.case-study-feature-icon {
    width: 38px;
    height: 38px;
    background: #e7f1ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.case-study-feature-card:hover .case-study-feature-icon {
    background: var(--primary-color);
    color: #fff;
}

.case-study-feature-card:hover span {
    color: var(--primary-color);
}

/* <!-- 6. iot application section --> */

.iot-application-feature-card p {
    height: 90px;
}

.iot-application-feature-card h5 {
    height: 48px;
    margin-bottom: 5px;
}


/*============== full slider section ============= */
.full-hero-swiper,
.full-hero-swiper .swiper-slide {
    width: 80%;
    height: 50vh;
    min-height: 600px;
    border-radius: 20px;
}

.full-full-hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.full-full-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(8, 16, 52, 0.82) 0%,
            rgba(8, 16, 52, 0.52) 45%,
            rgba(8, 16, 52, 0.18) 100%);
    z-index: 1;
    border-radius: 20px;
}

.full-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
}

/* Mobile */
@media (max-width: 767.98px) {

    .full-hero-swiper,
    .full-hero-swiper .swiper-slide {
        width: 90%;
        height: 50vh;
        min-height: 300px;
        border-radius: 20px;
    }
}

/* ========== gif section ============= */
.gif-wrapper {
    /* border-radius: 24px;  */
    overflow: hidden;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); */
    transition: 0.4s ease;
}

.gif-wrapper:hover {
    /* transform: translateY(-8px); */
}

.gif-wrapper img {
    width: 100%;
    height: 80vh;
    display: block;
    object-fit: contain;
}

@media (max-width:1100px) {
    .gif-wrapper img {
        height: 50vh;
    }
}

@media (max-width:768px) {
    .gif-wrapper img {
        height: 40vh;
    }
}

/* ================ about section ======================= */
/* Image Side Styling */
.about-image-stack {
    position: relative;
    padding: 20px;
}

/* The Orange Background Bar */
.about-image-stack::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    width: 80%;
    height: 70%;
    background-color: var(--accent-color);
    z-index: 1;
}

.main-img-wrapper {
    position: relative;
    z-index: 2;
    margin-left: 30px;
    /* Creates the offset from the orange bar */
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.main-img-wrapper img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
}


/* Responsive Adjustments */
@media (max-width: 991px) {

    .main-img-wrapper img {
        width: 100%;
        height: 275px;
        display: block;
    }

    .about-image-stack {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width:767px) {
    .main-img-wrapper {
        margin-left: 0px;
    }
}

/*========= hero about section ============ */
.section-tagline {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.section-tagline::before {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.image-circle-composition {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-outer-border {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    padding: 5px;
    position: relative;
}

.main-image-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid var(--white);
    box-shadow: var(--box-shadow-lg);
}

.floating-badge {
    position: absolute;
    right: -10px;
    top: 20%;
    background-color: var(--accent-color);
    padding: 15px;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: var(--box-shadow-lg);
    z-index: 2;
}

.floating-dot {
    position: absolute;
    left: 0;
    bottom: 20%;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border: 5px solid var(--white);
    border-radius: 50%;
    z-index: 2;
}

@media (max-width: 991px) {

    .circle-outer-border {
        margin-top: 50px;
    }
}



/* =============== gallery & Lightbox css ====================== */
/* Gallery Custom Premium Styling */
.gallery-filter-container {
    display: flex;
    justify-content: start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-filter-container::before {
    content: '';
    margin-left: auto;
}

.gallery-filter-container::after {
    content: '';
    margin-right: auto;
}

/* Hide scrollbars for Chrome, Safari and Opera on Desktop */
@media (min-width: 769px) {
    .gallery-filter-container::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter-container {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
}

@media (max-width:768px) {
    .gallery-filter-container::-webkit-scrollbar {
        height: 4px;
        background-color: transparent;
    }

    .gallery-filter-container::-webkit-scrollbar-thumb {
        background-color: rgba(13, 71, 161, 0.3);
        border-radius: 5px;
    }

    .gallery-filter-container {
        justify-content: start;
        padding-bottom: 10px;
    }
}

.gallery-filter-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--box-shadow-sm);
    white-space: nowrap;
}

.gallery-filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.gallery-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-glow);
}

/* Gallery Grid */
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    box-shadow: var(--box-shadow-lg);
    aspect-ratio: 4 / 3;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity var(--transition-normal);
    opacity: 0.9;
}

.gallery-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 15px 30px rgba(26, 35, 126, 0.2);
}

.gallery-card:hover img {
    transform: scale(1.1);
    opacity: 0.7;
}

/* Hover Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 71, 161, 0.9) 0%, rgba(26, 35, 126, 0.4) 60%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    /* opacity: 1;   */
}

.gallery-icon-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    transform: scale(0.8);
    opacity: 0;
}

.gallery-card:hover .gallery-icon-zoom {
    transform: scale(1);
    opacity: 1;
}

.gallery-card:hover .gallery-icon-zoom:hover {
    background: var(--white);
    color: var(--primary-color);
}

.gallery-card-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 6px;
    /* transform: translateY(15px); */
    transition: transform var(--transition-normal);
}

.gallery-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
    /* transform: translateY(15px); */
    transition: transform var(--transition-normal) 0.05s;
}

.gallery-card:hover .gallery-card-title,
.gallery-card:hover .gallery-card-desc {
    transform: translateY(0);
}

/* Premium Lightbox Modal Customization */
.lightbox-modal {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

.lightbox-modal .modal-content {
    background: transparent !important;
    border: none !important;
}

/* Screen-Fixed Close Button */
.lightbox-close-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 1060;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close-btn:hover {
    background: var(--white);
    color: var(--primary-color) !important;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--white);
}

/* Fixed Navigation Buttons */
.lightbox-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1060;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-nav-btn:hover {
    background: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-50%) scale(1.1);
    border-color: var(--white);
}

.lightbox-prev-btn {
    left: 30px;
}

.lightbox-next-btn {
    right: 30px;
}

.lightbox-img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    width: auto;
    height: auto;
}

/* Clean Caption Below the Image */
.lightbox-caption-under {
    margin-top: 20px;
    text-align: center;
    z-index: 10;
}

.lightbox-caption-under h4 {
    font-family: var(--font-primary);
    color: var(--white) !important;
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
}

/* Responsive Close and Nav Buttons for Mobile */
@media (max-width: 768px) {
    .lightbox-prev-btn {
        left: 15px;
        width: 44px;
        height: 44px;
    }

    .lightbox-next-btn {
        right: 15px;
        width: 44px;
        height: 44px;
    }

    .lightbox-close-btn {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .lightbox-img {
        max-height: 60vh;
        border-radius: 12px;
    }
}



/* Filter animations */
@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.text-limit {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-limit-one {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-limit-two {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ======== blogs css ========= */

.author-info h4 {
    color: var(--accent-color) !important;
}