:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #7209b7;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-text: #f8fafc;
    --dark-muted: #94a3b8;
    --light-bg: #ffffff;
    --light-card: #f8fafc;
    --light-text: #1e293b;
    --light-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BASE BODY STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

body.light-mode {
    background-color: var(--light-bg);
    color: var(--light-text);
}

/* ===== FIXED TEXT VISIBILITY ===== */
.dark-mode {
    --text-color: #f8fafc !important;
    --text-muted: #94a3b8 !important;
}

.dark-mode .text-dark,
.dark-mode .text-light,
.dark-mode .text-muted,
.dark-mode h1, .dark-mode h2, .dark-mode h3,
.dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode p, .dark-mode span, .dark-mode li,
.dark-mode a:not(.btn),
.dark-mode .navbar-nav .nav-link,
.dark-mode .footer-links a {
    color: var(--dark-text) !important;
}

.dark-mode .text-muted,
.dark-mode .navbar-nav .nav-link:not(.active) {
    color: var(--dark-muted) !important;
}

/* Light Mode Text Colors */
.light-mode {
    --text-color: #1e293b !important;
    --text-muted: #64748b !important;
}

.light-mode .text-dark,
.light-mode .text-light,
.light-mode .text-muted,
.light-mode h1, .light-mode h2, .light-mode h3,
.light-mode h4, .light-mode h5, .light-mode h6,
.light-mode p, .light-mode span, .light-mode li,
.light-mode a:not(.btn),
.light-mode .navbar-nav .nav-link,
.light-mode .footer-links a {
    color: var(--light-text) !important;
}

.light-mode .text-muted,
.light-mode .navbar-nav .nav-link:not(.active) {
    color: var(--light-muted) !important;
}

/* ===== FIXED NAVBAR TEXT ===== */
.dark-mode .navbar-nav .nav-link {
    color: var(--dark-text) !important;
}

.light-mode .navbar-nav .nav-link {
    color: var(--light-text) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.light-mode #preloader {
    background: var(--light-bg);
}

/* ===== THEME SWITCHER ===== */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-btn:hover {
    transform: rotate(30deg);
    background: var(--primary-color);
    color: white !important;
}

/* ===== PARTICLES FIX ===== */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ===== SECTIONS WITH ANIMATIONS ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title .text-primary {
    color: var(--primary-color) !important;
}

/* ===== CUSTOM ANIMATION CLASSES ===== */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-shimmer {
    position: relative;
    overflow: hidden;
}

.animate-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.light-mode .glass-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.light-mode .btn-outline-light {
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: var(--light-text);
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

/* ===== NAVBAR FIX ===== */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
}

.navbar-brand .text-primary {
    color: var(--primary-color) !important;
}

/* ===== FEATURES ===== */
.feature-card {
    height: 100%;
    text-align: center;
    padding: 40px 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(67, 97, 238, 0.2);
}

/* ===== INTEGRATIONS ===== */
.integration-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.integration-logo {
    width: 120px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.integration-logo:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(67, 97, 238, 0.1);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.1);
}

/* ===== PRICING ===== */
.pricing-card {
    padding: 40px 30px;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    animation: popular-card 3s ease-in-out infinite;
}

@keyframes popular-card {
    0%, 100% { transform: scale(1.05) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); }
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 30px;
    padding: 60px;
    margin: 100px 0;
    animation: gradient-shift 10s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

