/* ========================================
   LICEUL CU PROGRAM SPORTIV "MIRCEA ELIADE"
   Extended Website Stylesheet v2.0
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Colors */
    --primary: #0a2463;
    --primary-light: #1e4d8c;
    --primary-dark: #061539;
    
    /* Secondary Colors */
    --secondary: #fb8b24;
    --secondary-light: #fca94e;
    --secondary-dark: #e07a1f;
    
    /* Accent Colors */
    --accent: #e63946;
    --success: #2dc653;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Neutral Colors */
    --dark: #0d1b2a;
    --dark-light: #1b263b;
    --gray-900: #212529;
    --gray-700: #495057;
    --gray: #4a5568;
    --gray-400: #ced4da;
    --gray-light: #e9ecef;
    --light: #f8f9fa;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0a2463 0%, #1e4d8c 50%, #3d5a80 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-erasmus: linear-gradient(135deg, #003399 0%, #ffcc00 100%);
    --gradient-smartlab: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.08);
    --shadow-md: 0 8px 30px rgba(10, 36, 99, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 36, 99, 0.15);
    --shadow-xl: 0 25px 80px rgba(10, 36, 99, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1280px;
}

/* Dark Theme Variables */

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}


p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 139, 36, 0.4);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-erasmus {
    background: var(--gradient-erasmus);
    color: white;
}

.btn-smartlab {
    background: var(--gradient-smartlab);
    color: white;
}

/* ========== TOP BAR ========== */
.topbar {
    background: #1e3c72;
    padding: 10px 0;
    font-size: 13px;
}

.header.scrolled .topbar {
    display: none;
}


.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.topbar-contact {
    display: flex;
    gap: 24px;
    color: #ffffff;
}

.topbar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 500;
}

.topbar-contact a:hover {
    color: #f39c12;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-right .social-links a {
    color: #ffffff;
    transition: all 0.3s ease;
}

.topbar-right .social-links a:hover {
    color: #f39c12;
    transform: scale(1.2);
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 14px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.9) 100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.header .topbar {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-main {
    padding: 15px 0;
    width: 100%;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header.scrolled .topbar {
    display: none;
}

.header.scrolled .header-main {
    padding: 10px 0;
}

.header.header-solid {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header.header-solid .topbar {
    display: none;
}

.header.header-solid .header-main {
    padding: 10px 0;
}


.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 20px;
    font-family: var(--font-heading);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: white;
    line-height: 1.2;
}

.header.scrolled .logo-text,
.header.header-solid .logo-text {
    color: var(--dark);
}


.logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li.has-dropdown {
    position: relative;
}

.nav-list > li.has-dropdown > /* REMOVED - nav-link style
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}
*/
*/
*/

/* REMOVED - nav-link block
.nav-list > li.has-dropdown > .nav-link i {
    font-size: 12px;
    transition: var(--transition);
}
*/

/* REMOVED - nav-link block
.nav-list > li.has-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}
*/

.nav-list > li .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    list-style: none;
    margin: 0;
}

.nav-list > li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list > li .dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list > li .dropdown li a:hover {
    background: var(--gray-light);
    color: var(--primary);
}

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
*/
*/

.header.scrolled .nav-link,
.header.header-solid /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    color: var(--dark);
}
*/
*/


/* DEZACTIVAT - Stiluri vechi
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}
*/
*/
*/

/* REMOVED - nav-link style
.header.scrolled .nav-link:hover,
.header.header-solid /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    background: var(--gray-light);
    color: var(--primary);
}
*/
*/
*/


/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link.active {
    color: var(--secondary);
}
*/
*/

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

/* REMOVED - nav-link block
.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}
*/

/* REMOVED - nav-link block
.nav-dropdown > .nav-link i {
    font-size: 12px;
    transition: var(--transition);
}
*/

/* REMOVED - nav-link block
.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}
*/

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}


.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}


.dropdown-menu a:hover {
    background: var(--gray-light);
    color: var(--primary);
}


.dropdown-menu a i {
    width: 20px;
    color: var(--secondary);
}

/* Dropdown Sections */
.dropdown-menu {
    min-width: 280px;
    padding: 0;
}

.dropdown-section {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.dropdown-section:last-of-type {
    border-bottom: none;
}

.dropdown-section h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin: 0;
}

.dropdown-section h5 i {
    color: var(--primary);
}

.dropdown-section a {
    padding: 10px 20px 10px 36px;
}

.dropdown-footer {
    background: var(--bg-light);
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}

.dropdown-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    padding: 0;
}

.dropdown-footer a:hover {
    background: transparent;
    color: var(--primary-dark);
}



/* ========== MEGA MENU ========== */
.mega-dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 90%;
    max-width: 900px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.mega-column {
    padding: 24px;
    border-right: 1px solid var(--gray-light);
}

.mega-column:last-child {
    border-right: none;
}

.mega-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-column h4 i {
    color: var(--secondary);
    font-size: 16px;
}

.mega-column a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 4px 0;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mega-column a:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    transform: translateX(4px);
}

.mega-column a i {
    width: 18px;
    font-size: 14px;
    color: var(--primary);
    transition: color 0.2s ease;
}

.mega-column a:hover i {
    color: white;
}

.mega-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 24px;
    background: var(--gray-light);
    border-top: 1px solid var(--gray-200);
}

.mega-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.mega-footer-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mega-footer-link i {
    font-size: 16px;
}

