/* ============================================
   BPKAD Modern UI - 2025 Design Trends
   ============================================ */

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Modern Color Palette */
    --primary-gradient: linear-gradient(135deg, #0066FF 0%, #00C6FF 100%);
    --secondary-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --success-gradient: linear-gradient(135deg, #10B981 0%, #34D399 100%);

    /* Mesh Gradients for Backgrounds */
    --mesh-gradient-1: radial-gradient(at 0% 0%, hsla(253, 100%, 67%, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(189, 100%, 56%, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(355, 100%, 93%, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(340, 100%, 76%, 0.15) 0px, transparent 50%);

    /* Colors */
    --primary-blue: #0066FF;
    --primary-cyan: #00C6FF;
    --secondary-indigo: #6366F1;
    --secondary-purple: #8B5CF6;
    --accent-amber: #F59E0B;
    --accent-red: #EF4444;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-colored: 0 8px 24px rgba(0, 102, 255, 0.2);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 80px;
    --spacing-4xl: 120px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ============================================
   Global Enhancements
   ============================================ */
body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* ============================================
   Animation Keyframes
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.gradient-primary {
    background: var(--primary-gradient);
}

.gradient-secondary {
    background: var(--secondary-gradient);
}

.gradient-accent {
    background: var(--accent-gradient);
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* ============================================
   Hero/Banner Section Enhancements
   ============================================ */
.home-slides .main-banner {
    position: relative;
    overflow: hidden;
}

.home-slides .main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.7) 0%, rgba(0, 198, 255, 0.5) 100%);
    z-index: 1;
}

.home-slides .main-banner .container {
    position: relative;
    z-index: 2;
}

.main-banner-content {
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.main-banner-content .sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.main-banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.main-banner-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-box {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-box .default-btn,
.btn-box .optional-btn {
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn-box .default-btn {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-box .default-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 102, 255, 0.4);
}

.btn-box .optional-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-box .optional-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Modern Card Styles
   ============================================ */
.modern-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

/* Glass Card Variant */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
}

/* ============================================
   Etalase BPKAD Section
   ============================================ */
.etalase-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
}

.etalase-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.etalase-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.etalase-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.etalase-card:hover img {
    transform: scale(1.1);
}

.etalase-card:hover::after {
    opacity: 1;
}

/* Overlay Content */
.etalase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    color: white;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.etalase-card:hover .etalase-overlay {
    transform: translateY(0);
    opacity: 1;
}

.etalase-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.etalase-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============================================
   Layanan BPKAD Section
   ============================================ */
.layanan-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
}

.layanan-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.layanan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.layanan-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-xl), var(--shadow-colored);
}

.layanan-card:hover img {
    transform: scale(1.15);
}

.layanan-card:hover::before {
    opacity: 0.3;
}

/* ============================================
   Berita Terbaru Section
   ============================================ */
.berita-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.berita-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.berita-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.berita-card:hover img {
    transform: scale(1.08);
}

.berita-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-content h2,
.berita-content h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.berita-card:hover .berita-content h2,
.berita-card:hover .berita-content h6 {
    color: var(--primary-blue);
}

.berita-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.berita-content .btn {
    align-self: flex-start;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
}

.berita-content .btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: var(--shadow-sm);
}

.berita-content .btn-primary:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Galeri Foto Section
   ============================================ */
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.8), rgba(139, 92, 246, 0.8));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    z-index: 2;
    transition: transform var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   Galeri Video Section
   ============================================ */
.video-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
}

.video-card iframe {
    border-radius: var(--radius-xl);
    transition: transform var(--transition-base);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-card:hover iframe {
    transform: scale(1.02);
}

/* ============================================
   Instansi Terkait Section
   ============================================ */
.instansi-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    position: relative;
    overflow: hidden;
}

.instansi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.instansi-card img {
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
    filter: grayscale(0.3);
}

.instansi-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.instansi-card:hover::before {
    opacity: 0.05;
}

.instansi-card:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    margin-bottom: var(--spacing-3xl);
    text-align: center;
}

.section-header h2,
.section-header h4 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after,
.section-header h4::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

/* ============================================
   Button Enhancements
   ============================================ */
