/* Custom styles for AltCircuit.Ai website - Partnership branding */

/* CSS Custom Properties for Mobile Navigation */
:root {
  --menu-text-primary: #ffffff;
  --menu-text-accent: #3b82f6;
  --menu-text-secondary: rgba(255, 255, 255, 0.7);
  --menu-glass: rgba(26, 26, 26, 0.8);
  --menu-glass-hover: rgba(255, 255, 255, 0.1);
  --menu-border: rgba(255, 255, 255, 0.1);
  --menu-accent-bg: rgba(59, 130, 246, 0.2);
  --menu-accent-border: rgba(59, 130, 246, 0.3);
  --menu-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --menu-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
  --menu-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --menu-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --menu-ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

/* Swiper navigation buttons - Modern style with enhanced transitions */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 0;
    margin-top: -30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, background;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(59, 130, 246, 0.9);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    transform: scale(1.1);
}

/* Position navigation buttons */
.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

/* Swiper pagination - Modern style */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform, background;
}

.swiper-pagination-bullet-active {
    background: #3b82f6 !important;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

/* Text animation enhancement - base styles only, timing controlled by JavaScript */
.text-anim-1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateX(-50px);
    will-change: transform, opacity;
}

/* Button styles matching original MegaSpeed.Ai */
.lrn-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.lrn-btn span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.lrn-btn i {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.lrn-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.lrn-btn:hover::before {
    left: 100%;
}

.lrn-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.lrn-btn:hover i {
    transform: translateX(3px);
}

.lrn-btn.dark-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.lrn-btn.dark-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.lrn-btn.dark-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.lrn-btn.dark-btn:hover i {
    transform: translateX(3px);
}

/* Button ripple effect */
.lrn-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.lrn-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Service cards hover effects */
.bg-dark-secondary.rounded-lg {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bg-dark-secondary.rounded-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bg-dark-secondary.rounded-lg:hover::before {
    opacity: 1;
}

.bg-dark-secondary.rounded-lg:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Number counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-5xl, .text-6xl {
    transition: all 0.3s ease;
}

/* Dropdown menu enhancement */
.dropdown-menu {
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-menu a {
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #3b82f6;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover::before {
    transform: translateX(0);
}

/* Modern Mobile Navigation - Simplified & Performant */
.mobile-menu {
    /* Positioning & State */
    position: fixed !important;
    inset: 0 !important;
    z-index: 50 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;

    /* Background & Layout - Strong fallbacks */
    background: #1a1a1a !important;
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex !important;
    flex-direction: column;

    /* Performance */
    will-change: transform, opacity;
    contain: layout style paint;
}

.mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Header Section */
.mobile-menu header {
    flex-shrink: 0;
}

/* Main Navigation Area */
.mobile-menu main {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
    display: block !important;

    /* Better scrolling performance */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    /* Ensure content is visible */
    background: transparent;
    position: relative;
}

/* Modern Mobile Navigation Components */
.mobile-menu button {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.mobile-menu button:hover,
.mobile-menu button:focus {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.mobile-menu button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Close Button */
.mobile-menu #close-mobile-menu {
    font-size: 1.25rem;
}

/* Navigation Links */
.mobile-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    color: #3b82f6;
    outline: none;
}

.mobile-menu a:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Accordion Components */
.mobile-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-accordion:last-child {
    border-bottom: none;
}

.accordion-toggle {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.5rem;
}

.accordion-toggle:focus-visible {
    background: rgba(59, 130, 246, 0.1);
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

.accordion-toggle:hover {
    color: #3b82f6;
}

/* Chevron Animation */
.accordion-toggle i {
    transition: transform 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
}

.accordion-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    opacity: 0;
}

.accordion-content:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Mobile Menu Content Container */
.mobile-menu .container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Accordion Content Visibility */
.mobile-accordion {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.accordion-content {
    display: block !important;
    visibility: visible !important;
}

.accordion-content.hidden {
    display: none !important;
}

/* Skip Link */
.mobile-menu .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-menu .sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}





  
/* Premium text content */
.mobile-menu a span {
    position: relative;
    z-index: 2;
}

/* Premium Dropdown Accordion Styles */
.mobile-dropdown {
    overflow: hidden;
    transition: all 0.4s var(--menu-ease-premium);
    margin: 1rem 0;
}

.mobile-dropdown-toggle {
    width: 100%;
    padding: 1.75rem 2rem;
    text-align: center;
    background: var(--menu-glass);
    border: 1px solid var(--menu-border);
    color: var(--menu-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    transition: all 0.4s var(--menu-ease-premium);
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(20px);
    box-shadow: var(--menu-shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Premium dropdown toggle hover effects */
.mobile-dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--menu-accent-bg) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s var(--menu-ease-premium);
    z-index: 1;
}

.mobile-dropdown-toggle:hover {
    color: var(--menu-text-accent);
    background: var(--menu-glass-hover);
    border-color: var(--menu-accent-border);
    transform: translateY(-2px);
    box-shadow: var(--menu-shadow-lg);
}

.mobile-dropdown-toggle:hover::before {
    opacity: 1;
}

/* Premium dropdown toggle text */
.mobile-dropdown-toggle span {
    position: relative;
    z-index: 2;
}

/* Premium chevron indicator */
.mobile-dropdown-toggle::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--menu-text-secondary);
    border-bottom: 2px solid var(--menu-text-secondary);
    transform: rotate(45deg);
    transition: all 0.4s var(--menu-ease-premium);
    margin-left: 1rem;
    position: relative;
    z-index: 2;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(-135deg);
    border-color: var(--menu-text-accent);
}

/* Premium dropdown content container */
.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--menu-ease-premium), opacity 0.4s var(--menu-ease-smooth);
    margin-top: 1rem;
    opacity: 0;
    padding: 0 1rem;
}

