/* ===================================
   YALLA-HACK CYBERSECURITY THEME
   Ultra-Modern Purple Theme with Advanced Effects
   
   This CSS file contains all styling for the Yalla-Hack website:
   - Color scheme and CSS variables
   - Layout and typography
   - Interactive elements and animations
   - Responsive design
   - Hacker-themed visual effects
   - Pattern background system
   =================================== */

/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
    /* Primary brand colors - Purple theme for cybersecurity */
    --primary-red: #9359EC;
    /* Main purple brand color */
    --dark-red: #5528F4;
    /* Darker purple for accents */
    --neon-red: #9359EC;
    /* Neon purple for highlights */
    --glow-red: #ff1744;
    /* Red glow for special effects */

    /* Background colors - Dark theme */
    --bg-black: #040F61;
    /* Primary dark background */
    --bg-dark: #040F61;
    /* Secondary dark background */
    --bg-darker: #040F61;
    /* Darkest background variant */
}

/* ===================================
   GLOBAL IMAGE CONSTRAINTS
   =================================== */
/* Prevent images from becoming oversized on deployment */
img {
    max-width: 100%;
    height: auto;
}

/* Override for specific logo classes with their own sizing */
.featured-logo,
.featured-logo img,
.cert-logo,
.cert-logo img,
.featured-logo-small,
.featured-logo-large,
.cert-logo-white {
    max-width: none;
}

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */

/* Universal reset for consistent cross-browser styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main body styling with gradient background */
body {
    font-family: 'Inter', sans-serif;
    /* Modern, clean font */
    font-size: 16px;
    /* Base font size */
    background: linear-gradient(135deg, #5528F4 0%, #040F61 100%);
    /* Purple gradient background */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    color: #ffffff;
    /* White text for contrast */
    min-height: 100vh;
    /* Full viewport height */
    width: 100%;
    /* Full width */
    margin: 0;
    padding: 0;
}

/* Simplified Chinese typography support */
body.zh-cn {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'SimHei', sans-serif;
    letter-spacing: 0.02em;
    /* Slightly increased spacing for better readability */
    line-height: 1.8;
    /* Increased line height for Chinese characters */
}

body.zh-cn h1,
body.zh-cn h2,
body.zh-cn h3,
body.zh-cn h4,
body.zh-cn h5,
body.zh-cn h6 {
    font-weight: 600;
    /* Optimal weight for Chinese headers */
    letter-spacing: 0.05em;
    line-height: 1.6;
}

body.zh-cn h1 {
    font-size: 2.8em;
}

body.zh-cn h2 {
    font-size: 2.2em;
}

body.zh-cn h3 {
    font-size: 1.8em;
}

body.zh-cn p,
body.zh-cn li,
body.zh-cn span {
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: 1.05em;
}

/* Mobile adjustments for Chinese text */
@media (max-width: 768px) {
    body.zh-cn h1 {
        font-size: 2em;
        line-height: 1.4;
    }

    body.zh-cn h2 {
        font-size: 1.6em;
        line-height: 1.5;
    }

    body.zh-cn h3 {
        font-size: 1.3em;
        line-height: 1.5;
    }

    body.zh-cn p,
    body.zh-cn li,
    body.zh-cn span {
        font-size: 1em;
        line-height: 1.7;
    }
}

/* HTML element styling */
html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* ===================================
   DYNAMIC PATTERN BACKGROUND SYSTEM
   =================================== 
   
   This system creates static pattern overlays throughout the website
   to give it a "hack feeling" with cybersecurity-themed visual elements.
   All patterns are static (no animations) for better performance.
   =================================== */

/* Pattern animations removed - all patterns are now static */

/* Container for pattern overlays - positioned absolutely to cover sections */
.dynamic-pattern-container {
    position: absolute;
    /* Absolute positioning for overlay effect */
    top: 0;
    /* Start from top of parent */
    left: 0;
    /* Start from left of parent */
    width: 100%;
    /* Full width of parent */
    height: 100%;
    /* Full height of parent */
    overflow: hidden;
    /* Hide any overflow */
    pointer-events: none;
    /* Allow clicks to pass through */
    z-index: 0;
    /* Behind content but above background */
}

/* Individual pattern styling - subtle overlay effect */
.dynamic-pattern {
    position: absolute;
    /* Absolute positioning for precise placement */
    opacity: 0.15;
    /* Low opacity for subtle effect */
    pointer-events: none;
    /* Allow clicks to pass through */
    filter: blur(0.5px);
    /* Slight blur for soft appearance */
    transition: all 0.3s ease;
    /* Smooth transitions */
    z-index: 1;
    /* Above container, below content */
}

/* Hover effect for patterns (subtle interaction) */
.dynamic-pattern:hover {
    opacity: 0.15;
    /* Maintain opacity on hover */
    filter: blur(0px);
    /* Remove blur on hover */
}

/* Pattern animation classes removed - all patterns are static */

/* ===================================
   PATTERN POSITIONING CLASSES
   =================================== 
   
   These classes provide predefined positions for pattern placement
   to create random-looking but controlled distribution across sections.
   =================================== */

/* Random positioning classes - 10 different positions for variety */
.pattern-pos-1 {
    top: 10%;
    left: 15%;
}

/* Top-left area */
.pattern-pos-2 {
    top: 20%;
    right: 20%;
}

/* Top-right area */
.pattern-pos-3 {
    bottom: 30%;
    left: 10%;
}

/* Bottom-left area */
.pattern-pos-4 {
    bottom: 15%;
    right: 15%;
}

/* Bottom-right area */
.pattern-pos-5 {
    top: 50%;
    left: 50%;
}

/* Center area */
.pattern-pos-6 {
    top: 70%;
    left: 25%;
}

/* Lower-left area */
.pattern-pos-7 {
    top: 40%;
    right: 10%;
}

/* Mid-right area */
.pattern-pos-8 {
    bottom: 40%;
    left: 30%;
}

/* Lower-mid area */
.pattern-pos-9 {
    top: 15%;
    left: 60%;
}

/* Upper-mid area */
.pattern-pos-10 {
    bottom: 60%;
    right: 30%;
}

/* Lower-right area */

/* ===================================
   PATTERN SIZE VARIATIONS
   =================================== 
   
   Different sizes create visual hierarchy and depth in the pattern system.
   =================================== */

/* Size variations for visual variety */
.pattern-size-small {
    width: 200px;
    height: 100px;
}

/* Small patterns */
.pattern-size-medium {
    width: 300px;
    height: 150px;
}

/* Medium patterns */
.pattern-size-large {
    width: 400px;
    height: 200px;
}

/* Large patterns */
.pattern-size-xl {
    width: 500px;
    height: 250px;
}

/* Extra large patterns */

/* ===================================
   PATTERN VISUAL EFFECTS
   =================================== */

/* Hacker-themed pattern effects for cybersecurity aesthetic */
.dynamic-pattern {
    mix-blend-mode: screen;
    /* Screen blend for bright effect */
    filter: hue-rotate(0deg) saturate(1.2) contrast(1.1);
    /* Enhanced colors */
}

/* Alternate pattern styling for visual variety */
.dynamic-pattern:nth-child(odd) {
    filter: hue-rotate(60deg) saturate(1.5) contrast(1.2);
    /* Yellow-tinted patterns */
}

.dynamic-pattern:nth-child(even) {
    filter: hue-rotate(120deg) saturate(0.8) contrast(0.9);
    /* Green-tinted patterns */
}

/* Special glitch effect for cybersecurity theme */
.pattern-animate-glitch {
    filter: hue-rotate(0deg) saturate(2) contrast(1.5) brightness(1.2);
    /* High contrast glitch */
}

/* ===================================
   RESPONSIVE PATTERN ADJUSTMENTS
   =================================== 
   
   Patterns scale down on smaller screens to maintain performance
   and visual balance across all device sizes.
   =================================== */

/* Tablet and smaller desktop adjustments */
@media (max-width: 768px) {
    .pattern-size-small {
        width: 150px;
        height: 75px;
    }

    /* Reduced small patterns */
    .pattern-size-medium {
        width: 200px;
        height: 100px;
    }

    /* Reduced medium patterns */
    .pattern-size-large {
        width: 250px;
        height: 125px;
    }

    /* Reduced large patterns */
    .pattern-size-xl {
        width: 300px;
        height: 150px;
    }

    /* Reduced extra large patterns */

    .dynamic-pattern {
        opacity: 0.06 !important;
        /* Much lower opacity on mobile for performance */
    }
}

/* Mobile phone adjustments */
@media (max-width: 480px) {
    .pattern-size-small {
        width: 100px;
        height: 50px;
    }

    /* Minimal small patterns */
    .pattern-size-medium {
        width: 120px;
        height: 60px;
    }

    /* Minimal medium patterns */
    .pattern-size-large {
        width: 150px;
        height: 75px;
    }

    /* Minimal large patterns */
    .pattern-size-xl {
        width: 180px;
        height: 90px;
    }

    /* Minimal extra large patterns */
}

/* ===================================
   HERO DECORATIVE IMAGES
   =================================== 
   
   Decorative floating images in the hero section that add visual interest
   and cybersecurity-themed elements to the main landing area.
   =================================== */

/* Left side decorative image positioning */
.hero-decorative-left {
    position: absolute;
    /* Absolute positioning for precise placement */
    bottom: 200px;
    /* 200px from bottom of hero section */
    left: 20px;
    /* 20px from left edge */
    z-index: 2;
    /* Above patterns, below main content */
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* Right side decorative image positioning */
.hero-decorative-right {
    position: absolute;
    /* Absolute positioning for precise placement */
    top: 100px;
    /* 100px from top of hero section */
    right: 20px;
    /* 20px from right edge */
    z-index: 2;
    /* Above patterns, below main content */
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* Base styling for all decorative images */
.decorative-image {
    width: 60px;
    /* Standard size for desktop */
    height: 60px;
    /* Square aspect ratio */
    opacity: 0.7;
    /* Subtle transparency */
    filter: drop-shadow(0 0 10px rgba(147, 89, 236, 0.3));
    /* Purple glow effect */
    transition: all 0.3s ease;
    /* Smooth hover transitions */
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* Float animation removed - decorative images are now static */


/* Responsive sizing for decorative images */
@media (max-width: 1024px) {
    .decorative-image {
        width: 50px;
        height: 50px;
    }

    .hero-decorative-left {
        bottom: 150px;
        left: 15px;
    }

    .hero-decorative-right {
        top: 80px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .decorative-image {
        width: 40px;
        height: 40px;
    }

    .hero-decorative-left {
        bottom: 120px;
        left: 10px;
    }

    .hero-decorative-right {
        top: 70px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .decorative-image {
        width: 30px;
        height: 30px;
    }

    .hero-decorative-left {
        bottom: 100px;
        left: 8px;
    }

    .hero-decorative-right {
        top: 60px;
        right: 8px;
    }
}

/* ===================================
   MISSION IMAGE INTERACTIVE
   =================================== */

.mission-image-interactive {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.05));
    transition: all 0.3s ease;
    border-radius: 20px;
    background: transparent;
    backdrop-filter: none;
}

.mission-image-interactive:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.05));
}

/* Responsive sizing for mission image - same as other images */
@media (max-width: 1200px) {
    .mission-image-interactive {
        max-width: 500px;
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .mission-image-interactive {
        max-width: 400px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .mission-image-interactive {
        max-width: 350px;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .mission-image-interactive {
        max-width: 300px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .mission-image-interactive {
        max-width: 250px;
        padding: 6px;
    }
}

@media (max-width: 360px) {
    .mission-image-interactive {
        max-width: 200px;
        padding: 4px;
    }
}

/* Hide images on phone screens */
@media (max-width: 768px) {

    /* Hide hero section image */
    .hero-image-container {
        display: none !important;
    }

    /* Hide mission section image */
    .mission-image-container {
        display: none !important;
    }

    /* Hide advantages section image */
    .why-choose-image-container {
        display: none !important;
    }

    /* Adjust grid layouts for mobile */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .mission-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .why-choose-header {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
}

/* Additional mobile hide for hero image */
@media (max-width: 480px) {
    .hero-image-container {
        display: none !important;
    }

    .mission-image-container {
        display: none !important;
    }

    .why-choose-image-container {
        display: none !important;
    }
}

/* ===================================
   ADVANTAGES IMAGE INTERACTIVE
   =================================== */

.advantages-image-interactive {
    width: 100%;
    height: auto;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.05));
    transition: all 0.3s ease;
    border-radius: 20px;
    background: transparent;
    backdrop-filter: none;
}

.advantages-image-interactive:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.05));
}

/* Responsive sizing for advantages image */
@media (max-width: 1200px) {
    .advantages-image-interactive {
        max-width: 400px;
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .advantages-image-interactive {
        max-width: 350px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .advantages-image-interactive {
        max-width: 300px;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .advantages-image-interactive {
        max-width: 250px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .advantages-image-interactive {
        max-width: 200px;
        padding: 6px;
    }
}

@media (max-width: 360px) {
    .advantages-image-interactive {
        max-width: 180px;
        padding: 4px;
    }
}

/* ===================================
   QUIZ SECTION STYLING
   =================================== */

.modern-card {
    background: linear-gradient(135deg, #673AB7 0%, #5E35B1 50%, #673AB7 100%);
    border: 1px solid rgba(103, 58, 183, 0.3);
    box-shadow: 0 8px 32px rgba(103, 58, 183, 0.2);
}

/* Quiz section specific styling */
.section-darker .modern-card {
    background: linear-gradient(135deg, #673AB7 0%, #5E35B1 50%, #673AB7 100%);
    border: 1px solid rgba(103, 58, 183, 0.3);
    box-shadow: 0 8px 32px rgba(103, 58, 183, 0.2);
}

/* Proof badges styling */
.proof-badge {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 42, 74, 0.5) 0%, rgba(45, 58, 90, 0.5) 50%, rgba(30, 42, 74, 0.5) 100%) !important;
    border: 1px solid rgba(0, 247, 255, 0.3) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 247, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.proof-badge p {
    margin: 0;
}

/* Badge logo styling */
.proof-badge-logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* PayPal logo styling */
.proof-badge-logo-paypal {
    display: flex;
    align-items: center;
}

html[dir="rtl"] .proof-badge-logo-paypal {
    flex-direction: row-reverse;
}

.paypal-svg-logo {
    height: 40px;
    width: auto;
    filter:
        drop-shadow(-1px -1px 0 white) drop-shadow(1px -1px 0 white) drop-shadow(-1px 1px 0 white) drop-shadow(1px 1px 0 white);
    transition: all 0.3s ease;
}

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

/* Anonymous logo styling */
.proof-badge-logo-anonymous {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    text-shadow: none;
    display: inline-block;
}

/* PayPal text styling in content - white with glow */
.paypal-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
}

.paypal-text .paypal-pay {
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(255, 255, 255, 0.2);
}

.paypal-text .paypal-pal {
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(255, 255, 255, 0.2);
}

/* Number highlighting - clean white styling */
.highlight-number {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15em;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Cases card number styling */
.cases-grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cases-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100%;
    height: 100%;
    width: 100%;
}

.cases-card h3 {
    flex-shrink: 0;
    margin-bottom: 1rem !important;
}

.cases-card p {
    flex-shrink: 0;
    margin-bottom: 1rem !important;
}

.cases-result {
    margin-top: auto !important;
    min-height: 80px;
    flex-shrink: 0;
    width: 100%;
}

/* Ensure all result sections align at the bottom */
.cases-card .cases-result {
    align-self: flex-end;
    width: 100%;
}

.modern-card h3 {
    color: #ffffff !important;
}

.modern-card p {
    color: #ffffff !important;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.quiz-option p {
    color: #ffffff !important;
}

.quiz-option .w-6.h-6 {
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Quiz transitions and states */
.quiz-question {
    transition: all 0.5s ease-in-out;
}

.quiz-question.hidden {
    display: none;
}

.quiz-option.correct {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.6) !important;
}

.quiz-option.incorrect {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
}

.quiz-option.correct .w-6.h-6 {
    background: #22c55e !important;
    border-color: #22c55e !important;
}

.quiz-option.incorrect .w-6.h-6 {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* ===================================
   TESTIMONIAL AVATARS STYLING
   =================================== */

.testimonial-avatar {
    background: linear-gradient(135deg, #00F7FF 0%, #01FF7F 100%);
    color: #000000;
    font-weight: 700;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 247, 255, 0.3);
    transition: all 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 247, 255, 0.4);
}

/* ===================================
   FOOTER SUBMIT BUTTON CENTERING
   =================================== */

footer button[type="submit"] {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   CONTAINER FIXES
   =================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

/* ===================================
   GLOBAL BACKGROUND DECOR
   =================================== */

.site-global-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.global-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(147, 89, 236, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 89, 236, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    /* Grid animation removed */
}

.global-binary-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom,
            rgba(147, 89, 236, 0.04) 0px,
            rgba(147, 89, 236, 0.04) 1px,
            transparent 2px,
            transparent 6px);
    /* Binary animation removed */
}

.global-waves {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.global-red-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(147, 89, 236, 0.12) 0%, transparent 70%);
    /* Wave animation removed */
}

.global-red-wave:nth-child(2) {
    animation-delay: -10s;
    animation-duration: 70s;
}

.global-red-wave:nth-child(3) {
    animation-delay: -20s;
    animation-duration: 80s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
}

/* ===================================
   TEXT TRANSITION EFFECT
   =================================== */

.text-transition {
    position: relative;
    height: 1.2em;
    overflow: hidden;
    display: block;
}

.transition-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    color: #ffffff;
    font-weight: 700;
    text-shadow:
        -1px -1px 0 #5CE5F8,
        1px 1px 0 #FF00FF;
    animation: glitch 2s infinite;
}

.transition-text::before,
.transition-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
}

.transition-text::before {
    color: #5CE5F8;
    z-index: -1;
    transform: translate(-1px, -1px);
    opacity: 0.8;
}

.transition-text::after {
    color: #FF00FF;
    z-index: -2;
    transform: translate(1px, 1px);
    opacity: 0.8;
}

.transition-text.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
}