/* Mega menu color variants for columns */
.mega-column:nth-child(1) h4 { border-color: #2dc653; }
.mega-column:nth-child(1) h4 i { color: #2dc653; }
.mega-column:nth-child(1) a:hover { background: linear-gradient(135deg, #2dc653 0%, #1ea83e 100%); }
.mega-column:nth-child(1) a i { color: #2dc653; }

.mega-column:nth-child(2) h4 { border-color: #667eea; }
.mega-column:nth-child(2) h4 i { color: #667eea; }
.mega-column:nth-child(2) a:hover { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.mega-column:nth-child(2) a i { color: #667eea; }

.mega-column:nth-child(3) h4 { border-color: #f093fb; }
.mega-column:nth-child(3) h4 i { color: #f093fb; }
.mega-column:nth-child(3) a:hover { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.mega-column:nth-child(3) a i { color: #e056a0; }

.mega-column:nth-child(4) h4 { border-color: #003399; }
.mega-column:nth-child(4) h4 i { color: #003399; }
.mega-column:nth-child(4) a:hover { background: linear-gradient(135deg, #003399 0%, #0052cc 100%); }
.mega-column:nth-child(4) a i { color: #003399; }

.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--secondary-light) !important;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 8px;
}

.header.scrolled .mobile-toggle,
.header.header-solid .mobile-toggle {
    color: var(--dark);
}


/* ========== PAGE HEADER ========== */
.page-header {
    background: var(--gradient-hero);
    padding: 200px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

/* Dark overlay for better text contrast */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.page-header.erasmus-header {
    background: var(--gradient-erasmus);
}

.page-header.smartlab-header {
    background: var(--gradient-smartlab);
}

.page-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb i {
    font-size: 10px;
}

/* Project badge improved contrast */
.project-badge {
    text-shadow: none;
    font-weight: 600;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    background: var(--primary-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    overflow: hidden;
}

/* Hero Image Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark overlay for text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.85) 0%, rgba(30, 77, 140, 0.75) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 2;
    pointer-events: none; /* <--- ACEASTA ESTE CHEIA */
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(251, 139, 36, 0.1);
    animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(0, -50px) rotate(0deg); }
    75% { transform: translate(-30px, -30px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: var(--secondary);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: white;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-title-main {
    display: block;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-title-name {
    display: block;
    color: var(--secondary);
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ========== SECTION COMMON STYLES ========== */
.section {
    padding: var(--section-padding) 0;
}

.section-bg {
    background: var(--gray-light);
}


.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    background: rgba(251, 139, 36, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.section-header h2 span,
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Admission Page Specific Titles */
.admission-options + .section-header h2,
.section-header.admission h2 {
    font-size: clamp(40px, 6vw, 64px);
}

/* Page Hero Titles */
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-hero h1 span {
    display: block;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sport Pages Titles */
.sport-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.sport-info h3,
.coaches-section h3,
.sport-features h3 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* Card Titles */
.admission-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

/* Featured Box Title */
.featured-alumni-box h2,
.featured-alumni-box h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* History & Alumni Titles */
.history-intro h2,
.alumni-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* CTA Section Titles */
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ========== QUICK LINKS SECTION ========== */
.quick-links {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-link-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}


.quick-link-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
}

.quick-link-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.quick-link-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
}

/* ========== NEWS SECTION ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 24px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--dark);
}


.news-content h3 a:hover {
    color: var(--secondary);
}

.news-content p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* 6-Card News Grid */
.news-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-grid-6 .news-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

a.news-card {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

a.news-card h3 {
    color: var(--dark);
    transition: var(--transition);
}

a.news-card:hover h3 {
    color: var(--secondary);
}

a.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

a.news-card .news-content {
    position: relative;
}

a.news-card .news-link-indicator {
    display: block;
    margin-top: 12px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 13px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

a.news-card:hover .news-link-indicator {
    opacity: 1;
    transform: translateX(0);
}


/* Highlight anchor target */
.news-card:target,
.news-card.highlight-target {
    animation: highlightCard 2s ease;
    box-shadow: 0 0 0 4px var(--secondary);
}

@keyframes highlightCard {
    0%, 100% { box-shadow: var(--shadow-sm); }
    50% { box-shadow: 0 0 0 4px var(--secondary), var(--shadow-lg); }
}

.news-grid-6 .news-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-grid-6 .news-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.news-grid-6 .news-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-grid-6 .news-content p {
    font-size: 13px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-6 .news-date {
    font-size: 12px;
    margin-bottom: 8px;
}

/* Social Follow Buttons */
.social-follow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-modal.active {
    display: flex;
    opacity: 1;
}

.news-modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}


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

.news-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    transition: var(--transition);
    color: var(--dark);
}

.news-modal-close:hover {
    background: var(--secondary);
    color: white;
}

.news-modal-header {
    padding: 60px 40px 40px;
    background: var(--gradient-primary);
    color: white;
    position: relative;
}

.news-modal-header .news-category {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
}

.news-modal-header h1 {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-modal-body {
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700);
}


.news-modal-body p {
    margin-bottom: 20px;
}

.news-modal-body img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

.news-modal-footer {
    padding: 20px 40px 40px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 16px;
}


.news-modal-footer p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.whatsapp { background: #25d366; }

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

.news-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* News Featured */
.news-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 48px;
}

.news-featured-main {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}


.news-featured-main .news-image {
    height: 300px;
}

.news-featured-main .news-content {
    padding: 32px;
}

.news-featured-main h3 {
    font-size: 28px;
}

.news-featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-sidebar-item {
    display: flex;
    gap: 16px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.news-sidebar-item:hover {
    box-shadow: var(--shadow-md);
}

.news-sidebar-image {
    width: 100px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    flex-shrink: 0;
    overflow: hidden;
}

.news-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-sidebar-content h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-sidebar-content h4 a {
    color: var(--dark);
}


.news-sidebar-content h4 a:hover {
    color: var(--secondary);
}

.news-sidebar-content .news-date {
    margin-bottom: 0;
    font-size: 12px;
}

/* ========== ERASMUS SECTION ========== */
.erasmus-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.erasmus-content h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 24px;
}

.erasmus-content h2 span {
    color: #003399;
}

.erasmus-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.erasmus-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.erasmus-feature i {
    font-size: 24px;
    color: #003399;
}

.erasmus-feature h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.erasmus-feature p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.erasmus-image {
    position: relative;
}

.erasmus-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 400px;
    background: var(--gradient-erasmus);
    display: flex;
    align-items: center;
    justify-content: center;
}

.erasmus-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #ffcc00;
    color: #003399;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.erasmus-badge .number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
}

.erasmus-badge .text {
    font-size: 12px;
    font-weight: 600;
}

/* Erasmus Projects */
.erasmus-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.erasmus-project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}


.erasmus-project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #003399;
}

.erasmus-project-image {
    height: 180px;
    background: var(--gradient-erasmus);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.erasmus-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.erasmus-project-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.erasmus-project-status.active {
    background: var(--success);
    color: white;
}

.erasmus-project-status.completed {
    background: var(--gray);
    color: white;
}

.erasmus-project-content {
    padding: 24px;
}

.erasmus-project-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.erasmus-project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray);
}

.erasmus-project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.erasmus-project-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.erasmus-partners {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.erasmus-partner {
    font-size: 20px;
}

/* ========== SMARTLAB SECTION ========== */
.smartlab-hero {
    background: var(--gradient-smartlab);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.smartlab-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.smartlab-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.smartlab-text h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: white;
    margin-bottom: 24px;
}

.smartlab-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.smartlab-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.smartlab-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smartlab-stat-card i {
    font-size: 32px;
    color: white;
    margin-bottom: 12px;
}

.smartlab-stat-card .number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.smartlab-stat-card .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* SmartLab Features */
.smartlab-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.smartlab-feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}


.smartlab-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: #667eea;
}

.smartlab-feature-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-smartlab);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.smartlab-feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.smartlab-feature-card p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ========== DOTARI / FACILITIES SECTION ========== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.facility-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.facility-icon {
    position: absolute;
    bottom: -25px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: var(--shadow-md);
}

.facility-content {
    padding: 32px 24px 24px;
}

.facility-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.facility-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.facility-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.facility-spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--gray-700);
}


.facility-spec i {
    color: var(--secondary);
}

/* Facilities Stats */
.facilities-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.facility-stat {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}


.facility-stat i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.facility-stat .number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}


.facility-stat .label {
    font-size: 14px;
    color: var(--gray);
}

/* ========== SPORTS SECTION ========== */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.sport-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}


.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.sport-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: var(--transition);
}

.sport-card:hover .sport-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
}

.sport-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.sport-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 14px;
    font-weight: 500;
}

.about-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 24px;
}

.about-content h2 span {
    color: var(--secondary);
}

.about-content p {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(251, 139, 36, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}


.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    transform: rotate(-5deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 0;
}

/* ========== MISSION CARDS ========== */
.mission-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #1a1a4e;
    display: flex;
    flex-direction: column;
    padding: 80px 0 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav.active {
    right: 0;
  }
}


@media (max-width: 576px) {
    .mission-cards-grid {
        grid-template-columns: 1fr;
    }
}

.mission-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--border);
}


.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.mission-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}


.mission-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.portfolio-filter {
    padding: 12px 24px;
    background: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}


.portfolio-filter:hover,
.portfolio-filter.active {
    background: var(--primary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 0;
}

/* ========== TEAM SECTION ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 280px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 16px;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--secondary);
    color: white;
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.team-info p {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials .section-label,
.testimonials .section-title,
.testimonials .section-desc {
    color: white;
}

.testimonials .section-title span {
    color: var(--secondary);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-quote {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 20px;
    color: white;
    line-height: 1.8;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
}

.testimonial-info h5 {
    color: white;
    font-size: 18px;
    margin-bottom: 4px;
}

.testimonial-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.contact-info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}


.contact-form {
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}


.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--light);
    color: var(--dark);
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

.contact-map {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.pagination a {
    background: white;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}


.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: white;
}

.pagination span {
    color: var(--gray);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-newsletter {
    background: var(--primary);
    padding: 60px;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    text-align: center;
}

.footer-newsletter h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: white;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.newsletter-form button {
    padding: 16px 32px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid-3 {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.footer-links li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
}

.footer-logo .logo-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.footer-logo .logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.7;
}

.footer-about h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.footer-about h4 span {
    color: var(--secondary);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h5 {
    font-size: 18px;
    margin-bottom: 24px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-light);
    transform: translateY(-5px);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .sports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .smartlab-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .services-grid,
    .facilities-grid,
    .erasmus-projects {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid-3 .footer-about {
        grid-column: span 2;
    }
    
    .facilities-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .topbar-contact {
        display: none;
    }
    
    .topbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 40px;
        gap: 0;
        transition: var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-list > li {
        width: 100%;
    }
    
    .nav-list > li .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-list > li.has-dropdown.active .dropdown {
        max-height: 300px;
    }
    
    .nav-list > li .dropdown li a {
        color: rgba(255, 255, 255, 0.7);
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Mobile nav-link styles handled in menu-modern.css */
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 20px;
    }
    
    .nav-dropdown .dropdown-menu a {
        color: rgba(255, 255, 255, 0.7);
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Mega Menu Mobile */
    .mega-dropdown {
        position: relative;
    }
    
    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        margin-top: 10px;
        box-shadow: none;
    }
    
    .mega-menu-inner {
        display: block;
    }
    
    .mega-column {
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mega-column:last-child {
        border-bottom: none;
    }
    
    .mega-column h4 {
        color: white;
        font-size: 13px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom-width: 1px;
    }
    
    .mega-column a {
        color: rgba(255, 255, 255, 0.8);
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .mega-column a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: none;
    }
    
    .mega-column a i {
        color: rgba(255, 255, 255, 0.85);
    }
    
    .mega-footer {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .mega-footer-link {
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .mega-footer-link:hover {
        background: var(--secondary);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1002;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .erasmus-intro,
    .smartlab-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-badge,
    .erasmus-badge {
        right: 20px;
        bottom: -20px;
    }
    
    .services-grid,
    .facilities-grid,
    .erasmus-projects {
        grid-template-columns: 1fr;
    }
    
    .news-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .news-modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .news-modal-header {
        padding: 50px 20px 30px;
    }
    
    .news-modal-header h1 {
        font-size: 22px;
    }
    
    .news-modal-body {
        padding: 24px 20px;
    }
    
    .news-modal-footer {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-newsletter {
        padding: 40px 24px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        margin-top: -40px;
    }
    
    .smartlab-features {
        grid-template-columns: 1fr;
    }
    
    .smartlab-visual {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facilities-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-stat-number {
        font-size: 36px;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid-6 {
        grid-template-columns: 1fr;
    }
    
    .about-features,
    .erasmus-features {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 32px 24px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .smartlab-visual {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ========== ORGCHART & CATEDRE STYLES ========== */

/* Director Cards */
.org-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 220px;
    transition: all 0.3s ease;
}

.org-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.org-card.org-director {
    border-top: 4px solid var(--primary);
}

.org-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 32px;
}

.org-card h5 {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.org-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.org-dept {
    font-size: 12px;
    color: var(--gray);
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* Catedra Cards */
.catedra-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.catedra-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.catedra-header {
    padding: 16px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.catedra-header i {
    font-size: 24px;
}

.catedra-header h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.catedra-body {
    padding: 20px;
}

.catedra-sef {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-light);
}

.catedra-sef i {
    color: var(--secondary);
}

.catedra-members {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catedra-members li {
    font-size: 14px;
    color: var(--gray-700);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catedra-members li i {
    color: var(--gray);
    font-size: 14px;
}

.catedra-members li:not(:last-child) {
    border-bottom: 1px dashed var(--gray-light);
}

/* Comisii Badges */
.comisie-badge {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.comisie-badge:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(4px);
}

.comisie-badge i {
    font-size: 20px;
    color: var(--primary);
}

.comisie-badge:hover i {
    color: white;
}

.comisie-badge span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Catedre */
@media (max-width: 768px) {
    .catedra-card[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
    
    .org-card {
        min-width: 100%;
    }
}

/* ===== SPECIALIZĂRI SECTION ===== */
.specializations-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.spec-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.spec-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.spec-category-title i {
    font-size: 1.25rem;
    color: var(--primary);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.spec-grid-academic {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.spec-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.spec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.spec-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-sm);
}

.spec-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.spec-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-card-academic {
    padding: 32px 24px;
}

.spec-card-academic p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .spec-grid-academic {
        grid-template-columns: 1fr;
    }
    
    .spec-card {
        padding: 16px 12px;
    }
    
    .spec-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .spec-card h4 {
        font-size: 0.875rem;
    }
    
    .spec-category {
        padding: 20px;
    }
}

/* ===== SMARTLAB ENHANCEMENTS ===== */
.smartlab-disciplines {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    margin-top: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.smartlab-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.smartlab-apps span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 20px;
    color: var(--text-secondary);
}

.smartlab-feature-card .icon {
    color: white;
}

/* Materii Grid */
.materii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.materie-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.materie-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.materie-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.materie-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.materie-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.materie-topics li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.materie-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.materie-topics li:last-child {
    border-bottom: none;
}

.materie-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.materie-tech span {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(0, 51, 102, 0.1) 100%);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.impact-stat {
    text-align: center;
    color: white;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.impact-label {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.impact-label small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px;
}

@media (max-width: 992px) {
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .materii-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 16px;
    }
    
    .impact-number {
        font-size: 1.75rem;
    }
}

/* ===== PHOTO GALLERY SECTION ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item-large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    transition: var(--transition);
}

.gallery-placeholder i {
    font-size: 48px;
    opacity: 0.9;
}

.gallery-placeholder span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img,
.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-overlay h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-large {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-large {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .footer-grid,
    .footer-grid-3 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-grid-3 .footer-about {
        grid-column: span 1;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links ul {
        padding: 0;
    }
}

/* ========================================
   NEW FEATURES & PAGES STYLES v2.1
   ======================================== */

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ========== ADMISSION PAGE STYLES ========== */
.admission-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.admission-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.admission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.admission-card.featured {
    border: 2px solid var(--secondary);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.admission-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
}

.admission-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.admission-subtitle {
    color: var(--gray);
    margin-bottom: 24px;
}

.admission-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.admission-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.admission-list li i {
    color: var(--success);
}

/* Sports Grid for Admission */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.sport-admission-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.sport-admission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sport-color, var(--primary));
}

.sport-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.sport-admission-card h4 {
    color: var(--dark);
    margin-bottom: 4px;
}

.sport-admission-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.sport-spots {
    display: inline-block;
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray-700);
}

@media (max-width: 1024px) {
    .sports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admission-options {
        grid-template-columns: 1fr;
    }
}

/* ========== TIMELINE STYLES ========== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gray-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 50%;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 3px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 18px;
    z-index: 2;
}

.timeline-marker.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 350px;
}

.timeline-date {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h4 {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 24px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-marker {
        left: 24px;
        width: 40px;
        height: 40px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
}

/* ========== FAQ ACCORDION ========== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--gray);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ========== DOCUMENTS PAGE ========== */
.doc-search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.doc-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 36, 99, 0.1);
}

.doc-search-box i {
    color: var(--gray);
    font-size: 20px;
    margin-right: 16px;
}

.doc-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

.doc-category {
    margin-bottom: 48px;
}

.doc-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.doc-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.doc-category-header h3 {
    margin-bottom: 4px;
}

.doc-category-header p {
    color: var(--gray);
    font-size: 14px;
}

.doc-list {
    display: grid;
    gap: 12px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.doc-item > i:first-child {
    font-size: 32px;
    color: #e63946;
}

.doc-info {
    flex: 1;
}

.doc-info h4 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 15px;
}

.doc-info span {
    color: var(--gray);
    font-size: 13px;
}

.doc-item > i:last-child {
    color: var(--primary);
    font-size: 18px;
}

/* ========== CALENDAR PAGE ========== */
.calendar-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.calendar-filter {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.calendar-filter:hover,
.calendar-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.calendar-month {
    margin-bottom: 48px;
}

.month-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-light);
}

.event-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.event-date {
    min-width: 70px;
    text-align: center;
    padding: 12px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
}

.event-date.holiday {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.event-date.important {
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
}

.event-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-content {
    flex: 1;
}

.event-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-badge.competitii {
    background: #fff3e0;
    color: #e65100;
}

.event-badge.academic {
    background: #e3f2fd;
    color: #1565c0;
}

.event-badge.evenimente {
    background: #fce4ec;
    color: #c2185b;
}

.event-badge.vacante {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-content h4 {
    margin-bottom: 8px;
}

.event-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 4px;
}

/* ========== ALUMNI PAGE ========== */
.alumni-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card.gold {
    border-top: 4px solid #FFD700;
}

.stat-card.silver {
    border-top: 4px solid #C0C0C0;
}

.stat-card.bronze {
    border-top: 4px solid #CD7F32;
}

.stat-card.blue {
    border-top: 4px solid var(--primary);
}

.stat-card .stat-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.stat-card.gold .stat-icon {
    color: #FFD700;
}

.stat-card.silver .stat-icon {
    color: #C0C0C0;
}

.stat-card.bronze .stat-icon {
    color: #CD7F32;
}

.stat-card.blue .stat-icon {
    color: var(--primary);
}

.stat-card .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}

.stat-card .stat-label {
    color: var(--gray);
    font-size: 14px;
}

.alumni-featured {
    max-width: 900px;
    margin: 0 auto;
}

.featured-alumni {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.alumni-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

.alumni-medal {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 40px;
}

.alumni-content {
    padding: 40px 40px 40px 0;
}

.alumni-sport {
    display: inline-block;
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 12px;
}

.alumni-content h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.alumni-title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.alumni-description {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
}

.alumni-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.achievement {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.alumni-quote {
    background: var(--gray-light);
    padding: 20px;
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--gray-700);
    border-left: 4px solid var(--secondary);
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.alumni-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.alumni-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.alumni-card .alumni-image {
    height: 200px;
}

.alumni-card .alumni-content {
    padding: 24px;
}

.alumni-card.compact .alumni-image.small {
    height: 120px;
    min-height: auto;
}

.alumni-card.compact .alumni-content {
    padding: 20px;
}

.alumni-card.compact h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .alumni-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-alumni {
        grid-template-columns: 1fr;
    }
    
    .alumni-content {
        padding: 32px;
    }
    
    .alumni-grid,
    .alumni-grid.three-cols {
        grid-template-columns: 1fr;
    }
}

/* ========== HISTORY PAGE ========== */
.history-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}

.intro-content .lead {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.8;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-box .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-box .stat-label {
    color: var(--gray);
    font-size: 14px;
}

.history-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.history-decade {
    margin-bottom: 64px;
}

.decade-marker {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 24px;
}

.decade-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 32px;
    align-items: start;
}

.decade-content.reverse {
    grid-template-columns: 1fr 250px;
}

.decade-content.reverse .decade-image {
    order: 2;
}

.decade-image {
    border-radius: var(--radius-lg);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decade-info h3 {
    margin-bottom: 12px;
}

.decade-info p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
}

.decade-highlights {
    list-style: none;
    padding: 0;
}

.decade-highlights li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
}

.decade-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.patron-section {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    align-items: center;
}

.patron-placeholder {
    height: 400px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.patron-content .patron-years {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 16px;
}

.patron-quote {
    background: var(--gray-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.patron-quote i {
    font-size: 32px;
    color: var(--secondary);
    opacity: 0.5;
}

.patron-quote p {
    font-size: 18px;
    font-style: italic;
    margin: 12px 0;
}

.patron-quote cite {
    color: var(--gray);
}

@media (max-width: 992px) {
    .history-intro {
        grid-template-columns: 1fr;
    }
    
    .decade-content,
    .decade-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .decade-content.reverse .decade-image {
        order: 0;
    }
    
    .patron-section {
        grid-template-columns: 1fr;
    }
}

/* ========== SPORTS PAGE ========== */
.sport-intro {
    max-width: 900px;
    margin: 0 auto;
}

.sport-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.detail-card {
    background: var(--gray-light);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.detail-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.detail-card h4 {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.detail-card p {
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
}

.sport-features {
    max-width: 700px;
    margin: 48px auto 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 16px;
}

.feature-list li i {
    color: var(--success);
    font-size: 20px;
}

@media (max-width: 768px) {
    .sport-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== FORM STYLES ========== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.admission-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 36, 99, 0.1);
}

.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .admission-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 24px;
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--dark);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-dark:hover {
    background: var(--dark-light);
}

/* ========== SUCCESS TIMELINE ========== */
.success-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.success-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gray-light);
}

.success-timeline .timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-left: 0;
    padding-right: 0;
}

.timeline-year {
    min-width: 80px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    text-align: right;
    padding-top: 4px;
}

.success-timeline .timeline-content {
    position: relative;
    padding-left: 32px;
    max-width: none;
}

.success-timeline .timeline-content::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
}

/* ========== LAZY LOAD IMAGES ========== */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* ========== SEARCH HIGHLIGHT ========== */
.search-highlight {
    background: yellow;
    padding: 2px 4px;
    border-radius: 3px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .back-to-top {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .page-hero {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
    }
}

/* ========== NAV HIGHLIGHT BUTTON ========== */
.nav-highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    animation: pulse-glow 2s ease-in-out infinite;
}

.nav-highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(251, 139, 36, 0.4);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(251, 139, 36, 0.3); }
    50% { box-shadow: 0 0 20px rgba(251, 139, 36, 0.6); }
}

/* ========== REVEAL ANIMATIONS ========== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ENHANCED TYPOGRAPHY ========== */

/* Main Page Titles - Extra Bold & Attractive */
.section-header h2,
.page-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(38px, 5.5vw, 58px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}

/* Gradient Text Enhancement */
.text-gradient,
.section-header h2 span {
    background: linear-gradient(135deg, #fb8b24 0%, #e63946 40%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Animated Gradient on Hover */
.section-header h2:hover span {
    background: linear-gradient(135deg, #e63946 0%, #fb8b24 40%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Section Badge Enhanced */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    background: linear-gradient(135deg, rgba(251, 139, 36, 0.12) 0%, rgba(230, 57, 70, 0.08) 100%);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(251, 139, 36, 0.2);
}

/* Subtitle/Description */
.section-header p,
.section-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-700);
    line-height: 1.75;
    max-width: 550px;
    margin: 0 auto;
}

/* Page Hero Enhanced Titles */
.page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(44px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.page-hero h1 span {
    display: block;
    font-weight: 800;
}

.page-hero p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    max-width: 500px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Card Titles Enhanced */
.admission-card h3,
.card h3,
.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

/* Subtitle */
.admission-subtitle,
.card-subtitle {
    font-size: 15px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 20px;
}

/* Sports Grid Title */
#discipline .section-header h2 {
    font-size: clamp(36px, 5vw, 52px);
}

/* Large Decorative Numbers/Icons */
.admission-icon i {
    font-size: 48px !important;
}

/* Dark Theme Title Adjustments */


/* Responsive Title Adjustments */
@media (max-width: 768px) {
    .section-header h2,
    .page-content h2 {
        font-size: clamp(30px, 7vw, 42px);
        letter-spacing: -0.02em;
    }
    
    .page-hero h1 {
        font-size: clamp(36px, 10vw, 56px);
    }
    
    .section-badge {
        font-size: 11px;
        padding: 8px 18px;
        letter-spacing: 2px;
    }
    
    .section-header p {
        font-size: 16px;
    }
}

/* Title Animation on Scroll */
.section-header h2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Staggered animation for badge and description */
.section-badge {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.section-header p {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

/* ========== PAGE HERO FIX FOR FIXED HEADER ========== */
.page-hero {
    padding-top: 180px; /* Space for fixed header (topbar + header) */
    padding-bottom: 80px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: white;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.page-hero h1 span {
    display: block;
    color: white;
}

.page-hero p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    max-width: 500px;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-hero {
        padding-top: 160px;
        padding-bottom: 60px;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 140px;
        padding-bottom: 50px;
        min-height: 280px;
    }
    
    .page-hero h1 {
        font-size: clamp(32px, 8vw, 48px);
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding-top: 130px;
        padding-bottom: 40px;
        min-height: 250px;
    }
}

/* ========== QUICK LINKS 5 CARDS ========== */
.quick-links-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

@media (max-width: 1200px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Highlight Formulare Card */
.quick-link-card[href*="formulare"] {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%) !important;
}

.quick-link-card[href*="formulare"]:hover {
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%) !important;
    transform: translateY(-12px);
}

.quick-link-card[href*="formulare"]:hover h3,
.quick-link-card[href*="formulare"]:hover p {
    color: #212529 !important;
}

/* ========== SPORT PAGES HERO - ENHANCED VISIBILITY ========== */
.page-hero {
    padding-top: 200px !important;
    padding-bottom: 80px !important;
    min-height: 400px !important;
}

.page-hero h1 {
    font-size: clamp(48px, 8vw, 80px) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 20px !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3) !important;
}

.page-hero h1 span {
    display: block !important;
    font-size: inherit !important;
}

.page-hero .hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(10px) !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    margin-bottom: 24px !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.page-hero p {
    font-size: 20px !important;
    opacity: 0.95 !important;
    max-width: 600px !important;
    line-height: 1.6 !important;
}

/* Responsive for sport pages */
@media (max-width: 992px) {
    .page-hero {
        padding-top: 180px !important;
        min-height: 350px !important;
    }
    .page-hero h1 {
        font-size: clamp(36px, 7vw, 56px) !important;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 160px !important;
        padding-bottom: 60px !important;
        min-height: 320px !important;
    }
    .page-hero h1 {
        font-size: clamp(32px, 8vw, 48px) !important;
    }
    .page-hero .hero-badge {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding-top: 140px !important;
        min-height: 280px !important;
    }
    .page-hero h1 {
        font-size: clamp(28px, 9vw, 40px) !important;
    }
}

/* ========== WEBP FALLBACK SUPPORT ========== */
/* Hero slideshow with WebP fallback */
.no-webp .hero-slide:nth-child(1) {
    background-image: url('../img/hero/liceu-1.jpg') !important;
}
.no-webp .hero-slide:nth-child(2) {
    background-image: url('../img/hero/liceu-2.jpg') !important;
}
.no-webp .hero-slide:nth-child(3) {
    background-image: url('../img/hero/liceu-3.jpg') !important;
}
.no-webp .hero-slide:nth-child(4) {
    background-image: url('../img/hero/liceu-4.jpg') !important;
}

/* Image optimization - prevent layout shift */
img {
    height: auto;
    max-width: 100%;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ÎMBUNĂTĂȚIRI COMPREHENSIVE - LPS MIRCEA ELIADE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ========== 1. PERFORMANȚĂ - Lazy Loading ========== */
img[loading="lazy"] {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    background: transparent;
}

/* Content visibility for performance */
.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* ========== 2. ACCESIBILITATE ========== */

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 10001;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Focus states vizibile */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* Reduced motion pentru utilizatori sensibili */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide {
        transition: none !important;
    }
    
    .hero-slideshow .hero-slide {
        animation: none !important;
    }
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== 3. DARK MODE ========== */
:root {
    --dark-bg: #0f0f14;
    --dark-surface: #1a1a24;
    --dark-surface-2: #252532;
    --dark-text: #e8e8ed;
    --dark-text-muted: #a0a0b0;
    --dark-border: #2a2a3a;
}

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary);
}

/* Dark mode styles */













/* ========== 4. BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 36, 99, 0.4);
}

/* ========== 5. LOADING SKELETON ========== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-image {
    height: 200px;
    margin-bottom: 16px;
}


/* ========== 6. COOKIE CONSENT BANNER ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
}

.cookie-consent .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* ========== 7. SEARCH OVERLAY ========== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 36, 99, 0.95);
    z-index: 10002;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 3px var(--secondary);
}

.search-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
}

.search-results {
    margin-top: 24px;
    background: white;
    border-radius: 16px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-result-item {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: block;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: var(--bg);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.search-result-excerpt {
    font-size: 14px;
    color: var(--text-muted);
}

/* Search trigger button in header */
.search-trigger {
    background: none;
    border: none;
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    margin-left: 16px;
    transition: color 0.3s;
}

.search-trigger:hover {
    color: var(--primary);
}

/* ========== 8. LIGHTBOX GALLERY ========== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 16px;
    font-size: 14px;
}

/* ========== 9. NEWSLETTER FORM ========== */
.newsletter-section {
    background: var(--gradient-hero);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.newsletter-section h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.newsletter-section p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 14px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 139, 36, 0.5);
}

.newsletter-btn {
    padding: 14px 32px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: #e07a1f;
    transform: translateY(-2px);
}

/* ========== 10. PRINT STYLES ========== */
@media print {
    /* Hide non-essential elements */
    .header,
    .footer,
    .back-to-top,
    .dark-mode-toggle,
    .cookie-consent,
    .search-overlay,
    .lightbox,
    .hero-slideshow,
    .hero-overlay,
    nav,
    .topbar,
    .btn,
    .social-links,
    video,
    iframe {
        display: none !important;
    }
    
    /* Reset colors for printing */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    /* Show URLs after links */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
    
    a[href^="#"]:after,
    a[href^="javascript"]:after {
        content: "";
    }
    
    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    /* Remove shadows and backgrounds */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .page-header {
        background: #f5f5f5 !important;
        color: black !important;
        padding: 40px 0 !important;
    }
}

/* ========== 11. HIGH CONTRAST MODE ========== */
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --secondary: #cc6600;
        --text: #000000;
        --text-muted: #333333;
        --border: #000000;
    }
    
    a, button {
        text-decoration: underline;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* ========== 12. IMPROVED ANIMATIONS ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }


/* ========== ARTICLE PAGE STYLES ========== */
.article-page {
    padding: 40px 0 80px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(251, 139, 36, 0.1);
    color: var(--secondary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-featured-image img,
.article-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.article-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 12px;
}

.article-image-placeholder i {
    font-size: 64px;
    opacity: 0.5;
}

.article-image-placeholder span {
    font-size: 14px;
    opacity: 0.7;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--primary);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--bg);
    border-left: 4px solid var(--secondary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--secondary);
}

.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    font-size: 18px;
    transition: all 0.3s;
}

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

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span:last-child {
    color: var(--primary);
    font-weight: 500;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.related-articles h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}




/* ========================================
   STILURI MODERNE UNIFICATE - LPS Mircea Eliade
   Adăugare la style.css principal
   ======================================== */

/* ========== MEGA MENU MODERN ========== */
.dropdown-mega {
    min-width: 600px;
    padding: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.nav-dropdown:hover .dropdown-mega {
    transform: translateX(-50%) translateY(0);
}

.dropdown-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.dropdown-mega .dropdown-section {
    padding: 24px;
    border-bottom: none;
    border-right: 1px solid var(--gray-light);
}

.dropdown-mega .dropdown-section:last-child {
    border-right: none;
}

.dropdown-mega .dropdown-section h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    margin-bottom: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-mega .dropdown-section h5 i {
    color: var(--primary);
    font-size: 16px;
}

.dropdown-mega .dropdown-section a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-mega .dropdown-section a:hover {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.05) 0%, rgba(251, 139, 36, 0.08) 100%);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-mega .dropdown-section a i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 6px;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.dropdown-mega .dropdown-section a:hover i {
    background: var(--primary);
    color: white;
}

.dropdown-mega .dropdown-section a div {
    flex: 1;
}

.dropdown-mega .dropdown-section a div strong {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.dropdown-mega .dropdown-section a div small {
    display: block;
    font-size: 12px;
    color: var(--gray);
    font-weight: 400;
}

.dropdown-mega .dropdown-section a:hover div strong {
    color: var(--primary);
}

/* Highlight Link - Pentru link-uri importante */
.highlight-link {
    background: linear-gradient(135deg, rgba(251, 139, 36, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 1px solid rgba(251, 139, 36, 0.2);
    border-radius: var(--radius-sm);
}

.highlight-link:hover {
    background: linear-gradient(135deg, rgba(251, 139, 36, 0.15) 0%, rgba(230, 57, 70, 0.1) 100%) !important;
    border-color: var(--secondary);
}

/* Sport Emoji Styling */
.sport-emoji {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Badge Live */
.badge-live {
    display: inline-block;
    background: linear-gradient(135deg, #e63946 0%, #c0392b 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    animation: pulse-live 2s infinite;
    margin-left: 4px;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Nav CTA Button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(251, 139, 36, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 139, 36, 0.4);
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.header.scrolled .nav-cta,
.header.header-solid .nav-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white !important;
}

/* ========== MOBILE TOGGLE MODERN ========== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
    margin: 3px 0;
}

.header.scrolled .mobile-toggle span,
.header.header-solid .mobile-toggle span {
    background: var(--dark);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .mobile-toggle:hover,
.header.header-solid .mobile-toggle:hover {
    background: var(--gray-light);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========== FOOTER MODERN ========== */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #0a1628 100%);
    color: rgba(255, 255, 255, 0.85);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text h4 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-logo-text span {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 500;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h5::after,
.footer-contact h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a i {
    font-size: 10px;
    color: var(--secondary);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

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

.contact-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-list li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 139, 36, 0.15);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-list li div strong {
    display: block;
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-list li div span,
.contact-list li div a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.contact-list li div a:hover {
    color: var(--secondary);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ========== PAGE HEADER STANDARD ========== */
.page-header {
    background: var(--gradient-primary);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::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 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></svg>') repeat;
    background-size: 30px 30px;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
    color: var(--secondary);
    font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .dropdown-mega {
        min-width: 500px;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 24px 24px;
        transform: translateX(100%);
        transition: var(--transition);
        overflow-y: auto;
        z-index: 998;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        width: 100%;
        padding: 16px;
        color: var(--dark);
        font-size: 16px;
        border-radius: var(--radius-sm);
    }
*/
*/
    
    /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
        background: var(--gray-light);
        color: var(--primary);
    }
*/
*/
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu,
    .dropdown-mega {
        position: static;
        min-width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown.active .dropdown-mega {
        max-height: 1000px;
        padding: 12px 0;
    }
    
    .dropdown-mega-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown-mega .dropdown-section {
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
        padding: 16px;
    }
    
    .nav-cta {
        width: 100%;
        justify-content: center;
        margin: 16px 0 0;
        padding: 16px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        justify-content: center;
    }
    
    .topbar-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .topbar-right {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-about {
        grid-column: span 1;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links h5::after,
    .footer-contact h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
    
    .contact-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        right: 16px;
        bottom: 90px;
        width: 44px;
        height: 44px;
    }
    
    .whatsapp-float {
        right: 16px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* ========== UTILITY CLASSES ========== */
.d-none {
    display: none !important;
}

.d-lg-flex {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-flex {
        display: flex !important;
    }
}
/* ========================================
   CORECȚII VIZUALE - LPS Mircea Eliade
   Text Alignment, Fonts, Menu Improvements
   ======================================== */

/* ========== TEXT ALIGNMENT JUSTIFY ========== */
p, 
.service-card p,
.catedra-body p,
.footer-description,
.page-content p,
.sport-description p,
.about-text p,
.section-description,
.tab-content p,
article p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Excepții - nu justify pentru anumite elemente */
.text-center p,
.hero-content p,
.stat-label,
.breadcrumb,
.btn,
.nav-link,
.dropdown-menu p,
.footer-bottom p,
.alert p {
    text-align: center !important;
    hyphens: none;
}

/* ========== FONT FIXES ========== */
body {
    font-size: 16px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Fix pentru text lung care nu se încadrează */
.catedra-members li,
.profesor-item span,
.org-name,
.coach-card h4,
.feature-list li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
    line-height: 1.5;
}

/* ========== IMPROVED SPORTS SUBMENU ========== */
.dropdown-mega .dropdown-section.sports-section {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.03) 0%, rgba(251, 139, 36, 0.05) 100%);
    border-radius: var(--radius-md);
    padding: 20px;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sport-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: white;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.sport-menu-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(4px);
}

.sport-menu-item .sport-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.sport-menu-item .sport-name {
    flex: 1;
}

.sport-menu-item .sport-count {
    font-size: 11px;
    background: var(--gray-light);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--gray);
}

.sport-menu-item:hover .sport-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* ========== ORGANIZARE SECTION IMPROVEMENTS ========== */
.org-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    min-width: 220px;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.org-card.org-director {
    border-top: 4px solid var(--secondary);
}

.org-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: white;
}

.org-card h5 {
    color: var(--gray);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.org-name {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.org-dept {
    color: var(--gray);
    font-size: 13px;
}

/* ========== CATEDRA CARDS IMPROVEMENTS ========== */
.catedra-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.catedra-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.catedra-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.catedra-header i {
    font-size: 20px;
    color: white;
}

.catedra-header h5 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.catedra-header .count {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.catedra-body {
    padding: 20px;
}

.catedra-sef {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-light);
}

.catedra-sef i {
    color: var(--secondary);
}

.catedra-members {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catedra-members li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--dark);
    border-bottom: 1px dashed var(--gray-light);
}

.catedra-members li:last-child {
    border-bottom: none;
}

.catedra-members li i {
    color: var(--gray);
    font-size: 12px;
}

/* ========== COMISIE BADGES ========== */
.comisie-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.comisie-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.comisie-badge i {
    font-size: 20px;
    color: var(--secondary);
}

.comisie-badge:hover i {
    color: white;
}

.comisie-badge span {
    font-size: 14px;
    font-weight: 500;
}

/* ========== RESPONSIVE FIXES ========== */
@media (max-width: 992px) {
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .org-card {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    p {
        text-align: left !important;
        hyphens: none;
    }
    
    .catedra-members li {
        font-size: 12px;
    }
    
    .org-name {
        font-size: 16px;
    }
}

/* ========== SERVICE CARDS TEXT FIX ========== */
.service-card {
    overflow: hidden;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
}

.service-card table {
    width: 100%;
}

.service-card table td {
    padding: 6px 0;
    vertical-align: top;
}

/* ========== FEATURE LIST IMPROVEMENTS ========== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid var(--gray-light);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--success);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========== SPORT SECTION GRID IN CATEDRA ========== */
.sport-disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.sport-discipline {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 14px;
}

.sport-discipline-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.sport-discipline-title .emoji {
    font-size: 18px;
}

.sport-discipline .catedra-members li {
    font-size: 12px;
    padding: 4px 0;
}
/* ========================================
   CORECȚII COMPLETE - LPS Mircea Eliade
   Click Menu, Dark Mode, Visual Unity
   ======================================== */

/* ========== LOGO FIX ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Fallback dacă imaginea nu se încarcă */
.logo-img[src=""],
.logo-img:not([src]),
.logo picture:empty + .logo-text::before {
    content: "🏛️";
    font-size: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0.5px;
}

/* ========== CLICK DROPDOWN MENU ========== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
*/
*/

/* REMOVED - nav-link block
.nav-dropdown > .nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}
*/

/* Arrow rotation when open */
/* REMOVED - nav-link block
.nav-dropdown.active > .nav-link i {
    transform: rotate(180deg);
}
*/

/* Dropdown Menu - Hidden by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--dark);
    border-radius: 16px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
}

/* Dropdown shown on click (active class) */
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
    max-height: 600px;
    padding: 20px;
}

/* Mega Menu */
.dropdown-mega {
    min-width: 600px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.nav-dropdown.active .dropdown-mega {
    transform: translateX(-50%) translateY(8px);
}

.dropdown-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Dropdown Section */
.dropdown-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-section h5 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.dropdown-section h5 i {
    font-size: 14px;
    color: var(--secondary);
}

.dropdown-section > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-section > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
}

.dropdown-section > a i {
    font-size: 16px;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

/* ========== SPORTS GRID IN DROPDOWN ========== */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sport-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sport-menu-item:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.sport-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sport-menu-item:hover .sport-icon {
    background: rgba(255, 255, 255, 0.2);
}

.sport-name {
    font-weight: 500;
    font-size: 14px;
}

/* ========== QUICK LINKS FIX - Eliminare suprapunere ========== */
.quick-links {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 40px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.quick-link-card {
    background: var(--dark);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(251, 139, 36, 0.1) 100%);
}

.quick-link-card:first-child {
    background: var(--secondary);
    border-color: var(--secondary);
}

.quick-link-card:first-child:hover {
    background: var(--secondary-dark);
}

.quick-link-card i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: var(--secondary);
}

.quick-link-card:first-child i {
    color: white;
}

.quick-link-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
}

.quick-link-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ========== DARK MODE ========== */













/* Dark mode toggle button */
.theme-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary);
}


/* ========== SUBMENU ANIMATION ========== */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 600px;
        transform: translateY(8px);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 600px;
        transform: translateY(8px);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

.nav-dropdown.active .dropdown-menu {
    animation: slideDown 0.3s ease forwards;
}

.nav-dropdown.closing .dropdown-menu {
    animation: slideUp 0.3s ease forwards;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .dropdown-mega {
        min-width: 500px;
    }
    
    .sports-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Mobile menu */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown > /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }
*/
*/
    
    .dropdown-menu,
    .dropdown-mega {
        position: static;
        min-width: 100%;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0;
    }
    
    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown.active .dropdown-mega {
        transform: none !important;
    }
    
    .dropdown-mega-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-link-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-link-card:last-child {
        grid-column: span 1;
    }
}

/* ========== HEADER SCROLL EFFECT ========== */
.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled .topbar {
    display: none;
}

/* ========== NAV LINK STYLES ========== */
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    background: rgba(10, 36, 99, 0.05);
    color: var(--primary);
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link.active {
    color: var(--primary);
    background: rgba(10, 36, 99, 0.08);
}
*/
*/

/* REMOVED - nav-link block
.nav-link i.bi-house-door {
    font-size: 16px;
}
*/

/* CTA Button */
.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 139, 36, 0.4);
}

/* ========== MOBILE TOGGLE ========== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
}

/* ========== OVERLAY FOR MOBILE MENU ========== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000; /* mai mic decât .nav (1001) */
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   MENIU DROPDOWN CORECTAT - Model Simplu
   Fundal alb, text negru, contrast bun
   ======================================== */

/* ========== RESET DROPDOWN STYLES ========== */
.dropdown-menu,
.dropdown-mega,
.nav-dropdown .dropdown-menu {
    background: #ffffff !important;
    min-width: 280px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e5e5e5 !important;
    overflow: hidden;
}

/* Săgeată indicator sus */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
    z-index: 1;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #e5e5e5;
    z-index: 0;
}

/* ========== DROPDOWN CONTENT ========== */
.dropdown-mega-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.dropdown-section {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.dropdown-section:last-child {
    border-bottom: none !important;
}

/* Section Title */
.dropdown-section h5 {
    color: #1a1a2e !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--secondary) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dropdown-section h5 i {
    color: var(--secondary) !important;
    font-size: 14px !important;
}

/* Dropdown Links */
.dropdown-section > a,
.dropdown-section a:not(.sport-menu-item) {
    display: block !important;
    padding: 12px 16px !important;
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    margin: 4px 0 !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.dropdown-section > a:hover,
.dropdown-section a:not(.sport-menu-item):hover {
    background: #f5f5f5 !important;
    color: var(--primary) !important;
    padding-left: 20px !important;
}

.dropdown-section > a i,
.dropdown-section a:not(.sport-menu-item) i {
    color: var(--secondary) !important;
    margin-right: 10px !important;
    font-size: 14px !important;
}

/* ========== SPORTS GRID - SIMPLU ========== */
.sports-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.sport-menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border-radius: 6px !important;
    color: #333333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.sport-menu-item:hover {
    background: #f5f5f5 !important;
    color: var(--primary) !important;
    transform: none !important;
    padding-left: 20px !important;
}

.sport-icon {
    font-size: 20px !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}

.sport-name {
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #333333 !important;
}

.sport-menu-item:hover .sport-name {
    color: var(--primary) !important;
}

/* ========== NAV LINK CONTRAST ========== */
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    color: #1a1a2e !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 16px !important;
    transition: all 0.2s ease !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    color: var(--secondary) !important;
    background: transparent !important;
}
*/
*/

/* REMOVED - nav-link block
.nav-link i.bi-chevron-down {
    font-size: 10px !important;
    margin-left: 4px !important;
    transition: transform 0.3s ease !important;
}
*/

/* REMOVED - nav-link block
.nav-dropdown.active > .nav-link i.bi-chevron-down {
    transform: rotate(180deg) !important;
}
*/

/* ========== DARK MODE - MENIU RĂMÂNE ALB ========== */




/* Dark mode - Nav links */


/* ========== HIGHLIGHT LINK ========== */
.highlight-link {
    background: linear-gradient(135deg, rgba(251, 139, 36, 0.1) 0%, rgba(251, 139, 36, 0.05) 100%) !important;
    border-left: 3px solid var(--secondary) !important;
    padding-left: 13px !important;
}

.highlight-link:hover {
    background: linear-gradient(135deg, rgba(251, 139, 36, 0.2) 0%, rgba(251, 139, 36, 0.1) 100%) !important;
}

.highlight-link strong {
    display: block !important;
    color: #1a1a2e !important;
    font-size: 14px !important;
}

.highlight-link small {
    display: block !important;
    color: #666666 !important;
    font-size: 12px !important;
    margin-top: 2px !important;
}

/* ========== MEGA MENU LAYOUT ========== */
.dropdown-mega {
    min-width: 500px !important;
}

.dropdown-mega .dropdown-mega-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
}

.dropdown-mega .dropdown-section {
    border-bottom: none !important;
    border-right: 1px solid #f0f0f0 !important;
}

.dropdown-mega .dropdown-section:last-child {
    border-right: none !important;
}

/* ========== ANIMATION ========== */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.25s ease;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    z-index: 1000;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Center mega menu */
.dropdown-mega {
    left: 50% !important;
    transform: translateX(-50%) translateY(-5px) !important;
}

.nav-dropdown.active .dropdown-mega {
    transform: translateX(-50%) translateY(0) !important;
}

/* ========== CTA BUTTON ========== */
.nav-cta {
    background: var(--secondary) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: #e67d1f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(251, 139, 36, 0.4) !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .dropdown-mega {
        min-width: 400px !important;
    }
}