.mobile-dropdown-content.active {
    max-height: 600px;
    opacity: 1;
}

/* Premium dropdown items */
.mobile-dropdown-content .space-y-2 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-dropdown-content a {
    background: var(--menu-glass);
    border: 1px solid var(--menu-border);
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--menu-text-secondary);
    text-decoration: none;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: var(--menu-shadow-sm);
    transition: all 0.3s var(--menu-ease-smooth);
    position: relative;
    overflow: hidden;
}

/* Premium dropdown item hover effects */
.mobile-dropdown-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--menu-accent-bg) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s var(--menu-ease-smooth);
    z-index: 1;
}

.mobile-dropdown-content a:hover {
    color: var(--menu-text-accent);
    background: var(--menu-glass-hover);
    border-color: var(--menu-accent-border);
    transform: translateY(-1px);
    box-shadow: var(--menu-shadow-md);
}

.mobile-dropdown-content a:hover::before {
    opacity: 1;
}

.mobile-dropdown-content a span {
    position: relative;
    z-index: 2;
}

/* Mobile Menu Animation States */
.mobile-menu:not(.active) {
    pointer-events: none;
}

.mobile-menu.active {
    pointer-events: auto;
}

/* Force Mobile Menu Content Visibility */
.mobile-menu.active > main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 200px !important;
    flex: 1 !important;
    max-height: calc(100vh - 80px) !important;
}

/* Override Tailwind h-full class on mobile menu main */
.mobile-menu main.h-full {
    height: auto !important;
    flex: 1 !important;
    min-height: 200px !important;
}

