/* Round Analytics - Futuristic Academic Website Styles */

/* Custom Properties for Theming */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --neon-blue: #00f5ff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff1493;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --surface-glass: rgba(255, 255, 255, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Theme 1: Default Dark (Futuristic) */
[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --neon-blue: #00f5ff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff1493;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --surface-glass: rgba(255, 255, 255, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Theme 2: Ocean Blue */
[data-theme="ocean"] {
    --primary-gradient: linear-gradient(135deg, #0099f7 0%, #0066cc 100%);
    --secondary-gradient: linear-gradient(135deg, #00c4cc 0%, #0099a6 100%);
    --accent-gradient: linear-gradient(135deg, #33ccff 0%, #0099cc 100%);
    --dark-gradient: linear-gradient(135deg, #001f3f 0%, #002b5c 100%);
    --glass-bg: rgba(173, 216, 230, 0.1);
    --glass-border: rgba(173, 216, 230, 0.2);
    --neon-blue: #00bfff;
    --neon-purple: #4169e1;
    --neon-pink: #1e90ff;
    --text-primary: #e6f3ff;
    --text-secondary: #b3d9ff;
    --surface-glass: rgba(173, 216, 230, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(0, 123, 191, 0.37);
}

/* Theme 3: Forest Green */
[data-theme="forest"] {
    --primary-gradient: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    --secondary-gradient: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
    --accent-gradient: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
    --dark-gradient: linear-gradient(135deg, #0d2818 0%, #1e3a2e 100%);
    --glass-bg: rgba(144, 238, 144, 0.1);
    --glass-border: rgba(144, 238, 144, 0.2);
    --neon-blue: #00ff7f;
    --neon-purple: #32cd32;
    --neon-pink: #00fa54;
    --text-primary: #e8f5e8;
    --text-secondary: #c3e6c3;
    --surface-glass: rgba(144, 238, 144, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(39, 174, 96, 0.37);
}

/* Theme 4: Sunset Orange */
[data-theme="sunset"] {
    --primary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    --secondary-gradient: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
    --accent-gradient: linear-gradient(135deg, #ffa726 0%, #ff7043 100%);
    --dark-gradient: linear-gradient(135deg, #2d1b1b 0%, #4a2c2a 100%);
    --glass-bg: rgba(255, 165, 0, 0.1);
    --glass-border: rgba(255, 165, 0, 0.2);
    --neon-blue: #ff4500;
    --neon-purple: #ff1493;
    --neon-pink: #ff69b4;
    --text-primary: #ffe6e6;
    --text-secondary: #ffb3b3;
    --surface-glass: rgba(255, 165, 0, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(255, 107, 107, 0.37);
}

/* Theme 5: Royal Purple */
[data-theme="royal"] {
    --primary-gradient: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    --secondary-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --accent-gradient: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
    --dark-gradient: linear-gradient(135deg, #2c1810 0%, #44337a 100%);
    --glass-bg: rgba(186, 85, 211, 0.1);
    --glass-border: rgba(186, 85, 211, 0.2);
    --neon-blue: #9370db;
    --neon-purple: #ba55d3;
    --neon-pink: #da70d6;
    --text-primary: #f0e6ff;
    --text-secondary: #d1b3ff;
    --surface-glass: rgba(186, 85, 211, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(142, 68, 173, 0.37);
}

/* Theme 6: Light Professional */
[data-theme="light"] {
    --primary-gradient: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --secondary-gradient: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    --accent-gradient: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --dark-gradient: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    --glass-bg: rgba(52, 73, 94, 0.1);
    --glass-border: rgba(52, 73, 94, 0.2);
    --neon-blue: #3498db;
    --neon-purple: #9b59b6;
    --neon-pink: #e74c3c;
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --surface-glass: rgba(52, 73, 94, 0.05);
    --shadow-glow: 0 8px 32px 0 rgba(52, 73, 94, 0.17);
}

/* Theme 7: Black and White */
[data-theme="monochrome"] {
    --primary-gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
    --secondary-gradient: linear-gradient(135deg, #333333 0%, #666666 100%);
    --accent-gradient: linear-gradient(135deg, #666666 0%, #999999 100%);
    --dark-gradient: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --neon-blue: #333333;
    --neon-purple: #555555;
    --neon-pink: #777777;
    --text-primary: #000000;
    --text-secondary: #333333;
    --surface-glass: rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Theme Selector Styles */
.theme-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: var(--shadow-glow);
}

.theme-dropdown {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    min-width: 140px;
    transition: all 0.3s ease;
}

.theme-dropdown:hover {
    background: var(--surface-glass);
    border: 1px solid var(--glass-border);
}

.theme-dropdown option {
    background: var(--dark-gradient);
    color: var(--text-primary);
    padding: 0.5rem;
    border: none;
}

/* Light theme specific overrides */
[data-theme="light"] body {
    background: var(--dark-gradient);
    color: var(--text-primary);
}

[data-theme="light"] .hero {
    background: var(--dark-gradient);
    color: var(--text-primary);
}

[data-theme="light"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .card-title {
    color: var(--text-primary);
}

[data-theme="light"] .card-text {
    color: var(--text-secondary);
}

[data-theme="light"] .footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
}

[data-theme="light"] .stats-section {
    background: var(--primary-gradient);
}

[data-theme="light"] .contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

[data-theme="light"] .form-control {
    background: var(--surface-glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

[data-theme="light"] .form-group label {
    color: var(--text-primary);
}

/* Monochrome theme specific overrides */
[data-theme="monochrome"] body {
    background: var(--dark-gradient);
    color: var(--text-primary);
}

[data-theme="monochrome"] .hero {
    background: var(--dark-gradient);
    color: var(--text-primary);
}

[data-theme="monochrome"] .hero h1 {
    color: var(--text-primary);
    text-shadow: none;
}

[data-theme="monochrome"] .hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .card-title {
    color: var(--text-primary);
}

[data-theme="monochrome"] .card-text {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .nav-menu li a {
    color: var(--text-primary);
}

[data-theme="monochrome"] .logo {
    color: var(--text-primary);
    text-shadow: none;
}

[data-theme="monochrome"] h1,
[data-theme="monochrome"] h2,
[data-theme="monochrome"] h3,
[data-theme="monochrome"] h4,
[data-theme="monochrome"] h5,
[data-theme="monochrome"] h6 {
    color: var(--text-primary);
    text-shadow: none;
}

[data-theme="monochrome"] .footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-primary);
}

[data-theme="monochrome"] .footer-section h3 {
    color: var(--text-primary);
}

[data-theme="monochrome"] .footer-section p,
[data-theme="monochrome"] .footer-section li {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .footer-section ul li a {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .footer-section ul li a:hover {
    color: var(--text-primary);
}

[data-theme="monochrome"] .stats-section {
    background: var(--primary-gradient);
    color: white;
}

[data-theme="monochrome"] .contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

[data-theme="monochrome"] .form-control {
    background: var(--surface-glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

[data-theme="monochrome"] .form-group label {
    color: var(--text-primary);
}

[data-theme="monochrome"] body::before {
    background: radial-gradient(circle at 25% 25%, #333333 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, #666666 0%, transparent 50%),
                radial-gradient(circle at 25% 75%, #999999 0%, transparent 50%),
                radial-gradient(circle at 75% 25%, #cccccc 0%, transparent 50%);
    opacity: 0.05;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-gradient);
    overflow-x: hidden;
    position: relative;
}

/* Futuristic Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 25%, #667eea 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, #764ba2 0%, transparent 50%),
                radial-gradient(circle at 25% 75%, #f093fb 0%, transparent 50%),
                radial-gradient(circle at 75% 25%, #4facfe 0%, transparent 50%);
    opacity: 0.1;
    animation: backgroundPulse 20s ease-in-out infinite;
    z-index: -2;
}

@keyframes backgroundPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

/* Particle Animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    box-shadow: 0 0 10px var(--neon-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

h1 { 
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 { 
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Header and Navigation */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--surface-glass);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo .icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.6);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { box-shadow: 0 0 20px rgba(243, 156, 18, 0.6); }
    100% { box-shadow: 0 0 30px rgba(243, 156, 18, 0.8); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #f39c12;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f39c12;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--dark-gradient);
    color: var(--text-primary);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: heroFloat 25s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    border-radius: 50%;
    animation: centerPulse 4s infinite ease-in-out;
}

@keyframes heroFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

@keyframes centerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(20); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.btn-primary {
    background: var(--secondary-gradient);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--accent-gradient);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.6), 0 0 50px rgba(0, 245, 255, 0.3);
    border-color: var(--neon-blue);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
    border-color: var(--neon-pink);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards and Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(102, 126, 234, 0.3);
    border-color: var(--neon-blue);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

/* Services/Features */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) { border-top: 3px solid var(--neon-blue); }
.service-card:nth-child(2) { border-top: 3px solid var(--neon-purple); }
.service-card:nth-child(3) { border-top: 3px solid var(--neon-pink); }
.service-card:nth-child(4) { border-top: 3px solid #00f2fe; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 50px rgba(102, 126, 234, 0.4);
    border-color: var(--neon-blue);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f39c12;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #3498db;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: #2c3e50;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    background: white;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f39c12;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #bbb;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f39c12;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bbb;
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e1e8ed;
}

.breadcrumb nav {
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Content sections */
.content-section {
    padding: 4rem 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4,
    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .card,
    .service-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Events and Training Styles */
.events-grid,
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
}

.event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 50px rgba(102, 126, 234, 0.4);
    border-color: var(--neon-blue);
}

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.event-status.completed {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.event-content {
    display: flex;
    padding: 1.5rem;
    gap: 1rem;
}

.event-date {
    flex-shrink: 0;
}

.date-box {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    min-width: 80px;
}

.date-box.past {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.3);
}

.date-box .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.date-box .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.1rem;
}

.date-box .year {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.event-info {
    flex: 1;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.event-meta i {
    color: var(--neon-blue);
    width: 14px;
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-actions .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}

/* Event Stats for Past Events */
.event-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--surface-glass);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.2rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature List for Training Categories */
.feature-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--neon-blue);
    font-weight: bold;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glow);
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design for Events */
@media (max-width: 768px) {
    .events-grid,
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .date-box {
        align-self: flex-start;
        min-width: 70px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-actions .btn {
        width: 100%;
    }
    
    .event-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .event-image {
        height: 200px;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.1rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
    
    .date-box .day {
        font-size: 1.5rem;
    }
    
    .event-stats {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .stat:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
}

/* Theme-specific overrides for events */
[data-theme="light"] .event-card {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

[data-theme="light"] .event-title {
    color: var(--text-primary);
}

[data-theme="light"] .event-description {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .event-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

[data-theme="monochrome"] .event-title {
    color: var(--text-primary);
}

[data-theme="monochrome"] .event-description {
    color: var(--text-secondary);
}

[data-theme="monochrome"] .stat-number {
    color: var(--text-primary);
}

[data-theme="monochrome"] .feature-list li::before {
    color: var(--text-primary);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.bg-white { background: white; }
.bg-gray { background: #f8f9fa; }

.text-primary { color: #3498db; }
.text-secondary { color: #f39c12; }
.text-success { color: #27ae60; }
.text-danger { color: #e74c3c; }