.transition-text.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.transition-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   AWARD BADGE - HERO SECTION
   =================================== */

.award-badge {
    background: rgba(0, 247, 152, 0.08);
    border: 1px solid rgba(0, 247, 152, 0.25);
    padding: 4px 10px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.award-badge-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.award-badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;
    line-height: 1.2;
    white-space: nowrap;
}

/* ===================================
   SCROLL PERFORMANCE OPTIMIZATION
   =================================== */

body.is-scrolling .red-wave,
body.is-scrolling .grid-overlay,
body.is-scrolling .decorative-image,
body.is-scrolling #particles-canvas {
    will-change: auto;
    transform: translateZ(0);
}

body.is-scrolling .glitch-effect,
body.is-scrolling .glitch-effect-alt {
    animation-play-state: paused;
}

/* ===================================
   HERO LINE GRADIENT - MATCHES BUTTON
   =================================== */

.hero-line-gradient {
    color: #00F798 !important;
    -webkit-text-fill-color: #00F798 !important;
    position: relative;
    display: inline-block;
    text-shadow:
        0 0 20px rgba(0, 247, 152, 0.6),
        0 0 40px rgba(0, 247, 152, 0.4),
        0 0 60px rgba(0, 247, 152, 0.3),
        0 0 80px rgba(0, 247, 152, 0.2);
    animation: dangerous-fade 3s ease-in-out infinite;
}