/* NAV MOBIL – PENTRU ECRANE MICI */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #111648;
    display: flex;
    flex-direction: column;
    padding: 80px 0 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav.active {
    right: 0;
  }
}

    
    /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        color: #ffffff !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
*/
*/
}
/* ========================================
   MENIU SIMPLIFICAT - Liste Verticale
   Fără iconițe, fără descrieri
   ======================================== */

/* Reset orice stil anterior pentru dropdown */
.dropdown-menu,
.dropdown-mega,
.dropdown-menu-sm {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    max-width: 220px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    padding: 8px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e0e0e0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    margin-top: 8px !important;
    z-index: 1000;
}

/* Dropdown activ */
.nav-dropdown.active .dropdown-menu,
.nav-dropdown.active .dropdown-mega,
.nav-dropdown.active .dropdown-menu-sm {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Săgeată indicator */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    transform: rotate(45deg);
}

/* Link-uri în dropdown - SIMPLU */
.dropdown-menu a,
.dropdown-mega a,
.dropdown-menu-sm a {
    display: block !important;
    padding: 10px 20px !important;
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: all 0.15s ease !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.dropdown-menu a:hover,
.dropdown-mega a:hover,
.dropdown-menu-sm a:hover {
    background: #f5f5f5 !important;
    color: #000000 !important;
    padding-left: 24px !important;
}

/* Ascunde tot ce e în plus */
.dropdown-menu i,
.dropdown-mega i,
.dropdown-menu-sm i,
.dropdown-section h5,
.dropdown-section i,
.dropdown-mega-grid,
.sports-grid,
.sport-menu-item,
.sport-icon,
.sport-name,
.highlight-link div,
.highlight-link strong,
.highlight-link small,
.dropdown-footer,
.badge-live {
    display: none !important;
}

/* Doar săgeata din nav-link rămâne vizibilă */
/* REMOVED - nav-link block
.nav-link > i.bi-chevron-down {
    display: inline-block !important;
    font-size: 10px !important;
    margin-left: 4px !important;
    transition: transform 0.2s ease !important;
}
*/

/* REMOVED - nav-link block
.nav-dropdown.active > .nav-link > i.bi-chevron-down {
    transform: rotate(180deg) !important;
}
*/

/* Dropdown section - afișează doar link-urile */
.dropdown-section {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
}

/* ========== NAV LINK STILURI ========== */
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    color: #1a1a2e !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 14px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    background: transparent !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    color: var(--secondary) !important;
}
*/
*/

