/*
Theme Name: Adalya İlk Yardım
Description: Adalya İlk Yardım Eğitim Merkezi için özel tasarlanmış modern ve yenilikçi WordPress teması
Version: 2.0
Author: Etki360 Digital Agency
Author URI: https://etki360.com
*/

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

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 2vw, 16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
    overflow-x: hidden;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Modern Color Variables */
:root {
    --primary-red: #dc2626;
    --primary-red-light: #ef4444;
    --primary-red-dark: #b91c1c;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-blue-dark: #1d4ed8;
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    --gradient-hero: linear-gradient(135deg, #dc2626 0%, #e11d48 25%, #ef4444 50%, #f87171 100%);
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.2);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(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 float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 4vw, 2rem);
}

h4 {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

h5 {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

h6 {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

p {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #e11d48 25%, #ef4444 50%, #f87171 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInScale 0.8s ease-out;
}

.preloader-logo {
    width: clamp(150px, 20vw, 220px);
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 8px 30px rgba(255, 255, 255, 0.4));
    animation: logoFloatPulse 2s ease-in-out infinite;
    margin-bottom: 2rem;
}

.preloader-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.preloader-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spinner-ring {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    animation: spinnerPulse 1.4s ease-in-out infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

.preloader-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes logoFloatPulse {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: brightness(0) invert(1) drop-shadow(0 8px 30px rgba(255, 255, 255, 0.4));
    }
    50% {
        transform: translateY(-10px) scale(1.15);
        filter: brightness(0) invert(1) drop-shadow(0 15px 50px rgba(255, 255, 255, 0.8));
    }
}

@keyframes spinnerPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Modern Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.site-logo:hover {
    transform: scale(1.02);
}

.site-logo img {
    max-height: clamp(35px, 7vw, 50px);
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(220, 38, 38, 0.3));
    transition: var(--transition);
}

.site-logo img:hover {
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.5));
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    position: relative;
    transition: var(--transition);
    background: transparent;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
    z-index: -1;
}

.main-navigation a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.main-navigation a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* CTA Button in Navigation */
.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 50px !important;
    padding: 0.75rem 1.5rem !important;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.nav-cta::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;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: clamp(1rem, 3vw, 1.2rem);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Revolutionary Hero Section */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffffff" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>') repeat;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23ffffff"><path d="M0,60 Q300,20 600,60 T1200,60 L1200,120 L0,120 Z"/></svg>') repeat-x;
    background-size: 1200px 150px;
    background-position: 0 bottom;
    animation: singleWaveMove 15s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
}

/* Simple Single Wave Animation */
@keyframes singleWaveMove {
    0% {
        background-position: 0 bottom;
    }
    100% {
        background-position: 1200px bottom;
    }
}

/* Footer Wave Animation */
@keyframes footerWaveMove {
    0% {
        background-position: 0 top;
    }
    100% {
        background-position: 1200px top;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

/* Hero Logo Branding */
.hero-logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    animation: fadeInScale 1s ease-out;
}

.hero-logo {
    height: clamp(60px, 10vw, 100px);
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

.hero-brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.3;
}

.hero-visual {
    animation: slideInRight 1s ease-out;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3.2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* Modern Feature Cards in Hero */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-feature i {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature span {
    font-weight: 500;
    font-size: clamp(0.85rem, 2.3vw, 0.95rem);
    color: var(--white);
    text-align: left;
    flex: 1;
}

/* Floating Elements */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.floating-element:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.floating-element-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-element-2 {
    width: 160px;
    height: 160px;
    top: 55%;
    right: 15%;
    animation-delay: 2s;
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
}

.floating-element-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 25%;
    animation-delay: 4s;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    min-width: 120px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-number {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    font-weight: 500;
    opacity: 0.9;
}

/* Modern CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary-red);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50px;
}

.cta-button:hover {
    color: var(--white) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.3);
}

/* LinkedIn button specific fix */
.mvv-card .cta-button:hover {
    color: var(--white) !important;
    text-decoration: none !important;
}

.mvv-card .cta-button:hover * {
    color: var(--white) !important;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.cta-button i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Secondary CTA Button */
.cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
}

.cta-secondary::before {
    background: rgba(255, 255, 255, 0.1);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Content Sections with Modern Design */
.content-section {
    padding: 6rem 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: var(--light-gray);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header with Logo */
.section-header-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-logo {
    height: clamp(60px, 8vw, 90px);
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(220, 38, 38, 0.3));
    animation: float 6s ease-in-out infinite;
}

.section-header-text {
    text-align: left;
}

.section-header-with-logo .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.section-header-with-logo .section-title::after {
    display: none;
}

.section-header-with-logo .section-subtitle {
    text-align: left;
    margin: 0;
}

/* Modern Section Titles */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

/* Icon spacing in contact sections */
.mvv-card h3 i,
.mvv-card p i {
    margin-right: 0.75rem;
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

/* Social media icons in contact section */
.mvv-card a[href*="linkedin"]:hover,
.mvv-card a[href*="instagram"]:hover {
    transform: scale(1.2) translateY(-3px);
    text-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

/* Footer logo styling */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 80px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.5));
    transform: scale(1.05);
}

.footer-logo h3 {
    margin: 0;
    color: var(--primary-red-light);
}

/* Footer social links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social .social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social .social-link:hover {
    color: var(--primary-red-light);
    transform: scale(1.2) translateY(-3px);
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.9);
}

/* Mission & Vision Cards */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mvv-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.mvv-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red-light);
}

.mvv-card .mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-xl);
}