/* ===== TEAM ===== */
.team-member {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid rgba(67, 97, 238, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover .team-avatar {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

/* ===== FOOTER FIX ===== */
footer {
    background: var(--dark-card) !important;
    padding: 80px 0 40px;
}

.light-mode footer {
    background: var(--light-card) !important;
}

.footer-links h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.light-mode .footer-links h6 {
    color: var(--light-text);
}

.footer-links a {
    color: var(--dark-muted) !important;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.light-mode .footer-links a {
    color: var(--light-muted) !important;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

/* ===== AI ASSISTANT FIX ===== */
.ai-assistant {
    position: fixed;
    bottom: 30px;
    left: 30px; 
    z-index: 1000;
}

.ai-btn {
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(67, 97, 238, 0.5); 
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(67, 97, 238, 0.8); 
        transform: scale(1.05);
    }
}

/* AI Chat Window */
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    height: 500px;
    background: var(--dark-card);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .ai-chat-window {
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.ai-chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-header {
    padding: 20px;
    background: rgba(67, 97, 238, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-message {
    max-width: 80%;
    padding: 15px;
    border-radius: 15px;
    opacity: 0;
    animation: messageIn 0.3s ease forwards;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-user {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
    animation-delay: 0.1s;
}

.ai-bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    animation-delay: 0.3s;
}

.light-mode .ai-bot {
    background: rgba(0, 0, 0, 0.05);
    color: var(--light-text);
}

.ai-chat-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .ai-chat-input {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}
.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* Theme switcher */
.theme-switcher-bottom {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 1000;
}

.theme-btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
}

.theme-btn-floating:hover {
    transform: scale(1.1) rotate(30deg);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

/* Remove old theme switcher */
.theme-switcher.fixed-top {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theme-switcher-bottom {
        bottom: 80px; /* Above AI assistant */
        right: 20px;
    }
    
    .theme-btn-floating {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Search Facility */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
    padding-top: 100px;
}

.search-modal {
    background: var(--dark-card);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-input-container {
    position: relative;
    margin-bottom: 30px;
}

.search-input-container input {
    padding-right: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.1rem;
}

.search-input-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 50px;
}

.search-results {
    min-height: 200px;
}

.result-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.result-item h6 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.result-item p {
    color: var(--dark-muted);
    font-size: 0.9rem;
    margin: 0;
}

.suggestion-tags .badge {
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tags .badge:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-title h2 { font-size: 2.5rem; }
    section { padding: 60px 0; }
    .newsletter-section { padding: 40px 20px; margin: 60px 0; }
    .ai-chat-window {
        width: calc(100vw - 40px);
        right: 20px;
    }
    .pricing-card.popular {
        transform: scale(1);
        animation: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-assistant {
        bottom: 20px;
        left: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .ai-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Hide text on very small screens */
    @media (max-width: 480px) {
        .ai-btn .ai-label {
            display: none;
        }
        
        .ai-btn {
            padding: 15px;
            width: 50px;
            height: 50px;
            justify-content: center;
        }
        
        .ai-btn i {
            margin: 0 !important;
        }
    }
}

/* About Page Specific Styles */
.mission-card {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
    border: none;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.journey-timeline {
    position: relative;
    padding: 4rem 0;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    margin-bottom: 3rem;
    background: var(--dark-card);
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
}

.timeline-year {
    position: absolute;
    top: -15px;
    left: -20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    text-align: center;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.office-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.office-image {
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
    position: relative;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.office-image:hover img {
    transform: scale(1.1);
}

.office-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.office-image:hover .office-overlay {
    transform: translateY(0);
}

.light-mode .stat-item,
.light-mode .timeline-item,
.light-mode .value-card {
    background: var(--light-card);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Careers Page Specific Styles */
.careers-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
                url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.benefit-card {
    padding: 2rem;
    text-align: center;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.job-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.job-tag {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.culture-item {
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.employee-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.stat-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.light-mode .benefit-card,
.light-mode .job-card,
.light-mode .culture-item {
    background: var(--light-card);
    border-color: rgba(0, 0, 0, 0.1);
}

.application-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.application-modal.active {
    display: flex;
}

.application-form {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.contact-card {
    padding: 2rem;
    text-align: center;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.office-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.office-map {
    height: 200px;
    background: #2d3748;
    border-radius: 10px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-form-container {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-floating .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-floating .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.support-hours {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.timezone-selector {
    max-width: 300px;
    margin: 1rem auto;
}

.social-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-contact .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-mode .contact-card,
.light-mode .office-card,
.light-mode .contact-form-container {
    background: var(--light-card);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .form-floating .form-control {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--light-text);
}

.success-message {
    display: none;
    padding: 2rem;
    background: rgba(76, 201, 240, 0.1);
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.success-message.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Legal Pages Specific Styles */
.legal-hero {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-nav {
    position: sticky;
    top: 100px;
    background: var(--dark-card);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 120px;
}

.legal-section h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.update-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 1rem;
}

.info-box {
    background: rgba(67, 97, 238, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.data-table th,
.data-table td {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.data-table th {
    background: rgba(67, 97, 238, 0.1);
    font-weight: 600;
}

.cookie-settings {
    background: rgba(67, 97, 238, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.cookie-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-categories {
    margin-top: 2rem;
}

.cookie-category {
    background: var(--dark-card);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .legal-content,
.light-mode .legal-nav,
.light-mode .cookie-toggle,
.light-mode .cookie-category {
    background: var(--light-card);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .legal-nav a {
    color: var(--light-text);
}

.light-mode .data-table th,
.light-mode .data-table td {
    border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-nav {
        position: static;
        margin-bottom: 2rem;
    }
}


/* Press Page Specific Styles */
.press-hero {
    background: linear-gradient(135deg, 
        rgba(67, 97, 238, 0.15), 
        rgba(114, 9, 183, 0.15)),
        url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.press-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(15, 23, 42, 0.9), 
        rgba(15, 23, 42, 0.7));
}

.press-hero-content {
    position: relative;
    z-index: 2;
}

.media-kit {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kit-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-card {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.2);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.press-releases {
    margin: 4rem 0;
}

.press-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
}

.press-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.press-date {
    min-width: 100px;
    text-align: center;
}

.date-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.press-content h4 {
    margin-bottom: 1rem;
}

.press-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.press-tag {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.press-links {
    margin-top: 1.5rem;
}

.in-the-news {
    margin: 4rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--dark-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.news-source i {
    font-size: 0.9rem;
}

.awards-section {
    background: rgba(67, 97, 238, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.award-card {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.award-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.press-contacts {
    margin: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-person {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
}

.light-mode .download-card,
.light-mode .press-card,
.light-mode .news-card,
.light-mode .award-card,
.light-mode .contact-person {
    background: var(--light-card);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .media-kit {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(114, 9, 183, 0.05));
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .awards-section {
    background: rgba(67, 97, 238, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .press-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .press-date {
        text-align: left;
    }
    
    .media-kit {
        padding: 2rem;
    }
}

.modal-press {
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .modal-press {
    background: var(--light-card);
    border-color: rgba(0, 0, 0, 0.1);
}