/* ========== CTA BUTTON ========== */
.nav-cta {
    background: var(--secondary) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    margin-left: 10px !important;
}

.nav-cta:hover {
    background: #e67d1f !important;
}

/* Ascunde iconița din CTA */
.nav-cta i {
    display: none !important;
}

/* ========== DARK MODE ========== */


/* Dropdown rămâne ALB în dark mode */



/* ========== HEADER STYLING ========== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}


.header-main {
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: #1a1a2e;
    line-height: 1.2;
}


.logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888888;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown {
    position: relative;
}

/* ========== TOPBAR ========== */
.topbar {
    background: #1a1a2e;
    padding: 8px 0;
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact {
    display: flex;
    gap: 20px;
}

.topbar-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.topbar-contact a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.social-links a:hover {
    color: var(--secondary);
}

/* ========== MOBILE ========== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    transition: all 0.3s ease;
}


@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 0 20px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
/* ========================================
   STILURI INSPIRATE DE training.smis.ro
   Animații, Contrast, Quick Access Cards
   ======================================== */

/* ========== VARIABILE CULORI ========== */
:root {
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-card-hover: #334155;
    --accent: #fb8b24;
    --accent-hover: #f59e0b;
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
}

/* ========== QUICK ACCESS SECTION ========== */
.quick-access {
    background: linear-gradient(180deg, #0a2463 0%, #1e3a5f 100%);
    padding: 50px 0 60px;
    position: relative;
}

.quick-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(10, 36, 99, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

.quick-access-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    width: 100%;
}

/* ========== QUICK CARD ========== */
.quick-card {
    background: rgba(30, 58, 95, 0.6);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 58, 95, 0.8);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

/* Card Icon */
.quick-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-card-icon i {
    font-size: 40px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.quick-card:hover .quick-card-icon i {
    transform: scale(1.15);
}

/* Card Text - DARK THEME */
.quick-card h4 {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.quick-card p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    margin: 0;
    transition: color 0.3s ease;
}

.quick-card:hover h4 {
    color: #ffffff !important;
}

.quick-card:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ========== ACTIVE/HIGHLIGHTED CARD ========== */
.quick-card.active {
    background: var(--accent);
    border-color: var(--accent);
}

.quick-card.active::before {
    display: none;
}

.quick-card.active .quick-card-icon i {
    color: #ffffff;
}

.quick-card.active h4 {
    color: #ffffff !important;
}

.quick-card.active p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.quick-card.active:hover {
    background: var(--accent-hover);
    transform: translateY(-8px);
}

/* ========== ANIMAȚII GENERALE ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Aplicare animații */
.quick-card {
    animation: fadeInUp 0.6s ease forwards;
}

.quick-card:nth-child(1) { animation-delay: 0.1s; }
.quick-card:nth-child(2) { animation-delay: 0.2s; }
.quick-card:nth-child(3) { animation-delay: 0.3s; }
.quick-card:nth-child(4) { animation-delay: 0.4s; }
.quick-card:nth-child(5) { animation-delay: 0.5s; }

/* Fade in pentru elemente vizibile */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== HERO STATS ANIMAȚIE ========== */
.hero-stat {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-stat:nth-child(1) { animation-delay: 0.2s; }
.hero-stat:nth-child(2) { animation-delay: 0.4s; }
.hero-stat:nth-child(3) { animation-delay: 0.6s; }
.hero-stat:nth-child(4) { animation-delay: 0.8s; }

.hero-stat-number {
    color: var(--text-white) !important;
}

.hero-stat-label {
    color: var(--text-light) !important;
}

/* ========== SECȚIUNI CU CONTRAST BUN ========== */
.section {
    position: relative;
}

.section-title {
    color: var(--primary) !important;
}

.section-title span {
    color: var(--accent) !important;
}

.section-desc {
    color: #64748b !important;
}

/* ========== CARDURI SERVICII ========== */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ========== MISSION CARDS ========== */
.mission-card {
    transition: all 0.4s ease;
}

.mission-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* ========== CATEDRA CARDS ========== */
.catedra-card {
    transition: all 0.4s ease;
}

.catedra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* ========== BUTOANE ========== */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(251, 139, 36, 0.4);
}

/* ========== NAV CTA ANIMAȚIE ========== */
.nav-cta {
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.nav-cta:hover::after {
    width: 200px;
    height: 200px;
}

/* ========== SCROLL ANIMATIONS ========== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-card {
        padding: 20px 16px;
    }
    
    .quick-card-icon i {
        font-size: 32px;
    }
    
    .quick-card h4 {
        font-size: 14px;
    }
    
    .quick-card p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quick-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 16px 20px;
    }
    
    .quick-card-icon {
        margin: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .quick-card-icon i {
        font-size: 28px;
    }
}

/* ========== DARK MODE AJUSTĂRI ========== */



/* ========== SMOOTH SCROLL ========== */
html {
    scroll-behavior: smooth;
}

/* ========== LOADING ANIMATION ========== */
.loading {
    animation: pulse 1.5s infinite;
}

/* ========== HOVER GLOW EFFECT ========== */
.glow-on-hover {
    transition: box-shadow 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(251, 139, 36, 0.5);
}
/* ========================================
   MENIU UNIFICAT - Tranziții Smooth & Animații
   Font: Outfit | Hover: Schimbare culoare
   ======================================== */

/* ========== FONT GLOBAL PENTRU MENIU ========== */
.header,
.header *,
.nav,
.nav *,
.nav-link,
.dropdown-menu,
.dropdown-menu a {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ========== HEADER PRINCIPAL ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}


.header-main {
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

/* ========== LOGO ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: #1a1a2e;
    line-height: 1.2;
    transition: color 0.3s ease;
}


.logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0.3px;
}

/* ========== NAVIGARE PRINCIPALĂ ========== */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========== NAV LINK - CU ANIMAȚIE ========== */
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    position: relative;
    color: #1a1a2e !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
*/
*/

/* DEZACTIVAT - Stiluri vechi care cauzau bug-ul cu linia
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--secondary, #fb8b24);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
*/
*/
*/

/* DEZACTIVAT - Stiluri vechi
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    color: var(--secondary, #fb8b24) !important;
    background: rgba(251, 139, 36, 0.08) !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link.active {
    color: var(--secondary, #fb8b24) !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link.active::after {
    transform: scaleX(1);
}
*/
*/
*/

/* ========== DARK MODE NAV LINKS ========== */


/* ========== DROPDOWN TRIGGER ========== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    padding-right: 12px !important;
}
*/
*/

/* Săgeată dropdown */
/* REMOVED - nav-link block
.nav-link > i.bi-chevron-down {
    display: inline-block !important;
    font-size: 10px !important;
    margin-left: 4px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
*/

/* REMOVED - nav-link block
.nav-dropdown.active > .nav-link > i.bi-chevron-down,
.nav-dropdown:hover > .nav-link > i.bi-chevron-down {
    transform: rotate(180deg) !important;
}
*/

/* ========== DROPDOWN MENU ========== */
.dropdown-menu,
.dropdown-mega,
.dropdown-menu-sm {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    max-width: 220px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 8px 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 8px !important;
    z-index: 1000;
}

/* Dropdown Activ - Animație Smooth */
.nav-dropdown.active .dropdown-menu,
.nav-dropdown.active .dropdown-mega,
.nav-dropdown.active .dropdown-menu-sm {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Săgeată indicator */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* Dark mode dropdown - RĂMÂNE ALB */

/* ========== LINK-URI ÎN DROPDOWN ========== */
.dropdown-menu a,
.dropdown-mega a,
.dropdown-menu-sm a {
    display: block !important;
    padding: 12px 20px !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover pe link-uri dropdown */
.dropdown-menu a:hover,
.dropdown-mega a:hover,
.dropdown-menu-sm a:hover {
    background: linear-gradient(90deg, rgba(251, 139, 36, 0.1) 0%, rgba(251, 139, 36, 0.05) 100%) !important;
    color: var(--secondary, #fb8b24) !important;
    padding-left: 28px !important;
}

/* Linie laterală la hover */
.dropdown-menu a::before,
.dropdown-mega a::before,
.dropdown-menu-sm a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--secondary, #fb8b24);
    border-radius: 0 3px 3px 0;
    transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover::before,
.dropdown-mega a:hover::before,
.dropdown-menu-sm a:hover::before {
    height: 60%;
}

/* Dark mode link-uri dropdown */


/* ========== CTA BUTTON ========== */
.nav-cta {
    position: relative;
    background: var(--secondary, #fb8b24) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 12px !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(251, 139, 36, 0.3);
}

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

.nav-cta:hover {
    background: #e67d1f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 139, 36, 0.4);
}

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

.nav-cta::after {
    display: none !important;
}

/* ========== TOPBAR ========== */
.topbar {
    background: #1a1a2e;
    padding: 10px 0;
    font-size: 13px;
    transition: all 0.3s ease;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact {
    display: flex;
    gap: 24px;
}

.topbar-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.topbar-contact a:hover {
    color: var(--secondary, #fb8b24);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary, #fb8b24);
    transform: translateY(-2px);
}

/* ========== MOBILE TOGGLE ========== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 0 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 999;
    }
    

/* ========== ASCUNDE ELEMENTE EXTRA ========== */
.dropdown-menu i:not(.bi-chevron-down),
.dropdown-mega i:not(.bi-chevron-down),
.dropdown-menu-sm i:not(.bi-chevron-down),
.dropdown-section h5,
.dropdown-mega-grid,
.sports-grid,
.sport-menu-item,
.highlight-link div,
.dropdown-footer,
.badge-live {
    display: none !important;
}

.dropdown-section {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
}

/* ========== SCROLL EFFECT ========== */
.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo-img {
    height: 40px;
}

/* ========== NAV OVERLAY ========== */
.nav-overlay {
  z-index: 99997 !important;  /* mai mic decât nav */
}

.nav {
  z-index: 99998 !important;
}


.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ========== THEME TOGGLE BUTTON ========== */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary, #0a2463);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 997;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--secondary, #fb8b24);
}



/* ========== ANIMATION KEYFRAMES ========== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.nav-dropdown.closing .dropdown-menu {
    animation: slideUp 0.3s ease forwards;
}

/* ========================================
   HEADER COMPACT - UN SINGUR RÂND
   Cu siglă și meniu grupat
   ======================================== */

/* Reset și override pentru header compact */
.header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}


.header-main {
    padding: 0 !important;
}

.header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    gap: 30px !important;
    min-height: 70px !important;
    flex-wrap: nowrap !important;
}

/* ===== LOGO CU SIGLĂ ===== */
.logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
}

.logo:hover {
    transform: scale(1.03) !important;
}

.logo-img {
    height: 55px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Ascunde textul dacă există - sigla conține deja textul */
.logo-text {
    display: none !important;
}

/* ===== NAVIGARE PE UN RÂND ===== */
.nav {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    flex: 1 !important;
    justify-content: flex-end !important;
}

/* Nav links compacte */
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
    position: relative !important;
    color: #1a1a2e !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    padding: 12px 14px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
}
*/
*/

/* DEZACTIVAT - Stiluri vechi care cauzau bug-ul
/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover {
    color: #fb8b24 !important;
    background: rgba(251, 139, 36, 0.08) !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 6px !important;
    left: 14px !important;
    right: 14px !important;
    height: 2px !important;
    background: #fb8b24 !important;
    transform: scaleX(0) !important;
    transform-origin: right !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 2px !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link:hover::after {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link.active {
    color: #fb8b24 !important;
}
*/
*/

/* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link.active::after {
    transform: scaleX(1) !important;
}
*/
*/
*/

/* Dark mode */


/* ===== DROPDOWN ===== */
.nav-dropdown {
    position: relative !important;
}

/* REMOVED - nav-link block
.nav-link > i.bi-chevron-down {
    display: inline-block !important;
    font-size: 9px !important;
    margin-left: 3px !important;
    transition: transform 0.3s ease !important;
}
*/

/* REMOVED - nav-link block
.nav-dropdown.active > .nav-link > i.bi-chevron-down {
    transform: rotate(180deg) !important;
}
*/

/* Dropdown Menu - apare smooth */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 180px !important;
    max-width: 180px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 8px 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 5px !important;
    z-index: 1000 !important;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Săgeată dropdown */
.dropdown-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: 20px !important;
    width: 10px !important;
    height: 10px !important;
    background: #ffffff !important;
    border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    transform: rotate(45deg) !important;
}

/* Link-uri dropdown */
.dropdown-menu a {
    display: block !important;
    padding: 10px 16px !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.dropdown-menu a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 0 !important;
    background: #fb8b24 !important;
    border-radius: 0 3px 3px 0 !important;
    transition: height 0.2s ease !important;
}

.dropdown-menu a:hover {
    background: rgba(251, 139, 36, 0.08) !important;
    color: #fb8b24 !important;
    padding-left: 22px !important;
}

.dropdown-menu a:hover::before {
    height: 50% !important;
}

/* ===== CTA BUTTON ===== */
.nav-cta {
    background: #fb8b24 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: 10px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(251, 139, 36, 0.3) !important;
    flex-shrink: 0 !important;
}

.nav-cta:hover {
    background: #e67d1f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(251, 139, 36, 0.4) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta i {
    font-size: 14px !important;
    display: inline-block !important;
}

/* ===== TOPBAR SLIM ===== */
.topbar {
    background: linear-gradient(90deg, #1a1a2e 0%, #0a2463 100%) !important;
    padding: 8px 0 !important;
    font-size: 12px !important;
}

.topbar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.topbar-contact {
    display: flex !important;
    gap: 24px !important;
}

.topbar-contact a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
    transition: color 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.topbar-contact a i {
    font-size: 14px !important;
    display: inline-block !important;
}

.topbar-contact a:hover {
    color: #fb8b24 !important;
}

.social-links {
    display: flex !important;
    gap: 16px !important;
}

.social-links a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.social-links a:hover {
    color: #fb8b24 !important;
    transform: translateY(-2px) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
    /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        padding: 10px 10px !important;
        font-size: 12px !important;
    }
*/
*/
    
    .logo-img {
        height: 48px !important;
    }
}

@media (max-width: 1100px) {
    /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        padding: 8px 8px !important;
        font-size: 11px !important;
    }
*/
*/
    
    .nav-cta {
        padding: 8px 14px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex !important;
    }
    
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 80px 0 30px !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15) !important;
        overflow-y: auto !important;
        z-index: 999 !important;
        gap: 0 !important;
    }
    

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s ease;
}


.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SCROLL EFFECT ===== */
.header.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12) !important;
}

.header.scrolled .header-inner {
    padding: 6px 0 !important;
}

.header.scrolled .logo-img {
    height: 45px !important;
}

/* ===== ASCUNDE ELEMENTE EXTRA ===== */
.dropdown-section,
.dropdown-mega-grid,
.sports-grid,
.dropdown-footer,
.badge-live {
    display: none !important;
}

/* ===== LOGO CU TEXT VIZIBIL ===== */
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.logo-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
}