.mvv-card h3 {
    color: var(--dark-gray);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mvv-card p,
.mvv-card ul {
    color: #64748b;
    line-height: 1.8;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.mvv-card ul {
    list-style: none;
    text-align: left;
}

.mvv-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.mvv-card ul li::before {
    display: none;
}

.mvv-card ul li i {
    color: var(--primary-red);
    width: 20px;
    margin-right: 10px;
}




/* Modern Training Cards */
.training-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
}

.training-card {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.training-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.training-card:hover::before {
    opacity: 0.03;
}

.training-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    background: var(--white);
    color: var(--primary-red);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.training-card:hover .training-card-header {
    background: var(--gradient-primary);
    color: var(--white);
}

.training-card:hover .training-card-header h3 {
    color: var(--white);
}

.training-card:hover .training-duration {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.training-card:hover .training-features li {
    color: #4a5568;
    transform: translateX(5px);
}

.training-card:hover .training-features i {
    color: var(--primary-red);
    transform: scale(1.1);
}

/* Training Features Section */
.training-features-section {
    margin-top: 4rem;
    text-align: center;
}

.feature-highlight {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out;
}

.feature-highlight i {
    font-size: clamp(1.1rem, 3.2vw, 1.3rem);
}

.training-card-header {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: var(--transition);
}

.training-card:hover .card-icon::before {
    animation: shimmer 0.8s ease-out;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.training-card-header h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    transition: var(--transition);
}

.training-duration {
    background: var(--accent-blue);
    color: var(--white);
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: clamp(0.85rem, 2.3vw, 0.95rem);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.training-card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.training-card-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2.6vw, 1.05rem);
    flex-grow: 1;
}

.training-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.training-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0;
    color: #475569;
    font-weight: 500;
    font-size: clamp(0.85rem, 2.3vw, 0.95rem);
    transition: var(--transition);
    position: relative;
}

.training-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-red);
    opacity: 0;
    transform: scaleY(0);
    transition: var(--transition);
    border-radius: 2px;
}

.training-card:hover .training-features li::before {
    opacity: 1;
    transform: scaleY(1);
}

.training-features li:last-child {
    padding-bottom: 0;
}

.training-features i {
    color: var(--accent-blue);
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

.training-features li i {
    color: var(--primary-red);
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    width: 20px;
}

.training-features li:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Modern Forms */
.form-section {
    background: var(--light-gray);
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23f8fafc"><path d="M0,60 Q300,0 600,60 T1200,60 L1200,120 L0,120 Z"/></svg>') no-repeat center bottom;
    background-size: cover;
    transform: scaleY(-1);
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.tab-button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tab-button i {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    margin-bottom: 0.5rem;
    display: block;
    color: #64748b;
    transition: var(--transition);
}

.tab-button span {
    display: block;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.tab-button small {
    display: block;
    font-size: clamp(0.75rem, 2vw, 0.8rem);
    color: #94a3b8;
    transition: var(--transition);
}

.tab-button:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.tab-button:hover i {
    color: var(--accent-blue);
    transform: scale(1.1);
}

.tab-button.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.tab-button.active i,
.tab-button.active span,
.tab-button.active small {
    color: var(--white);
}

.tab-button.active::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.5s;
}

.tab-button.active:hover::before {
    left: 100%;
}

/* Tab Content */
.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-panel.active {
    display: block;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

/* Form Header */
.form-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--medium-gray);
}

.form-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.form-icon i {
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--white);
}

