/* Custom styles for Innogate Tech Transformation Lab - Dark Theme */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Visual Dividers (Option 3B) */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    margin: 3rem auto;
    width: 80%;
    border-radius: 1px;
}

/* Background Transitions (Option 3C) - Ultra Subtle */
.transformation-section {
    background: linear-gradient(135deg, #0f0f23 0%, #0f0f23 70%, #0d0d1f 100%);
}

.service-highlight-section {
    background: linear-gradient(135deg, #0d0d1f 0%, #0d0d1f 70%, #0f0f23 100%);
}

.invitation-section {
    background: linear-gradient(135deg, #0f0f23 0%, #0f0f23 70%, #0d0d1f 100%);
}

.trust-section {
    background: linear-gradient(135deg, #0d0d1f 0%, #0d0d1f 70%, #0f0f23 100%);
}

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.8); }
}

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

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

/* Floating animation for icons */
.floating {
    animation: float 3s ease-in-out infinite;
}

/* Glow effect for CTA buttons */
.glow-on-hover:hover {
    animation: pulse-glow 2s infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    position: relative;
    overflow: hidden;
    color: white;
    font-weight: 600;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Diagnostic widget animations */
.diagnostic-question {
    animation: slideInUp 0.6s ease-out;
}

.diagnostic-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.diagnostic-option:hover {
    border-color: #6366f1;
    background-color: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.diagnostic-option.selected {
    border-color: #6366f1;
    background-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Score display animations */
.score-display {
    animation: fadeIn 1s ease-out;
}

/* Hover effects for navigation */
nav a:hover {
    color: #a5b4fc;
    transform: translateY(-1px);
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Technology logos hover effect */
.tech-logo {
    transition: all 0.3s ease;
    opacity: 0.7;
    color: #e2e8f0;
}

.tech-logo:hover {
    opacity: 1;
    color: #6366f1;
    transform: scale(1.1);
}

/* Responsive design enhancements */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .diagnostic-widget {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #6366f1;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success animation */
.success-checkmark {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Enhanced form styles */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: white;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input::placeholder {
    color: #94a3b8;
}

/* Backdrop blur enhancement */
.backdrop-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}





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

/* Responsive hero image */
@media (max-width: 768px) {
    .hero-background {
        max-width: 90vw;
        max-height: 400px;
    }
}

/* Fixed Header Background - Prevents overlap when scrolling */
nav.fixed {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Mobile menu button */
    #mobile-menu-button {
        padding: 0.5rem;
        border-radius: 0.375rem;
        transition: all 0.2s ease;
    }
    
    #mobile-menu-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile menu */
    #mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.95);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        width: 100vw;
        height: 100vh;
    }
    
    #mobile-menu.menu-open {
        transform: translateX(0) !important;
    }
    
    #mobile-menu a {
        border-radius: 0.375rem;
        margin: 0.25rem 0.5rem;
        transition: all 0.2s ease;
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
    
    #mobile-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(4px);
    }
    
    /* Services section in mobile menu */
    #mobile-menu .border-t {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    #mobile-menu .border-t a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #7c3aed);
}

/* HERO */
.hero{position:relative; padding:150px 0 100px}
.hero-inner{position:relative; display:grid; place-items:center; text-align:center; max-width:800px; margin:0 auto}
.headline{font-size: clamp(28px, 4vw, 48px); line-height:1.05; font-weight:800; letter-spacing:-.02em; margin:0 0 16px; color:#f8fafc; transform: translateY(60px)}
.sub{font-size: clamp(14px, 2vw, 20px); color:#ffffff; margin:0 0 20px; transform: translateY(60px)}

.headline{font-size: clamp(28px, 4vw, 48px); line-height:1.05; font-weight:800; letter-spacing:-.02em; margin:0 0 16px; color:#f8fafc}
.sub{font-size: clamp(14px, 2vw, 20px); color:#ffffff; margin:0 0 20px}
.brand-name{color:#ffffff}
.tagline{color:#c084fc}

.actions{position:absolute; bottom:-200px; left:0; right:0; margin:0 auto; width:fit-content; display:flex; gap:16px; flex-wrap:wrap; justify-content:center}
.actions a:hover{transform:scale(1.05); box-shadow:0 10px 25px rgba(0,0,0,0.3); transition:all 0.3s ease}
/* Button styles removed - now using Tailwind classes */

/* SVG GLOW BACKDROP */
.rings{position:absolute; top:272px; left:0; right:0; bottom:0; display:grid; place-items:center; pointer-events:none; z-index:1}
.hero-inner{position:relative; z-index:50}
.actions{position:relative; z-index:100}

/* OPTION 3: No Drop Shadow (Clean Look) */
 .rings svg{width:min(88vmin, 900px); height:auto;} 

/* Mobile responsive positioning for rings */
@media (max-width: 768px) {
    .rings {
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Desktop positioning - move messages down */
@media (min-width: 769px) {
    .headline {
        transform: translateY(80px);
    }
    .sub {
        transform: translateY(80px);
    }
} 


/* Make the hero taller on large screens */
@media (min-width:1200px){ .hero{padding:150px 0 100px} }

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



/* Enhanced text readability */
.text-gray-300 {
    color: #d1d5db !important;
}

.text-gray-400 {
    color: #9ca3af !important;
}

.text-blue-200 {
    color: #bfdbfe !important;
}

.text-blue-300 {
    color: #93c5fd !important;
}

.text-blue-400 {
    color: #60a5fa !important;
}

/* Enhanced background colors */
.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Color-specific background opacity classes */
.bg-red-500\/10 {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.bg-indigo-500\/10 {
    background-color: rgba(99, 102, 241, 0.1) !important;
}

.bg-emerald-500\/10 {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-purple-500\/10 {
    background-color: rgba(139, 92, 246, 0.1) !important;
}

/* Enhanced borders */
.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Color-specific border opacity classes */
.border-red-500\/30 {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.border-indigo-500\/30 {
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.border-emerald-500\/30 {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.border-purple-500\/30 {
    border-color: rgba(139, 92, 246, 0.3) !important;
}

/* Enhanced shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* Enhanced button colors */
.from-blue-500 {
    --tw-gradient-from: #6366f1 !important;
}

.to-cyan-500 {
    --tw-gradient-to: #8b5cf6 !important;
}

.from-blue-600 {
    --tw-gradient-from: #4f46e5 !important;
}

.to-cyan-600 {
    --tw-gradient-to: #7c3aed !important;
}

/* Enhanced hover states */
.hover\:from-blue-600:hover {
    --tw-gradient-from: #4f46e5 !important;
}

.hover\:to-cyan-600:hover {
    --tw-gradient-to: #7c3aed !important;
}

/* Enhanced focus states */
.focus\:border-blue-400:focus {
    border-color: #6366f1 !important;
}

.focus\:outline-none:focus {
    outline: none !important;
}

/* Services Dropdown Navigation Styles */
.services-dropdown {
    position: relative;
    display: inline-block;
}

.services-button {
    cursor: pointer;
}

.services-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 8px;
    width: 320px;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transform-origin: top;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
}

.services-dropdown:hover .services-menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.services-dropdown:hover .services-button svg {
    transform: rotate(180deg);
}

.services-button svg {
    transition: transform 0.3s ease;
}

/* Hover effects for dropdown items */
.services-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Additional utility classes for the dropdown */
.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Explicit indigo border styles for contact form */
.border-indigo-500\/80 {
    border-color: rgba(99, 102, 241, 0.8) !important;
}

.border-indigo-400\/40 {
    border-color: rgba(129, 140, 248, 0.4) !important;
}

.border-indigo-400\/80 {
    border-color: rgba(129, 140, 248, 0.8) !important;
}

/* Project option selection styles */
.project-option.selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%) !important;
    border-color: rgba(99, 102, 241, 0.8) !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3) !important;
}

.project-option.selected:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%) !important;
    border-color: rgba(99, 102, 241, 1) !important;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4) !important;
}

/* Form submission loading states */
.loading-text {
    display: none;
}

.loading-text.hidden {
    display: none;
}

.loading-text:not(.hidden) {
    display: inline;
}

.submit-text.hidden {
    display: none;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hover\:border-indigo-400\/100:hover {
    border-color: rgba(129, 140, 248, 1) !important;
}

.border-2 {
    border-width: 2px !important;
}

.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

.text-xs {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.block {
    display: block !important;
}

.border-b {
    border-bottom-width: 1px !important;
}

.border-white\/5 {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Hover behavior restored - dropdown only visible on hover */
.services-menu {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
}

/* Why Choose Innogate Section - Enhanced Typography */
.why-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.why-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e5e7eb;
    line-height: 1.4;
    position: relative;
    padding-bottom: 0.5rem;
}

.why-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 1px;
}

.why-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 0;
}

.why-section .grid > div {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-section .grid > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-section .grid > div:hover::before {
    left: 100%;
}

.why-section .grid > div:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-section .grid {
    gap: 2rem;
}

/* Add subtle icons to each card */

/* Diagnostic Widget Styles */
.diagnostic-question {
    animation: slideInUp 0.6s ease-out;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.diagnostic-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

.diagnostic-option:hover {
    transform: translateY(-1px);
}

.diagnostic-option.selected {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.1) !important;
}

.checkbox-style {
    border-radius: 2px !important;
    position: relative;
}

.checkbox-style::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-style.bg-blue-400::after {
    opacity: 1;
}