.logo-name {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #1a1a2e !important;
    white-space: nowrap !important;
}


.logo-subtitle {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    color: #64748b !important;
    white-space: nowrap !important;
}


@media (max-width: 1200px) {
    .logo-name {
        font-size: 16px !important;
    }
    .logo-subtitle {
        font-size: 10px !important;
    }
}

@media (max-width: 992px) {
    .logo-text {
        display: none !important;
    }
}

/* ===== WHATSAPP & BACK TO TOP BUTTONS - FIXED POSITIONS ===== */
.whatsapp-float {
    position: fixed !important;
    bottom: 160px !important;
    right: 20px !important;
    background: #25D366 !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    z-index: 99 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

.back-to-top {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    background: var(--primary, #0a2463) !important;
    color: white !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    z-index: 98 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary, #fb8b24) !important;
    transform: translateY(-3px) !important;
}

/* ===== RESPONSIVE DROPDOWN FIX ===== */
@media (max-width: 992px) {
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -300px !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 80px 20px 20px !important;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1) !important;
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
        z-index: 1000 !important;
    }
    
    .nav.active {
        right: 0 !important;
    }
    
    /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        width: 100% !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
*/
*/
    
    .nav-dropdown {
        width: 100% !important;
    }
    
    .nav-dropdown > /* REMOVED - nav-link style
/* REMOVED - nav-link block
.nav-link {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
    }
*/
*/
    
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        margin-top: 8px !important;
        padding: 8px !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-menu::before {
        display: none !important;
    }
    
    .dropdown-menu a {
        padding: 10px 12px !important;
    }
    
    .nav-cta {
        width: 100% !important;
        margin-top: 16px !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 28px !important;
        height: 20px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }
    
    .mobile-toggle span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background: var(--dark, #1a1a2e) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px) !important;
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px) !important;
    }
    
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.5) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
    }
    
    .nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (min-width: 1025px) {
    .mobile-toggle {
        display: none !important;
    }
}

