/* Color Variables */
:root {
    /* Primary Colors */
    --primary-100: #e6f0ff;
    --primary-200: #b3d1ff;
    --primary-300: #80b3ff;
    --primary-400: #4d94ff;
    --primary-500: #1a75ff;  /* Main Primary Color */
    --primary-600: #0052cc;
    --primary-700: #003d99;
    
    /* Secondary Colors */
    --secondary-100: #ffe6e6;
    --secondary-200: #ffb3b3;
    --secondary-300: #ff8080;
    --secondary-400: #ff4d4d;
    --secondary-500: #ff1a1a;  /* Main Secondary Color */
    --secondary-600: #cc0000;
    --secondary-700: #990000;
    
    /* Accent Colors */
    --accent-100: #e6f7ff;
    --accent-200: #b3e6ff;
    --accent-300: #80d4ff;
    --accent-400: #4dc3ff;
    --accent-500: #1ab2ff;  /* Main Accent Color */
    --accent-600: #0088cc;
    --accent-700: #006699;
    
    /* Neutral Colors */
    --neutral-100: #f8f9fa;
    --neutral-200: #e9ecef;
    --neutral-300: #dee2e6;
    --neutral-400: #ced4da;
    --neutral-500: #6c757d;
    --neutral-600: #495057;
    --neutral-700: #343a40;
    --neutral-800: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-500) 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(135deg, var(--neutral-700) 0%, var(--neutral-800) 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Box Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Background Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 1rem 1rem;
    opacity: 0.1;
}

.bg-pattern-grid {
    background-image: linear-gradient(to right, currentColor 1px, transparent 1px),
                      linear-gradient(to bottom, currentColor 1px, transparent 1px);
    background-size: 2rem 2rem;
    opacity: 0.1;
}

.bg-pattern-diamond {
    background-image: radial-gradient(circle at 50% 50%, currentColor 0%, transparent 50%);
    background-size: 1rem 1rem;
    opacity: 0.1;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Gradients */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Styles */
.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-gradient:hover::before {
    opacity: 1;
}

/* Card Styles */
.card-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* Section Backgrounds */
.section-bg-light {
    background-color: var(--neutral-100);
    position: relative;
    overflow: hidden;
}

.section-bg-dark {
    background-color: var(--neutral-800);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-bg-gradient {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.decorative-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.shape-circle {
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.shape-wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231a75ff' fill-opacity='0.1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    width: 100%;
    height: 100px;
    bottom: 0;
    left: 0;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Image Overlay */
.image-overlay {
    position: relative;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.image-overlay-content {
    position: relative;
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-bg-gradient, .section-bg-dark, .section-bg-light {
        padding: 3rem 0;
    }
    
    .shape-circle {
        width: 200px !important;
        height: 200px !important;
    }
}

/* Utility Classes */
.rounded-lg {
    border-radius: var(--radius-lg);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-200);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-500);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-600);
}