@keyframes dangerous-fade {
    0% {
        opacity: 1;
        text-shadow:
            0 0 20px rgba(0, 247, 152, 0.6),
            0 0 40px rgba(0, 247, 152, 0.4),
            0 0 60px rgba(0, 247, 152, 0.3),
            0 0 80px rgba(0, 247, 152, 0.2);
        filter: brightness(1);
    }

    25% {
        opacity: 0.3;
        text-shadow:
            0 0 10px rgba(0, 247, 152, 0.3),
            0 0 20px rgba(0, 247, 152, 0.2),
            0 0 30px rgba(0, 247, 152, 0.15);
        filter: brightness(0.7);
    }

    50% {
        opacity: 1;
        text-shadow:
            0 0 30px rgba(0, 247, 152, 0.9),
            0 0 60px rgba(0, 247, 152, 0.7),
            0 0 90px rgba(0, 247, 152, 0.5),
            0 0 120px rgba(0, 247, 152, 0.4);
        filter: brightness(1.3);
    }

    75% {
        opacity: 0.4;
        text-shadow:
            0 0 10px rgba(0, 247, 152, 0.3),
            0 0 20px rgba(0, 247, 152, 0.2);
        filter: brightness(0.7);
    }

    100% {
        opacity: 1;
        text-shadow:
            0 0 20px rgba(0, 247, 152, 0.6),
            0 0 40px rgba(0, 247, 152, 0.4),
            0 0 60px rgba(0, 247, 152, 0.3),
            0 0 80px rgba(0, 247, 152, 0.2);
        filter: brightness(1);
    }
}

/* ===================================
   HERO TEXT WITH SUBTLE GLOW
   =================================== */

.hero-text-glow {
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(255, 255, 255, 0.05);
}

/* ===================================
   HEADLINE STACKED GLITCH COLORS
   =================================== */

.headline-cyan {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    text-shadow:
        -3px 0 0 #01FFFF,
        3px 0 0 #F806FC !important;
}

.headline-cyan>span {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.headline-white-glow {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(255, 255, 255, 0.1) !important;
}

.headline-interactive {
    background: linear-gradient(135deg, #9359EC 0%, #FF1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow:
        0 0 20px rgba(147, 89, 236, 0.4),
        0 0 40px rgba(255, 20, 147, 0.3);
}

.headline-interactive::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00F798 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.headline-interactive:hover::before {
    opacity: 1;
}

.headline-interactive:hover {
    text-shadow:
        0 0 30px rgba(0, 247, 152, 0.6),
        0 0 60px rgba(0, 217, 255, 0.4),
        0 0 90px rgba(0, 247, 152, 0.3);
    transform: translateY(-2px);
}

/* ===================================
   SECURITY BADGES (HERO)
   =================================== */

.security-badge {
    background: linear-gradient(135deg, rgba(0, 247, 152, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 1px solid rgba(0, 247, 152, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    flex: 1 1 300px;
    max-width: 400px;
}

.security-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 152, 0.1), transparent);
    transition: left 0.5s ease;
}

.security-badge:hover::before {
    left: 100%;
}

.security-badge:hover {
    border-color: rgba(0, 247, 152, 0.6);
    background: linear-gradient(135deg, rgba(0, 247, 152, 0.08) 0%, rgba(0, 217, 255, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 4px 20px rgba(0, 247, 152, 0.15),
        0 0 40px rgba(0, 247, 152, 0.1);
}

.security-badge-icon {
    font-size: 24px;
    color: #00F798;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 247, 152, 0.5));
}

.security-badge-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
}

/* RTL adjustments for security badges - icon on right, text on left */
html[dir="rtl"] .security-badge {
    flex-direction: row-reverse;
    direction: rtl;
}

html[dir="rtl"] .security-badge-text {
    text-align: right;
}

html[dir="rtl"] .security-badge-icon {
    order: 2;
    margin-left: 12px;
    margin-right: 0;
}

html[dir="rtl"] .security-badge::before {
    left: auto;
    right: -100%;
}

html[dir="rtl"] .security-badge:hover::before {
    right: 100%;
}

/* ===================================
   PRESTIGE BADGES (Trusted by Governments, Featured at Black Hat)
   =================================== */

.prestige-badge {
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.12) 0%, rgba(85, 40, 244, 0.12) 100%);
    border: 1.5px solid rgba(147, 89, 236, 0.4);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(147, 89, 236, 0.1);
}

.prestige-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 89, 236, 0.15), transparent);
    transition: left 0.6s ease;
}

.prestige-badge:hover::before {
    left: 100%;
}

.prestige-badge:hover {
    border-color: rgba(147, 89, 236, 0.7);
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.18) 0%, rgba(85, 40, 244, 0.18) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(147, 89, 236, 0.25),
        0 0 50px rgba(147, 89, 236, 0.15);
}

.prestige-badge-icon {
    color: #9359EC;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(147, 89, 236, 0.6));
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prestige-badge:hover .prestige-badge-icon {
    color: #00F798;
    filter: drop-shadow(0 0 15px rgba(0, 247, 152, 0.8));
    transform: scale(1.1) rotate(5deg);
}

.prestige-badge-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prestige-badge:hover .prestige-badge-text {
    background: linear-gradient(135deg, #00F798 0%, #9359EC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* RTL adjustments for prestige badges */
html[dir="rtl"] .prestige-badge {
    flex-direction: row-reverse;
    direction: rtl;
}

html[dir="rtl"] .prestige-badge-text {
    text-align: right;
}

html[dir="rtl"] .prestige-badge-icon {
    order: 2;
}

html[dir="rtl"] .prestige-badge::before {
    left: auto;
    right: -100%;
}

html[dir="rtl"] .prestige-badge:hover::before {
    right: 100%;
}

/* Mobile responsive for prestige badges */
@media (max-width: 768px) {
    .prestige-badge {
        min-width: 100%;
        padding: 18px 24px;
        gap: 14px;
    }

    .prestige-badge-text {
        font-size: 1rem;
    }

    .prestige-badge-icon {
        width: 24px;
        height: 24px;
    }
}

/* ===================================
   PRESTIGE BADGE SENTENCE
   =================================== */

.prestige-badge-sentence {
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.12) 0%, rgba(85, 40, 244, 0.12) 100%);
    border: 1.5px solid rgba(147, 89, 236, 0.4);
    border-radius: 16px;
    padding: 18px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(147, 89, 236, 0.1);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.prestige-badge-sentence::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 89, 236, 0.15), transparent);
    transition: left 0.6s ease;
}

.prestige-badge-sentence:hover::before {
    left: 100%;
}

.prestige-badge-sentence:hover {
    border-color: rgba(147, 89, 236, 0.7);
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.18) 0%, rgba(85, 40, 244, 0.18) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(147, 89, 236, 0.25),
        0 0 50px rgba(147, 89, 236, 0.15);
    color: #00F798;
}

/* RTL support for prestige badge sentence */
html[dir="rtl"] .prestige-badge-sentence {
    direction: rtl;
}

html[dir="rtl"] .prestige-badge-sentence::before {
    left: auto;
    right: -100%;
}

html[dir="rtl"] .prestige-badge-sentence:hover::before {
    right: 100%;
}

/* Mobile responsive for prestige badge sentence */
@media (max-width: 768px) {
    .prestige-badge-sentence {
        padding: 16px 24px;
        font-size: 1rem;
        white-space: normal;
        text-align: center;
    }
}

/* ===================================
   HERO CERTIFICATES CONTAINER
   =================================== */

.hero-certificates-container {
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.08) 0%, rgba(85, 40, 244, 0.08) 100%);
    border: 1px solid rgba(147, 89, 236, 0.2);
    border-radius: 16px;
    padding: 20px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(147, 89, 236, 0.1);
}

.cert-logo-hero {
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.3s ease;
}

.cert-logo-hero:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.cert-logo-hero.cert-logo-white {
    filter: grayscale(100%) brightness(0) invert(0.85);
}

.cert-logo-hero.cert-logo-white:hover {
    filter: grayscale(0%) brightness(0) invert(1);
}

/* RTL support for hero certificates */
html[dir="rtl"] .hero-certificates-container {
    direction: rtl;
}

/* Mobile responsive for hero certificates */
@media (max-width: 768px) {
    .hero-certificates-container {
        padding: 24px 16px;
    }

    .cert-logo-hero {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
}

/* ===================================
   CERTIFICATE LOGOS
   =================================== */

.cert-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    opacity: 0.85 !important;
    transition: all 0.3s ease;
    filter: grayscale(100%) !important;
    flex-shrink: 0 !important;
}

.cert-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(100%);
}

.cert-logo-white {
    filter: grayscale(100%) brightness(0) invert(0.9) !important;
}

.cert-logo-white:hover {
    filter: grayscale(100%) brightness(0) invert(0.9) !important;
}

/* ===================================
   FEATURED LOGOS SLIDER
   =================================== */

.featured-slider {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    will-change: transform;
    pointer-events: auto;
}

.featured-logo {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.featured-logo:hover {
    opacity: 1 !important;
}

.featured-logo {
    height: 45px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    opacity: 0.85 !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease;
    filter:
        brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.05)) !important;
}


.featured-logo-xcon {
    height: 58px !important;
    max-width: 240px !important;
}

/* Logo Notification */
.logo-notification {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-30px) scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s ease;
    filter: blur(8px);
    will-change: opacity, transform, filter;
}