/* ASCUND BUTONUL DE TEMĂ - DOAR LIGHT MODE */
.theme-toggle {
    display: none !important;
}


/* ASCUND BUTONUL FLOATING DE WHATSAPP */
.whatsapp-float {
    display: none !important;
}


/* ========== FIX QUICK ACCESS CARDS - FORȚAT ORIZONTAL ========== */
.quick-access {
    background: linear-gradient(180deg, #0a2463 0%, #1e3a5f 100%) !important;
    padding: 50px 0 60px !important;
    position: relative !important;
}

.quick-access .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.quick-access-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

.quick-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(30, 58, 95, 0.6) !important;
    border-radius: 16px !important;
    padding: 30px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    min-height: 180px !important;
}

.quick-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(30, 58, 95, 0.8) !important;
    border-color: #f39c12 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.quick-card-icon {
    width: 70px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
}

.quick-card-icon i {
    font-size: 32px !important;
    color: #f39c12 !important;
}

.quick-card h4 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.quick-card p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

.quick-card.active {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border-color: #f39c12 !important;
}

.quick-card.active .quick-card-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.quick-card.active .quick-card-icon i {
    color: #ffffff !important;
}

.quick-card.active h4,
.quick-card.active p {
    color: #ffffff !important;
}

/* Responsive pentru quick-access */
@media (max-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .quick-card {
        min-height: 150px !important;
        padding: 20px 15px !important;
    }
}

