/* Root Variables */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Brand Colors - Based on Original Educhain */
    --brand-blue: #0F91F2;
    --brand-purple: #6C3AEA;
    --brand-teal: #3FEAC2;
    --brand-gradient: linear-gradient(135deg, #0F91F2, #3FEAC2);

    /* Light Background Colors */
    --bg-blue-light: #F0F8FF;
    --bg-purple-light: #F8F5FE;
    --bg-teal-light: #F0FDFB;

    /* Page Gradient - Mostly white */
    --page-gradient: linear-gradient(180deg, #FFFFFF 0%, #FEFEFE 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: 20px;

    /* Spacing */
    --container-max: 1400px;
    --section-padding: 120px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ========================================
   GLASSMORPHISM BASE STYLES
   ======================================== */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-subtle {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Base state for animated elements */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].animate-in {
    opacity: 1;
}

/* Fade Up */
[data-animate="fade-up"] {
    transform: translateY(60px);
}

[data-animate="fade-up"].animate-in {
    transform: translateY(0);
}

/* Fade Down */
[data-animate="fade-down"] {
    transform: translateY(-60px);
}

[data-animate="fade-down"].animate-in {
    transform: translateY(0);
}

/* Fade Left */
[data-animate="fade-left"] {
    transform: translateX(60px);
}

[data-animate="fade-left"].animate-in {
    transform: translateX(0);
}

/* Fade Right */
[data-animate="fade-right"] {
    transform: translateX(-60px);
}

[data-animate="fade-right"].animate-in {
    transform: translateX(0);
}

/* Scale Up */
[data-animate="scale-up"] {
    transform: scale(0.9);
}

[data-animate="scale-up"].animate-in {
    transform: scale(1);
}

/* Zoom In */
[data-animate="zoom-in"] {
    transform: scale(0.8);
}

[data-animate="zoom-in"].animate-in {
    transform: scale(1);
}

/* Blur In */
[data-animate="blur-in"] {
    filter: blur(10px);
    transform: scale(1.05);
}

[data-animate="blur-in"].animate-in {
    filter: blur(0);
    transform: scale(1);
}

/* Stagger delays for children */
[data-animate-stagger] > *:nth-child(1) { transition-delay: 0.1s; }
[data-animate-stagger] > *:nth-child(2) { transition-delay: 0.2s; }
[data-animate-stagger] > *:nth-child(3) { transition-delay: 0.3s; }
[data-animate-stagger] > *:nth-child(4) { transition-delay: 0.4s; }
[data-animate-stagger] > *:nth-child(5) { transition-delay: 0.5s; }
[data-animate-stagger] > *:nth-child(6) { transition-delay: 0.6s; }

/* Custom delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }
[data-delay="800"] { transition-delay: 0.8s; }

/* ========================================
   ICON ANIMATIONS
   ======================================== */

/* --- Animation Keyframes --- */
@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes iconPulseGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(15, 145, 242, 0.5));
    }
}

@keyframes iconBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes iconShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px) rotate(-5deg); }
    75% { transform: translateX(3px) rotate(5deg); }
}

@keyframes iconHeartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

@keyframes iconSwing {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}

@keyframes iconRubberBand {
    0% { transform: scale(1, 1); }
    30% { transform: scale(1.25, 0.75); }
    40% { transform: scale(0.75, 1.25); }
    50% { transform: scale(1.15, 0.85); }
    65% { transform: scale(0.95, 1.05); }
    75% { transform: scale(1.05, 0.95); }
    100% { transform: scale(1, 1); }
}

@keyframes iconFlash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.4; }
}

@keyframes iconWobble {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    15% { transform: translateX(-6px) rotate(-5deg); }
    30% { transform: translateX(5px) rotate(3deg); }
    45% { transform: translateX(-4px) rotate(-3deg); }
    60% { transform: translateX(3px) rotate(2deg); }
    75% { transform: translateX(-2px) rotate(-1deg); }
}

@keyframes iconMorph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

@keyframes iconDraw {
    0% { stroke-dashoffset: 100; opacity: 0.3; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes iconGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(15, 145, 242, 0.3)); }
    50% { filter: drop-shadow(0 0 12px rgba(15, 145, 242, 0.6)); }
}

@keyframes iconColorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* --- Navigation Dropdown Icons --- */
.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-link:hover .dropdown-icon {
    animation: iconBob 0.6s ease-in-out;
}

.dropdown-icon-wrapper svg {
    transition: all 0.3s ease;
    animation: iconGlowPulse 3s ease-in-out infinite;
}

.dropdown-icon-wrapper:hover svg {
    animation: iconPulseGlow 0.6s ease-out;
    transform: scale(1.2);
}

/* --- Badge/Shield Icons --- */
.badge-icon {
    animation: iconHeartbeat 3s ease-in-out infinite;
}

.verification-badge:hover .badge-icon {
    animation: iconRubberBand 0.8s ease-out;
}

/* --- Verification Step Icons --- */
.verification-step-icon {
    transition: all 0.4s ease;
    animation: iconBob 2.5s ease-in-out infinite;
}

.verification-step:nth-child(1) .verification-step-icon { animation-delay: 0s; }
.verification-step:nth-child(2) .verification-step-icon { animation-delay: 0.3s; }
.verification-step:nth-child(3) .verification-step-icon { animation-delay: 0.6s; }

.verification-step:hover .verification-step-icon {
    animation: iconSwing 0.8s ease-out;
    transform: scale(1.15);
}

.verification-step-icon-wrapper {
    position: relative;
}

