/* ============================================
   NEXIS INSTITUTE - MODERN UI DESIGN SYSTEM
   Colors: Orange #fe8036 | Teal #0d9488 | White
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================
   CSS VARIABLES / DESIGN TOKENS
   ============================ */
:root {
    --orange:        #fe8036;
    --orange-dark:   #e06420;
    --orange-light:  #ff9a5c;
    --teal:          #0d9488;
    --teal-dark:     #0a7a70;
    --teal-light:    #14b8a6;
    --white:         #ffffff;
    --off-white:     #f8fafc;
    --light-bg:      #f0fdfa;
    --dark:          #0f172a;
    --dark-2:        #1e293b;
    --text-muted:    #64748b;
    --text-light:    #94a3b8;
    --border:        rgba(13,148,136,0.15);

    --gradient-orange: linear-gradient(135deg, #fe8036 0%, #ff6b1a 100%);
    --gradient-teal:   linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --gradient-hero:   linear-gradient(135deg, #0f172a 0%, #0d2438 40%, #0a3d38 100%);
    --gradient-mix:    linear-gradient(135deg, #fe8036 0%, #0d9488 100%);

    --shadow-sm:  0 2px 8px rgba(13,148,136,0.08);
    --shadow-md:  0 8px 30px rgba(13,148,136,0.12);
    --shadow-lg:  0 20px 60px rgba(13,148,136,0.18);
    --shadow-orange: 0 8px 25px rgba(254,128,54,0.35);
    --shadow-teal:   0 8px 25px rgba(13,148,136,0.35);

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  30px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--off-white);
    color: var(--dark-2);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--orange); }

img { max-width: 100%; }

/* ============================
   SECTION LABELS & HEADINGS
   ============================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(254,128,54,0.12), rgba(13,148,136,0.12));
    color: var(--orange);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(254,128,54,0.25);
    margin-bottom: 12px;
}
.section-label.teal {
    color: var(--teal);
    background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(14,165,233,0.08));
    border-color: rgba(13,148,136,0.25);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.section-title span { color: var(--orange); }
.section-title span.teal-text { color: var(--teal); }

/* ============================
   BUTTONS
   ============================ */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-orange);
    border: none;
    color: var(--white);
    padding: 0.65rem 1.75rem;
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #e06420, #fe8036);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(254,128,54,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 0.6rem 1.65rem;
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--gradient-orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-teal {
    background: var(--gradient-teal);
    border: none;
    color: var(--white);
    padding: 0.65rem 1.75rem;
    box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
    background: linear-gradient(135deg, #0a7a70, #0d9488);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(13,148,136,0.45);
}

.btn-outline-teal {
    color: var(--teal);
    border: 2px solid var(--teal);
    padding: 0.6rem 1.65rem;
    background: transparent;
}
.btn-outline-teal:hover {
    background: var(--gradient-teal);
    border-color: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.btn-light {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    padding: 0.65rem 1.75rem;
}
.btn-light:hover {
    background: var(--white);
    color: var(--orange);
    transform: translateY(-2px);
}

/* ============================
   NAVBAR - GLASSMORPHISM
   ============================ */
.navbar {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(13,148,136,0.08);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 4px 30px rgba(13,148,136,0.15);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark) !important;
}
.navbar-brand .brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
}
.navbar-brand:hover .brand-icon {
    transform: rotate(10deg) scale(1.05);
}
.navbar-brand .brand-nexis { color: var(--orange); }
.navbar-brand .brand-inst { color: var(--teal); }

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-2) !important;
    padding: 0.5rem 0.75rem !important;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2.5px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--orange) !important;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(254,128,54,0.2); }

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    animation: dropIn 0.2s ease;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(254,128,54,0.1), rgba(13,148,136,0.08));
    color: var(--orange);
}

