/* Color Variables */
:root {
    --primary: #50C878;
    --primary-dark: #3EA065;
    --secondary: #FFD700;
    --secondary-dark: #DAA520;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #6C757D;
    --gray-dark: #2C3E50;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Modern animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation classes */
.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slideInLeft {
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
}

.animate-slideInRight {
    opacity: 0;
    animation: slideInRight 1s ease forwards;
}

.animate-slideInUp {
    opacity: 0;
    animation: slideInUp 1s ease forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Modern card styles */
.modern-card {
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 200, 120, 0.1);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(80, 200, 120, 0.1);
    border: 1px solid var(--primary);
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-effect:hover {
    border: 1px solid var(--primary);
}

/* Gradient Text Effects */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.gradient-text-secondary {
    background: linear-gradient(135deg, #1A3E2F 0%, #50C878 50%, #E8F5E9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Text Shadow for better readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Number Counter Animation */
.animate-number {
    transition: all 2s ease;
}

/* Glass Card Effect */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Enhanced Animations */
.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* Card Hover Effects */
.transform {
    transition: all 0.3s ease;
}

.transform:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(80, 200, 120, 0.2);
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(80, 200, 120, 0.3);
}

/* Modern button styles */
.modern-button {
    background: linear-gradient(45deg, #50C878, #1A3E2F);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1A3E2F, #50C878);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-button:hover::after {
    opacity: 1;
}

/* Section transitions */
.section-transition {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover effects */
.image-hover {
    transition: all 0.3s ease;
}

.image-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Custom focus styles */
.custom-focus:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(80, 200, 120, 0.3);
}

/* Loading animation */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-container.show {
    display: flex;
}

/* Responsive typography */
@media (max-width: 768px) {
    .responsive-text {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }
    
    a {
        color: #1A3E2F;
        text-decoration: underline;
    }
}

/* Loader Styles */
.loader-logo {
    display: none;
}

/* Navbar Styles */
#navbar {
    background: transparent;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Hero Section Animations */
@keyframes slow-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.animate-slow-zoom {
    animation: slow-zoom 20s linear infinite alternate;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 1s ease forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* Enhanced Golden Styles */
.golden-text {
    color: var(--primary);
}

.golden-border {
    border: 2px solid var(--primary);
}

.golden-glow {
    box-shadow: 0 0 15px rgba(80, 200, 120, 0.5);
}

.golden-gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.golden-hover:hover {
    color: var(--primary) !important;
    transition: color 0.3s ease;
}

.golden-button {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.golden-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 200, 120, 0.3);
}

.golden-card {
    background: var(--gray-light);
    border: 1px solid rgba(80, 200, 120, 0.2);
    transition: all 0.3s ease;
}

.golden-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(80, 200, 120, 0.2);
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
}

/* Section Styles */
.section-primary {
    background: var(--gray-light);
}

.section-dark {
    background: var(--gray-dark);
    color: var(--white);
}

.section-accent {
    background: var(--gradient-mixed);
    color: var(--white);
}

/* Text Styles */
.text-gradient {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.heading-accent {
    color: var(--royal-blue);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

/* Icon Styles */
.icon-primary {
    color: var(--primary);
}

.icon-secondary {
    color: var(--secondary);
}

.icon-container {
    background: var(--gradient-mixed);
    color: var(--white);
    padding: 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Link Styles */
.link-mixed {
    color: var(--royal-blue);
    transition: color 0.3s ease;
}

.link-mixed:hover {
    color: var(--primary);
}

/* Enhanced Mixed Color Styles */
.mixed-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mixed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.primary-text {
    color: #50C878;
}

.secondary-text {
    color: #FFD700;
}

.primary-button {
    background-color: #50C878;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background-color: #1A3E2F;
    transform: translateY(-2px);
}

.gold-button {
    background-color: #FFD700;
    color: #1A3E2F;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gold-button:hover {
    background-color: #1A3E2F;
    color: #FFD700;
    transform: translateY(-2px);
}

.accent-line {
    height: 4px;
    background: linear-gradient(to right, #50C878, #FFD700);
    border-radius: 2px;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Ensure proper spacing and alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid {
        gap: 1.5rem;
    }
    
    .mixed-card {
        margin-bottom: 1rem;
    }
}

/* Form Styles */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #50C878;
    box-shadow: 0 0 0 2px rgba(80, 200, 120, 0.2);
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Stagger Animation Delays */
.stagger-delay-1 { animation-delay: 0.2s; }
.stagger-delay-2 { animation-delay: 0.4s; }
.stagger-delay-3 { animation-delay: 0.6s; }
.stagger-delay-4 { animation-delay: 0.8s; } 