.logo-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    animation: notificationPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notificationPop {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.85);
        filter: blur(8px);
    }

    60% {
        transform: translateY(5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

html[dir="rtl"] .logo-notification {
    left: auto;
    right: 20px;
}

.logo-notification-content {
    background: linear-gradient(135deg, rgba(85, 40, 244, 0.25) 0%, rgba(4, 15, 97, 0.25) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 89, 236, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 400px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(147, 89, 236, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.5s ease;
    transform-origin: center;
}

.logo-notification.show .logo-notification-content {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(147, 89, 236, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(147, 89, 236, 0.5);
}

html[dir="rtl"] .logo-notification-content {
    text-align: right;
}

.featured-logo-small {
    height: 32px !important;
    max-width: 140px !important;
}

.featured-logo-large {
    height: 55px !important;
    max-width: 220px !important;
}

.featured-logo-text {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    white-space: nowrap;
    padding: 0 10px;
    transition: all 0.3s ease;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.05),
        0 0 16px rgba(255, 255, 255, 0.05),
        0 0 24px rgba(255, 255, 255, 0.05);
}

.featured-logo-text:hover {
    opacity: 1;
    filter:
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.1));
    transform: scale(1.05);
}

/* ===================================
   GLITCH EFFECT - HACKED WORD (SPECIAL)
   =================================== */

.glitch-effect {
    position: relative;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-weight: 700;
    animation: glitch 0.3s infinite;
    z-index: 2;
    text-shadow:
        0 0 10px rgba(1, 255, 255, 0.5),
        0 0 20px rgba(255, 0, 255, 0.5);
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: screen;
    white-space: nowrap;
}

/* RTL support for glitch effect */
html[dir="rtl"] .glitch-effect::before,
html[dir="rtl"] .glitch-effect::after {
    left: auto;
    right: 0;
    direction: rtl;
    text-align: right;
}

.glitch-effect::before {
    color: #01FFFF;
    -webkit-text-fill-color: #01FFFF;
    text-shadow: 2px 0 #01FFFF;
    animation: glitch-before 0.3s infinite;
}

html[dir="rtl"] .glitch-effect::before {
    text-shadow: -2px 0 #01FFFF;
}

.glitch-effect::after {
    color: #FF00FF;
    -webkit-text-fill-color: #FF00FF;
    text-shadow: -2px 0 #FF00FF;
    animation: glitch-after 0.3s infinite;
}

html[dir="rtl"] .glitch-effect::after {
    text-shadow: 2px 0 #FF00FF;
}

/* ===================================
   GLITCH EFFECT ALT - TRUSTED SECTION
   =================================== */

.glitch-effect-alt {
    position: relative;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-weight: 700;
    animation: glitch-alt 2.5s infinite;
    z-index: 2;
}

.glitch-effect-alt::before,
.glitch-effect-alt::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
}

/* RTL support for glitch effect alt */
html[dir="rtl"] .glitch-effect-alt::before,
html[dir="rtl"] .glitch-effect-alt::after {
    left: auto;
    right: 0;
    direction: rtl;
    text-align: right;
}

.glitch-effect-alt::before {
    color: #00F798;
    animation: glitch-alt-before 2.5s infinite;
}

.glitch-effect-alt::after {
    color: #9359EC;
    animation: glitch-alt-after 2.5s infinite;
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
        color: #ffffff;
        -webkit-text-fill-color: #ffffff;
        text-shadow:
            0 0 10px rgba(1, 255, 255, 0.5),
            0 0 20px rgba(255, 0, 255, 0.5);
    }

    10% {
        transform: translate(-3px, 2px);
        color: #01FFFF;
        -webkit-text-fill-color: #01FFFF;
        text-shadow:
            -3px 0 10px rgba(1, 255, 255, 0.8),
            3px 0 20px rgba(255, 0, 255, 0.8);
    }

    20% {
        transform: translate(3px, -2px);
        color: #FF00FF;
        -webkit-text-fill-color: #FF00FF;
        text-shadow:
            3px 0 10px rgba(1, 255, 255, 0.8),
            -3px 0 20px rgba(255, 0, 255, 0.8);
    }

    30% {
        transform: translate(-2px, -3px);
        color: #ffffff;
        -webkit-text-fill-color: #ffffff;
        text-shadow:
            -2px 0 10px rgba(1, 255, 255, 0.7),
            2px 0 20px rgba(255, 0, 255, 0.7);
    }

    40% {
        transform: translate(2px, 3px);
        color: #01FFFF;
        -webkit-text-fill-color: #01FFFF;
        text-shadow:
            2px 0 10px rgba(1, 255, 255, 0.7),
            -2px 0 20px rgba(255, 0, 255, 0.7);
    }

    50% {
        transform: translate(0);
        color: #ffffff;
        -webkit-text-fill-color: #ffffff;
        text-shadow:
            0 0 15px rgba(1, 255, 255, 0.6),
            0 0 25px rgba(255, 0, 255, 0.6);
    }
}

@keyframes glitch-before {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(-4px, 0);
        opacity: 0.9;
    }

    10% {
        clip-path: inset(60% 0 0 0);
        transform: translate(-5px, 2px);
        opacity: 1;
    }

    20% {
        clip-path: inset(0 0 65% 0);
        transform: translate(-3px, -2px);
        opacity: 0.9;
    }

    30% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(-6px, 1px);
        opacity: 1;
    }

    40% {
        clip-path: inset(10% 0 50% 0);
        transform: translate(-4px, -1px);
        opacity: 0.9;
    }

    50% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(-5px, 0);
        opacity: 1;
    }
}

@keyframes glitch-after {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(4px, 0);
        opacity: 0.9;
    }

    10% {
        clip-path: inset(0 0 65% 0);
        transform: translate(5px, -2px);
        opacity: 1;
    }

    20% {
        clip-path: inset(60% 0 0 0);
        transform: translate(3px, 2px);
        opacity: 0.9;
    }

    30% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(6px, -1px);
        opacity: 1;
    }

    40% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(4px, 1px);
        opacity: 0.9;
    }

    50% {
        clip-path: inset(10% 0 50% 0);
        transform: translate(5px, 0);
        opacity: 1;
    }
}

/* ===================================
   GLITCH ALT ANIMATIONS - TRUSTED SECTION
   =================================== */

@keyframes glitch-alt {

    0%,
    100% {
        transform: translate(0);
    }

    15% {
        transform: translate(-1px, 1px) skew(0.5deg);
    }

    30% {
        transform: translate(1px, -1px) skew(-0.5deg);
    }

    45% {
        transform: translate(-1px, -1px) skew(0.3deg);
    }

    60% {
        transform: translate(1px, 1px) skew(-0.3deg);
    }

    75% {
        transform: translate(0px, -1px);
    }
}

@keyframes glitch-alt-before {

    0%,
    100% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-1px, 0);
        opacity: 0.5;
    }

    25% {
        clip-path: inset(0 0 70% 0);
        transform: translate(-2px, 1px);
        opacity: 0.6;
    }

    50% {
        clip-path: inset(70% 0 0 0);
        transform: translate(-1px, -1px);
        opacity: 0.5;
    }

    75% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, 0);
        opacity: 0.6;
    }
}

@keyframes glitch-alt-after {

    0%,
    100% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(1px, 0);
        opacity: 0.5;
    }

    25% {
        clip-path: inset(70% 0 0 0);
        transform: translate(2px, -1px);
        opacity: 0.6;
    }

    50% {
        clip-path: inset(0 0 70% 0);
        transform: translate(1px, 1px);
        opacity: 0.5;
    }

    75% {
        clip-path: inset(50% 0 20% 0);
        transform: translate(2px, 0);
        opacity: 0.6;
    }
}

40% {
    transform: translate(3px, 2px);
    text-shadow:
        3px 3px 0 #5CE5F8,
        -3px -3px 0 #FF00FF;
}

50% {
    transform: translate(-2px, 2px);
    text-shadow:
        -2px -2px 0 #5CE5F8,
        2px 2px 0 #FF00FF;
}
}

/* ===================================
   ADVANCED TEXT EFFECTS
   =================================== */

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-flow 3s ease infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    line-height: 1.3 !important;
    padding-bottom: 0.25em !important;
    overflow: visible !important;
}

/* Fix Arabic headlines being cut off */
html[dir="rtl"] .gradient-text,
html[dir="rtl"] h2.gradient-text,
html[dir="rtl"] h3.gradient-text {
    line-height: 1.5 !important;
    padding-bottom: 0.4em !important;
    padding-top: 0.1em !important;
    overflow: visible !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
}

/* Specific fix for certificates section headline */
html[dir="rtl"] section:has([data-translate="certificates.title"]) h2.gradient-text,
html[dir="rtl"] section:has([data-translate="certificates.title"]) .gradient-text {
    line-height: 1.6 !important;
    padding-bottom: 0.5em !important;
    padding-top: 0.2em !important;
    margin-bottom: 1.5rem !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}

html[dir="rtl"] section:has([data-translate="certificates.title"]) .title-foreground {
    overflow: visible !important;
    padding-bottom: 0.5rem !important;
}

@keyframes gradient-flow {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.glow-text {
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.35),
            0 0 16px rgba(255, 255, 255, 0.20);
    }

    50% {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.45),
            0 0 20px rgba(255, 255, 255, 0.25);
    }
}

/* ===================================
   SVG RED COLOR FILTERS
   =================================== */


/* Remove colorization from SVGs and keep only subtle glow */
.svg-red-filter {
    filter: none;
}

.svg-glow {
    filter: drop-shadow(0 0 14px rgba(147, 89, 236, 0.25)) drop-shadow(0 0 28px rgba(147, 89, 236, 0.12));
    animation: svg-glow-pulse 3s ease-in-out infinite;
}

@keyframes svg-glow-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(147, 89, 236, 0.25)) drop-shadow(0 0 24px rgba(147, 89, 236, 0.10));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(147, 89, 236, 0.25)) drop-shadow(0 0 28px rgba(147, 89, 236, 0.12));
    }
}

/* ===================================
   HERO SECTION WITH IMAGE
   =================================== */

.hero-with-image {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 0 20px 48px;
}

/* English - centered */
html:not([dir="rtl"]) .hero-with-image {
    padding-top: 0 !important;
    align-items: flex-start !important;
}

/* Arabic - centered */
html[dir="rtl"] .hero-with-image {
    padding-top: 0 !important;
    align-items: flex-start !important;
}

/* Removed black fade effect */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.hero-content {
    animation: none;
    opacity: 1;
}

.hero-image-container {
    position: relative;
    animation: none;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.hero-svg {
    width: 200%;
    margin: 0 auto;
    display: block;
}

.hero-image-interactive {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.05));
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 20px;
}

.hero-image-interactive:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.05)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.05));
}