.form-header h3 {
    font-size: clamp(1.3rem, 4.2vw, 1.8rem);
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.form-header p {
    color: #64748b;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
}

/* Form Styling */
form {
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.form-group label i {
    color: var(--primary-red);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

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

/* File Upload Area */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    background: var(--light-gray);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text i {
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--accent-blue);
    margin-bottom: 1rem;
    display: block;
}

.file-upload-text span {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.file-upload-text small {
    color: #64748b;
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
}

/* Submit Button with Advanced Effects */
.submit-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.submit-button::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;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Step-by-Step Quiz */
.step-quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.step-quiz-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-blue);
}

/* Progress Bar */
.quiz-progress {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-blue);
    transition: width 0.5s ease;
    width: 20%;
}

.progress-text {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Question Container */
.question-container {
    padding: 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-question {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.step-question.active {
    opacity: 1;
    transform: translateY(0);
}

.step-question h3 {
    color: var(--dark-gray);
    font-size: clamp(1.1rem, 3.3vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.step-options {
    display: grid;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.step-option {
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.step-option:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.step-option.correct {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #166534;
}

.step-option.incorrect {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #991b1b;
}

.step-option.correct::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
}

.step-option.incorrect::after {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ef4444;
}

/* Question Explanation */
.question-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--border-radius);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.3s;
}

.question-explanation.show {
    opacity: 1;
    transform: translateY(0);
}

.question-explanation h4 {
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-explanation p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Quiz Navigation */
.quiz-navigation {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.quiz-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.quiz-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.quiz-btn.secondary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Final Results */
.quiz-final-result {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeInScale 0.6s ease-out;
}

.result-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 6vw, 3rem);
}

.result-icon.excellent {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.result-icon.good {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.result-icon.poor {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.score-display {
    margin: 2rem 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.score-circle span {
    font-size: clamp(1.7rem, 5.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
}

.score-circle small {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    opacity: 0.8;
}

#result-title {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

#result-message {
    color: #64748b;
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quiz Features */
.quiz-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.quiz-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.quiz-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quiz-feature i {
    color: var(--accent-blue);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.quiz-feature h4 {
    color: var(--dark-gray);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quiz-feature p {
    color: #64748b;
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    line-height: 1.4;
    margin: 0;
}

/* Learning Resources */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.resource-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--medium-gray);
    transition: var(--transition);
}

.resource-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.resource-item i {
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.resource-item h5 {
    color: var(--dark-gray);
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.resource-item p {
    color: #64748b;
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    line-height: 1.5;
    margin: 0;
}

/* Modern Footer */
.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23152030"><path d="M0,60 Q300,20 600,60 T1200,60 L1200,120 L0,120 Z"/></svg>') repeat-x;
    background-size: 1200px 150px;
    background-position: 0 bottom;
    animation: footerWaveMove 15s linear infinite;
    will-change: background-position;
    transform-origin: center;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: var(--primary-red-light);
    margin-bottom: 1.5rem;
    font-size: clamp(1.1rem, 3.3vw, 1.4rem);
    font-weight: 700;
}

.footer-section p,
.footer-section li {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-red-light);
    transform: translateX(5px);
}

.footer-section a i {
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    width: 20px;
}

/* Footer menu styling */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-menu li a:hover {
    color: var(--primary-red-light);
    transform: translateX(5px);
}

.footer-menu li a i {
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 15;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.message-success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.message-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .trainings-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-visual {
        height: 300px;
    }

    .trainings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --border-radius: 12px;
        --border-radius-lg: 18px;
    }

    .hero-visual {
        display: none !important;
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 60px;
        min-height: 100vh;
    }

    .cta-secondary {
        background: #f25454 !important;
        color: var(--white) !important;
        border: 2px solid #f25454 !important;
    }

    .cta-secondary:hover {
        background: #e03e3e !important;
        border-color: #e03e3e !important;
        color: var(--white) !important;
    }

    .cta-secondary::before {
        background: #e03e3e !important;
    }

    .cta-button,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem !important;
        margin: 0.5rem 0 !important;
        text-align: center;
        justify-content: center;
        min-height: 60px;
        font-size: clamp(0.9rem, 3vw, 1rem) !important;
    }

    .cta-button i,
    .cta-secondary i {
        font-size: clamp(0.9rem, 3vw, 1rem) !important;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-xl);
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
        z-index: 9999;
        border: 1px solid var(--medium-gray);
    }

    .main-navigation.active {
        display: block;
        animation: fadeInScale 0.3s ease-out;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }

    .main-navigation ul li {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--medium-gray);
    }

    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul li a {
        color: var(--dark-gray) !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        padding: 0.5rem 0 !important;
        display: block !important;
    }

    .main-navigation ul li a:hover {
        color: var(--primary-red) !important;
        background: var(--light-gray) !important;
        padding-left: 1rem !important;
    }

    .main-navigation ul li a.nav-cta {
        background: var(--gradient-primary) !important;
        color: var(--white) !important;
        border-radius: var(--border-radius) !important;
        margin-top: 0.5rem !important;
        padding: 1rem !important;
        text-align: center !important;
    }

    .main-navigation ul li a.nav-cta:hover {
        background: var(--primary-red-dark) !important;
        color: var(--white) !important;
        padding-left: 1rem !important;
        transform: scale(1.02) !important;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-bottom: 0.5rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .hero-features {
        gap: 0.75rem;
    }

    .hero-feature {
        padding: 1rem;
    }

    .hero-feature i {
        width: 40px;
        height: 40px;
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .hero-feature span {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    .hero-logo-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }

    .hero-logo {
        height: clamp(50px, 12vw, 80px);
    }

    .hero-brand-name {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .content-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    .section-header-with-logo {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .section-logo {
        height: clamp(50px, 12vw, 70px);
    }

    .section-header-text {
        text-align: center;
    }

    .section-header-with-logo .section-title {
        text-align: center;
    }

    .section-header-with-logo .section-subtitle {
        text-align: center;
    }

    .trainings-grid {
        grid-template-columns: 1fr;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .tab-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-button {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-container {
        padding: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    }

    .form-container,
    .quiz-container {
        padding: 1.5rem;
    }

    .mvv-card,
    .training-card-content {
        padding: 2rem 1.5rem;
    }

    .floating-element {
        opacity: 0.7;
    }

    .floating-element-1 {
        width: 80px;
        height: 80px;
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
        top: 10%;
        left: 5%;
    }

    .floating-element-2 {
        width: 100px;
        height: 100px;
        font-size: clamp(1.4rem, 4vw, 2rem);
        top: 65%;
        right: 5%;
    }

    .floating-element-3 {
        width: 70px;
        height: 70px;
        font-size: clamp(1.1rem, 3.2vw, 1.3rem);
        bottom: 10%;
        left: 15%;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .scroll-to-top,
    .menu-toggle {
        display: none;
    }

    body {
        font-size: clamp(10pt, 3vw, 12pt);
        line-height: 1.5;
        color: #000;
    }

    .hero-section {
        background: none;
        color: #000;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 15px rgba(0,0,0,0.3);
        --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--medium-gray);
    }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-gray);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Slider Navigation & Controls */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: var(--white);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--primary-red);
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.nav-btn i {
    transition: var(--transition);
}

.nav-btn:hover i {
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-red);
    opacity: 0;
    transition: var(--transition);
}

.indicator.active::before,
.indicator:hover::before {
    opacity: 1;
}

.indicator.active {
    background: rgba(220, 38, 38, 0.6);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(220, 38, 38, 0.5);
    transform: scale(1.2);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .slider-nav {
        padding: 0 1rem;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .slider-indicators {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .indicator {
        width: 14px;
        height: 14px;
    }

    .indicator::before {
        width: 6px;
        height: 6px;
    }

    /* Mobile Training Cards */
    .training-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        padding: 1rem;
    }

    .training-card {
        min-height: 420px;
    }

    .training-card-header {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
        margin-bottom: 1rem;
    }

    .training-card-header h3 {
        font-size: clamp(1.1rem, 3.2vw, 1.3rem);
    }

    .training-duration {
        padding: 0.5rem 1rem;
        font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    }

    .training-card-content {
        padding: 1.5rem 1rem;
    }

    .training-features li {
        padding: 0.6rem 0;
        font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    }

    .training-features i {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
}