/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}
/* Language Switcher Styles */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(251, 146, 60, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(251, 146, 60, 0.5);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.2);
  min-width: 120px;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.language-option:hover {
  background: rgba(251, 146, 60, 0.1);
  color: #f97316;
}

.language-option.active {
  background: rgba(251, 146, 60, 0.2);
  color: #f97316;
  font-weight: 600;
}

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

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #fffbeb, #fed7aa);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f97316, #fb923c, #fbbf24);
    border-radius: 10px;
    border: 2px solid #fed7aa;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ea580c, #f97316, #f59e0b);
}
/* Background fade animation */
.bg-fade-gradient {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(254, 247, 237, 0.8) 25%,
        rgba(255, 247, 237, 0.6) 50%,
        rgba(255, 247, 237, 0.4) 75%,
        rgba(255, 247, 237, 0.2) 100%
    );
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-element {
    animation: float 6s ease-in-out infinite;
}
/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #f97316, #fb923c, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced gradient backgrounds */
.enhanced-gradient {
    background: linear-gradient(135deg, 
        #f97316 0%, 
        #fb923c 25%, 
        #fdba74 50%, 
        #fbbf24 75%, 
    );
}

/* Shadow enhancements */
.enhanced-shadow {
    box-shadow: 
        0 20px 40px rgba(249, 115, 22, 0.15),
        0 8px 16px rgba(251, 146, 60, 0.2),
        0 4px 8px rgba(253, 186, 116, 0.1);
    }
/* Custom button hover effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Section transitions */
.section-transition {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Custom orange gradient */
.orange-gradient {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

/* Responsive text sizes */
@media (max-width: 768px) {
    .responsive-text {
        font-size: 2.5rem !important;
    }
}
/* Interactive button styles */
.btn-text, .btn-expanded {
    transition: all 0.3s ease;
}

.btn-expanded {
    font-weight: 500;
}

.hidden {
    display: none;
}

/* Problem card animations */
.problem-card {
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(249, 115, 22, 0.15);
}

.problem-expanded {
    animation: fadeInUp 0.5s ease;
}

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

/* Storytelling section styles */
#why .bg-gradient-to-b {
    background: linear-gradient(135deg, #fffbeb, #fed7aa);
}

/* Enhanced interactive elements */
.cursor-pointer {
    cursor: pointer;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Hover scale effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(135deg, #f97316, #fb923c, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

/* Pulse animation for CTA elements */
.pulse-cta {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(249, 115, 22, 0);
    }
}