@media (max-width: 480px) {
    .quick-access-grid {
        grid-template-columns: 1fr !important;
    }
    
    .quick-card {
        flex-direction: row !important;
        text-align: left !important;
        min-height: auto !important;
        padding: 20px !important;
    }
    
    .quick-card-icon {
        margin-bottom: 0 !important;
        margin-right: 15px !important;
        width: 50px !important;
        height: 50px !important;
    }
}

/* ========================================================
   LPS MIRCEA ELIADE - MOBILE FIX FINAL (Unified)
   Adaugă acest cod la sfârșitul tuturor fișierelor CSS
   ======================================================== */

/* 1. RESETARE PENTRU CONTAINER ȘI OVERFLOW (Previne scroll orizontal nedorit) */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* 2. STANDARDIZARE BREAKPOINT MENIU (Tot ce e sub 1024px e mobil/tabletă) */
@media (max-width: 1024px) {
    
    /* Afișare buton hamburger */
    .mobile-toggle {
        display: flex !important;
        position: relative;
        z-index: 1002;
        color: #1a1a4e; /* Asigură vizibilitatea pe fundal alb */
    }

    /* Dacă headerul e transparent/închis, fă butonul alb */
    .header:not(.scrolled) .mobile-toggle {
        color: #ffffff; 
    }
    
    .mobile-toggle span {
        background-color: currentColor; 
    }

    /* 3. REPARARE LOGICĂ MENIU MOBIL (SLIDE-IN) */
    .nav, #nav, .header .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* Ascuns în dreapta */
        width: 300px !important;
        height: 100vh !important;
        background: #1a1a4e !important; /* Fundal albastru închis solid */
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 80px 0 40px !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5) !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }

    /* Clasa care activează meniul */
    .nav.active, #nav.active {
        right: 0 !important;
    }

    /* 4. REPARARE LINK-URI PE MOBIL (Suprascrie nav-fix-final.css) */
    .nav-link, #nav .nav-link {
        display: flex !important;
        width: 100% !important;
        padding: 15px 25px !important;
        color: #ffffff !important; /* Text alb */
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        text-align: left !important;
        justify-content: space-between !important;
        background: transparent !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Stare Hover/Active pe mobil */
    .nav-link:hover, #nav .nav-link:hover {
        background: rgba(255,255,255,0.05) !important;
        color: #00e5ff !important;
        padding-left: 30px !important; /* Mică animație la hover */
    }

    /* Ascunde pseudo-elementele distructive din nav-fix */
    .nav-link::after, .nav-link::before {
        display: none !important;
    }

    /* 5. REPARARE DROPDOWN PE MOBIL */
    .nav-dropdown {
        width: 100% !important;
        display: block !important;
    }

    .dropdown-menu, #nav .dropdown-menu {
        position: static !important; /* Nu mai e absolut */
        float: none !important;
        display: none !important; /* Ascuns default */
        width: 100% !important;
        min-width: 100% !important;
        background: rgba(0,0,0,0.2) !important; /* Fundal mai închis */
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin: 0 !important;
    }

    /* Afișare dropdown când e activ */
    .nav-dropdown.active .dropdown-menu {
        display: block !important;
        animation: slideDownMobile 0.3s ease forwards;
    }

    /* Link-uri interne dropdown */
    .dropdown-menu a {
        padding: 12px 20px 12px 40px !important; /* Indentare */
        color: rgba(255,255,255,0.8) !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        font-size: 14px !important;
    }

    /* 6. REPARARE BUTOANE CTA ÎN MENIU */
    .nav-cta {
        margin: 20px !important;
        width: calc(100% - 40px) !important;
        text-align: center !important;
        justify-content: center !important;
        background: #fb8b24 !important;
        display: flex !important;
    }

    /* 7. OVERLAY (FUNDAL ÎNTUNECAT CÂND MENIUL E DESCHIS) */
	.nav-overlay {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.6);
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		pointer-events: none; /* <--- ADAUGĂ ASTA */
		transition: all 0.3s;
		backdrop-filter: blur(2px);
		pointer-events: none; /* <--- IMPERATIV: Nu blocheaza click cand e ascuns */
	}

	.nav-overlay.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto; /* <--- Reactiveaza click cand e vizibil */
	}

}