.btn-modern {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    .main-banner-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2,
    .section-header h4 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .main-banner-content h1 {
        font-size: 2rem;
    }

    .main-banner-content p {
        font-size: 1rem;
    }

    .section-header h2,
    .section-header h4 {
        font-size: 1.75rem;
    }

    .etalase-card img,
    .layanan-card img {
        height: 200px;
    }

    .gallery-item img {
        height: 180px;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
.fx-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fx-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Loading Shimmer Effect
   ============================================ */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   Hover Lift Effect
   ============================================ */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-lift-light:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Enhanced Hero Section
   ============================================ */
.hero-enhanced {
    position: relative;
    overflow: hidden;
}

.hero-enhanced::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-badge i {
    font-size: 1.2rem;
}

/* ============================================
   Scroll Indicator
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-inner::before {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* ============================================
   Statistics Section
   ============================================ */
.stats-section {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
}

.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
    transition: all var(--transition-base);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
    margin: 0;
}

.stat-sublabel {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Counter Animation */
.stat-number.counting {
    animation: pulse 0.5s ease-in-out;
}

/* ============================================
   Feature Highlights Section
   ============================================ */
.features-section {
    padding: var(--spacing-4xl) 0;
    background: white;
    position: relative;
}

.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.35);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    transition: color var(--transition-fast);
}

.feature-card:hover h3 {
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.feature-link:hover {
    gap: 12px;
    color: var(--primary-cyan);
}

.feature-link i {
    transition: transform var(--transition-fast);
}

.feature-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Decorative Elements
   ============================================ */
.decorative-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-gradient);
    bottom: -150px;
    left: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

/* ============================================
   Enhanced Section Transitions
   ============================================ */
.section-divider {
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 102, 255, 0.03) 50%, transparent 100%);
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.1;
}

/* ============================================
   Enhanced Buttons in Hero
   ============================================ */
.hero-btn-primary {
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-blue);
    border: none;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
    color: white;
}

.hero-btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.hero-btn-primary span,
.hero-btn-primary i {
    position: relative;
    z-index: 1;
}

.hero-btn-secondary {
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon,
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .stats-section,
    .features-section {
        padding: var(--spacing-3xl) 0;
    }
}

@media (max-width: 767px) {
    .stat-number {
        font-size: 2rem;
    }

    .stat-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .stats-section,
    .features-section {
        padding: var(--spacing-2xl) 0;
    }

    .feature-card,
    .stat-card {
        margin-bottom: var(--spacing-lg);
    }
}
/* ============================================
   Modern Hero Section (No Slider)
   ============================================ */
.modern-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 100px 0 80px;
}

/* Animated Gradient Mesh Background */
.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Floating Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 10%;
    left: 5%;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: 15%;
    right: 10%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 60%;
    left: 15%;
    animation: float 18s ease-in-out infinite;
}

/* Hero Content Layout */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Side - Content */
.hero-text-content {
    color: white;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-badge-modern i {
    font-size: 1.3rem;
    color: #ffd700;
}

.hero-main-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeUp 0.8s ease-out 0.6s both;
}

/* Hero Stats Inline */
.hero-stats-inline {
    display: flex;
    gap: 40px;
    margin-bottom: 3rem;
    animation: fadeUp 0.8s ease-out 0.8s both;
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease-out 1s both;
}

.hero-cta-primary {
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    background: white;
    color: #667eea;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hero-cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #667eea;
}

.hero-cta-secondary {
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    color: white;
}

/* Right Side - Bento Grid */
.hero-visual-content {
    position: relative;
    animation: fadeIn 1s ease-out 0.6s both;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.bento-card:hover::before {
    transform: scaleX(1);
}

.bento-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: transform var(--transition-slow);
}

.bento-card:hover .bento-card-image {
    transform: scale(1.05);
}

.bento-card.large .bento-card-image {
    height: 240px;
}

.bento-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.bento-card-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.bento-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Scroll Indicator Modern */
.scroll-indicator-modern {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator-modern .scroll-text {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    opacity: 0.9;
}

.scroll-indicator-modern .scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin: 0 auto;
}

.scroll-indicator-modern .scroll-icon::before {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-main-title {
        font-size: 3.5rem;
    }
    
    .hero-split {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .modern-hero {
        padding: 80px 0 60px;
    }
    
    .hero-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .hero-stats-inline {
        gap: 30px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card.large {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .modern-hero {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .hero-main-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats-inline {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .bento-card-image {
        height: 150px;
    }
    
    .bento-card.large .bento-card-image {
        height: 200px;
    }
    
    .scroll-indicator-modern {
        bottom: 20px;
    }
}