/* ============================
   HERO SLIDER
   ============================ */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-slide-1::before {
    background: linear-gradient(135deg, #0f172a 0%, #0d2438 40%, #0a3d38 100%);
}
.hero-slide-2::before {
    background: linear-gradient(135deg, #1a0a00 0%, #2d1200 40%, #3d1a00 100%);
}
.hero-slide-3::before {
    background: linear-gradient(135deg, #001a18 0%, #002e2a 40%, #003d38 100%);
}

/* Animated Background Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrb 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(254,128,54,0.25) 0%, transparent 70%);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(13,148,136,0.3) 0%, transparent 70%);
    bottom: -100px; left: -80px;
    animation-delay: 3s;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(254,128,54,0.15) 0%, transparent 70%);
    top: 40%; left: 40%;
    animation-delay: 5s;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254,128,54,0.15);
    border: 1px solid rgba(254,128,54,0.4);
    color: var(--orange-light);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease forwards;
}
.hero-badge .pulse-dot {
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.9s ease 0.1s both;
}
.hero-title .highlight-orange { color: var(--orange); }
.hero-title .highlight-teal {
    color: var(--teal-light);
    position: relative;
}
.hero-title .highlight-teal::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-teal);
    border-radius: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 550px;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    animation: fadeInUp 0.9s ease 0.4s both;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
}

/* Hero Visual Panel */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.3s both;
}
.hero-visual-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    height: 360px;
}
.hero-visual-card.p-0 {
    height: 360px;
}
.hero-visual-card img,
.hero-slide-img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-visual-floating {
    position: absolute;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    animation: floatBadge 3s ease-in-out infinite;
    white-space: nowrap;
}
.hero-visual-floating.top-left {
    top: -20px; left: -20px;
    animation-delay: 0.5s;
}
.hero-visual-floating.bottom-right {
    bottom: -15px; right: -20px;
    animation-delay: 1.5s;
}
.hero-visual-floating i { color: var(--orange); margin-right: 6px; }

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}
.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    background: var(--orange);
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.slider-arrow:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.05);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ============================
   STATS BAR
   ============================ */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: left;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.stat-icon.orange { background: rgba(254,128,54,0.12); color: var(--orange); }
.stat-icon.teal   { background: rgba(13,148,136,0.12); color: var(--teal); }
.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ============================
   CARDS - COURSES & SERVICES
   ============================ */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(254,128,54,0.25);
}

/* Course Cards */
.course-card { position: relative; }
.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}
.course-card:hover .card-img-top { transform: scale(1.03); }
.course-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
}
.course-card .course-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--gradient-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: var(--shadow-orange);
}
.course-card .card-body { padding: 1.4rem; }
.course-card .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
}
.course-card .course-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--orange);
}
.course-card .course-duration {
    font-size: 0.78rem;
    background: rgba(13,148,136,0.1);
    color: var(--teal);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
}
.course-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-card .card-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Service Cards */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gradient-orange);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}
.service-card:hover::before { transform: scaleY(1); }

.service-icon-wrap {
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(254,128,54,0.12), rgba(13,148,136,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(254,128,54,0.2);
}
.service-card:hover .service-icon-wrap {
    background: var(--gradient-orange);
    color: white;
    transform: rotate(-5deg) scale(1.1);
    box-shadow: var(--shadow-orange);
    border-color: transparent;
}
/* Teal variant icon */
.service-icon-wrap.teal-icon {
    background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(14,165,233,0.08));
    color: var(--teal);
    border-color: rgba(13,148,136,0.2);
}
.service-card:hover .service-icon-wrap.teal-icon {
    background: var(--gradient-teal);
    box-shadow: var(--shadow-teal);
}

/* ============================
   TESTIMONIALS SLIDER
   ============================ */
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px; left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--orange);
    opacity: 0.15;
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(254,128,54,0.2);
}
.testimonial-stars { color: var(--orange); margin-bottom: 0.75rem; }
.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--gradient-mix);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testimonial-course { font-size: 0.78rem; color: var(--teal); font-weight: 600; }

/* ============================
   HERO SECTION for inner pages
   ============================ */
.page-hero {
    background: var(--gradient-hero);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(254,128,54,0.2) 0%, transparent 70%);
    top: -100px; right: -80px;
    border-radius: 50%;
}
.page-hero::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(13,148,136,0.2) 0%, transparent 70%);
    bottom: -80px; left: -60px;
    border-radius: 50%;
}
.page-hero h1 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    position: relative; z-index: 1;
}
.page-hero .breadcrumb { position: relative; z-index: 1; }
.breadcrumb-item { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.breadcrumb-item.active { color: var(--orange); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.breadcrumb-item a { color: rgba(255,255,255,0.65); }
.breadcrumb-item a:hover { color: var(--orange-light); }

/* ============================
   CERT VERIFY SECTION
   ============================ */
.cert-verify-section {
    background: linear-gradient(135deg, #0f172a, #0a3d38);
    position: relative;
    overflow: hidden;
}
.cert-verify-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(254,128,54,0.15) 0%, transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
}
.cert-verify-box {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.cert-verify-input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}
.cert-verify-input::placeholder { color: rgba(255,255,255,0.45); }
.cert-verify-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--orange);
    color: white;
    box-shadow: 0 0 0 3px rgba(254,128,54,0.2);
    outline: none;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    background: var(--gradient-orange);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -5%;
    width: 300px; height: 300px;
    background: rgba(0,0,0,0.08);
    border-radius: 50%;
}
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255,255,255,0.88); }