.mobile-menu.active .container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu.active .space-y-2 {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override Tailwind Classes for Mobile Menu */
.mobile-menu .space-y-2 > * + * {
    margin-top: 0.5rem !important;
}

.mobile-menu a {
    display: block !important;
    visibility: visible !important;
}

.mobile-menu button {
    display: flex !important;
    visibility: visible !important;
}

/* Body scroll locking improvement */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Clean overlay for mobile menu without blur */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease,
                visibility 0.3s ease;
    cursor: pointer;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Parallax section enhancement */
.parallax {
    position: relative;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.parallax > * {
    position: relative;
    z-index: 2;
}

/* Cookie consent enhancement */
#cookie-message {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

#cookie-message button {
    transition: all 0.3s ease;
}

#cookie-message button:hover {
    transform: translateY(-2px);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glow effects */
.glow-effect {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

/* Gradient text effects */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service icon animation */
.bg-\[\\#060d1d\] {
    transition: all 0.3s ease;
}

.bg-\[\\#060d1d\]:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 3rem 0;
}

/* Enhanced form inputs (for future forms) */
input, textarea, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments - Minimalist Mobile Menu */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .text-5xl, .text-6xl {
        font-size: 2.5rem;
    }

    .lrn-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Logo adjustments for mobile */
    img[alt="AltCircuit.Ai Logo"] {
        width: 2.25rem;
        height: 2.25rem;
    }

    /* Mobile menu adjustments */
    .mobile-menu {
        padding: 1.5rem;
    }

    .mobile-menu .menu-content {
        max-width: 500px;
    }

    .mobile-menu a,
    .mobile-dropdown-toggle {
        min-height: 52px;
        font-size: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .mobile-menu {
        padding: 1rem;
    }

    .mobile-menu .menu-content {
        max-width: 100%;
    }

    .mobile-menu .close-menu-header {
        top: 1rem;
        right: 1rem;
    }

    /* Enhanced touch targets for very small screens */
    .mobile-menu a,
    .mobile-menu button,
    .mobile-dropdown-toggle {
        min-height: 60px;
        padding: 1.5rem 1.25rem;
        font-size: 1.1rem;
        min-width: 44px;
    }

    .mobile-dropdown-toggle {
        font-size: 1.15rem;
        padding: 1.5rem 1.25rem;
    }

    /* Extra large touch target for close button */
    .mobile-menu #close-mobile-menu {
        min-height: 64px;
        min-width: 64px;
        font-size: 1.4rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .preloader,
    .mobile-menu,
    #cookie-message,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .lrn-btn {
        border: 2px solid currentColor;
    }

    .bg-dark-secondary {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Enhanced focus visible styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Special focus styles for mobile menu items */
.mobile-menu a:focus-visible,
.mobile-menu button:focus-visible,
.mobile-dropdown-toggle:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 3px;
    background: rgba(59, 130, 246, 0.3);
}

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Performance optimization */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* charSlideIn animation for smooth left-to-right text animations */
@keyframes charSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Logo styles */
img[alt="AltCircuit.Ai Logo"] {
    transition: transform 0.3s ease, filter 0.3s ease;
}

img[alt="AltCircuit.Ai Logo"]:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Premium Dark Theme Variables */
:root {
    --color-primary: #0a0a0a;
    --color-secondary: #1a1a1a;
    --color-tertiary: #2a2a2a;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --partnership-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    /* Premium Mobile Menu Theme */
    --menu-bg-primary: #080808;
    --menu-bg-secondary: linear-gradient(135deg, #0f0f0f 0%, #080808 50%, #121212 100%);
    --menu-glass: rgba(255, 255, 255, 0.08);
    --menu-glass-hover: rgba(255, 255, 255, 0.15);
    --menu-border: rgba(255, 255, 255, 0.12);
    --menu-border-hover: rgba(212, 175, 55, 0.3);
    --menu-text-primary: #f5f5f5;
    --menu-text-secondary: #a0a0a0;
    --menu-text-accent: #d4af37;
    --menu-accent-bg: rgba(212, 175, 55, 0.1);
    --menu-accent-border: rgba(212, 175, 55, 0.4);
    --menu-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --menu-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --menu-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --menu-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --menu-ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Partnership section hidden - preserved for future use */
.partnership-section {
    display: none !important;
}

/* Partnership section specific styles (preserved for future use) */
.partnership-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.partnership-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

.partnership-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.partnership-card:hover .partnership-icon {
    transform: scale(1.1);
    background: var(--partnership-gradient);
}

.partnership-gradient-bg {
    background: var(--partnership-gradient);
    position: relative;
    overflow: hidden;
}

.partnership-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.partnership-gradient-bg:hover::before {
    left: 100%;
}

/* Service cards animation */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

.service-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

/* Enhanced button hover for partnership theme */
.lrn-btn:hover {
    background: var(--partnership-gradient);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Mobile responsive for partnership section */
@media (max-width: 768px) {
    .partnership-card {
        margin-bottom: 1.5rem;
    }

    .partnership-gradient-bg {
        padding: 2rem 1rem;
    }
}

/* Random Sketch Background Effect */
.abstract-bg-random {
    position: relative;
    overflow: hidden;
}

/* Pattern 1 - Technology Infrastructure Section (Large Background Sketches) */
.abstract-bg-pattern-1::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 65%;
    height: 70%;
    background-image: url('../image/Picture1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    transform: rotate(8deg) scale(1.1);
    clip-path: polygon(5% 0%, 95% 5%, 100% 95%, 0% 90%);
    will-change: transform;
}

.abstract-bg-pattern-1::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -8%;
    width: 55%;
    height: 60%;
    background-image: url('../image/Picture2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-12deg) scale(1.05);
    clip-path: polygon(0% 10%, 90% 0%, 95% 90%, 5% 100%);
    will-change: transform;
}

/* Pattern 2 - Services Section (Large Background Sketches) */
.abstract-bg-pattern-2::before {
    content: '';
    position: absolute;
    top: -8%;
    right: -5%;
    width: 60%;
    height: 65%;
    background-image: url('../image/Picture3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-10deg) scale(1.08);
    clip-path: polygon(8% 0%, 92% 8%, 100% 92%, 0% 85%);
    will-change: transform;
}

.abstract-bg-pattern-2::after {
    content: '';
    position: absolute;
    bottom: -12%;
    left: -6%;
    width: 58%;
    height: 62%;
    background-image: url('../image/Picture1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    transform: rotate(15deg) scale(1.02);
    clip-path: polygon(0% 8%, 88% 0%, 95% 95%, 5% 100%);
    will-change: transform;
}

/* Ensure content stays above all sketch fragments */
.abstract-bg-random > * {
    position: relative;
    z-index: 1;
}

/* Mobile responsive adjustments for large background sketches */
@media (max-width: 768px) {
    .abstract-bg-pattern-1::before,
    .abstract-bg-pattern-1::after {
        width: 45% !important;
        height: 50% !important;
        opacity: 0.05;
    }

    .abstract-bg-pattern-2::before,
    .abstract-bg-pattern-2::after {
        width: 42% !important;
        height: 48% !important;
        opacity: 0.05;
    }
}

@media (max-width: 480px) {
    .abstract-bg-pattern-1::before,
    .abstract-bg-pattern-1::after,
    .abstract-bg-pattern-2::before,
    .abstract-bg-pattern-2::after {
        width: 35% !important;
        height: 40% !important;
        opacity: 0.04;
    }
}

/* Add empty divs for additional sketch fragments */
.abstract-bg-random::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Create additional elements for sketch fragments */
.abstract-bg-random .sketch-fragment-1,
.abstract-bg-random .sketch-fragment-2,
.abstract-bg-random .sketch-fragment-3 {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
}