/* 8. AJUSTĂRI PENTRU ECRANE FOARTE MICI (SUB 380px) */
@media (max-width: 380px) {
    .logo-text {
        display: none !important; /* Ascunde textul logo-ului, lasă doar sigla */
    }
    .header-inner {
        padding: 10px 0 !important;
    }
    .nav {
        width: 100% !important; /* Meniu full width */
    }
}

/* Animație pentru dropdown pe mobil */
@keyframes slideDownMobile {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================================
   FIX PENTRU BUTONUL MOBIL (HAMBURGER)
   Adaugă asta la finalul style.css
   ============================================== */

/* 1. Asigură-te că butonul este vizibil sub 1024px */
@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex !important; /* Forțează afișarea */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10002; /* Să fie peste orice altceva */
        position: relative;
        margin-left: auto; /* Îl aliniază la dreapta */
    }

    /* 2. Stilizează cele 3 linii */
    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #1a1a4e !important; /* CULOARE ÎNCHISĂ (Navy Blue) */
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Ajustare poziție în header */
    .header-inner {
        padding-right: 15px; /* Spațiu mic în dreapta */
    }
}

/* 3. Animația X când meniul este deschis */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ========================================================
   REPARATIE FINALĂ MOBIL - BUTON HAMBURGER
   Adaugă la finalul style.css
   ======================================================== */

/* 1. Ascunde butonul pe Desktop (> 1024px) */
@media (min-width: 1025px) {
    .mobile-toggle {
        display: none !important;
    }
}

/* 2. Afișează și stilizează butonul pe Mobil/Tabletă (< 1024px) */
@media (max-width: 1024px) {
    .header-inner {
        position: relative; /* Pentru poziționare corectă */
    }

    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 35px;
        height: 26px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10002; /* Peste orice alt element */
        padding: 0;
        margin-left: auto; /* Îl împinge în dreapta */
    }

    /* Liniile butonului - CULOARE ÎNCHISĂ PENTRU VIZIBILITATE */
    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #0a2463 !important; /* Albastru închis - CRITIC */
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* 3. Meniul (sertarul) */
    .nav {
        position: fixed !important;
        top: 0;
        right: -100% !important; /* Ascuns inițial */
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important; /* Fundal alb */
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 80px 20px !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease !important;
        z-index: 10001 !important;
        overflow-y: auto;
    }

    /* Clasa care deschide meniul */
    .nav.active {
        right: 0 !important;
    }

    /* Link-urile din meniu pe mobil */
    .nav .nav-link {
        color: #0a2463 !important; /* Text închis */
        padding: 15px 0 !important;
        font-size: 16px !important;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
        text-align: left !important;
    }
}

/* 4. Animația X când meniul e deschis */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ========================================================
   FIX QUICK-ACCESS CARDS - CONTRAST ȘI LAYOUT
   Rezolvă problema cardurilor de pe pagina principală
   ======================================================== */

/* 1. SECȚIUNEA QUICK-ACCESS - Fundal albastru închis */
.quick-access,
.section-quick-access {
    background: linear-gradient(180deg, #0a2463 0%, #1e3a5f 100%) !important;
    padding: 50px 0 60px !important;
    position: relative !important;
    margin-top: -2px; /* Elimină gap-ul cu hero */
}

/* 2. GRID PENTRU CARDURI - 5 coloane pe desktop */
.quick-access-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* 3. STILURI PENTRU CARD HIGHLIGHT (Admitere) - Portocaliu/Galben */
.quick-card.highlight {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(243, 156, 18, 0.4) !important;
}

.quick-card.highlight:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 16px 48px rgba(243, 156, 18, 0.5) !important;
}

.quick-card.highlight .quick-card-icon {
    background: rgba(255, 255, 255, 0.25) !important;
}

.quick-card.highlight .quick-card-icon i {
    color: #ffffff !important;
}

.quick-card.highlight h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.quick-card.highlight p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 4. STILURI PENTRU CARD GLASS - Transparent cu blur */
.quick-card.glass {
    background: rgba(30, 58, 95, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.quick-card.glass:hover {
    background: rgba(30, 58, 95, 0.8) !important;
    border-color: #f39c12 !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.quick-card.glass .quick-card-icon {
    background: rgba(255, 255, 255, 0.1) !important;
}

.quick-card.glass .quick-card-icon i {
    color: #f39c12 !important;
}

.quick-card.glass h4 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.quick-card.glass p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.quick-card.glass:hover h4 {
    color: #ffffff !important;
}

.quick-card.glass:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 5. RESPONSIVE - Tableta și mobil */
@media (max-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .quick-card.highlight,
    .quick-card.glass {
        min-height: 150px !important;
        padding: 20px 15px !important;
    }
}

@media (max-width: 480px) {
    .quick-access-grid {
        grid-template-columns: 1fr !important;
    }
    
    .quick-card.highlight,
    .quick-card.glass {
        flex-direction: row !important;
        text-align: left !important;
        min-height: auto !important;
        padding: 20px !important;
        align-items: center !important;
    }
    
    .quick-card.highlight .quick-card-icon,
    .quick-card.glass .quick-card-icon {
        margin-bottom: 0 !important;
        margin-right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0 !important;
    }
}

/* ========================================================
   FIX FINAL - MENIU HAMBURGER PE DESKTOP REDIMENSIONAT
   Breakpoint standardizat: 1024px
   ======================================================== */

/* DESKTOP (> 1024px) - Ascunde hamburger, afișează meniu normal */
@media (min-width: 1025px) {
    .mobile-toggle {
        display: none !important;
        visibility: hidden !important;
    }
    
    .nav {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
}

/* TABLET/MOBIL (<= 1024px) - Afișează hamburger, ascunde meniu */
@media (max-width: 1024px) {
    /* Butonul hamburger TREBUIE să apară */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 36px !important;
        height: 28px !important;
        padding: 4px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10002 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Liniile hamburger */
    .mobile-toggle span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #ffffff !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Când headerul e scrollat/solid - linii închise */
    .header.scrolled .mobile-toggle span,
    .header.header-solid .mobile-toggle span {
        background-color: #0a2463 !important;
    }
    
    /* Animația X când meniul e deschis */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg) !important;
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg) !important;
    }
    
    /* Meniul ascuns inițial (slide din dreapta) */
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #1a1a4e !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 80px 0 30px !important;
        box-shadow: -5px 0 30px rgba(0,0,0,0.3) !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 10001 !important;
        overflow-y: auto !important;
    }
    
    /* Meniul deschis */
    .nav.active {
        right: 0 !important;
    }
    
    /* Link-urile din meniu mobil */
    .nav .nav-link,
    .nav .nav-dropdown > .nav-link {
        display: flex !important;
        width: 100% !important;
        padding: 16px 24px !important;
        color: #ffffff !important;
        font-size: 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        justify-content: space-between !important;
        background: transparent !important;
    }
    
    .nav .nav-link:hover {
        background: rgba(0,229,255,0.15) !important;
        color: #00e5ff !important;
    }
    
    /* Dropdown pe mobil */
    .nav .nav-dropdown {
        width: 100% !important;
    }
    
    .nav .dropdown-menu {
        position: static !important;
        width: 100% !important;
        background: rgba(0,0,0,0.2) !important;
        box-shadow: none !important;
        border: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: max-height 0.3s ease !important;
    }
    
    .nav .nav-dropdown.active .dropdown-menu {
        max-height: 500px !important;
    }
    
    .nav .dropdown-menu a {
        padding: 14px 24px 14px 40px !important;
        color: rgba(255,255,255,0.85) !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .nav .dropdown-menu a:hover {
        background: rgba(0,229,255,0.1) !important;
        color: #ffffff !important;
    }
    
    /* Butonul CTA în meniu */
    .nav .nav-cta {
        margin: 20px 24px !important;
        justify-content: center !important;
        border-radius: 8px !important;
        background: #fb8b24 !important;
    }
    
    /* Overlay fundal întunecat */
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.6) !important;
        z-index: 10000 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ========================================================
   HEADER + NAV + HAMBURGER - VARIANTA UNIFICATĂ
   Breakpoint mobil: 992px
======================================================== */

/* Header de bază */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.9) 100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.header .topbar {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-main {
  width: 100%;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header scrollat */
.header.scrolled,
.header.header-solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.header.scrolled .topbar,
.header.header-solid .topbar {
  display: none;
}

.header.scrolled .header-main,
.header.header-solid .header-main {
  padding: 10px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo-img,
.header.header-solid .logo-img {
  height: 50px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.2;
}

.logo-text .logo-name {
  font-size: 18px;
}

.logo-text .logo-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.header.scrolled .logo-text,
.header.header-solid .logo-text {
  color: var(--dark);
}

/* NAV DESKTOP (>= 993px) */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header.scrolled .nav-link,
.header.header-solid .nav-link {
  color: var(--dark);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.header.scrolled .nav-link:hover,
.header.header-solid .nav-link:hover {
  background: rgba(10, 36, 99, 0.05);
  color: var(--primary);
}

.nav-link.active {
  color: var(--secondary);
}

/* Dropdown desktop */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  cursor: pointer;
}

.nav-dropdown > .nav-link i.bi-chevron-down {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover > .nav-link i.bi-chevron-down,
.nav-dropdown.active > .nav-link i.bi-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  transition: all 0.15s ease;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #e0f7fa;
  color: #006064;
  padding-left: 24px;
}

/* CTA în nav */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  margin-left: 10px;
  background: #ff6b00;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #ff8c00;
  transform: translateY(-2px);
}

/* Buton hamburger – desktop: ascuns */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header.scrolled .mobile-toggle span,
.header.header-solid .mobile-toggle span {
  background: #0d1b2a;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay global */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================================
   NAV MOBIL (<= 992px)
======================================================== */
@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
    position: fixed;
    top: 12px;
    right: 16px;
    background: #ff6b00;
    border-radius: 10px;
    border: 2px solid #ffffff;
  }

  .header-inner {
    justify-content: space-between;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #1a1a4e;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 0 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.35);
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .nav-link:hover {
    background: rgba(0, 229, 255, 0.18);
    color: #ffffff;
  }

  .header.scrolled .nav-link,
  .header.header-solid .nav-link {
    color: #ffffff;
  }

  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown > .nav-link i.bi-chevron-down {
    font-size: 12px;
    transition: transform 0.2s ease;
  }

  .nav-dropdown.active > .nav-link i.bi-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-menu a {
    padding: 14px 24px 14px 44px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu a:hover {
    background: rgba(0, 229, 255, 0.16);
    color: #ffffff;
    padding-left: 52px;
  }

  .nav-cta {
    margin: 20px 24px 0;
    justify-content: center;
    border-radius: 8px;
  }
}