/* ============================
   FOOTER
   ============================ */
footer {
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1e 100%);
    color: rgba(255,255,255,0.6);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-mix);
}
footer h5 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-size: 1rem;
}
footer a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: var(--transition);
}
footer a:hover { color: var(--orange); }
.footer-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}
.footer-brand .brand-name span { color: var(--orange); }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.6) !important;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white !important;
    transform: translateY(-3px);
}
.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 2.5rem 0 1.5rem;
}
.footer-link-list { list-style: none; padding: 0; margin: 0; }
.footer-link-list li { margin-bottom: 0.6rem; }
.footer-link-list a {
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-link-list a::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition);
}
.footer-link-list a:hover::before { opacity: 1; }

/* ============================
   WHATSAPP FLOAT
   ============================ */
.whatsapp-float {
    position: fixed;
    width: 58px; height: 58px;
    bottom: 36px; right: 36px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: floatWhatsapp 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

/* ============================
   FORM ELEMENTS
   ============================ */
.form-control, .form-select {
    font-family: 'Outfit', sans-serif;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    color: var(--dark-2);
    transition: var(--transition);
    background-color: var(--white);
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(254,128,54,0.15);
    outline: none;
}
.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark-2);
    margin-bottom: 0.4rem;
}
.input-group-text {
    background: var(--off-white);
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

/* ============================
   ALERTS / FLASH MESSAGES
   ============================ */
.alert {
    border-radius: var(--radius-md);
    font-weight: 500;
    border: none;
    padding: 1rem 1.25rem;
}
.alert-success {
    background: rgba(13,148,136,0.1);
    color: var(--teal-dark);
    border-left: 4px solid var(--teal);
}
.alert-danger {
    background: rgba(239,68,68,0.08);
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

/* ============================
   ACCORDION FAQ
   ============================ */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: var(--white);
}
.accordion-button {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    border-radius: var(--radius-md) !important;
    padding: 1.1rem 1.4rem;
}
.accordion-button:not(.collapsed) {
    color: var(--orange);
    background: rgba(254,128,54,0.05);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(254,128,54,0.15);
}
.accordion-button::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fe8036'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0.5rem 1.4rem 1.2rem;
}

/* ============================
   SIDEBAR (PORTAL)
   ============================ */
.sidebar {
    min-height: calc(100vh - 72px);
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 1.5rem 0.75rem;
}
.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-sm);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    transition: var(--transition);
}
.sidebar .nav-link::after { display: none; }
.sidebar .nav-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.sidebar .nav-link:hover {
    background: rgba(254,128,54,0.08);
    color: var(--orange) !important;
}
.sidebar .nav-link.active {
    background: var(--gradient-orange);
    color: white !important;
    box-shadow: var(--shadow-orange);
}
.sidebar .nav-link.active i { color: white; }

/* ============================
   METRIC CARDS (DASHBOARD)
   ============================ */