.verification-step-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 145, 242, 0.2), rgba(63, 234, 194, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.verification-step:hover .verification-step-icon-wrapper::after {
    opacity: 1;
    animation: iconMorph 3s ease-in-out infinite;
}

/* --- CTA Arrow Icons --- */
.cta-arrow {
    transition: transform 0.3s ease;
    animation: iconBob 2s ease-in-out infinite;
}

.btn:hover .cta-arrow,
a:hover .cta-arrow {
    animation: none;
    transform: translateX(6px);
}

/* --- Benefit Icons (Images) --- */
.benefit-icon-img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconBob 3s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-icon-img { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-icon-img { animation-delay: 0.4s; }
.benefit-card:nth-child(3) .benefit-icon-img { animation-delay: 0.8s; }
.benefit-card:nth-child(4) .benefit-icon-img { animation-delay: 1.2s; }

.benefit-card:hover .benefit-icon-img {
    animation: iconRubberBand 0.8s ease-out;
    transform: scale(1.1);
}

/* --- CHEDS Feature Icons --- */
.cheds-feature-icon {
    width: 20px;
    height: 20px;
    stroke: var(--brand-blue);
    transition: all 0.3s ease;
    animation: iconPulseGlow 2.5s ease-in-out infinite;
}

.cheds-feature:nth-child(1) .cheds-feature-icon { animation-delay: 0s; }
.cheds-feature:nth-child(2) .cheds-feature-icon { animation-delay: 0.3s; }
.cheds-feature:nth-child(3) .cheds-feature-icon { animation-delay: 0.6s; }

.cheds-feature:hover .cheds-feature-icon {
    animation: iconRotate 0.8s ease-out;
    stroke: var(--brand-teal);
}

/* --- Quote Icons --- */
.quote-icon-new {
    transition: all 0.4s ease;
    animation: iconBob 4s ease-in-out infinite;
    opacity: 0.6;
}

.testimonial-card-new:hover .quote-icon-new {
    animation: iconWobble 0.8s ease-out;
    opacity: 1;
}

/* --- Play Icons --- */
.play-icon {
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-icon,
.play-button:hover .play-icon {
    animation: iconPulseGlow 0.6s ease-out infinite;
}

.video-demo-play-icon {
    animation: iconHeartbeat 2s ease-in-out infinite;
}

/* --- Overview Icons --- */
.overview-icon {
    transition: all 0.4s ease;
}

.overview-icon svg {
    transition: all 0.3s ease;
    animation: iconGlowPulse 3s ease-in-out infinite;
}

.overview-item:hover .overview-icon svg {
    animation: iconSwing 0.6s ease-out;
    transform: scale(1.2);
}

/* Stagger animation delays for overview icons */
.overview-item:nth-child(1) .overview-icon svg { animation-delay: 0s; }
.overview-item:nth-child(2) .overview-icon svg { animation-delay: 0.2s; }
.overview-item:nth-child(3) .overview-icon svg { animation-delay: 0.4s; }
.overview-item:nth-child(4) .overview-icon svg { animation-delay: 0.6s; }

/* --- Footer Social Icons --- */
.social-links svg,
.footer-social svg {
    transition: all 0.3s ease;
}

.social-links a:hover svg,
.footer-social a:hover svg {
    animation: iconRubberBand 0.6s ease-out;
    transform: scale(1.2);
}

/* --- Author University Icons --- */
.author-university-icon {
    transition: all 0.3s ease;
    animation: iconBob 3s ease-in-out infinite;
}

.testimonial-card-new:hover .author-university-icon {
    animation: iconShake 0.5s ease-out;
}

/* --- Generic SVG Icons in Links --- */
a svg:not(.no-animate),
button svg:not(.no-animate) {
    transition: all 0.3s ease;
}

a:hover svg:not(.no-animate),
button:hover svg:not(.no-animate) {
    filter: drop-shadow(0 0 4px rgba(15, 145, 242, 0.4));
}

/* --- Reduced Motion Support --- */
@media (prefers-reduced-motion: reduce) {
    .badge-icon,
    .verification-step-icon,
    .cta-arrow,
    .benefit-icon-img,
    .cheds-feature-icon,
    .quote-icon-new,
    .video-demo-play-icon,
    .overview-icon svg,
    .author-university-icon,
    .dropdown-icon-wrapper svg {
        animation: none !important;
    }
}

/* Video Demo Section Styles */
.video-demo-section {
    padding: 80px 0 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 60px; /* Add space from hero section */
}


.video-demo-content {
    width: 100%;
    text-align: center;
}

.video-demo-header {
    margin-bottom: 30px;
    padding: 0 20px;
}

.video-demo-title {
    font-family: 'Gotham Pro', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #1192f2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-demo-play-icon {
    transition: all 0.3s ease;
}

.video-demo-title:hover .video-demo-play-icon {
    transform: scale(1.1);
}

.video-demo-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 50px 0 10px 70px; /* Top, Right, Bottom, Left margins as specified */
    background: linear-gradient(135deg, #B8E4FF 0%, #0F91F2 50%, #6C3AEA 100%);
    overflow: hidden;
}

/* Rotated Full-Screen Video Container */
.rotated-video-container {
    position: relative;
    width: calc(100vw - 70px); /* Full width minus left margin, no right margin */
    aspect-ratio: 16/9;
    transform: perspective(1200px) rotateX(15deg) rotateY(-10deg) rotate(3deg); /* Top-left corner perspective like ISAMS */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transition: all 0.4s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    z-index: 10;
}

.rotated-video-container:hover {
    transform: perspective(1200px) rotateX(12deg) rotateY(-8deg) rotate(2deg) translateY(-8px);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

/* Playing state - video plays within the tilted container */
.rotated-video-container.playing {
    /* Keep the same position and rotation, just hide the overlay */
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.video-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none;
    background: linear-gradient(135deg, #1192f2 0%, #0F91F2 100%);
}

.video-thumbnail:hover .video-thumbnail-image {
    transform: scale(1.02);
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s ease-in-out;
    z-index: 20; /* Above video container */
}

.video-thumbnail:hover .play-button-overlay {
    background: transparent;
}

/* Hide play button when playing */
.rotated-video-container.playing .play-button-overlay {
    display: none;
}

/* Play button with clean ISAMS-style design */
.isams-play-button {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 3px solid #1192f2;
    position: relative;
}

.isams-play-button:hover {
    transform: scale(1.1);
    background: rgba(17, 146, 242, 0.05);
    box-shadow: 0 6px 24px rgba(17, 146, 242, 0.3);
    border: 3px solid #0F91F2;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.play-icon {
    color: white;
    margin-left: 4px;
    transition: all 0.3s ease-in-out;
    z-index: 2;
    position: relative;
    width: 32px;
    height: 32px;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 15;
    display: none;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-player video::-webkit-media-controls-panel {
    background-color: rgba(17, 146, 242, 0.9);
}

.video-player video::-webkit-media-controls-play-button {
    background-color: #1192f2;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-demo-section {
        padding: 60px 0 80px 0;
        margin-top: 40px;
    }
    
    .video-demo-title {
        font-size: 0.8rem;
    }
    
    .video-demo-wrapper {
        padding: 40px 0 8px 50px; /* Maintain proportional margins */
    }
    
    .rotated-video-container {
        width: calc(100vw - 50px); /* Adjust for smaller left margin */
        transform: perspective(1200px) rotateX(12deg) rotateY(-8deg) rotate(2.5deg); /* Slightly less rotation on tablets */
    }
    
    .isams-play-button {
        width: 70px;
        height: 70px;
    }
    
    .play-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .video-demo-section {
        margin-top: 20px;
        padding: 40px 0 60px 0;
    }
    
    .video-demo-title {
        font-size: 0.75rem;
    }
    
    .video-demo-wrapper {
        padding: 30px 0 5px 30px; /* Smaller margins for mobile */
    }
    
    .rotated-video-container {
        width: calc(100vw - 30px); /* Adjust for mobile left margin */
        transform: perspective(1200px) rotateX(10deg) rotateY(-6deg) rotate(2deg); /* Less rotation on mobile */
    }
    
    .isams-play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon {
        width: 20px;
        height: 20px;
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Font Face Declaration for Gotham Pro */
@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/gothampro_light.ttf') format('truetype'),
         url('../fonts/GothamPro-Light.woff2') format('woff2'),
         url('../fonts/GothamPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/gothampro.ttf') format('truetype'),
         url('../fonts/GothamPro-Regular.woff2') format('woff2'),
         url('../fonts/GothamPro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/gothampro_medium.ttf') format('truetype'),
         url('../fonts/GothamPro-Medium.woff2') format('woff2'),
         url('../fonts/GothamPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/gothampro_bold.ttf') format('truetype'),
         url('../fonts/GothamPro-Bold.woff2') format('woff2'),
         url('../fonts/GothamPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/gothampro_black.ttf') format('truetype'),
         url('../fonts/GothamPro-Black.woff2') format('woff2'),
         url('../fonts/GothamPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gotham Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--page-gradient);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--brand-gradient);
    z-index: 9999;
    transition: width 0.3s ease;
    width: 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

header.visible {
    transform: translateY(0);
    opacity: 1;
}

.navbar {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 30px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--brand-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 145, 242, 0.3);
    background: #0a7dd4;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 86px 20px 80px;
    overflow: visible;
    background: linear-gradient(180deg, #E7F4FE 0%, #D4EBFD 30%, #E0F0FD 60%, #F0EBFD 100%);
}

/* Hero Logo */
.hero-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-logo.hidden {
    opacity: 0;
    transform: translateY(-20px);
}

.hero-logo img {
    height: 35px;
    width: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 212, 106, 0.05) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
    opacity: 0; /* Hide the main gradient */
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, -5%) rotate(120deg); }
    66% { transform: translate(5%, -5%) rotate(240deg); }
}

/* Particle canvas removed - using hero video instead */
#particleCanvas {
    display: none;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    min-height: 500px;
    width: 100%;
}

.hero-title {
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    margin-top: 60px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

.title-line:nth-child(2) { animation-delay: 0.1s; }
.title-line:nth-child(3) { animation-delay: 0.2s; }

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Text slider animation */
.text-slider {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: top;
}

.text-slide-wrapper {
    display: inline-block;
    animation: slideText 6s ease-in-out infinite;
}

.text-slide-item {
    display: block;
    height: 1.2em;
    line-height: 1.2em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideText {
    0%, 30% {
        transform: translateY(0);
    }
    33%, 63% {
        transform: translateY(-1.2em);
    }
    66%, 97% {
        transform: translateY(-2.4em);
    }
    100% {
        transform: translateY(0);
    }
}

/* Ensure title displays on 3 lines */
.title-line {
    display: block;
    white-space: nowrap;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15, 145, 242, 0.3);
    background: #0a7dd4;
}

.btn-primary svg,
.btn-secondary svg {
    transition: all 0.3s ease;
}

.btn-primary:hover svg {
    animation: btnIconBounce 0.5s ease-out;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.btn-secondary:hover svg {
    animation: btnIconBounce 0.5s ease-out;
    filter: drop-shadow(0 0 4px rgba(15, 145, 242, 0.5));
}

@keyframes btnIconBounce {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(3px) scale(1.1); }
    50% { transform: translateX(-2px) scale(1.05); }
    75% { transform: translateX(2px) scale(1.1); }
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Visual */
.hero-visual {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    position: relative;
}

/* Hero Video Styles */
.hero-video-container {
    width: 100%;
    max-width: 750px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .hero-video-container {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-video-container {
        max-width: 100%;
        padding: 0 20px;
    }
}

.mockup-device {
    position: relative;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.mockup-device:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-screen {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.mockup-header {
    background: var(--bg-secondary);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.certificate-preview {
    padding: 40px;
}

.certificate-logo {
    margin-bottom: 30px;
}

.certificate-logo img {
    height: 40px;
}

.certificate-content h3 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.certificate-content p {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.certificate-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-green);
    font-weight: 600;
    margin-bottom: 30px;
}

.status-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 212, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.issue-btn {
    width: 100%;
    padding: 16px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.issue-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.mockup-subtitle {
    text-align: center;
    margin-top: 24px;
}

.animated-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s ease;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* Trust & Stats Section - Figure 8 Animation */
.trust-stats-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* Figure 8 Showcase Container */
.figure-eight-showcase {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Statistics - Fixed Position */
.stats-center-fixed {
    position: absolute;
    z-index: 20; /* Higher z-index to always stay on top */
    text-align: center;
    pointer-events: none;
    /* Reduced white frame by 25% */
    background: white;
    padding: 42px 51px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12),
                0 10px 30px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.04);
}

.stats-number-gradient {
    font-size: clamp(42px, 5.6vw, 70px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #0F91F2 0%, #00cccc 50%, #3FEAC2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stats-subtitle-secondary {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Ring Containers */
.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Inner Ring - Smallest radius */
.orbit-inner {
    --ring-radius: 180px;
}

/* Middle Ring - Medium radius - 2x gap */
.orbit-middle {
    --ring-radius: 360px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 5%, 
        black 15%, 
        black 85%, 
        transparent 95%, 
        transparent 100%);
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 5%, 
        black 15%, 
        black 85%, 
        transparent 95%, 
        transparent 100%);
}

/* Outer Ring - Largest radius - 2x gap */
.orbit-outer {
    --ring-radius: 540px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 5%, 
        black 10%, 
        black 90%, 
        transparent 95%, 
        transparent 100%);
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 5%, 
        black 10%, 
        black 90%, 
        transparent 95%, 
        transparent 100%);
}

/* Orbit Logo Items */
.orbit-logo {
    position: absolute;
    width: 156px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
    margin-left: -78px;
    margin-top: -35px;
    transform-style: preserve-3d;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

/* Inner ring logos - 5 logos */
.orbit-inner .orbit-logo {
    animation: orbitInner 25s linear infinite;
    animation-delay: calc(var(--index) * -5s); /* 25s / 5 logos */
}

/* Middle ring logos - 13 logos */
.orbit-middle .orbit-logo {
    animation: orbitMiddle 32.5s linear infinite;
    animation-delay: calc(var(--index) * -2.5s); /* 32.5s / 13 logos */
}

/* Outer ring logos - 26 logos */
.orbit-outer .orbit-logo {
    animation: orbitOuter 65s linear infinite;
    animation-delay: calc(var(--index) * -2.5s); /* 65s / 26 logos */
}

.orbit-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

/* Circular Orbit Animations */
/* Inner ring - Clockwise */
@keyframes orbitInner {
    from {
        transform: rotate(0deg) translateX(var(--ring-radius)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(var(--ring-radius)) rotate(-360deg);
    }
}

/* Middle ring - Anti-clockwise */
@keyframes orbitMiddle {
    from {
        transform: rotate(0deg) translateX(var(--ring-radius)) rotate(0deg);
    }
    to {
        transform: rotate(-360deg) translateX(var(--ring-radius)) rotate(360deg);
    }
}

/* Outer ring - Clockwise */
@keyframes orbitOuter {
    from {
        transform: rotate(0deg) translateX(var(--ring-radius)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(var(--ring-radius)) rotate(-360deg);
    }
}

/* Logo hover effects */
.orbit-logo:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.15);
    animation: orbitLogoGlow 0.6s ease-out;
}

@keyframes orbitLogoGlow {
    0% {
        filter: grayscale(0%) brightness(1);
        box-shadow: 0 0 0 rgba(15, 145, 242, 0);
    }
    50% {
        filter: grayscale(0%) brightness(1.2);
        box-shadow: 0 0 20px rgba(15, 145, 242, 0.4);
    }
    100% {
        filter: grayscale(0%) brightness(1.1);
        box-shadow: 0 0 10px rgba(15, 145, 242, 0.2);
    }
}

/* Add shadow to logos */
.orbit-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.orbit-logo img {
    border-radius: 8px;
}

/* Remove pause on hover to ensure continuous animation */
/* .figure-eight-showcase:hover .orbit-logo {
    animation-play-state: paused;
} */

/* Responsive Design for Circular Animation */
@media (max-width: 1200px) {
    .figure-eight-showcase {
        height: 600px;
    }
    
    .orbit-inner {
        --ring-radius: 160px;
    }
    
    .orbit-middle {
        --ring-radius: 280px;
    }
    
    .orbit-outer {
        --ring-radius: 400px;
    }
    
    .orbit-logo {
        width: 90px;
        height: 40px;
        margin-left: -45px;
        margin-top: -20px;
    }
}

@media (max-width: 768px) {
    .figure-eight-showcase {
        height: 500px;
    }
    
    .stats-center-fixed {
        padding: 40px 48px;
    }
    
    .stats-number-gradient {
        font-size: clamp(48px, 10vw, 72px);
    }
    
    .stats-subtitle {
        font-size: 16px;
    }
    
    .stats-subtitle-secondary {
        font-size: 20px;
    }
    
    .orbit-inner {
        --ring-radius: 120px;
    }
    
    .orbit-middle {
        --ring-radius: 220px;
    }
    
    .orbit-outer {
        --ring-radius: 320px;
    }
    
    .orbit-logo {
        width: 70px;
        height: 35px;
        margin-left: -35px;
        margin-top: -17.5px;
    }
}

@media (max-width: 480px) {
    .figure-eight-showcase {
        height: 400px;
    }
    
    .orbit-inner {
        --ring-radius: 90px;
    }
    
    .orbit-middle {
        --ring-radius: 170px;
    }
    
    .orbit-outer {
        --ring-radius: 250px;
    }
    
    .orbit-logo {
        width: 60px;
        height: 30px;
        margin-left: -30px;
        margin-top: -15px;
    }
}

/* Impact Showcase Section */

/* Hide old logo sections when figure-8 is active */
.trust-stats-section:has(.figure-eight-showcase) .stats-with-logos,
.trust-stats-section:has(.figure-eight-showcase) .additional-logos {
    display: none !important;
}

/* New layout with logos around stats */
.stats-with-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
}

/* Left logos */
.logos-left {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
    padding-right: 40px;
}

/* Center content */
.stats-center {
    flex: 0 0 50%;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.stats-content {
    margin-bottom: 50px;
}

.stats-number {
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 900;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
}

.stats-text {
    font-size: 26px;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.4;
}

/* Bottom logos */
.logos-bottom {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

/* Right logos */
.logos-right {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding-left: 40px;
}

/* Logo items */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    min-width: 120px;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.logo-item img {
    max-width: 140px;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Floating animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.logo-item.floating {
    animation: floating 6s ease-in-out infinite;
}

/* Additional logos section */
.additional-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding: 0 40px;
}

.additional-logos .logo-item {
    flex: 0 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .logos-left,
    .logos-right {
        flex: 0 0 20%;
    }
    
    .stats-center {
        flex: 0 0 60%;
    }
    
    .logo-item img {
        max-width: 100px;
    }
}

@media (max-width: 968px) {
    .stats-with-logos {
        flex-direction: column;
        min-height: auto;
    }
    
    .logos-left,
    .logos-right {
        flex-direction: row;
        padding: 0;
        margin: 20px 0;
        justify-content: center;
        width: 100%;
    }
    
    .logos-left {
        order: 1;
    }
    
    .stats-center {
        order: 2;
        flex: 1;
        padding: 40px 20px;
    }
    
    .logos-right {
        order: 3;
    }
    
    .logos-bottom {
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .trust-stats-section {
        padding: 80px 0;
    }
    
    .logos-left,
    .logos-right {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .logo-item {
        min-width: 80px;
        height: 40px;
    }
    
    .logo-item img {
        max-width: 80px;
    }
    
    .stats-number {
        font-size: 48px;
    }
    
    .stats-text {
        font-size: 18px;
    }
    
    .logos-bottom {
        gap: 20px;
    }
    
    .additional-logos {
        gap: 15px;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .additional-logos .logo-item {
        min-width: 100px;
    }
    
    /* Disable spiral animation on mobile */
    .spiral-logo-container {
        display: none;
    }
    
    .trust-stats-section.spiral-active .logos-left,
    .trust-stats-section.spiral-active .logos-right,
    .trust-stats-section.spiral-active .logos-bottom,
    .trust-stats-section.spiral-active .additional-logos {
        display: flex !important;
    }
}

/* Spiral Logo Animation */
.spiral-logo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.spiral-logo {
    position: absolute;
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transition: none;
    pointer-events: none;
}

.spiral-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease;
}

/* Add glow effect on larger logos */
.spiral-logo {
    filter: drop-shadow(0 0 10px rgba(17, 146, 242, 0.3));
}

/* Ensure stats center is above spiral logos */
.stats-center {
    position: relative;
    z-index: 2;
}

/* Hide original logos when spiral is active */
.trust-stats-section.spiral-active .logos-left,
.trust-stats-section.spiral-active .logos-right,
.trust-stats-section.spiral-active .logos-bottom,
.trust-stats-section.spiral-active .additional-logos {
    display: none !important;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Interactive Product Demo Section */
.product-showcase {
    padding: 20px 40px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFEFF 100%);
}

.showcase-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto 60px;
}

/* Feature Carousel */
.feature-carousel {
    flex: 0 0 320px;
    background: #1a1a1a;
    border-radius: 24px;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.carousel-window {
    height: 420px;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.5s ease;
}

.feature-slide {
    background: #1a1a1a;
    color: white;
    padding: 32px;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 100%;
    opacity: 0.5;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.feature-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-slide:hover:not(.active) {
    opacity: 0.7;
    transform: translateY(10px) scale(0.95);
}

.slide-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.slide-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.feature-slide[data-feature="issue"] .slide-icon {
    background: #0F91F2;
}

.feature-slide[data-feature="verify"] .slide-icon {
    background: rgba(255, 255, 255, 0.1);
}

.feature-slide[data-feature="share"] .slide-icon {
    background: #3FEAC2;
}

.feature-slide[data-feature="manage"] .slide-icon {
    background: #ff006e;
}

.feature-slide h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-slide p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Status Display */
.status-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.status-pill-animated {
    position: relative;
    display: inline-block;
}

.pill-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #3FEAC2;
    border-radius: 50px;
    opacity: 0;
}

.ring-1 {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    animation: ringPulse 2s ease-out infinite;
}

.ring-2 {
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    animation: ringPulse 2s ease-out infinite 0.3s;
}

.ring-3 {
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    animation: ringPulse 2s ease-out infinite 0.6s;
}

@keyframes ringPulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.pill-content {
    background: #3FEAC2;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 106, 0.3);
}

.pill-content:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 212, 106, 0.4);
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    animation: iconRotate 3s linear infinite;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pill-icon svg {
    width: 16px;
    height: 16px;
    stroke: white;
    stroke-width: 2.5;
    animation: iconPulse 1s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pill-text {
    transition: opacity 0.3s ease;
}

/* Different pill colors based on state */
.status-pill-animated[data-status="issuing"] .pill-content {
    background: #0F91F2;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.status-pill-animated[data-status="issuing"] .ring {
    border-color: #0F91F2;
}

.status-pill-animated[data-status="verifying"] .pill-content {
    background: #3FEAC2;
    box-shadow: 0 4px 20px rgba(0, 212, 106, 0.3);
}

.status-pill-animated[data-status="verifying"] .ring {
    border-color: #3FEAC2;
}

.status-pill-animated[data-status="sharing"] .pill-content {
    background: #ff006e;
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.3);
}

.status-pill-animated[data-status="sharing"] .ring {
    border-color: #ff006e;
}

.status-pill-animated[data-status="managing"] .pill-content {
    background: #6C3AEA;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.status-pill-animated[data-status="managing"] .ring {
    border-color: #6C3AEA;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 56px;
    width: 2px;
    height: calc(100% - 24px);
    background: #e0e0e0;
}

.step.completed::after {
    background: #0F91F2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step.completed .step-icon {
    background: #0F91F2;
    border-color: #0F91F2;
    color: white;
}

.step.active .step-icon {
    border-color: #0F91F2;
    color: #0F91F2;
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }
}

.step-label {
    font-weight: 600;
    color: #333;
}

.step-time {
    font-size: 14px;
    color: #999;
}

/* Info Cards */
.info-cards {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.speed-display {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.speed-dots {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.dot {
    width: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    animation: dotGlow 1.5s ease-in-out infinite;
}

.dot.blue {
    height: 24px;
    background: #0F91F2;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.dot.yellow {
    height: 16px;
    background: #ffc107;
    animation: dotPulse 1.5s ease-in-out infinite 0.2s;
}

.dot.red {
    height: 8px;
    background: #ff5252;
    animation: dotPulse 1.5s ease-in-out infinite 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.8;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 1;
    }
}

@keyframes dotGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.speed-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Remove old dark feature card styles as we're using the carousel now */

/* Center Display */
.display-content {
    position: relative;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.status-pill span {
    transition: opacity 0.3s ease;
}

.status-pill.green {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.credential-visual {
    margin-bottom: 40px;
}

.credential-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.credential-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.verified-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.credential-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.credential-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    transition: opacity 0.3s ease;
}

.credential-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.credential-meta span {
    transition: opacity 0.3s ease;
}

/* Process Timeline */
.process-timeline {
    position: relative;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 32px;
    width: 2px;
    height: 40px;
    background: var(--border-color);
}

.timeline-step.completed::after {
    background: #2e7d32;
}

.step-circle {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.timeline-step.completed .step-circle {
    background: #2e7d32;
    border-color: #2e7d32;
    color: white;
}

.timeline-step.active .step-circle {
    border-color: #0F91F2;
    color: #0F91F2;
}

.step-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

/* Side Benefits */
.benefit-block {
    margin-bottom: 40px;
}

.benefit-block h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-block p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.speed-visual {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.speed-graph {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 8px;
}

.graph-dot {
    width: 8px;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.graph-dot.blue {
    background: #0F91F2;
    height: 20px;
    animation: graphPulse 2s ease-in-out infinite;
}

.graph-dot.yellow {
    background: #ffc107;
    height: 12px;
    animation: graphPulse 2s ease-in-out infinite 0.3s;
}

.graph-dot.red {
    background: #ff5252;
    height: 8px;
    animation: graphPulse 2s ease-in-out infinite 0.6s;
}

@keyframes graphPulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.speed-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Bottom Features */
.bottom-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.bottom-feature {
    text-align: center;
}

.bottom-feature h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bottom-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.emoji-group {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.emoji-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.emoji-circle.purple {
    background: #e1bee7;
}

.emoji-circle.green {
    background: #c8e6c9;
}

.emoji-circle.blue {
    background: #bbdefb;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card.active {
    background: var(--text-primary);
    color: white;
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card.active .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.feature-card.active .card-icon svg {
    stroke: white;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card.active .card-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Demo Container */
.demo-container {
    position: relative;
}

.demo-screen {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    height: 600px;
    position: relative;
}

.demo-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: none;
}

.demo-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.demo-badge {
    display: inline-block;
    background: var(--brand-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Issue Demo */
.credential-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.form-field input {
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.demo-action-btn {
    padding: 16px 32px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.demo-action-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

/* Verify Demo */
.verification-process {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.verify-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.verify-step.completed {
    background: rgba(0, 212, 106, 0.1);
    color: var(--brand-green);
}

.verify-step.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--brand-blue);
}

.step-icon {
    font-size: 20px;
}

.verify-result {
    text-align: center;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.result-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    color: white;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.verify-result h4 {
    font-size: 24px;
    margin-bottom: 8px;
}

.verify-result p {
    color: var(--text-secondary);
}

/* Share Demo */
.share-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.share-method {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.share-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.share-method h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.share-method p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.method-btn {
    padding: 12px 24px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

/* Dashboard Demo */
.dashboard-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dash-stat {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.dash-stat h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.dash-stat p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.speed-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    width: fit-content;
}

.speed-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.speed-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Feature Benefits */
.feature-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-benefits .benefit-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-benefits .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-benefits .benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-benefits .benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 20px 40px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FCFFFE 100%);
    min-height: calc(100vh - 80px); /* Full viewport minus header */
    display: flex;
    align-items: center;
}

/* Animated Title for How It Works */
.animated-title-wrapper {
    position: relative;
    display: inline-block;
}

.animated-text-1,
.animated-text-2 {
    display: inline-block;
    animation: fadeInOut 6s ease-in-out infinite;
}

.animated-text-1 {
    color: #ef4444;
}

.animated-text-2 {
    color: #0F91F2;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    animation-delay: 3s;
}

@keyframes fadeInOut {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.how-it-works .container {
    width: 100%;
}

.how-it-works .section-header {
    margin-bottom: 40px;
}

.how-it-works .section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.how-it-works .section-subtitle {
    font-size: 18px;
    max-width: 800px;
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Video Side */
.video-side {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.01);
}



.play-button {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: playPulse 2s ease-in-out infinite;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

/* Process Side */
.process-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--brand-gradient);
    color: white;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.process-side .btn {
    align-self: flex-start;
    margin-top: 4px;
    padding: 14px 28px;
    font-size: 15px;
}

/* Remove old timeline styles */
.process-timeline,
.timeline-item,
.timeline-connector {
    display: none;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    color: white;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    max-width: 250px;
    margin: 0 auto;
}

.timeline-connector {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.cta-center {
    text-align: center;
}

/* Consistent Section Title Styling - Like Testimonials */
.section-title-styled {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    background: linear-gradient(135deg, #0F91F2 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0F91F2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
    text-align: center;
    display: block;
    position: relative;
}

/* Add decorative line after styled titles */
.section-header:has(.section-title-styled)::after,
.section-container:has(.section-title-styled)::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0F91F2 0%, #0284c7 100%);
    border-radius: 2px;
}

/* Blockchain Title Effects - Version 1 (Original) */
.blockchain-title {
    position: relative;
    overflow: visible;
    margin-bottom: 80px !important;
}

/* Blockchain Title Effects - Version 2 (New Alternative) */
.blockchain-title-v2 {
    position: relative;
    overflow: visible;
    margin-bottom: 80px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Blockchain Title with Transition Effect */
.blockchain-title-transition {
    position: relative;
    overflow: visible;
    margin-bottom: 80px !important;
    text-align: center;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-line-1, .title-line-2 {
    position: absolute;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.title-line-1 {
    animation: title-sequence-1 8s ease-in-out infinite;
}

.title-line-2 {
    opacity: 0;
    animation: title-sequence-2 8s ease-in-out infinite;
}

@keyframes title-sequence-1 {
    0%, 40% {
        opacity: 1;
        transform: translateY(0);
    }
    50%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes title-sequence-2 {
    0%, 40% {
        opacity: 0;
        transform: translateY(20px);
    }
    50%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Apply word animations to transition version */
.blockchain-title-transition .word-blockchain {
    animation: data-encrypt 4s ease-in-out infinite, fade-in-word 0.6s ease-out;
}

.blockchain-title-transition .word-secured {
    animation: lock-pulse 3s ease-in-out infinite, fade-in-word 0.8s ease-out;
    animation-delay: 0.5s, 0.2s;
}

.blockchain-title-transition .word-academic {
    animation: chain-link 3.5s ease-in-out infinite, fade-in-word 0.6s ease-out;
    animation-delay: 1s, 0s;
}

.blockchain-title-transition .word-credentials {
    animation: verify-stamp 4s ease-in-out infinite, fade-in-word 0.8s ease-out;
    animation-delay: 1.5s, 0.2s;
}

@keyframes fade-in-word {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced data stream for transition */
.blockchain-title-transition .blockchain-data-stream::before {
    content: 'BLOCKCHAIN SECURED';
    font-size: 12px;
    letter-spacing: 3px;
    animation: data-flow 8s linear infinite;
}

.blockchain-title-transition .blockchain-data-stream::after {
    content: 'ACADEMIC CREDENTIALS';
    font-size: 12px;
    letter-spacing: 3px;
    animation: data-flow 8s linear infinite;
    animation-delay: -4s;
}

.blockchain-title-v2 span {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Individual word animations */
.word-blockchain {
    animation: data-encrypt 4s ease-in-out infinite;
}

.word-secured {
    animation: lock-pulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.word-academic {
    animation: chain-link 3.5s ease-in-out infinite;
    animation-delay: 1s;
}

.word-credentials {
    animation: verify-stamp 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes data-encrypt {
    0%, 100% {
        filter: hue-rotate(0deg);
        transform: translateY(0);
    }
    25% {
        filter: hue-rotate(180deg);
        transform: translateY(-5px);
    }
    50% {
        filter: hue-rotate(360deg);
        transform: translateY(0);
    }
}

@keyframes lock-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
        text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    }
}

@keyframes chain-link {
    0%, 100% {
        transform: skewX(0deg);
    }
    25% {
        transform: skewX(-5deg);
    }
    75% {
        transform: skewX(5deg);
    }
}

@keyframes verify-stamp {
    0%, 90%, 100% {
        transform: scale(1) rotate(0deg);
    }
    95% {
        transform: scale(1.1) rotate(-5deg);
    }
}

/* Circuit board effects */
.blockchain-circuit-left,
.blockchain-circuit-right {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0F91F2, transparent);
    opacity: 0;
    animation: circuit-flow 3s ease-in-out infinite;
}

.blockchain-circuit-left {
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
}

.blockchain-circuit-right {
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

@keyframes circuit-flow {
    0%, 100% {
        opacity: 0;
        width: 0;
    }
    50% {
        opacity: 1;
        width: 200px;
    }
}

/* Data stream effect */
.blockchain-data-stream {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
    overflow: hidden;
}

.blockchain-data-stream::before,
.blockchain-data-stream::after {
    content: '01001101 01100001 01110100 01110010 01101001 01111000';
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(0, 102, 255, 0.1);
    white-space: nowrap;
    animation: data-flow 10s linear infinite;
}

.blockchain-data-stream::after {
    top: 20px;
    animation-delay: -5s;
    animation-direction: reverse;
}

@keyframes data-flow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Hover effects */
.blockchain-title-v2:hover span {
    animation-play-state: paused;
}

.blockchain-title-v2 span:hover {
    transform: scale(1.1);
    color: #0F91F2 !important;
    text-shadow: 
        0 0 20px rgba(0, 102, 255, 0.5),
        0 0 40px rgba(0, 102, 255, 0.3),
        0 0 60px rgba(0, 102, 255, 0.1);
}

/* Blockchain connection lines */
.blockchain-title-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 48%, rgba(0, 102, 255, 0.1) 49%, rgba(0, 102, 255, 0.1) 51%, transparent 52%);
    background-size: 100px 100%;
    animation: connection-pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes connection-pulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Blockchain Title Effects - Version 3 (Block Letters) */
.blockchain-title-v3 {
    position: relative;
    overflow: visible;
    margin-bottom: 80px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.block-letter {
    font-size: 1.2em;
    font-weight: 900;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: linear-gradient(135deg, #0F91F2 0%, #0052d4 100%);
    color: white !important;
    border-radius: 8px;
    position: relative;
    animation: block-float 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    margin-right: -8px;
}

.block-letter:nth-child(1) { animation-delay: 0s; }
.block-letter:nth-child(3) { animation-delay: 0.5s; }
.block-letter:nth-child(5) { animation-delay: 1s; }
.block-letter:nth-child(7) { animation-delay: 1.5s; }

@keyframes block-float {
    0%, 100% {
        transform: translateY(0) rotateZ(0deg);
    }
    50% {
        transform: translateY(-10px) rotateZ(5deg);
    }
}

.block-rest {
    margin-right: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.blockchain-title-v3:hover .block-rest {
    opacity: 1;
    color: #0F91F2 !important;
}

.blockchain-title-v3:hover .block-letter {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Blockchain SVG Path */
.blockchain-svg {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    width: 100%;
    height: 40px;
    opacity: 0.3;
}

.chain-path {
    fill: none;
    stroke: #0F91F2;
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-chain 3s ease-in-out infinite;
}

@keyframes draw-chain {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -1000;
        opacity: 0;
    }
}

/* Blockchain cube effect on hover */
.block-letter::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0F91F2, #00d4ff, #0F91F2);
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradient-shift 3s ease-in-out infinite;
}

.block-letter:hover::before {
    opacity: 1;
}

@keyframes gradient-shift {
    0%, 100% {
        background: linear-gradient(45deg, #0F91F2, #00d4ff, #0F91F2);
    }
    50% {
        background: linear-gradient(225deg, #0F91F2, #00d4ff, #0F91F2);
    }
}

.blockchain-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    animation: blockchain-glow 3s ease-in-out infinite;
}

@keyframes blockchain-glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
        text-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
    }
}

.blockchain-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150px;
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
}

.blockchain-network::before,
.blockchain-network::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0, 102, 255, 0.1) 50px, rgba(0, 102, 255, 0.1) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(0, 102, 255, 0.1) 50px, rgba(0, 102, 255, 0.1) 51px);
    animation: blockchain-grid 10s linear infinite;
}

.blockchain-network::after {
    animation-delay: -5s;
    opacity: 0.5;
}

@keyframes blockchain-grid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(51px, 51px);
    }
}

/* Blockchain nodes */
.blockchain-title::before,
.blockchain-title::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #0F91F2;
    border-radius: 50%;
    opacity: 0;
    animation: blockchain-node 3s ease-in-out infinite;
}

.blockchain-title::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blockchain-title::after {
    top: 80%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes blockchain-node {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    }
}

/* Additional blockchain particles */
.blockchain-text::before,
.blockchain-text::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #0F91F2;
    border-radius: 50%;
    opacity: 0;
    animation: blockchain-particle 4s linear infinite;
}

.blockchain-text::before {
    top: -20px;
    left: 20%;
    animation-delay: 0.5s;
}

.blockchain-text::after {
    bottom: -20px;
    right: 30%;
    animation-delay: 2s;
}

@keyframes blockchain-particle {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateX(-20px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateX(20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(40px) scale(0);
    }
}

/* Benefits Section - Professional Design */
.benefits-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #E8F4FD 0%, #F0E8FD 50%, #E8FDF8 100%);
    position: relative;
}

.benefits-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.benefits-section .section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: #0F91F2;
    letter-spacing: -0.02em;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Benefits Container */
.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Benefit Item - Card Style */
.benefit-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px 18px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.benefit-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.15);
    border-color: #0F91F2;
}

/* Benefit Icon Wrapper */
.benefit-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon-wrapper {
    transform: scale(1.05);
}

.benefit-icon {
    width: 100%;
    height: 100%;
}

.benefit-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Benefit Title */
.benefit-item .benefit-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.benefit-item:hover .benefit-title {
    color: var(--brand-blue);
}

/* Benefit Description */
.benefit-description {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    max-width: 100%;
    transition: color 0.3s ease;
}

.benefit-item:hover .benefit-description {
    color: #475569;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .benefits-section {
        padding: 50px 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .benefit-item {
        padding: 18px 16px;
    }

    .benefit-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }

    .benefit-item .benefit-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .benefit-description {
        font-size: 13px;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .benefits-section {
        padding: 40px 0;
    }

    .benefits-container {
        padding: 0 16px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .benefit-item {
        padding: 16px 12px;
    }

    .benefit-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .benefit-item .benefit-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .benefit-description {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* MOHESR Partnership Section */
.mohesr-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-purple) 100%);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.mohesr-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    transform: rotate(-30deg);
}

.mohesr-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(63, 234, 194, 0.15) 0%, transparent 60%);
    transform: rotate(30deg);
}

/* Container */
.mohesr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Content wrapper */
.mohesr-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Left side - Text content */
.mohesr-left {
    color: white;
}

/* Badge */
.mohesr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: #3FEAC2;
}

/* Title */
.mohesr-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Description */
.mohesr-description {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 480px;
}

/* CTA Button */
.mohesr-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #0993fa;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 32px;
    border: 2px solid transparent;
}

.mohesr-cta:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(9, 147, 250, 0.2);
    border-color: #0993fa;
}

.mohesr-cta svg {
    transition: transform 0.3s ease;
}

.mohesr-cta:hover svg {
    transform: translateX(4px);
}

/* Stats */
.mohesr-stats {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1.1;
}

.stat-label {
    font-size: 10px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.1;
}

.stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
}

/* Right side - Image */
.mohesr-right {
    position: relative;
}

.mohesr-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-height: 320px;
}

.image-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: #3FEAC2;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(30px);
}

.mohesr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo overlay */
.mohesr-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    transform: none;
    background: white;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mohesr-logo img {
    height: 40px;
    width: auto;
}

/* Responsive */
@media (max-width: 968px) {
    .mohesr-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .mohesr-left {
        order: 2;
    }
    
    .mohesr-right {
        order: 1;
    }
    
    .mohesr-title {
        font-size: 28px;
    }
    
    .mohesr-description {
        font-size: 16px;
        margin: 0 auto 24px;
    }
    
    .mohesr-stats {
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .mohesr-logo {
        position: static;
        transform: none;
        margin: 0 auto 20px;
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .mohesr-section {
        padding: 40px 0;
    }
    
    .mohesr-title {
        font-size: 24px;
    }
    
    .mohesr-description {
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .mohesr-logo {
        position: absolute;
        top: 15px;
        left: 15px;
        transform: scale(0.85);
        padding: 8px 14px;
    }
    
    .mohesr-logo img {
        height: 35px;
    }
}

.timeline-step span {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 968px) {
    .benefits-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefit-item {
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .benefits-header {
        margin-bottom: 48px;
    }
    
    .benefits-header .benefits-title {
        font-size: 32px;
    }
    
    .benefits-subtitle {
        font-size: 16px;
    }
    
    .benefit-stat {
        font-size: 36px;
    }
    
    .benefit-title {
        font-size: 20px;
    }
    
    .benefit-item {
        padding: 24px;
    }
}

/* Old Benefits Section - Keep existing styles for other sections */
.benefit-card-large {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.benefit-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 102, 255, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 255, 0.2);
}

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

.benefit-card-large:hover .benefit-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Old benefit-icon-wrapper for benefit-card-large - scoped to avoid conflicts */
.benefit-card-large .benefit-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-card-large:hover .icon-bg {
    transform: rotate(10deg) scale(1.1);
}

.benefit-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 36px;
    transition: all 0.3s ease;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.benefit-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Make sure benefits are visible */
.benefit-card-large {
    opacity: 1 !important;
    transform: none !important;
}

/* Academic Institutions Section */
.academic-institutions-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFFFD 100%);
    position: relative;
    overflow: hidden;
}

.academic-institutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 145, 242, 0.2), transparent);
}

.academic-institutions-section .section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #0F91F2 0%, #3FEAC2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.institutions-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0.7;
}

/* Removed carousel-btn::before for cleaner design */

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.25);
    opacity: 1;
}

.carousel-btn:hover svg {
    color: #0F91F2;
    animation: carouselArrowPulse 0.4s ease-out;
}

@keyframes carouselArrowPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-prev:hover svg {
    animation: carouselArrowLeft 0.4s ease-out;
}

@keyframes carouselArrowLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
}

.carousel-btn-next {
    right: -24px;
}

.carousel-btn-next:hover svg {
    animation: carouselArrowRight 0.4s ease-out;
}

@keyframes carouselArrowRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.carousel-btn svg {
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: all 0.3s ease;
}

.institutions-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 580px;
}

.institution-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 255, 0.05);
}

.institution-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.institution-card.active .institution-header {
    animation: slideInFromRight 0.6s ease-out;
}

.institution-card.active .institution-highlight {
    animation: none;
}

.institution-card.active .overview-item {
    animation: slideInFromRight 0.6s ease-out;
    animation-fill-mode: both;
}

.institution-card.active .overview-item:nth-child(1) {
    animation-delay: 0.2s;
}

.institution-card.active .overview-item:nth-child(2) {
    animation-delay: 0.3s;
}

.institution-card.active .overview-item:nth-child(3) {
    animation-delay: 0.4s;
}

.institution-card.active .overview-item:nth-child(4) {
    animation-delay: 0.5s;
}

.institution-card.active .institution-visual {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.institution-header {
    display: flex !important;
    align-items: center !important;
    gap: 0;
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
    flex-wrap: nowrap !important;
    min-height: 80px;
    flex-direction: row !important;
}

.institution-card .institution-header .institution-logo,
.institution-logo {
    height: 70px !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    display: inline-block !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: middle;
    flex-shrink: 0;
}

.institution-name {
    font-size: 20px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.institution-highlight {
    background: linear-gradient(135deg, #0F91F2 0%, #3FEAC2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25);
    position: relative;
    overflow: hidden;
    flex: 1;
    margin-left: 24px;
    display: inline-block;
}

.institution-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.institution-card.active .institution-highlight::before {
    left: 100%;
    transition: left 1.5s ease-in-out;
}

.highlight-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.institution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.institution-overview h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.overview-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.overview-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.overview-item:hover {
    background: rgba(0, 102, 255, 0.03);
    transform: translateX(8px);
}

.overview-icon {
    width: 40px;
    height: 40px;
    background: #e8f5ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.overview-icon svg {
    width: 20px;
    height: 20px;
    color: #1192f2;
}

.overview-item:hover .overview-icon {
    background: linear-gradient(135deg, #0F91F2, #3FEAC2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.overview-item:hover .overview-icon svg {
    color: white;
    transform: scale(1.1);
}

.overview-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.overview-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.institution-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: start;
}

.institution-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.institution-visual:hover .institution-image {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.integration-results {
    background: linear-gradient(135deg, #0F91F2 0%, #6C3AEA 100%);
    border-radius: 0 0 16px 16px;
    padding: 24px 28px;
    position: relative;
    margin-top: 0;
    color: white;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.integration-results:hover {
    background: linear-gradient(135deg, #6C3AEA 0%, #003D99 100%);
}

.results-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.results-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.integration-results h5 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.integration-results h5::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    margin-left: 8px;
}

.integration-results p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.98);
    margin: 0;
    position: relative;
    padding-left: 28px;
}

.integration-results p::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.integration-results strong {
    color: white;
    font-weight: 700;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--brand-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .showcase-layout {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .showcase-main,
    .showcase-display,
    .showcase-benefits {
        max-width: 100%;
        width: 100%;
    }

    .showcase-main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .bottom-features {
        grid-template-columns: 1fr;
    }

    .showcase-main {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card-large {
        padding: 32px;
    }

    .benefit-card-large .benefit-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    /* Institution card mobile adjustments */
    .institution-card {
        padding: 32px;
    }
    
    .institution-header {
        flex-direction: row !important;
        text-align: left;
        gap: 20px;
        flex-wrap: nowrap !important;
    }
    
    .institution-card .institution-header .institution-logo,
    .institution-logo {
        height: 50px !important;
        width: auto !important;
        max-width: none !important;
        max-height: none !important;
        background: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: inline-block;
        vertical-align: middle;
    }
    
    .institution-name {
        font-size: 18px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
        display: inline-block !important;
    }
    
    .institution-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .institution-highlight {
        padding: 10px 16px;
        font-size: 14px;
        margin-left: 16px !important;
        min-height: 50px !important;
    }
    
    .institutions-wrapper {
        height: auto;
        min-height: 650px;
    }

    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .video-side {
        order: 2;
    }

    .process-side {
        order: 1;
    }

    .process-step {
        padding: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 15px;
    }
    
    .trust-stats-section {
        padding: 60px 0;
    }
    
    .stats-number {
        font-size: 48px;
    }
    
    .stats-text {
        font-size: 18px;
    }
    
    .trust-logos {
        gap: 40px;
    }
    
    /* Split Section Mobile */
    .split-container {
        flex-direction: column;
    }
    
    .split-left,
    .split-right {
        flex: 1 1 100%;
        padding: 40px 20px;
    }
    
    .split-left {
        min-height: 300px;
    }
    
    .split-right {
        min-height: 250px;
    }
}

/* Split Section Layout */

/* ========== DESIGN OPTIONS ========== */
/* Uncomment the design you want to use */

/* OPTION 1: DIAGONAL SPLIT DESIGN */
/*
.split-section {
    position: relative;
    overflow: hidden;
}

.split-container {
    display: flex;
    min-height: 400px;
    position: relative;
}

.split-left {
    flex: 0 0 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.split-right {
    flex: 0 0 67%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 60px;
    margin-left: -5%;
    position: relative;
}
*/

/* OPTION 2: FLOATING CARD DESIGN (Active) */
.split-section {
    background: linear-gradient(135deg, #0F91F2 0%, #6C3AEA 100%);
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

.split-container {
    display: flex;
    min-height: 400px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.split-left {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: -50px;
    z-index: 2;
}

.split-right {
    flex: 0 0 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 60px 60px 100px;
}

.integrates-part {
    background: white !important;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 50px;
}

/* OPTION 3: CIRCLE CUTOUT DESIGN */
/*
.split-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F91F2 0%, #6C3AEA 100%);
}

.split-container {
    min-height: 500px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.split-left {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: white;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.split-right {
    padding: 60px 60px 60px 500px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.integrates-part {
    background: transparent !important;
}
*/

.split-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.integrates-part .split-content {
    max-width: 400px;
}

.platform-cta-part .split-content {
    max-width: 700px;
}

/* Integrates Part (Left) */
.integrates-part {
    background: #f8fafc;
}

.integrates-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #64748b;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.integrates-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    justify-items: center;
}

.integrate-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 100%;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.integrate-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.integrate-logo img {
    max-height: 100%;
    max-width: 120px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Special styling for specific logos */
.integrate-logo:has(img[alt="Blackboard"]) img {
    max-height: 40px;
}

.integrate-logo:has(img[alt="DigiLocker"]) img {
    max-height: 45px;
}

/* Pagination dots */
.integrates-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.integrates-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.integrates-dots .dot.active {
    background: #0F91F2;
    width: 20px;
    border-radius: 3px;
}

/* Platform CTA Part (Right) */
.platform-cta-part {
    background: linear-gradient(135deg, #0F91F2 0%, #6C3AEA 100%);
    position: relative;
}

.platform-cta-part::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: rotate(-30deg);
    pointer-events: none;
}

.platform-cta-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: white;
    margin-bottom: 35px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.platform-cta-btn {
    background: white;
    color: #0993fa;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-cta-btn:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(9, 147, 250, 0.2);
    border-color: #0993fa;
}

.platform-cta-btn svg {
    transition: transform 0.3s ease;
    animation: ctaArrowBob 2s ease-in-out infinite;
}

@keyframes ctaArrowBob {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.platform-cta-btn:hover svg {
    animation: ctaArrowShoot 0.4s ease-out forwards;
}

@keyframes ctaArrowShoot {
    0% { transform: translateX(0); }
    50% { transform: translateX(8px); }
    100% { transform: translateX(4px); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .split-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .split-left,
    .split-right {
        padding: 50px 30px;
    }
    
    .integrates-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .platform-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .split-left,
    .split-right {
        padding: 40px 20px;
    }
    
    .integrates-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .integrates-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .integrate-logo img {
        max-width: 80px;
    }
    
    .platform-cta-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .platform-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual Section with Gradient Overlay */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(0, 212, 106, 0.06) 0%, transparent 60%);
    animation: gradientShift 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* Creative Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin-top: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
    border-radius: 50px;
    filter: blur(20px);
    animation: glowPulse 2s ease-in-out infinite;
}

.shield-icon {
    color: #3FEAC2;
    width: 20px;
    height: 20px;
    animation: shieldRotate 4s ease-in-out infinite;
}

.security-badge .animated-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #3FEAC2 0%, #0F91F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes shieldRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.1);
    }
    75% {
        transform: rotate(5deg) scale(1.1);
    }
}

/* Alternative placement option - floating corner badge */
.blockchain-corner-badge {
    position: absolute;
    top: 20px;
    right: -60px;
    background: linear-gradient(135deg, #3FEAC2 0%, #0F91F2 100%);
    color: white;
    padding: 8px 60px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}
EOF < /dev/null

/* New Explore Educhain Section Styles */
.product-showcase {
    background-color: #fafafa;
    padding: 80px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #1a1a1a;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 15px;
}

/* Credential Interface */
.credential-interface {
    background: #000;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: floatCredential 6s ease-in-out infinite;
}

@keyframes floatCredential {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.credential-action {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0.6;
}

.credential-action.active {
    background: #2a2a2a;
    transform: translateX(4px);
    opacity: 1;
}

.credential-action:last-child {
    margin-bottom: 0;
}

.credential-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.credential-action.active::before {
    left: 100%;
    animation: sweep 2s linear infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
}

.action-icon.animating::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: iconPulse 1.5s ease-out infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.university-icon { background: #4A90E2; color: white; }
.student-icon { background: #5CC85C; color: white; }
.employer-icon { background: #FFB84D; color: white; }
.storage-icon { background: #E85C9A; color: white; }

.action-content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.action-content p {
    color: #999;
    font-size: 14px;
    line-height: 1.4;
}

/* Processing Badge - Subtle Design */
.processing-wrapper {
    display: inline-block;
    position: relative;
    margin: 0 auto 40px;
}

.processing-badge {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.processing-badge:hover {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

.process-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.processing-badge {
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
    50% {
        box-shadow: 0 0 20px 2px rgba(74, 144, 226, 0.15);
    }
}

/* Credential Journey */
.credential-journey {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(15, 145, 242, 0.08);
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.credential-journey h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 28px;
    position: relative;
    padding-left: 16px;
    display: inline-block;
}

.credential-journey h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #0F91F2, #3FEAC2);
    border-radius: 2px;
    animation: barPulse 2s ease-in-out infinite;
}

@keyframes barPulse {
    0%, 100% {
        opacity: 1;
        height: 24px;
    }
    50% {
        opacity: 0.7;
        height: 28px;
    }
}

.credential-journey h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 16px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0F91F2, #3FEAC2);
    border-radius: 1px;
    animation: underlineExpand 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes underlineExpand {
    to {
        width: 100%;
    }
}

.journey-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    animation: journeySlideIn 0.6s ease-out forwards;
    padding: 16px;
    border-radius: 16px;
    background: transparent;
}

.journey-item:hover {
    background: rgba(15, 145, 242, 0.04);
    transform: translateX(8px);
}

.journey-item:last-child {
    margin-bottom: 0;
}

.journey-item:nth-child(2) { animation-delay: 0.15s; }
.journey-item:nth-child(3) { animation-delay: 0.3s; }
.journey-item:nth-child(4) { animation-delay: 0.45s; }

.journey-item::after {
    content: '';
    position: absolute;
    left: 38px;
    top: 60px;
    width: 3px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, #0F91F2, #3FEAC2);
    opacity: 0;
    border-radius: 2px;
    animation: lineGrow 0.8s ease-out forwards;
    animation-delay: var(--line-delay);
}

.journey-item:nth-child(2)::after { --line-delay: 0.8s; }
.journey-item:nth-child(3)::after { --line-delay: 1.2s; }
.journey-item:last-child::after { display: none; }

@keyframes lineGrow {
    to { opacity: 0.6; }
}

@keyframes journeySlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.journey-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(15, 145, 242, 0.1), rgba(63, 234, 194, 0.1));
    color: #0F91F2;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(15, 145, 242, 0.2);
    animation: numberFloat 3s ease-in-out infinite;
}

.journey-item:nth-child(2) .journey-number { animation-delay: 0.5s; }
.journey-item:nth-child(3) .journey-number { animation-delay: 1s; }
.journey-item:nth-child(4) .journey-number { animation-delay: 1.5s; }

@keyframes numberFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.journey-number span {
    transition: transform 0.3s ease;
}

.journey-item:hover .journey-number {
    background: linear-gradient(135deg, #0F91F2, #3FEAC2);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(15, 145, 242, 0.3);
}

.journey-number.active {
    background: linear-gradient(135deg, #0F91F2, #3FEAC2);
    color: white;
    border-color: transparent;
    animation: numberPulse 0.6s ease-out;
}

@keyframes numberPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.journey-content {
    flex: 1;
}

.journey-content h4 {
    color: #0f172a;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.journey-content h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0F91F2, #3FEAC2);
    border-radius: 1px;
    transition: width 0.4s ease;
}

.journey-item:hover .journey-content h4 {
    color: #0F91F2;
}

.journey-item:hover .journey-content h4::after {
    width: 100%;
}

.journey-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Impact Statistics */
.impact-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 24px;
    padding: 40px 30px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.impact-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    animation: ripple 15s linear infinite;
}

@keyframes ripple {
    0% { transform: scale(0.8) rotate(0deg); }
    100% { transform: scale(1.2) rotate(360deg); }
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.impact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    padding: 32px 28px;
    border-radius: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(15, 145, 242, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.impact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0F91F2, #3FEAC2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.impact-item:hover::before {
    opacity: 1;
}

.impact-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 24px 64px rgba(15, 145, 242, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.impact-metric {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(90deg, #0F91F2, #3FEAC2, #0F91F2);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    animation: gradientShimmer 3s ease-in-out infinite;
}

@keyframes gradientShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.impact-item:hover .impact-metric {
    animation: gradientShimmer 1.5s ease-in-out infinite, metricPulse 0.4s ease-out;
}

@keyframes metricPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.impact-label {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.impact-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.comparison-item {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    padding: 6px 14px;
    background: rgba(15, 145, 242, 0.08);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.impact-item:hover .comparison-item {
    background: rgba(15, 145, 242, 0.12);
    color: #0F91F2;
}

.comparison-arrow {
    color: #3FEAC2;
    font-size: 18px;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.impact-item:hover .comparison-arrow {
    animation: arrowBounce 0.8s ease-in-out infinite;
}

/* Institution Logos */
.institution-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    opacity: 0.8;
}

.institution-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
    padding: 10px;
    animation: fadeInLogo 1s ease-out forwards;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.institution-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 145, 242, 0.15);
    border-color: rgba(15, 145, 242, 0.2);
}

.institution-logo:nth-child(1) { animation-delay: 0.2s; }
.institution-logo:nth-child(2) { animation-delay: 0.4s; }
.institution-logo:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInLogo {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Feature Card - Glassmorphism */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #4A90E2, #5CC85C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .main-heading {
        font-size: 2rem;
        margin-bottom: 60px;
    }
    
    .institution-logos {
        gap: 20px;
    }
}
EOF < /dev/null

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #0F91F2;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: #fff;
    margin-top: 100px;
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 60px;
}

/* Newsletter */
.footer-newsletter h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 24px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 0 0 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #0F91F2;
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-form button {
    padding: 12px 20px;
    background: #0F91F2;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #0284c7;
}

.newsletter-form button svg {
    color: white;
}

.newsletter-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.newsletter-note a {
    color: #0F91F2;
    text-decoration: none;
}

.newsletter-note a:hover {
    text-decoration: underline;
}

/* Footer Columns */
.footer-column h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 16px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #0F91F2;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-location h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.contact-location p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    background: #000;
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    text-align: center;
    justify-self: center;
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0F91F2;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #0F91F2;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:nth-child(1) svg { animation: iconBob 3s ease-in-out infinite; animation-delay: 0s; }
.footer-social a:nth-child(2) svg { animation: iconBob 3s ease-in-out infinite; animation-delay: 0.3s; }
.footer-social a:nth-child(3) svg { animation: iconBob 3s ease-in-out infinite; animation-delay: 0.6s; }

.footer-social a:hover svg {
    animation: iconRubberBand 0.5s ease-out;
    transform: scale(1.2);
}

.footer-legal-links {
    display: flex;
    gap: 30px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 10.5px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #0F91F2;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        order: 2;
    }
    
    .footer-logo {
        order: 1;
    }
    
    .footer-social {
        justify-content: center;
        order: 3;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===========================
   Animated Credential Styles
   =========================== */

/* Animated credential container */
.animated-credential-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 500px; /* Fixed height to prevent layout shifts */
    margin: 0 auto;
    transform: scale(0.85); /* Reduce overall size by 15% total */
    transform-origin: top center;
    overflow: visible; /* Allow animations to extend outside */
    box-sizing: border-box;
}

/* Blockchain network animation background */
.blockchain-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.network-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1192f2;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.network-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1192f2, transparent);
    animation: dataFlow 3s linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* Processing steps */
.processing-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Reduced gap */
    z-index: 5;
    height: auto; /* Changed from fixed height */
    justify-content: center;
    margin-right: 20px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.3;
    transition: all 0.5s ease;
    white-space: nowrap;
}

.step-indicator.active {
    opacity: 1;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1192f2;
    position: relative;
}

.step-indicator.active .step-dot {
    box-shadow: 0 0 0 4px rgba(17, 146, 242, 0.2);
    animation: stepPulse 1s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.step-label {
    font-size: 11px; /* Smaller font */
    color: #939597;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-connector {
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: 20px;
    background: #e0e0e0;
}

.step-indicator.completed .step-connector {
    background: #1192f2;
    transition: background 0.5s ease;
}

/* Data packets */
.data-packet {
    position: absolute;
    width: 40px;
    height: 24px;
    background: linear-gradient(135deg, #1192f2, #4ade80);
    border-radius: 4px;
    opacity: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(17, 146, 242, 0.4);
}

@keyframes dataTransfer {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(var(--end-x), var(--end-y)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--end-x), var(--end-y)) scale(0.5);
    }
}

/* Credential Card */
.credential-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s ease;
    border: 1px solid #e8f5ff;
    z-index: 10;
    margin-top: -40px; /* Further reduce gap at top */
}

.credential-card:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.credential-card.processing {
    animation: cardProcessing 2s ease-in-out;
}

@keyframes cardProcessing {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) scale(1); }
    50% { transform: perspective(1000px) rotateY(0deg) scale(1.02); }
}

/* Credential Header */
.credential-header {
    background: linear-gradient(135deg, #0F91F2 0%, #004cc7 50%, #003b9e 100%);
    padding: 32px 24px 28px;
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.credential-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.credential-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatPattern 8s ease-in-out infinite;
}

@keyframes floatPattern {
    0%, 100% { transform: translate(0, -50px) scale(1); }
    50% { transform: translate(-50px, 0) scale(1.2); }
}

.header-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.institution-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Removed conflicting institution-logo styles */

/* Force all institution headers to display inline */
.institution-card .institution-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
}

.institution-card .institution-header .institution-highlight {
    margin-bottom: 0 !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-height: 70px !important;
}

.institution-card .institution-header > * {
    display: inline-block !important;
    vertical-align: middle !important;
    float: none !important;
}

.institution-card .institution-header h3.institution-name {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
}

.institution-card .institution-header img.institution-logo {
    float: none !important;
    display: inline-block !important;
    margin-right: 24px !important;
}

/* Absolute positioning fallback for stubborn layouts */
@media screen and (min-width: 768px) {
    .institution-card .institution-header {
        position: relative !important;
        height: 70px !important;
    }
    
    .institution-card .institution-header .institution-logo {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .institution-card .institution-header .institution-name {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        line-height: 70px !important;
    }
}

.institution-logo.updating {
    animation: logoRotate 0.6s ease;
}

@keyframes logoRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

/* Institution Logo in Credential Card */
.credential-card .institution-logo {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #0F91F2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.credential-card .institution-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.credential-card .institution-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    padding: 8px;
}

.institution-details {
    flex: 1;
}

/* Removed duplicate institution-name styles */

.institution-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.program-name {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 6px;
    font-style: italic;
    letter-spacing: 0.3px;
}

.institution-location {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.institution-location::before {
    content: '📍';
    font-size: 12px;
    opacity: 0.8;
}

.certificate-type {
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Decorative golden accent line */
.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffd700 20%, 
        #ffed4e 50%, 
        #ffd700 80%, 
        transparent 100%);
    border-radius: 16px 16px 0 0;
    z-index: 10;
}

/* Credential Body */
.credential-body {
    padding: 24px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.student-info {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
}

.student-name {
    font-size: 24px;
    font-weight: 700;
    color: #003b7a;
    margin-bottom: 6px;
    transition: opacity 0.3s ease;
}

.student-name.changing {
    opacity: 0;
}

.student-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #939597;
}

.credential-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.detail-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1192f2;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.detail-item.updating::before {
    transform: scaleY(1);
}

.detail-item.processing {
    background: linear-gradient(90deg, #f8f9fa 0%, #e8f5ff 50%, #f8f9fa 100%);
    background-size: 200% 100%;
    animation: processingGlow 2s linear infinite;
}

@keyframes processingGlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.detail-label {
    font-size: 11px;
    color: #939597;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #003b7a;
    transition: opacity 0.3s ease;
}

.detail-value.changing {
    opacity: 0;
}

/* Achievement badges */
.achievements {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 32px; /* Reserve space for badges */
}

.achievement-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #003b7a;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: badgeFadeIn 0.5s ease forwards;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* External info */
.external-info {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    min-height: 180px; /* Prevent height changes */
    align-items: flex-start;
    max-width: 100%;
    box-sizing: border-box;
}

.external-content-wrapper {
    flex: 1;
    display: grid;
    gap: 16px;
    max-width: 100%;
    box-sizing: border-box;
}

.hash-display {
    background: #f8f9fa;
    border: 1px dashed #e8f5ff;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.hash-display.generating {
    animation: hashGeneration 2s ease;
}

@keyframes hashGeneration {
    0%, 100% { background: #f8f9fa; }
    50% { background: #e8f5ff; }
}

.hash-label {
    font-size: 11px;
    color: #939597;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chain-icon {
    width: 14px;
    height: 14px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hash-value {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #003b7a;
    word-break: break-all;
    line-height: 1.4;
    position: relative;
}

.hash-value.generating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(17, 146, 242, 0.1), transparent);
    animation: hashScan 1s linear infinite;
}

@keyframes hashScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.verify-section {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid #e8f5ff;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qr-code.scanning {
    box-shadow: 0 0 20px rgba(17, 146, 242, 0.4);
    animation: qrPulse 1s ease-in-out;
}

@keyframes qrPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: 
        linear-gradient(45deg, #003b7a 25%, transparent 25%),
        linear-gradient(-45deg, #003b7a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #003b7a 75%),
        linear-gradient(-45deg, transparent 75%, #003b7a 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
    opacity: 0.8;
    position: relative;
}

.qr-corners {
    position: absolute;
    inset: 6px;
    border: 2px solid #003b7a;
    border-radius: 2px;
}

.qr-label {
    font-size: 11px;
    color: #939597;
    text-align: center;
}

.verify-content {
    flex: 1;
    position: relative;
}

.verify-button {
    width: 100%;
    background: #1192f2;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.verify-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.verify-button:hover::before {
    left: 100%;
}

.verify-button:hover {
    background: #0c7dd6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 146, 242, 0.3);
}

.verify-button.verifying {
    background: rgba(147, 149, 151, 0.08);
    color: #999;
    pointer-events: none;
    border: 1px solid rgba(147, 149, 151, 0.15);
}

.verify-button.verified {
    background: #4ade80;
}

/* Verification Progress */
.verification-progress {
    height: 40px;
    background: rgba(248, 249, 250, 0.15);
    border-radius: 6px;
    padding: 8px;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 59, 122, 0.05);
}

.verification-progress.active {
    display: flex;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(232, 245, 255, 0.15), rgba(17, 146, 242, 0.15));
    width: 0;
    transition: width 0.5s ease;
    opacity: 0.3;
}

.progress-icon {
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.progress-text {
    position: relative;
    z-index: 1;
}

/* Status message */
.status-message {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #939597;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.activity-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

/* Credential mouse pointer */
.credential-mouse-pointer {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 10;
    animation: credentialMouseClick 3s ease-in-out infinite;
    animation-delay: 1s;
}

.credential-mouse-pointer svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes credentialMouseClick {
    0% {
        transform: translate(60px, 60px) scale(1);
        opacity: 0;
    }
    20% {
        transform: translate(30px, 30px) scale(1);
        opacity: 1;
    }
    40% {
        transform: translate(5px, 5px) scale(1);
    }
    50% {
        transform: translate(0, 0) scale(1);
    }
    60% {
        transform: translate(0, 0) scale(0.95);
    }
    70% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

/* Verified shield badge */
.verified-shield {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid #10b981;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 30;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.verified-shield.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.verified-shield svg {
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Processing notification */
.processing-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(17, 146, 242, 0.24);
    color: #1192f2;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(17, 146, 242, 0.1);
    border: 1px solid rgba(17, 146, 242, 0.3);
}

.processing-notification.show {
    animation: notificationPop 2s ease;
}

@keyframes notificationPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .processing-steps {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .external-info {
        flex-direction: column;
    }
    
    .external-content-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        top: 20px;
        left: 20px;
    }
    
    .hero-logo img {
        height: 30px;
    }
    
    .animated-credential-container {
        max-width: 100%;
    }
    
    .credential-card {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .credential-card:hover {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .external-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .credential-header {
        padding: 20px;
    }
    
    .institution-logo {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .certificate-title {
        font-size: 18px;
    }
    
    .credential-body {
        padding: 20px;
    }
    
    .student-name {
        font-size: 20px;
    }
    
    .credential-details {
        grid-template-columns: 1fr;
    }
}
EOF < /dev/null

/* ========== Applied Header Styles from Showcase ========== */

/* Style 25: Dynamic Hash Flow with Tech Grid + Gradient */
.header-style-25 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(90deg, #0F91F2, #3FEAC2, #0F91F2);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    position: relative;
    padding: 20px 0;
    margin: 20px 0;
    display: block;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tech Grid background for the wrapper */
.style-25-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 35%;
    height: 80px;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0, 102, 255, 0.08) 20px, rgba(0, 102, 255, 0.08) 21px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0, 102, 255, 0.08) 20px, rgba(0, 102, 255, 0.08) 21px);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.style-25-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.style-25-wrapper .corner-hash {
    position: absolute;
    font-size: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 400;
    z-index: 2;
    opacity: 0.5;
    display: none; /* Temporarily hidden to fix layout */
}

.style-25-wrapper .corner-hash.top-left {
    top: 25%;
    left: 0;
    color: #0F91F2;
}

.style-25-wrapper .corner-hash.top-right {
    top: 25%;
    left: 34%;
    color: #3FEAC2;
}

.style-25-wrapper .corner-hash.bottom-left {
    bottom: 25%;
    left: 0;
    color: #ff6b6b;
}

.style-25-wrapper .corner-hash.bottom-right {
    bottom: 25%;
    left: 34%;
    color: #4ecdc4;
}

.style-25-wrapper .hash-flow {
    position: absolute;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    opacity: 0;
    animation: hashFlowGrid 8s linear infinite;
    white-space: nowrap;
    color: #555555;
    z-index: 2;
    font-weight: 600;
    display: none; /* Temporarily hidden to fix layout */
}

.style-25-wrapper .hash-flow:nth-child(5) {
    top: 45%;
    transform: translateY(-50%);
    left: -300px;
    animation-delay: 0s;
}

.style-25-wrapper .hash-flow:nth-child(6) {
    top: 55%;
    transform: translateY(-50%);
    left: -300px;
    animation-delay: 4s;
}

@keyframes hashFlowGrid {
    0% {
        transform: translateX(0) translateY(-50%);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    45% {
        opacity: 0.7;
    }
    50% {
        transform: translateX(400px) translateY(-50%);
        opacity: 0;
    }
    100% {
        transform: translateX(400px) translateY(-50%);
        opacity: 0;
    }
}

/* Style 15: Cryptographic Hash */
.header-style-15 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    position: relative;
}

.hash-decoration {
    font-size: 12px;
    font-family: 'Courier New', monospace;
    color: #0F91F2;
    opacity: 0.5;
    position: absolute;
    letter-spacing: 2px;
}

.hash-decoration.top {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.hash-decoration.bottom {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Style 5: Tech Grid Pattern */
.header-style-5 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding: 40px 0;
    color: #1a1a1a;
}

.header-style-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(0, 102, 255, 0.15) 35px, rgba(0, 102, 255, 0.15) 36px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(0, 102, 255, 0.15) 35px, rgba(0, 102, 255, 0.15) 36px);
    z-index: -1;
}

/* Style 3: Modern Minimalist */
.header-style-3 {
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.header-style-3 .highlight {
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.header-style-3 .highlight::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    right: -10px;
    height: 40%;
    background: rgba(0, 212, 106, 0.2);
    z-index: -1;
    transform: skewX(-5deg);
}

/* Responsive adjustments for header styles */
@media (max-width: 768px) {
    .header-style-25,
    .header-style-15,
    .header-style-5,
    .header-style-3 {
        font-size: 28px;
    }
    
    .style-25-wrapper::before {
        width: 50%;
        height: 60px;
    }
    
    .style-25-wrapper .corner-hash {
        font-size: 6px;
    }
    
    .style-25-wrapper .hash-flow {
        font-size: 8px;
    }
}
EOF < /dev/null

/* Additional fixes for Style 25 */
h1.header-style-25,
h2.header-style-25 {
    line-height: 1.2;
    margin: 0;
    padding: 10px 0;
}

.style-25-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

/* Ensure gradient text works properly */
.header-style-25 {
    -webkit-text-fill-color: transparent \!important;
    background-clip: text \!important;
    -webkit-background-clip: text \!important;
}
EOF < /dev/null

/* Force gradient text for Style 25 - Override all other styles */
.header-style-25,
h1.header-style-25,
h2.header-style-25,
h3.header-style-25,
.style-25-wrapper h1,
.style-25-wrapper h2 {
    background: linear-gradient(90deg, #0F91F2, #3FEAC2, #0F91F2) \!important;
    background-size: 200% auto \!important;
    -webkit-background-clip: text \!important;
    background-clip: text \!important;
    -webkit-text-fill-color: transparent \!important;
    color: transparent \!important;
    animation: gradientShift 3s ease infinite \!important;
    text-align: center \!important;
    font-weight: 700 \!important;
    line-height: 1.2 \!important;
    display: block \!important;
    width: 100% \!important;
}

/* Remove any text decorations that might interfere */
.header-style-25::before,
.header-style-25::after {
    display: none \!important;
}

/* Ensure the wrapper doesn't interfere with text styling */
.style-25-wrapper {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0;
}
EOF < /dev/null

/* Simplified Style 25 that works */
.gradient-text-header {
    font-size: 42px \!important;
    font-weight: 700 \!important;
    text-align: center \!important;
    background: linear-gradient(90deg, #0F91F2, #3FEAC2, #0F91F2) \!important;
    background-size: 200% \!important;
    -webkit-background-clip: text \!important;
    background-clip: text \!important;
    -webkit-text-fill-color: transparent \!important;
    animation: gradientMove 3s ease-in-out infinite \!important;
    display: block \!important;
    margin: 20px 0 \!important;
    line-height: 1.2 \!important;
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* Grid background for style 25 */
.tech-grid-bg {
    position: relative;
    padding: 30px 0;
}

.tech-grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 25px, rgba(0, 102, 255, 0.08) 25px, rgba(0, 102, 255, 0.08) 26px),
        repeating-linear-gradient(90deg, transparent, transparent 25px, rgba(0, 102, 255, 0.08) 25px, rgba(0, 102, 255, 0.08) 26px);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

/* Professional Gradient Dropdown Navigation Styles */
.nav-item {
    position: relative;
    display: inline-block;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    background: linear-gradient(135deg, #0EA5E9 0%, #3B82F6 30%, #1E40AF 70%, #1E3A8A 100%);
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.5), 0 15px 35px rgba(30, 58, 138, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.4);
}

.dropdown-icon-wrapper svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.dropdown-item:hover .dropdown-icon-wrapper svg {
    stroke: white;
    transform: scale(1.1);
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    color: white;
}

.dropdown-desc {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-item:hover .dropdown-desc {
    opacity: 1;
}

/* Mobile responsive dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: auto;
        width: 100%;
        margin-top: 0;
        background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
        border-radius: 12px;
        margin-bottom: 8px;
    }
    
    .dropdown-item {
        padding: 12px 16px;
    }
    
    .dropdown-icon-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .dropdown-title {
        font-size: 14px;
    }
    
    .dropdown-desc {
        font-size: 12px;
    }
}

/* ========================================
   CHEDS SECTION STYLES
   ======================================== */

.cheds-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #E8F4FD 0%, #F0E8FD 50%, #E8FDF8 100%);
    position: relative;
    overflow: hidden;
}

.cheds-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.cheds-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cheds-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(15, 145, 242, 0.1) 0%, rgba(63, 234, 194, 0.1) 100%);
    border: 1px solid rgba(15, 145, 242, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #0F91F2;
    width: fit-content;
    letter-spacing: 0.02em;
}

.cheds-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cheds-description {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
}

.cheds-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.cheds-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #334155;
    font-weight: 500;
}

.cheds-feature-icon {
    width: 24px;
    height: 24px;
    color: #0F91F2;
    flex-shrink: 0;
}

.cheds-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0F91F2 0%, #3FEAC2 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(15, 145, 242, 0.3);
    margin-top: 8px;
}

.cheds-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(15, 145, 242, 0.4);
}

.cheds-cta svg {
    transition: transform 0.3s ease;
}

.cheds-cta:hover svg {
    transform: translateX(4px);
}

/* CHEDS Dashboard Image */
.cheds-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cheds-dashboard-image {
    width: 100%;
    max-width: 420px;
    height: auto;
}

/* CHEDS Section Responsive */
@media (max-width: 1024px) {
    .cheds-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cheds-visual {
        order: -1;
    }

    .cheds-dashboard-preview {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .cheds-section {
        padding: 60px 0;
    }

    .cheds-title {
        font-size: 28px;
    }

    .cheds-description {
        font-size: 16px;
    }

    .cheds-cta {
        width: 100%;
        justify-content: center;
    }

    .dashboard-stat-row {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cheds-dashboard-preview {
        max-width: 100%;
    }

    .dashboard-content {
        padding: 16px;
    }

    .dashboard-chart {
        height: 80px;
    }
}