/* Responsive sizing for hero image */
@media (max-width: 1200px) {
    .hero-image-interactive {
        max-width: 500px;
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .hero-image-interactive {
        max-width: 400px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .hero-image-interactive {
        max-width: 350px;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .hero-image-interactive {
        max-width: 300px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .hero-image-interactive {
        max-width: 250px;
        padding: 6px;
    }
}

@media (max-width: 360px) {
    .hero-image-interactive {
        max-width: 200px;
        padding: 4px;
    }
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    background: radial-gradient(circle, rgba(147, 89, 236, 0.28) 0%, transparent 70%);
    filter: blur(42px);
    z-index: 1;
    /* Glow animation removed */
}

/* Orbiting rings around hero SVG */
.hero-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    border: 1px solid rgba(147, 89, 236, 0.22);
    box-shadow: 0 0 30px rgba(147, 89, 236, 0.08);
    filter: blur(0.2px);
    z-index: 1;
    pointer-events: none;
}

.hero-glow-ring.ring-1 {
    width: 110%;
    height: 110%;
}

.hero-glow-ring.ring-2 {
    width: 125%;
    height: 125%;
    border-color: rgba(147, 89, 236, 0.14);
}

.hero-glow-ring.ring-3 {
    width: 140%;
    height: 140%;
    border-color: rgba(147, 89, 236, 0.10);
}

.hero-glow-ring.dashed {
    border-style: dashed;
    border-width: 1px;
    opacity: 0.6;
}

/* Orbit rotation animation removed */


/* Specular sweep overlay over the hero SVG */
.hero-specular {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.06) 55%, transparent 100%);
    transform: translateX(-120%);
    mix-blend-mode: screen;
    /* Specular sweep animation removed */
}

@keyframes specular-sweep {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateX(120%);
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes glow-expand {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

/* ===================================
   MISSION/ABOUT SECTION WITH IMAGE
   =================================== */

.mission-section {
    padding: 120px 20px;
    position: relative;
    background: transparent;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-image-container {
    position: relative;
    order: 1;
}

.mission-content {
    order: 2;
}

.mission-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(147, 89, 236, 0.28) 0%, transparent 70%);
    filter: blur(65px);
    z-index: 1;
    /* Glow expand animation removed */
}

.mission-svg {
    width: 75%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ===================================
   WHY CHOOSE US WITH IMAGE
   =================================== */

.why-choose-section {
    padding: 120px 20px;
    position: relative;
}

.why-choose-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 80px;
}

/* RTL support - photo on right, content on left */
html[dir="rtl"] .why-choose-header {
    direction: rtl;
}

.why-choose-image-container {
    position: relative;
}

.why-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(147, 89, 236, 0.28) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
}

.advantages-svg {
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ===================================
   TESTIMONIALS WITH PATTERNS
   =================================== */

.testimonials-section {
    padding: 120px 20px;
    position: relative;
    background: transparent;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.testimonials-pattern-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.testimonials-header h3 {
    position: relative;
    z-index: 2;
}

/* Reusable title pattern background */
.title-with-pattern {
    position: relative;
}

.title-with-pattern .pattern-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 260px;
    opacity: 0.12;
    pointer-events: none;
}

.title-with-pattern .title-foreground {
    position: relative;
    z-index: 2;
}

.testimonial-card-wrapper {
    position: relative;
}

/* Simple grid testimonials (no arrows) */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-card {
    border-radius: 16px;
    background: rgba(4, 15, 97, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.testimonial-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

/* Consistent author row and avatar sizing */
.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    /* push to bottom of card */
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9359EC 0%, #5528F4 100%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
    overflow: hidden;
    /* prevents image overflow */
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* prevents stretch */
    display: block;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-author .name {
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.testimonial-author .meta {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.2;
}

/* ===================================
   MODERN CARDS & COMPONENTS
   =================================== */

.modern-card {
    background: rgba(4, 15, 97, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(147, 89, 236, 0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

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

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    border-color: rgba(147, 89, 236, 0.6);
    box-shadow:
        0 20px 60px rgba(147, 89, 236, 0.25),
        0 0 30px rgba(147, 89, 236, 0.15),
        inset 0 0 20px rgba(147, 89, 236, 0.05);
    transform: translateY(-12px) scale(1.02);
}

/* ===================================
   BUTTONS
   =================================== */

.red-gradient-button {
    background: linear-gradient(135deg, #00F7FF 0%, #00B8C4 100%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(0, 247, 255, 0.4),
        0 0 20px rgba(0, 247, 255, 0.2);
    border: none;
    cursor: pointer;
}

.red-gradient-button::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.6s;
}

.red-gradient-button:hover::before {
    left: 100%;
}

.red-gradient-button:hover {
    background: linear-gradient(135deg, #01FF7F 0%, #00CC66 100%);
    box-shadow:
        0 8px 30px rgba(1, 255, 127, 0.6),
        0 0 40px rgba(1, 255, 127, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.outline-button {
    border: 2px solid rgba(147, 89, 236, 0.5);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.outline-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(147, 89, 236, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.outline-button:hover::before {
    width: 300px;
    height: 300px;
}

.outline-button:hover {
    border-color: #9359EC;
    box-shadow:
        0 5px 20px rgba(147, 89, 236, 0.3),
        inset 0 0 20px rgba(147, 89, 236, 0.1);
}

/* ===================================
   GLASS HEADER
   =================================== */

.glass-header {
    backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(4, 15, 97, 0.85);
    border-bottom: 1px solid rgba(147, 89, 236, 0.2);
    box-shadow: 0 4px 30px rgba(4, 15, 97, 0.5);
}

/* Transparent header variant (no background) */
.header-transparent {
    background: transparent;
    backdrop-filter: none;
    border: 0;
}

/* Prevent header from reserving space; hero already accounts for it */
body {
    scroll-padding-top: 80px;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9359EC, #9359EC);
    transition: width 0.3s ease;
}

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

/* Outline pill button for Contact */
.outline-pill {
    border: 2px solid #9359EC;
    /* red outline */
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.outline-pill:hover {
    box-shadow: 0 0 20px rgba(147, 89, 236, 0.3);
}

/* ===================================
   HACKER NAVBAR
   =================================== */

.hacker-navbar {
    position: relative;
    overflow: hidden;
}

.hacker-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(147, 89, 236, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 89, 236, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

.scanning-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9359EC, transparent);
    animation: scan 3s ease-in-out infinite;
    pointer-events: none;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.hacker-logo {
    position: relative;
    z-index: 2;
    filter: none;
    transition: transform 0.3s ease;
}

.hacker-logo:hover {
    transform: scale(1.05);
    filter: none;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(147, 89, 236, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: logo-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.hacker-nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', monospace;
    font-weight: 500;
}

.hacker-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(147, 89, 236, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.hacker-nav-link:hover {
    color: #9359EC;
    text-shadow: 0 0 10px rgba(147, 89, 236, 0.5);
    transform: translateY(-1px);
}

.hacker-nav-link:hover::before {
    opacity: 1;
}

.hacker-nav-link.active {
    color: #00F7FF;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.8);
    position: relative;
}

.hacker-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F7FF, #01FF7F);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.hacker-button {
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #00F7FF 0%, #00B8C4 100%);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 247, 255, 0.4),
        0 0 20px rgba(0, 247, 255, 0.2);
}

.hacker-button:hover {
    background: linear-gradient(135deg, #01FF7F 0%, #00CC66 100%);
    box-shadow:
        0 4px 15px rgba(1, 255, 127, 0.4),
        0 0 20px rgba(1, 255, 127, 0.2);
    transform: translateY(-2px);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hacker-button:hover .button-glow {
    left: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 255, 127, 0.3), transparent);
}

.hacker-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-line {
    width: 25px;
    height: 2px;
    background: #9359EC;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(147, 89, 236, 0.5);
}

.hacker-menu-btn:hover .menu-line {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(147, 89, 236, 0.8);
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

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

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes logo-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}


/* ===================================
   TECH BADGES
   =================================== */

.tech-badge {
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.2), rgba(147, 89, 236, 0.05));
    border: 1px solid rgba(147, 89, 236, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.tech-badge.glitch-badge {
    color: #ffffff;
    font-weight: 700;
    text-shadow:
        -1px -1px 0 #5CE5F8,
        1px 1px 0 #FF00FF;
    animation: glitch 2s infinite;
}

.tech-badge.glitch-badge::before,
.tech-badge.glitch-badge::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
}

.tech-badge.glitch-badge::before {
    color: #5CE5F8;
    z-index: -1;
    transform: translate(-1px, -1px);
    opacity: 0.8;
}

.tech-badge.glitch-badge::after {
    color: #FF00FF;
    z-index: -2;
    transform: translate(1px, 1px);
    opacity: 0.8;
}


.tech-badge:hover {
    background: rgba(147, 89, 236, 0.3);
    box-shadow: 0 0 20px rgba(147, 89, 236, 0.4);
}

/* ===================================
   PARTICLE BACKGROUND
   =================================== */

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.red-wave {
    position: absolute;
    width: 150%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(92, 229, 248, 0.18) 0%, transparent 60%);
    animation: wave-move 20s infinite ease-in-out;
    pointer-events: none;
}

.red-wave:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 25s;
}

.red-wave:nth-child(3) {
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes wave-move {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-30%, -60%) rotate(180deg);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(147, 89, 236, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 89, 236, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: grid-flow 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-flow {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(147, 89, 236, 0.8), transparent);
    animation: scan 4s linear infinite;
    z-index: 2;
    box-shadow: 0 0 10px rgba(147, 89, 236, 0.8);
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

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

/* Trusted Slider - JavaScript Controlled Infinite Loop */
.trusted-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    color: white;
    will-change: transform;
}

.animate-scroll {
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-slow {
    animation: scroll 40s linear infinite;
}

.float-icon {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* ===================================
   HACKER MICRO-ANIMATIONS
   =================================== */

.hacker-overlay {
    position: relative;
}

.hacker-overlay::after {
    content: '0101011001010011 01010101 00110110 0101 0110 0101 0101 0011 0110 0101 0101 0011';
    position: absolute;
    inset: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 1px;
    color: rgba(147, 89, 236, 0.04);
    white-space: pre;
    overflow: hidden;
    pointer-events: none;
    animation: binary-fall 30s linear infinite;
    z-index: 0;
}

@keyframes binary-fall {
    0% {
        transform: translateY(-10%);
    }

    100% {
        transform: translateY(10%);
    }
}

.slow-drift {
    animation: slow-drift 18s ease-in-out infinite;
}

@keyframes slow-drift {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.005);
    }
}

.glitch-subtle {
    position: relative;
    animation: glitch-subtle 14s infinite;
}

@keyframes glitch-subtle {

    0%,
    96%,
    100% {
        filter: none;
        transform: none;
    }

    97% {
        transform: translateX(0.5px);
        filter: hue-rotate(-2deg) saturate(105%);
    }

    98% {
        transform: translateX(-0.5px);
        filter: hue-rotate(2deg) saturate(110%);
    }

    99% {
        transform: translateY(0.5px);
    }
}

.red-gradient-button.btn-scan::after,
.outline-button.btn-scan::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
    transform: translateX(-120%);
    animation: btn-scan 6s linear infinite;
    pointer-events: none;
}

@keyframes btn-scan {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(120%);
    }
}

/* ===================================
   QUIZ STYLING
   =================================== */

.quiz-option {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(4, 15, 97, 0.6);
    border: 1px solid rgba(147, 89, 236, 0.3);
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 89, 236, 0.1), transparent);
    transition: left 0.5s;
}

.quiz-option:hover::before {
    left: 100%;
}

.quiz-option:hover {
    background-color: rgba(147, 89, 236, 0.15);
    border-color: rgba(147, 89, 236, 0.6);
    box-shadow: 0 0 30px rgba(147, 89, 236, 0.3);
    transform: translateX(5px);
}

.quiz-option.correct {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.3));
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    animation: pulse-correct 0.6s ease;
}

.quiz-option.incorrect {
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.3), rgba(147, 89, 236, 0.3));
    border-color: #9359EC;
    animation: shake 0.5s ease;
}

@keyframes pulse-correct {

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

    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* ===================================
   CUSTOM SCROLLBAR
   =================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #040F61;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9359EC, #5528F4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9359EC;
}

/* ===================================
   SOCIAL ICONS
   =================================== */

.social-icon {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #9359EC, #9359EC);
    opacity: 0;
    transition: opacity 0.4s;
}

.social-icon:hover::before {
    opacity: 0.2;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(147, 89, 236, 0.4);
}

/* Footer greys */
.social-icon svg {
    color: #9ca3af;
}

.social-icon {
    color: #9ca3af;
}

/* Force icon fill to follow text color and prevent blue */
.social-icon svg,
.social-icon svg path {
    fill: #9ca3af !important;
    stroke: none !important;
}

.social-icon:hover svg,
.social-icon:hover svg path {
    fill: var(--primary-red) !important;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {

    .hero-grid,
    .mission-grid,
    .why-choose-header {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-image-container {
        order: -1;
    }

    .mission-image-container {
        order: -1;
    }

    /* Fix container responsiveness for medium screens */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-with-image {
        padding: 70px 20px 50px;
    }

    section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hacker-navbar {
        padding: 0 20px;
    }
}

@media (min-width: 1200px) {

    /* Full desktop screens - move Trust section closer to hero */
    section:has(.glitch-effect[data-text="Trusted by Clients Worldwide"]) {
        margin-top: -60px;
    }
}

@media (max-width: 1200px) {

    /* Large screens but not full desktop */
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-with-image {
        padding: 80px 24px 60px;
    }

    section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hacker-navbar {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {

    .hero-grid,
    .mission-grid,
    .why-choose-header {
        gap: 40px;
    }

    .testimonials-pattern-bg {
        width: 400px;
        height: 200px;
    }

    /* Fix navbar responsiveness */
    .hacker-navbar {
        padding: 0 16px;
    }

    .hacker-navbar .container {
        padding: 0;
    }

    /* Fix container responsiveness */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Fix hero section */
    .hero-with-image {
        padding: 60px 16px 40px;
    }

    /* Fix sections */
    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Fix Trust section on medium mobile screens */
    section:has(.glitch-effect[data-text="Trusted by Clients Worldwide"]) {
        margin-top: -4px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    /* Trust section responsive layout is handled by HTML classes */
    section:has(.glitch-effect[data-text="Trusted by Clients Worldwide"]) .overflow-hidden {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-with-image {
        padding: 50px 12px 30px;
    }

    section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hacker-navbar {
        padding: 0 12px;
    }

    /* Fix Trust section on mobile */
    section:has(.glitch-effect[data-text="Trusted by Clients Worldwide"]) {
        margin-top: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Trust section responsive layout is handled by HTML classes */
    section:has(.glitch-effect[data-text="Trusted by Clients Worldwide"]) .overflow-hidden {
        width: 100%;
        max-width: 100%;
    }
}

/* ===================================
   COOKIE BANNER
   =================================== */

.cookie-banner {
    z-index: 9999;
    backdrop-filter: blur(20px);
}

/* ===================================
   SECTION BACKGROUNDS
   =================================== */

.section-dark {
    background: transparent;
    position: relative;
}

.section-darker {
    background: transparent;
    position: relative;
}

.hero-with-image {
    background: transparent;
}

.mission-section {
    background: transparent;
}

.why-choose-section {
    background: transparent;
}

.testimonials-section {
    background: transparent;
}

/* ===================================
   TAB STYLES
   =================================== */
.hacker-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    border-radius: 0;
    margin-bottom: -1px;
}

.hacker-tab::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00F7FF, #01FF7F);
    transition: width 0.3s ease;
}

.hacker-tab:hover {
    color: #ffffff;
    background: rgba(147, 89, 236, 0.1);
}

.hacker-tab:hover::before {
    width: 100%;
}

.hacker-tab.active {
    background: rgba(0, 247, 255, 0.1);
    color: #00F7FF;
    border-bottom: 3px solid #00F7FF;
}

.hacker-tab.active::before {
    width: 100%;
    background: linear-gradient(90deg, #00F7FF, #01FF7F);
}

.hacker-tab.active:hover {
    background: rgba(0, 247, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}

.tab-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   FEATURE DESCRIPTION ANIMATIONS
   =================================== */
.feature-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-description.expanded {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced card hover effects for features */
.modern-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
}

/* Icon animation on hover */
.modern-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(80, 44, 209, 0.5);
}

.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   TAB CONTENT ANIMATIONS
   =================================== */
.tab-content {
    will-change: opacity, transform;
}

.tab-content.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.tab-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced tab button animations */
.hacker-tab {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background, color, box-shadow;
}

.hacker-tab:hover {
    transform: translateY(-1px);
}

.hacker-tab.active {
    transform: translateY(-2px);
}

/* ===================================
   CONTACT PAGE HUNTER BUTTON REVERSED COLORS
   =================================== */
.hunter-button {
    background: linear-gradient(135deg, #00E1EA 0%, rgba(0, 225, 234, 0.8) 100%);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hunter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #01FD98 0%, rgba(1, 253, 152, 0.8) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.hunter-button:hover {
    background: linear-gradient(135deg, #01FD98 0%, rgba(1, 253, 152, 0.8) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(1, 253, 152, 0.4);
}

.hunter-button:hover::before {
    left: 100%;
}

.hunter-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hunter-icon:hover {
    background: linear-gradient(135deg, #01FD98 0%, rgba(1, 253, 152, 0.8) 100%) !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(1, 253, 152, 0.5);
}

/* Company button and icon styles */
.company-button {
    background: linear-gradient(135deg, #01FD98 0%, rgba(1, 253, 152, 0.8) 100%);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.company-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00E1EA 0%, rgba(0, 225, 234, 0.8) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.company-button:hover {
    background: linear-gradient(135deg, #00E1EA 0%, rgba(0, 225, 234, 0.8) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 225, 234, 0.4);
}

.company-button:hover::before {
    left: 100%;
}

.company-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact page buttons alignment - ensure same line in both languages */
html[dir="rtl"] section:has([data-translate="contact.title"]) .grid,
html[dir="rtl"] section:has([data-text="&lt;CONTACT_US/&gt;"]) .grid {
    direction: ltr !important;
}

html[dir="rtl"] section:has([data-translate="contact.title"]) .grid.grid-cols-1,
html[dir="rtl"] section:has([data-text="&lt;CONTACT_US/&gt;"]) .grid.grid-cols-1 {
    direction: ltr !important;
}

html[dir="rtl"] section:has([data-translate="contact.title"]) .modern-card,
html[dir="rtl"] section:has([data-text="&lt;CONTACT_US/&gt;"]) .modern-card {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] section:has([data-translate="contact.title"]) .modern-card h3,
html[dir="rtl"] section:has([data-translate="contact.title"]) .modern-card p,
html[dir="rtl"] section:has([data-text="&lt;CONTACT_US/&gt;"]) .modern-card h3,
html[dir="rtl"] section:has([data-text="&lt;CONTACT_US/&gt;"]) .modern-card p {
    direction: rtl !important;
    text-align: right !important;
}

.company-icon:hover {
    background: linear-gradient(135deg, #00E1EA 0%, rgba(0, 225, 234, 0.8) 100%) !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 225, 234, 0.5);
}

/* ===================================
   MAILERLITE NEWSLETTER EMBED STYLES
   =================================== */

/* Container for the MailerLite embed */
.mailerlite-embed-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(147, 89, 236, 0.3);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 8px 32px rgba(147, 89, 236, 0.15);
    transition: all 0.3s ease;
}

.mailerlite-embed-container:hover {
    border-color: rgba(147, 89, 236, 0.5);
    box-shadow: 0 12px 40px rgba(147, 89, 236, 0.25);
}

/* MailerLite iframe styling */
.mailerlite-iframe {
    width: 100%;
    min-height: 280px;
    height: auto;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    background: transparent;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .mailerlite-embed-container {
        max-width: 100%;
        padding: 3px;
        border-radius: 12px;
    }

    .mailerlite-iframe {
        min-height: 280px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .mailerlite-embed-container {
        padding: 2px;
        border-radius: 10px;
    }

    .mailerlite-iframe {
        min-height: 260px;
        border-radius: 8px;
    }
}

/* ===================================
   RTL (RIGHT-TO-LEFT) SUPPORT
   =================================== */

/* RTL base styles */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Tajawal', 'Inter', sans-serif;
}

/* RTL flex direction adjustments */
html[dir="rtl"] .flex {
    flex-direction: row-reverse;
}

/* Don't reverse flex-wrap containers (like badge containers) - keep natural flow */
html[dir="rtl"] .flex-wrap {
    flex-direction: row;
    direction: rtl;
}

/* Don't reverse badges container - keep centered layout */
html[dir="rtl"] .flex.flex-wrap.justify-center {
    flex-direction: row;
}

html[dir="rtl"] .flex-row {
    flex-direction: row-reverse;
}

/* RTL text alignment */
html[dir="rtl"] .text-left {
    text-align: right;
}

html[dir="rtl"] .text-right {
    text-align: left;
}

html[dir="rtl"] .text-center {
    text-align: center;
}

/* RTL case study cards - only in cases section */
/* RTL support for cases cards */
html[dir="rtl"] .cases-grid {
    align-items: stretch !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

html[dir="rtl"] .cases-card {
    text-align: right !important;
    direction: rtl !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
}

html[dir="rtl"] .cases-card h3 {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

html[dir="rtl"] .cases-card p {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #d1d5db !important;
    flex-shrink: 0 !important;
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
}

html[dir="rtl"] .cases-card .cases-result {
    text-align: right !important;
    direction: rtl !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    padding-top: 1rem !important;
}

html[dir="rtl"] .cases-card .cases-result p {
    margin-bottom: 0.5rem !important;
}

html[dir="rtl"] .cases-card span {
    text-align: right !important;
    direction: rtl !important;
    display: inline-block !important;
}

/* Testimonials section - English only, no translation, no RTL changes */
.testimonials-english-only {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .testimonials-english-only,
html[dir="rtl"] .testimonials-english-only * {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .testimonials-english-only .grid {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .testimonials-english-only .grid>* {
    direction: ltr !important;
    text-align: left !important;
}

/* Ensure card stays as column */
html[dir="rtl"] .testimonials-english-only .modern-card.flex-col,
html[dir="rtl"] .testimonials-english-only .flex.flex-col {
    flex-direction: column !important;
    direction: ltr !important;
}

/* Ensure all testimonial cards have same size in both languages */
.testimonials-english-only .grid {
    align-items: stretch !important;
    display: grid !important;
    grid-auto-rows: 1fr !important;
}

.testimonials-english-only .grid>div {
    display: flex !important;
    height: 100% !important;
    min-height: 100% !important;
}

.testimonials-english-only .modern-card {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 1 auto !important;
}

.testimonials-english-only .modern-card.h-full {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

html[dir="rtl"] .testimonials-english-only .grid {
    align-items: stretch !important;
    display: grid !important;
    grid-auto-rows: 1fr !important;
}

html[dir="rtl"] .testimonials-english-only .grid>div {
    display: flex !important;
    height: 100% !important;
    min-height: 100% !important;
}

html[dir="rtl"] .testimonials-english-only .modern-card {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 1 auto !important;
}

html[dir="rtl"] .testimonials-english-only .modern-card.h-full {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Ensure inner flex container (avatar + text) stays as row with normal order */
html[dir="rtl"] .testimonials-english-only .flex.items-center {
    flex-direction: row !important;
    direction: ltr !important;
    text-align: left !important;
}

/* Override all flex containers in testimonials */
html[dir="rtl"] .testimonials-english-only .flex:not(.flex-col) {
    flex-direction: row !important;
    direction: ltr !important;
}

html[dir="rtl"] .testimonials-english-only .modern-card,
html[dir="rtl"] .testimonials-english-only .modern-card * {
    direction: ltr !important;
    text-align: left !important;
}

/* Ensure gap works correctly (left to right) */
html[dir="rtl"] .testimonials-english-only .gap-4 {
    gap: 1rem !important;
}

/* Ensure avatar stays on left, text on right */
html[dir="rtl"] .testimonials-english-only .flex.items-center>div:first-child {
    order: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .testimonials-english-only .flex.items-center>div:last-child {
    order: 1 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .testimonials-english-only .text-center,
html[dir="rtl"] .testimonials-english-only h2 {
    direction: ltr !important;
    text-align: center !important;
}

html[dir="rtl"] .testimonials-english-only .title-with-pattern,
html[dir="rtl"] .testimonials-english-only .title-foreground {
    direction: ltr !important;
    text-align: center !important;
}

/* RTL partnerships section lists */
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul li.flex,
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul li.flex {
    flex-direction: row-reverse !important;
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-end !important;
}

html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul li.flex .text-primary,
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul li.flex span[aria-hidden="true"],
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul li.flex>span.text-primary,
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul li.flex .text-primary,
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul li.flex span[aria-hidden="true"],
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul li.flex>span.text-primary {
    order: 2 !important;
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
}

html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul li.flex>span:not(.text-primary),
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul li.flex>span[data-translate],
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul li.flex>span:not(.text-primary),
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul li.flex>span[data-translate] {
    text-align: right !important;
    direction: rtl !important;
    display: inline-block !important;
    width: 100% !important;
}

/* RTL partnerships section card titles and descriptions */
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card h3,
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card p,
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card h3,
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card p {
    text-align: right !important;
    direction: rtl !important;
}

/* RTL partnerships section ul lists */
html[dir="rtl"] section:has([data-translate="partnerships.title"]) .modern-card ul,
html[dir="rtl"] section:has([data-text="&lt;PARTNERSHIPS/&gt;"]) .modern-card ul {
    text-align: right !important;
    direction: rtl !important;
}

/* RTL margin and padding adjustments */
html[dir="rtl"] .ml-auto {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .mr-auto {
    margin-right: 0;
    margin-left: auto;
}

/* RTL navbar adjustments */
html[dir="rtl"] nav {
    direction: rtl;
}

html[dir="rtl"] .hacker-nav-link {
    text-align: right;
}

/* RTL grid adjustments */
html[dir="rtl"] .grid {
    direction: rtl;
}

/* RTL gap adjustments */
html[dir="rtl"] .gap-3>*+* {
    margin-right: 0.75rem;
    margin-left: 0;
}

html[dir="rtl"] .gap-4>*+* {
    margin-right: 1rem;
    margin-left: 0;
}

html[dir="rtl"] .gap-6>*+* {
    margin-right: 1.5rem;
    margin-left: 0;
}

/* RTL list adjustments */
html[dir="rtl"] ul,
html[dir="rtl"] ol {
    padding-right: 0;
    padding-left: 0;
    list-style: none;
}

/* RTL list items - bullet on right side - only for proof and whyChoose sections */
html[dir="rtl"] section:has([data-translate="proof.whatYouGet"]) li.flex,
html[dir="rtl"] section:has([data-translate="proof.title"]) li.flex,
html[dir="rtl"] section:has([data-translate="whyChoose.title"]) li.flex,
html[dir="rtl"] section:has([data-text="&lt;ADVANTAGES/&gt;"]) li.flex {
    flex-direction: row-reverse !important;
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-end !important;
}

html[dir="rtl"] section:has([data-translate="proof.whatYouGet"]) li.flex .text-primary,
html[dir="rtl"] section:has([data-translate="proof.whatYouGet"]) li.flex span[aria-hidden="true"],
html[dir="rtl"] section:has([data-translate="proof.title"]) li.flex .text-primary,
html[dir="rtl"] section:has([data-translate="proof.title"]) li.flex span[aria-hidden="true"],
html[dir="rtl"] section:has([data-translate="whyChoose.title"]) li.flex .text-primary,
html[dir="rtl"] section:has([data-translate="whyChoose.title"]) li.flex span[aria-hidden="true"],
html[dir="rtl"] section:has([data-text="&lt;ADVANTAGES/&gt;"]) li.flex .text-primary,
html[dir="rtl"] section:has([data-text="&lt;ADVANTAGES/&gt;"]) li.flex span[aria-hidden="true"] {
    order: 2 !important;
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

html[dir="rtl"] section:has([data-translate="proof.whatYouGet"]) li.flex>div,
html[dir="rtl"] section:has([data-translate="proof.title"]) li.flex>div,
html[dir="rtl"] section:has([data-translate="whyChoose.title"]) li.flex>div,
html[dir="rtl"] section:has([data-text="&lt;ADVANTAGES/&gt;"]) li.flex>div {
    text-align: right !important;
    direction: rtl !important;
    width: 100% !important;
}

html[dir="rtl"] section:has([data-translate="proof.whatYouGet"]) li.flex>div span,
html[dir="rtl"] section:has([data-translate="proof.title"]) li.flex>div span,
html[dir="rtl"] section:has([data-translate="whyChoose.title"]) li.flex>div span,
html[dir="rtl"] section:has([data-text="&lt;ADVANTAGES/&gt;"]) li.flex>div span {
    display: inline-block !important;
    text-align: right !important;
    direction: rtl !important;
}

/* RTL icon adjustments - DON'T flip icons, keep them normal like English */
html[dir="rtl"] svg {
    transform: scaleX(1) !important;
}

/* Ensure all icons remain normal in RTL */
html[dir="rtl"] .security-badge-icon svg,
html[dir="rtl"] .security-badge-icon,
html[dir="rtl"] img,
html[dir="rtl"] .icon,
html[dir="rtl"] [class*="icon"] svg {
    transform: scaleX(1) !important;
}

/* Keep certain icons normal (like arrows that should point left in RTL) */
html[dir="rtl"] .arrow-left svg,
html[dir="rtl"] .arrow-right svg {
    transform: scaleX(1) !important;
}

/* ===================================
   LANGUAGE SWITCHER BUTTON
   Enhanced with better visibility and mobile support
   =================================== */

.language-switcher-btn,
#languageSwitcher,
#languageSwitcherMobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.25) 0%, rgba(85, 40, 244, 0.25) 100%);
    border: 2px solid rgba(147, 89, 236, 0.6);
    border-radius: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(147, 89, 236, 0.3);
    min-width: 90px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-switcher-btn::before,
#languageSwitcher::before,
#languageSwitcherMobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 89, 236, 0.3), transparent);
    transition: left 0.5s ease;
}

.language-switcher-btn:hover::before,
#languageSwitcher:hover::before,
#languageSwitcherMobile:hover::before {
    left: 100%;
}

.language-switcher-btn:hover,
#languageSwitcher:hover,
#languageSwitcherMobile:hover {
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.4) 0%, rgba(85, 40, 244, 0.4) 100%);
    border-color: rgba(147, 89, 236, 0.9);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(147, 89, 236, 0.5);
}

.language-switcher-btn:active,
#languageSwitcher:active,
#languageSwitcherMobile:active {
    transform: translateY(0) scale(0.98);
}

.language-switcher-btn .current-lang,
#languageSwitcher .current-lang,
#languageSwitcherMobile .current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 16px;
}

/* Add icon indicator for language switching */
.language-switcher-btn .current-lang::after,
#languageSwitcher .current-lang::after,
#languageSwitcherMobile .current-lang::after {
    content: '⇄';
    font-size: 14px;
    opacity: 0.8;
    margin-left: 4px;
}

/* RTL adjustments for language switcher */
html[dir="rtl"] .language-switcher-btn,
html[dir="rtl"] #languageSwitcher,
html[dir="rtl"] #languageSwitcherMobile {
    direction: rtl;
}

/* Mobile responsive - Enhanced visibility */
@media (max-width: 1024px) {

    .language-switcher-btn,
    #languageSwitcher,
    #languageSwitcherMobile {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 85px;
    }

    .language-switcher-btn .current-lang,
    #languageSwitcher .current-lang,
    #languageSwitcherMobile .current-lang {
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .language-switcher-btn,
    #languageSwitcher,
    #languageSwitcherMobile {
        padding: 10px 14px;
        font-size: 13px;
        gap: 6px;
        min-width: 80px;
        width: 100%;
        justify-content: center;
    }

    .language-switcher-btn .current-lang,
    #languageSwitcher .current-lang,
    #languageSwitcherMobile .current-lang {
        gap: 6px;
        font-size: 14px;
    }
}

/* Special styling for mobile menu language switcher */
#languageSwitcherMobile {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(147, 89, 236, 0.3) 0%, rgba(85, 40, 244, 0.3) 100%);
    border: 2px solid rgba(147, 89, 236, 0.7);
}

/* ===================================
   ARABIC SUBHEADLINE - LARGER SIZE
   =================================== */

html[dir="rtl"] h2[data-translate="hero.subheadline"] {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em;
    text-shadow: none !important;
    filter: none !important;
    -webkit-text-stroke: none !important;
}

html[dir="rtl"] h2[data-translate="hero.subheadline"] .highlight-word-1,
html[dir="rtl"] h2[data-translate="hero.subheadline"] .highlight-word-2,
html[dir="rtl"] h2[data-translate="hero.subheadline"] .highlight-word-3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    html[dir="rtl"] h2[data-translate="hero.subheadline"] {
        font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
    }
}

/* ===================================
   HIGHLIGHT WORDS IN SUBHEADLINE - ANIMATED UNDERLINE
   =================================== */

.highlight-word-1,
.highlight-word-2,
.highlight-word-3 {
    position: relative;
    display: inline-block;
    font-weight: 600;
    padding: 0 2px;
    margin: 0 1px;
    color: #ffffff !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-text-stroke: none !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

/* Animated underline that moves through each word */
.highlight-word-1::after,
.highlight-word-2::after,
.highlight-word-3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F798, #9359EC, #00F798);
    background-size: 200% 100%;
    animation: underline-sweep 4s ease-in-out infinite;
}

/* شركتك - First word, underline appears first */
.highlight-word-1::after {
    animation-delay: 0s;
}

/* سمعتك - Second word, underline appears after first */
.highlight-word-2::after {
    animation-delay: 1.3s;
}

/* بيانات عملائك - Third word, underline appears after second */
.highlight-word-3::after {
    animation-delay: 2.6s;
}

@keyframes underline-sweep {
    0% {
        width: 0;
        opacity: 0;
    }

    15% {
        width: 100%;
        opacity: 1;
    }

    30% {
        width: 100%;
        opacity: 1;
    }

    45% {
        width: 0;
        opacity: 0;
        left: 100%;
    }

    100% {
        width: 0;
        opacity: 0;
        left: 0;
    }
}

/* RTL support for animated underline */
html[dir="rtl"] .highlight-word-1::after,
html[dir="rtl"] .highlight-word-2::after,
html[dir="rtl"] .highlight-word-3::after {
    left: auto;
    right: 0;
}

@keyframes underline-sweep-rtl {
    0% {
        width: 0;
        opacity: 0;
        right: 0;
    }

    15% {
        width: 100%;
        opacity: 1;
        right: 0;
    }

    30% {
        width: 100%;
        opacity: 1;
        right: 0;
    }

    45% {
        width: 0;
        opacity: 0;
        right: 100%;
    }

    100% {
        width: 0;
        opacity: 0;
        right: 0;
    }
}

html[dir="rtl"] .highlight-word-1::after,
html[dir="rtl"] .highlight-word-2::after,
html[dir="rtl"] .highlight-word-3::after {
    animation-name: underline-sweep-rtl;
}

/* ===================================
   HIGHLIGHT SHINE EFFECT
   =================================== */

.highlight-shine {
    font-weight: 700;
    display: inline-block;
    padding: 0 4px;
}

/* Default gradient for elements without inline color */
.highlight-shine:not([style*="color"]) {
    background: linear-gradient(135deg, #00F798 0%, #9359EC 50%, #00F798 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine-flow 3s ease infinite;
    text-shadow: 0 0 20px rgba(0, 247, 152, 0.5);
}

/* Elements with inline color - use the color directly */
.highlight-shine[style*="color"] {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Specific color glows */
.highlight-shine[style*="color: #E82AFF"],
.highlight-shine[style*="color:#E82AFF"] {
    color: #E82AFF !important;
    -webkit-text-fill-color: #E82AFF !important;
    text-shadow: 0 0 15px rgba(232, 42, 255, 0.6), 0 0 30px rgba(232, 42, 255, 0.4);
}

.highlight-shine[style*="color: #01FFFF"],
.highlight-shine[style*="color:#01FFFF"] {
    color: #01FFFF !important;
    -webkit-text-fill-color: #01FFFF !important;
    text-shadow: 0 0 15px rgba(1, 255, 255, 0.6), 0 0 30px rgba(1, 255, 255, 0.4);
}

.highlight-shine[style*="color: #00F798"],
.highlight-shine[style*="color:#00F798"] {
    color: #00F798 !important;
    -webkit-text-fill-color: #00F798 !important;
    text-shadow: 0 0 15px rgba(0, 247, 152, 0.6), 0 0 30px rgba(0, 247, 152, 0.4);
}

@keyframes shine-pulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

/* ===================================
   eCPPT Workshop Section Styles
   =================================== */
#ecppt-workshop.ecppt-workshop {
    padding: 0;
    /* spacing handled by section utility classes */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
}

.ecppt-workshop .ine-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 999px;
}

.ecppt-workshop .ine-badge img.ine-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.ecppt-workshop h2 {
    color: #1e3a8a;
}

.ecppt-workshop .subtitle {
    color: #e6eef8;
}

.ecppt-workshop .highlight {
    color: #eff6ff;
}

.ecppt-workshop .pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ecppt-workshop .curriculum-card {
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ecppt-workshop .ecppt-form iframe {
    width: 100%;
    max-width: 640px;
    height: 480px;
    border: none;
    border-radius: 8px;
}

.ecppt-workshop .ecppt-cta {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    transition: transform .12s ease, box-shadow .12s ease;
}

.ecppt-workshop .ecppt-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.18);
}

@media (max-width: 1023px) {
    #ecppt-workshop.ecppt-workshop {
        padding: 0;
    }

    .ecppt-workshop .ecppt-form iframe {
        width: 100%;
        max-width: 100%;
        height: 500px;
    }
}

@media (max-width: 767px) {
    #ecppt-workshop.ecppt-workshop {
        padding: 0;
    }

    .ecppt-workshop h2 {
        font-size: 24px;
    }

    .ecppt-workshop .ecppt-form iframe {
        height: 600px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecppt-workshop .ecppt-cta {
        transition: none;
    }
}

/* ===================================
   eCPPT Dedicated Page Styles (UX improvements)
   =================================== */
.ecppt-hero {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.06), rgba(118, 75, 162, 0.03));
    padding-top: 40px;
    padding-bottom: 80px;
}

.ecppt-title {
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}

.ecppt-hero .lead {
    color: #dbeafe;
    font-size: 16px;
    margin-bottom: 18px;
}

.highlights .highlight {
    background: transparent;
}

.highlights .icon {
    font-size: 22px;
    width: 28px;
}

.pricing {
    color: #e6eef8;
}

.form-card {
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
}

.iframe-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #07102a;
}

.iframe-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.btn-primary {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
    transition: transform .12s ease, box-shadow .12s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.14);
}

@media (max-width: 1023px) {
    .form-card {
        max-width: 720px;
        margin: 0 auto;
    }

    .iframe-wrap iframe {
        height: 560px;
    }
}

@media (max-width: 767px) {
    .ecppt-hero {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .ecppt-title {
        font-size: 24px;
    }

    .iframe-wrap iframe {
        height: 700px;
    }

    .form-card {
        padding: 18px;
    }
}

/* small visual tweak for badge */
.badge img {
    filter: saturate(1.05) contrast(1.05);
}

/* Discount badge */
.discount-badge {
    background: linear-gradient(90deg, #fde68a, #f59e0b);
    color: #08101a;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.8rem;
}

/* CTA emphasis for registration */
.btn-cta {
    background: linear-gradient(90deg, #ff7a36 0%, #ff4d4f 100%);
    box-shadow: 0 12px 30px rgba(255, 77, 79, 0.18);
    transform: translateY(0);
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(255, 77, 79, 0.22);
}