.metric-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}
.metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
}
.metric-card.primary::before { background: var(--gradient-orange); }
.metric-card.success::before { background: var(--gradient-teal); }
.metric-card.warning::before { background: linear-gradient(180deg, #f59e0b, #d97706); }
.metric-card.info::before    { background: linear-gradient(180deg, #3b82f6, #2563eb); }
.metric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.metric-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.metric-card.primary .metric-icon { background: rgba(254,128,54,0.12); color: var(--orange); }
.metric-card.success .metric-icon { background: rgba(13,148,136,0.12); color: var(--teal); }
.metric-card.warning .metric-icon { background: rgba(245,158,11,0.12); color: #f59e0b; }
.metric-card.info .metric-icon    { background: rgba(59,130,246,0.12); color: #3b82f6; }
.metric-num { font-size: 1.8rem; font-weight: 800; color: var(--dark); line-height: 1; }
.metric-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ============================
   CERTIFICATE LAYOUT (PRINT)
   ============================ */
.certificate-container {
    width: 800px;
    height: 600px;
    padding: 40px;
    background: var(--white);
    border: 12px solid;
    border-image: var(--gradient-mix) 1;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: 40px auto;
    font-family: 'Outfit', sans-serif;
    background-image:
        radial-gradient(circle, rgba(254,128,54,0.04) 10%, transparent 11%),
        radial-gradient(circle, rgba(13,148,136,0.04) 10%, transparent 11%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}
.certificate-border-inner {
    border: 2px solid rgba(13,148,136,0.3);
    height: 100%; width: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
    border-radius: 8px;
}
.certificate-title {
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.certificate-subtitle {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 10px;
    color: var(--text-muted);
}
.certificate-recipient {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--orange);
    display: inline-block;
    padding: 0 20px;
    margin: 15px 0;
}
.certificate-body { margin-top: 40px; font-size: 20px; }
.certificate-details { margin-top: 30px; font-size: 16px; color: var(--text-muted); }
.certificate-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: absolute;
    bottom: 40px; left: 40px; right: 40px;
}
.certificate-signature {
    border-top: 1px solid var(--text-light);
    width: 200px;
    padding-top: 5px;
    font-size: 14px;
}

/* ============================
   BADGES & PILLS
   ============================ */
.badge-orange {
    background: rgba(254,128,54,0.12);
    color: var(--orange);
    border: 1px solid rgba(254,128,54,0.3);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-teal {
    background: rgba(13,148,136,0.12);
    color: var(--teal);
    border: 1px solid rgba(13,148,136,0.25);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================
   TEAM CARDS
   ============================ */
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.team-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: var(--transition);
}
.team-card:hover::after { transform: scaleX(1); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--gradient-mix);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(254,128,54,0.3);
    transition: var(--transition);
}
.team-card:hover .team-avatar { transform: scale(1.08); }

/* ============================
   KEYFRAME ANIMATIONS
   ============================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 15px) scale(0.97); }
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes floatWhatsapp {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animate on scroll */
.anim-fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-fade-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-left.visible { opacity: 1; transform: translateX(0); }
.anim-fade-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================
   UTILITY CLASSES
   ============================ */
.text-orange { color: var(--orange) !important; }
.text-teal   { color: var(--teal) !important; }
.bg-orange   { background-color: var(--orange) !important; }
.bg-teal     { background-color: var(--teal) !important; }
.bg-gradient-orange { background: var(--gradient-orange) !important; }
.bg-gradient-teal   { background: var(--gradient-teal) !important; }
.bg-gradient-mix    { background: var(--gradient-mix) !important; }

.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }

.shadow-orange { box-shadow: var(--shadow-orange) !important; }
.shadow-teal   { box-shadow: var(--shadow-teal) !important; }

/* Override Bootstrap primary */
.text-primary { color: var(--teal) !important; }
.bg-primary    { background-color: var(--orange) !important; }
.btn-primary   { background: var(--gradient-orange) !important; border: none !important; }
.border-primary { border-color: var(--teal) !important; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-content { padding: 130px 0 60px; }
    .hero-visual { margin-top: 2rem; }
    .hero-stats-row { gap: 1rem; }
    .testimonial-card { flex: 0 0 85%; }
    .slider-arrow { display: none; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .certificate-container { width: 100%; height: auto; }
}

@media (max-width: 576px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-badge { font-size: 0.7rem; }
}

/* Print */
@media print {
    body * { visibility: hidden; }
    .certificate-container, .certificate-container * { visibility: visible; }
    .certificate-container {
        position: absolute; left: 0; top: 0;
        margin: 0; box-shadow: none; width: 100%;
    }
}

/* =============================================
   FLOATING BRAND LINKS DOCK
   ============================================= */
.floating-dock-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1050;
}
.floating-dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: white !important;
    text-decoration: none;
    border-radius: 8px 0 0 8px;
    box-shadow: -3px 4px 15px rgba(0,0,0,0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.floating-dock-item i {
    font-size: 1.35rem;
    z-index: 2;
}
.floating-dock-item .label-text {
    position: absolute;
    right: 48px;
    background: inherit;
    color: white;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px 0 0 8px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}
.floating-dock-item:hover {
    width: auto;
    padding-left: 18px;
    padding-right: 12px;
    border-radius: 8px 0 0 8px;
}
.floating-dock-item:hover .label-text {
    transform: translateX(0);
    opacity: 1;
    position: static;
}
@media (max-width: 768px) {
    .floating-dock-bar {
        top: auto;
        bottom: 20px;
        right: auto;
        left: 20px;
        flex-direction: row;
        transform: none;
    }
    .floating-dock-item {
        border-radius: 50%;
        width: 42px;
        height: 42px;
        box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
    }
    .floating-dock-item .label-text {
        display: none;
    }
    .floating-dock-item:hover {
        width: 42px;
        padding: 0;
        border-radius: 50%;
    }
}


/* ============================
   MOBILE OFFCANVAS NAV FIX
   (Fixes overflow:hidden on body blocking Bootstrap offcanvas)
   ============================ */

/* When offcanvas is open, Bootstrap adds this class — keep working */
body.offcanvas-open { overflow: hidden; }

/* Ensure offcanvas z-index is highest */
.offcanvas { z-index: 1055 !important; }
.offcanvas-backdrop { z-index: 1050 !important; }

/* Mobile view: toggler fixes + offcanvas slide */
@media (max-width: 991.98px) {

    /* Reliable toggler appearance */
    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        cursor: pointer;
        padding: 6px 8px;
        border-radius: 8px;
        transition: background 0.2s;
    }
    .navbar-toggler:hover { background: rgba(254,128,54,0.1) !important; }
    .navbar-toggler:focus { box-shadow: none !important; outline: none !important; }

    /* Hide desktop collapse on mobile */
    #navbarNav:not(.show) { display: none !important; }

    /* Offcanvas slide-in animation */
    .offcanvas.offcanvas-start {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out !important;
    }
    .offcanvas.offcanvas-start.showing,
    .offcanvas.offcanvas-start.show {
        transform: translateX(0) !important;
    }
    .offcanvas.offcanvas-start.hiding {
        transform: translateX(-100%) !important;
    }

    /* Better touch targets for mobile links */
    #mobileNav a { min-height: 48px; }
}

/* Prevent hero slider's overflow:hidden from clipping offcanvas backdrop */
.hero-slider-section { overflow: clip; }

/* Desktop: keep orb animations clipped inside the slider */
#heroSlider { overflow: hidden; }


/* =============================================
   HERO VISUAL RESPONSIVE OVERRIDES
   ============================================= */

/* Tablet (≤ 991px) */
@media (max-width: 991.98px) {
    .hero-slider-section {
        overflow: visible !important;
    }
    #heroSlider {
        overflow: visible !important;
    }
    .hero-slide {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        display: block;
    }
    .hero-content {
        padding: 100px 0 50px !important;
    }
    .hero-content .row {
        gap: 2rem !important;
    }
    .hero-visual-card,
    .hero-visual-card.p-0,
    .hero-visual-card iframe,
    .hero-visual-card video,
    .hero-visual-card img,
    .hero-slide-img {
        height: 280px !important;
    }
    .hero-desc {
        max-width: 100% !important;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .hero-slider-section {
        overflow: visible !important;
    }
    #heroSlider {
        overflow: visible !important;
    }
    .hero-slide {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        display: block;
        padding-bottom: 2rem;
    }
    .hero-content {
        padding: 80px 16px 0 !important;
        text-align: center !important;
    }
    .hero-content .row {
        gap: 0 !important;
    }
    /* Center badge */
    .hero-badge {
        font-size: 0.68rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
    }
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.85rem !important;
    }
    .hero-title br { display: none; }
    .hero-desc {
        font-size: 0.88rem !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
        line-height: 1.6 !important;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.6rem !important;
        align-items: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 16px !important;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0.7rem 1rem !important;
        font-size: 0.92rem !important;
        border-radius: 12px !important;
    }
    .hero-stats-row {
        gap: 0.5rem 0.75rem !important;
        flex-wrap: wrap;
        justify-content: center !important;
        padding: 0.75rem 16px 0 !important;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 0.5rem !important;
    }
    .hero-stat-num {
        font-size: 1rem !important;
    }
    .hero-stat-label {
        font-size: 0.7rem !important;
    }
    .hero-visual {
        margin-top: 1.25rem !important;
        padding: 0 16px 2rem !important;
    }
    .hero-visual-card {
        padding: 0 !important;
        border-radius: var(--radius-md) !important;
    }
    .hero-visual-card,
    .hero-visual-card.p-0,
    .hero-visual-card iframe,
    .hero-visual-card video,
    .hero-visual-card img,
    .hero-slide-img {
        height: 220px !important;
    }
    .hero-visual-floating {
        font-size: 0.72rem !important;
        padding: 0.35rem 0.7rem !important;
    }
    .hero-visual-floating.top-left {
        top: -8px !important;
        left: -4px !important;
    }
    .hero-visual-floating.bottom-right {
        bottom: -8px !important;
        right: -4px !important;
    }
    .hero-visual-card .d-flex.align-items-center[style*="margin-left: 15px"],
    .hero-visual-card .d-flex.align-items-center[style*="margin-left: 30px"] {
        margin-left: 0 !important;
    }
    .slider-arrow { display: none !important; }
}

/* Extra small (≤ 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.45rem !important;
    }
    .hero-visual-card,
    .hero-visual-card iframe,
    .hero-visual-card video,
    .hero-visual-card img {
        height: 170px !important;
    }
}

/* =============================================
   E-COMMERCE CONVERSION FUNNEL ROADMAP STYLES
   ============================================= */
.funnel-step-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.funnel-step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    opacity: 0;
    transition: var(--transition);
}

.funnel-step-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(254, 128, 54, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.funnel-step-card:hover::before {
    opacity: 1;
}

.funnel-step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 5px; right: 15px;
    line-height: 1;
    transition: var(--transition);
}

.funnel-step-card:hover .funnel-step-num {
    color: rgba(254, 128, 54, 0.12);
}

.funnel-step-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(254,128,54,0.1), rgba(13,148,136,0.1));
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 1.6rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.funnel-step-card:hover .funnel-step-icon {
    background: var(--gradient-mix);
    color: white;
    border-color: transparent;
    transform: rotateY(180deg);
}

.cert-feat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 128, 54, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* NEXIS-MOBILE-PATCH-V3 */
@media (max-width: 991.98px) {
    .hero-slide { display: block; min-height: auto !important; height: auto !important; }
    .hero-content { padding: 100px 0 50px !important; }
    .hero-visual-card, .hero-visual-card.p-0,
    .hero-visual-card img, .hero-slide-img { height: 280px !important; }
    .hero-desc { max-width: 100% !important; }
}
@media (max-width: 768px) {
    .hero-slider-section { overflow: clip !important; }
    #heroSlider { overflow: hidden !important; }
    .hero-slide { display: block; min-height: auto !important; height: auto !important; padding-bottom: 2rem; }
    .hero-content { padding: 80px 16px 0 !important; text-align: center !important; }
    .hero-content .row { gap: 0 !important; }
    .hero-badge { font-size: 0.68rem !important; margin: 0 auto !important; display: inline-flex !important; }
    .hero-title { font-size: 1.5rem !important; line-height: 1.25 !important; margin-bottom: 0.85rem !important; }
    .hero-title br { display: none; }
    .hero-desc { font-size: 0.88rem !important; max-width: 100% !important; margin-bottom: 1rem !important; }
    .hero-actions { flex-direction: column !important; gap: 0.6rem !important; align-items: center !important;
                    margin-bottom: 1.5rem !important; padding: 0 16px !important; }
    .hero-actions .btn { width: 100% !important; text-align: center !important; padding: 0.7rem 1rem !important;
                         font-size: 0.92rem !important; border-radius: 12px !important; }
    .hero-stats-row { gap: 0.5rem 0.75rem !important; flex-wrap: wrap !important; justify-content: center !important;
                      padding: 0.75rem 16px 0 !important; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 0.5rem !important; }
    .hero-stat-num { font-size: 1rem !important; }
    .hero-stat-label { font-size: 0.7rem !important; }
    .hero-visual { margin-top: 1.25rem !important; padding: 0 16px 2rem !important; }
    .hero-visual-card { padding: 0 !important; border-radius: 14px !important; }
    .hero-visual-card, .hero-visual-card.p-0, .hero-visual-card iframe,
    .hero-visual-card video, .hero-visual-card img, .hero-slide-img { height: 220px !important; }
    .hero-visual-floating { display: none !important; }
    .slider-arrow { display: none !important; }
    .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); justify-content: center; }
    .stat-item:last-child { border-bottom: none; }
    section.py-5 { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.35rem !important; }
    .hero-visual-card, .hero-visual-card iframe, .hero-visual-card video,
    .hero-visual-card img, .hero-slide-img { height: 180px !important; }
}
