   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* =============================================
   STYLES.CSS - PROFESSIONALLY REORGANIZED
   Template: TemplateMo 562 Space Dynamic
   
   TABLE OF CONTENTS:
   1. CSS Variables & Custom Properties
   2. Reset & Base Styles
   3. Typography
   4. Global Utility Classes & Components
   5. Header & Navigation (Legacy & Modern)
   6. Hero / Banner
   7. Main Content Sections (Old & New)
   8. Footer (Legacy & Modern)
   9. Responsive Media Queries
   10. Animations & Keyframes
   ============================================= */


/* =============================================
   1. CSS VARIABLES & CUSTOM PROPERTIES
   ============================================= */
:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f7;
  --color-text: #111111;
  --color-muted: #6b6b6b;
  --color-border: #e0e0e0;
  --color-primary: #75378c;
  --color-accent: #f2c14e;
  --color-on-primary: #ffffff;
  --color-on-accent: #111111;
  --color-header: #ffffff;
  --color-shadow: rgba(0, 0, 0, 0.15);
}

html.dark-mode {
  --color-bg: #0f0f12;
  --color-surface: #18181d;
  --color-text: #f5f5f5;
  --color-muted: #b3b3b3;
  --color-border: #2a2a2f;
  --color-primary: rgba(117, 55, 140, 1);
  --color-accent: #f2c14e;
  --color-on-primary: #ffffff;
  --color-on-accent: #111111;
  --color-header: #121217;
  --color-shadow: rgba(0, 0, 0, 0.45);
}

/* =============================================
   2. RESET & BASE STYLES
   ============================================= */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0; padding: 0; border: 0; outline: 0;
}

* { box-sizing: border-box; }

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text);
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none !important; color: var(--color-primary); }
a:hover { color: var(--color-accent); }
ul, li { padding: 0; margin: 0; list-style: none; }
ul { margin-bottom: 0px; }
img { width: 100%; overflow: hidden; }
header, nav, section, article, aside, footer, hgroup { display: block; }

::selection { background: var(--color-primary); color: var(--color-on-primary); }
::-moz-selection { background: var(--color-primary); color: var(--color-on-primary); }

.grid:after { content: ''; display: block; clear: both; }
.grid-sizer, .grid-item { width: 50%; }
.grid-item { float: left; }
.grid-item img { display: block; max-width: 100%; }
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

/* =============================================
   3. TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 { margin-top: 0px; margin-bottom: 0px; }
p { font-size: 15px; line-height: 30px; color: var(--color-text); }

.section-heading h2 {
  font-size: 30px; text-transform: capitalize; color: var(--color-text);
  font-weight: 700; letter-spacing: 0.25px; position: relative; z-index: 2; line-height: 44px;
}
.section-heading h2 em { font-style: normal; color: var(--color-primary); }
.section-heading h2 span { color: var(--color-accent); }

.header-text h6 { color: var(--color-primary); }
.header-text h2 em { color: var(--color-primary); }
.header-text h2 span { color: var(--color-accent); }

/* =============================================
   4. GLOBAL UTILITY CLASSES & COMPONENTS
   ============================================= */
.page-section { margin-top: 120px; }

/* Buttons */
.main-blue-button a {
  display: inline-block; background-color: var(--color-accent); font-size: 15px; font-weight: 400;
  color: var(--color-on-accent); text-transform: capitalize; padding: 12px 25px; border-radius: 23px; letter-spacing: 0.25px;
}
.main-red-button a {
  display: inline-block; background-color: var(--color-primary); font-size: 15px; font-weight: 400;
  color: var(--color-on-primary); text-transform: capitalize; padding: 12px 25px; border-radius: 23px;
  letter-spacing: 0.25px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: all 0.3s ease;
}
.background-header .main-red-button a { box-shadow: none; }
.main-white-button a {
  display: inline-block; background-color: var(--color-surface); font-size: 15px; font-weight: 400;
  color: var(--color-primary); text-transform: capitalize; padding: 12px 25px; border-radius: 23px;
  letter-spacing: 0.25px; border: 1px solid var(--color-border);
}

/* Accessibility */
.skip-to-content {
  position: absolute; left: 20px; top: -40px; background: var(--color-primary); color: var(--color-on-primary);
  padding: 8px 12px; border-radius: 6px; z-index: 1000; transition: top 0.2s ease-in-out;
}
.skip-to-content:focus { top: 20px; }

/* Theme Toggles */
.theme-toggle { padding-left: 20px; }
.theme-toggle__button {
  background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border);
  border-radius: 23px; padding: 8px 12px; font-size: 14px; line-height: 1.2; cursor: pointer;
  transition: all 0.2s ease-in-out; display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.background-header .theme-toggle__button { box-shadow: none; }
.theme-toggle__button:hover { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); }
.header-area .main-nav .nav li.language-toggle a.theme-toggle__button {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; line-height: normal;
  padding: 0 15px; font-weight: 600; text-transform: uppercase; text-align: center; text-decoration: none;
}

/* Preloader */
.js-preloader {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--color-bg);
  display: flex; align-items: center; justify-content: center; opacity: 1; visibility: visible; z-index: 9999; transition: opacity 0.25s ease;
}
.js-preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { position: relative; width: 142px; height: 40px; background: var(--color-bg); }
.preloader-inner .dot {
  position: absolute; width: 16px; height: 16px; top: 12px; left: 15px; background: var(--color-primary);
  border-radius: 50%; transform: translateX(0); animation: dot 2.8s infinite;
}
.preloader-inner .dots { transform: translateX(0); margin-top: 12px; margin-left: 31px; animation: dots 2.8s infinite; }
.preloader-inner .dots span { display: block; float: left; width: 16px; height: 16px; margin-left: 16px; background: var(--color-primary); border-radius: 50%; }

/* =============================================
   5. HEADER & NAVIGATION
   ============================================= */
/* -- Legacy Header -- */
.header-area {
  background-color: transparent; position: fixed; top: 0px; left: 0px; right: 0px; z-index: 100;
  height: 100px; transition: all .5s ease 0s;
}
.background-header {
  background-color: var(--color-header)!important; height: 80px!important; position: fixed!important;
  top: 0px; left: 0px; right: 0px; box-shadow: 0px 0px 10px var(--color-shadow)!important; opacity: 0.95;
}
.header-area .main-nav { min-height: 80px; background: transparent; }
.header-area .main-nav .logo {
  line-height: 100px; color: var(--color-text); font-size: 24px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; float: left; transition: all 0.3s ease 0s;
}
.header-area .main-nav .logo h4 {
  font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--color-primary);
  line-height: 100px; float: left; transition: all 0.3s ease 0s; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.background-header .main-nav .logo h4 { text-shadow: none; line-height: 80px; }
.logo h4 span { color: var(--color-accent); }
.header-area .main-nav .nav {
  float: right; margin-top: 30px; margin-right: 0px; background-color: transparent;
  transition: all 0.3s ease 0s; position: relative; z-index: 999; display: flex; align-items: center; gap: 0px;
}
.background-header .main-nav .nav { margin-top: 20px !important; }
.header-area .main-nav .nav li { padding-left: 20px; padding-right: 20px; }
.header-area .main-nav .nav li.cta-button { padding-left: 40px; padding-right: 20px; }
.header-area .main-nav .nav li:last-child { padding-right: 0px; padding-left: 20px; }
.header-area .main-nav .nav li a {
  display: block; font-weight: 500; font-size: 15px; color: var(--color-text); text-transform: capitalize;
  transition: all 0.3s ease 0s; height: 40px; line-height: 40px; border: transparent; letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.background-header .main-nav .nav li a { text-shadow: none; color: var(--color-text) !important; }
.header-area .main-nav .nav li:hover a, .header-area .main-nav .nav li a.active { color: var(--color-primary)!important; }
.background-header .main-nav .nav li:hover a, .background-header .main-nav .nav li a.active { color: var(--color-primary)!important; opacity: 1; }
.header-area .main-nav .nav li.cta-button a, .background-header .main-nav .nav li.cta-button a { color: var(--color-on-accent) !important; padding: 0px 20px; font-weight: 400; }
.header-area.header-sticky { min-height: 80px; }
.header-area .nav { margin-top: 30px; }
.header-area.header-sticky .nav li a.active { color: var(--color-primary); }
.menu-trigger { cursor: pointer; display: block; position: absolute; top: 33px; width: 32px; height: 40px; text-indent: -9999em; z-index: 99; right: 40px; display: none; }
.background-header .main-nav .menu-trigger { top: 23px; }
.menu-trigger span, .menu-trigger span:before, .menu-trigger span:after { transition: all 0.4s; background-color: var(--color-text); display: block; position: absolute; width: 30px; height: 2px; left: 0; }
.menu-trigger span { top: 16px; }
.menu-trigger span:before, .menu-trigger span:after { width: 75%; content: ""; }
.menu-trigger span:before { top: -10px; transform-origin: 33% 100%; z-index: 10; }
.menu-trigger span:after { top: 10px; transform-origin: 33% 0; }
.menu-trigger.active span { background-color: transparent; width: 100%; }
.menu-trigger.active span:before { transform: translateY(6px) translateX(1px) rotate(45deg); background-color: var(--color-text); }
.menu-trigger.active span:after { transform: translateY(-6px) translateX(1px) rotate(-45deg); background-color: var(--color-text); }

/* -- Modern Header -- */
.modern-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 20px 0; display: flex; align-items: center; }
.modern-header.header-transparent { background: transparent; }
.modern-header.header-scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); padding: 12px 0; }
html.dark-mode .modern-header.header-scrolled { background: rgba(26, 26, 26, 0.9); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.modern-header .header-container { max-width: 1320px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.modern-header .brand { font-size: 28px; font-weight: 700; color: #333; text-decoration: none; transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; line-height: 1; }
html.dark-mode .modern-header .brand { color: #fff; }
.modern-header .brand .brand-first { color: #333; }
html.dark-mode .modern-header .brand .brand-first { color: #fff; }
.modern-header .brand .brand-last { background: linear-gradient(135deg, #75378c, #f2c14e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.modern-header .brand:hover { transform: translateY(-2px); }
.modern-header .nav-wrapper { display: flex; align-items: center; gap: 50px; }
.modern-header .nav-menu { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.modern-header .nav-link { position: relative; color: #333; text-decoration: none; font-size: 16px; font-weight: 500; transition: all 0.3s ease; padding: 5px 0; }
html.dark-mode .modern-header .nav-link { color: #fff; }
.modern-header .nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #75378c, #f2c14e); transition: width 0.3s ease; }
.modern-header .nav-link:hover { color: #75378c; }
html.dark-mode .modern-header .nav-link:hover { color: #f2c14e; }
.modern-header .nav-link:hover::after, .modern-header .nav-link.active::after { width: 100%; }
.modern-header .nav-link.active { color: #75378c; }
html.dark-mode .modern-header .nav-link.active { color: #f2c14e; }
.modern-header .nav-controls { display: flex; align-items: center; gap: 12px; }
.modern-header .control-button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(117, 55, 140, 0.2); background: rgba(117, 55, 140, 0.05); color: #75378c; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; font-weight: 600; }
html.dark-mode .modern-header .control-button { border-color: rgba(242, 193, 78, 0.3); background: rgba(242, 193, 78, 0.1); color: #f2c14e; }
.modern-header .control-button:hover { background: linear-gradient(135deg, #75378c, #f2c14e); color: #fff; border-color: transparent; transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 20px rgba(117, 55, 140, 0.3); }
.modern-header .header-cta { background: linear-gradient(135deg, #75378c, #5a2c6d); color: #fff; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(117, 55, 140, 0.3); }
.modern-header .header-cta:hover { background: linear-gradient(135deg, #5a2c6d, #75378c); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(117, 55, 140, 0.4); }
.modern-header .mobile-menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 9999; -webkit-appearance: none; appearance: none; }
.modern-header .mobile-menu-toggle span { display: block; width: 100%; height: 3px; background: #75378c; border-radius: 2px; transition: all 0.3s ease; }
html.dark-mode .modern-header .mobile-menu-toggle span { background: #f2c14e; }
.modern-header .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.modern-header .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.modern-header .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
.modern-header .mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 100px 30px 30px; flex-direction: column; align-items: center; justify-content: flex-start; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 9998; overflow-y: auto; }
html.dark-mode .modern-header .mobile-menu { background: rgba(26, 26, 26, 0.98); }
.modern-header .mobile-menu.active { display: flex; opacity: 1; pointer-events: all; }
.modern-header .mobile-menu .nav-menu { flex-direction: column; gap: 30px; text-align: center; }
.modern-header .mobile-menu .nav-link { font-size: 24px; font-weight: 600; }
.modern-header .mobile-menu .nav-controls { margin-top: 40px; gap: 20px; }
.modern-header .mobile-menu .header-cta { margin-top: 40px; padding: 16px 40px; font-size: 18px; }

/* =============================================
   6. HERO/BANNER SECTION (MODERNIZED & SHARP)
   ============================================= */

.main-banner { background-image: url(../images/EuropeanChampionship_CrossTriathlon_ShortTrack_SwimExit.jpeg); background-repeat: no-repeat; background-position: center center; background-size: cover; background-color: transparent; padding: 260px 0px 160px 0px; position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.main-banner .banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.2) 100%); z-index: 1; pointer-events: none; }
html.dark-mode .main-banner .banner-overlay { background: linear-gradient(135deg, rgba(15, 15, 18, 0.95) 0%, rgba(15, 15, 18, 0.4) 100%); }
.main-banner .container { position: relative; z-index: 2; }
.main-banner .left-content { margin-right: 15px; max-width: 650px; }
.main-banner .left-content h1 { font-size: 72px; font-weight: 800; line-height: 1.1; margin-bottom: 15px; background: linear-gradient(135deg, #75378c, #f2c14e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 10px 30px rgba(117, 55, 140, 0.2); }
.main-banner .left-content h2 { font-size: 48px; font-weight: 700; color: #2a2a2a; line-height: 1.2; margin-bottom: 15px; text-shadow: 0 4px 15px rgba(255, 255, 255, 0.8); }
html.dark-mode .main-banner .left-content h2 { color: #ffffff; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); }
.main-banner .left-content h3 { font-size: 22px; font-weight: 600; color: #75378c; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; }
html.dark-mode .main-banner .left-content h3 { color: #f2c14e; }
.main-banner .left-content p { font-size: 18px; line-height: 1.8; color: #555; margin-bottom: 40px; font-weight: 500; }
html.dark-mode .main-banner .left-content p { color: #ddd; }
.main-banner .main-red-button a { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #75378c, #5a2c6d); color: #fff !important; padding: 16px 40px; border-radius: 50px; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(117, 55, 140, 0.3); transition: all 0.3s ease; letter-spacing: 0.5px; }
.main-banner .main-red-button a:hover { background: linear-gradient(135deg, #5a2c6d, #75378c); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(117, 55, 140, 0.4); }

@media (max-width: 992px) {
  .main-banner { padding: 180px 0px 100px 0px; text-align: center; }
  .main-banner .left-content { margin: 0 auto; }
  .main-banner .left-content h1 { font-size: 56px; }
  .main-banner .left-content h2 { font-size: 36px; }
  .main-banner .banner-overlay { background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%); }
  html.dark-mode .main-banner .banner-overlay { background: linear-gradient(135deg, rgba(15, 15, 18, 0.95) 0%, rgba(15, 15, 18, 0.6) 100%); }
}

@media (max-width: 768px) {
  .main-banner .left-content h1 { font-size: 42px; }
  .main-banner .left-content h2 { font-size: 28px; }
  .main-banner .left-content h3 { font-size: 18px; }
  .main-banner .left-content p { font-size: 16px; }
  .main-banner .main-red-button a { padding: 14px 32px; font-size: 15px; }
}

/* =============================================
   7. MAIN CONTENT SECTIONS
   ============================================= */

/* Scroll anchor offset — ensures fixed header never covers section headings
   when the browser scrolls to an ID anchor (native nav, keyboard, link sharing). */
#top, #story, #results, #sponsors, #contact { scroll-margin-top: 80px; }

/* -- My Story (Redesigned) -- */
#story { position: relative; padding: 100px 0; overflow: hidden; }
#story .floating-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#story .shape { position: absolute; opacity: 0.08; border-radius: 50%; background: linear-gradient(135deg, #75378c, #f2c14e); animation: float 20s infinite ease-in-out; }
#story .shape1 { width: 200px; height: 200px; top: 10%; left: 5%; animation-delay: 0s; }
#story .shape2 { width: 150px; height: 150px; top: 60%; right: 10%; animation-delay: 5s; }
#story .shape3 { width: 100px; height: 100px; bottom: 20%; left: 50%; animation-delay: 10s; }
#story .container { position: relative; z-index: 1; }
#story .story-content { max-width: 900px; margin: 0 auto; text-align: center; }
#story .story-intro { margin-bottom: 60px; }
#story .story-intro .highlight { color: #f2c14e; }
#story .story-intro h2 { font-size: 42px; font-weight: 700; margin-bottom: 20px; background: linear-gradient(135deg, #75378c, #f2c14e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
html.dark-mode #story .story-intro h2 { background: linear-gradient(135deg, #9d5fb8, #f2c14e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#story .story-intro .subtitle { font-size: 20px; color: #75378c; font-weight: 500; margin-bottom: 25px; }
html.dark-mode #story .story-intro .subtitle { color: #f2c14e; }
#story .story-intro p { font-size: 17px; line-height: 1.8; color: #666; margin-bottom: 20px; }
html.dark-mode #story .story-intro p { color: #ddd; }
#story .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
#story .stat-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 20px; padding: 40px 20px; box-shadow: 0 10px 40px rgba(117, 55, 140, 0.15); transition: all 0.4s ease; position: relative; overflow: hidden; }
html.dark-mode #story .stat-card { background: rgba(40, 40, 40, 0.9); box-shadow: 0 10px 40px rgba(242, 193, 78, 0.1); }
#story .stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #75378c, #f2c14e); transform: scaleX(0); transition: transform 0.4s ease; }
#story .stat-card:hover::before { transform: scaleX(1); }
#story .stat-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(117, 55, 140, 0.25); }
html.dark-mode #story .stat-card:hover { box-shadow: 0 20px 60px rgba(242, 193, 78, 0.2); }
#story .stat-icon { font-size: 48px; color: #75378c; margin-bottom: 20px; }
html.dark-mode #story .stat-icon { color: #f2c14e; }
#story .stat-number { font-size: 48px; font-weight: 800; color: #75378c; margin-bottom: 10px; display: block; }
html.dark-mode #story .stat-number { color: #f2c14e; }
#story .stat-label { font-size: 16px; font-weight: 500; color: #666; text-transform: uppercase; letter-spacing: 1px; }
html.dark-mode #story .stat-label { color: #bbb; }

/* -- Results (Redesigned) -- */
#results { padding: 100px 0; background: linear-gradient(135deg, rgba(117, 55, 140, 0.05), rgba(242, 193, 78, 0.05)); }
html.dark-mode #results { background: linear-gradient(135deg, rgba(117, 55, 140, 0.15), rgba(242, 193, 78, 0.1)); }
#results .section-heading { text-align: center; margin-bottom: 60px; }
#results .section-heading h2 { font-size: 42px; font-weight: 700; color: var(--color-text); margin-bottom: 15px; }
#results .section-heading p { font-size: 18px; color: #666; }
html.dark-mode #results .section-heading p { color: #bbb; }
#results .race-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.4s ease; margin: 20px 10px; position: relative; }
html.dark-mode #results .race-card { background: #2a2a2a; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
#results .race-card:hover { transform: translateY(-15px); box-shadow: 0 20px 60px rgba(117, 55, 140, 0.3); }
html.dark-mode #results .race-card:hover { box-shadow: 0 20px 60px rgba(242, 193, 78, 0.2); }
#results .race-image-wrapper { position: relative; height: 300px; overflow: hidden; }
#results .race-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
#results .race-card:hover .race-image { transform: scale(1.1); }
#results .race-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(117, 55, 140, 0.9), rgba(242, 193, 78, 0.8)); display: flex; align-items: center; justify-content: center; flex-direction: column; opacity: 0; transition: opacity 0.4s ease; }
#results .race-card:hover .race-overlay { opacity: 1; }
#results .race-placement { font-size: 72px; font-weight: 900; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); margin-bottom: 10px; }
#results .race-time { font-size: 24px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.2); padding: 10px 25px; border-radius: 30px; backdrop-filter: blur(10px); }
#results .race-content { padding: 30px; }
#results .race-badge { display: inline-block; background: linear-gradient(135deg, #75378c, #f2c14e); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
#results .race-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #333; }
html.dark-mode #results .race-title { color: #fff; }
#results .race-date { font-size: 14px; color: #999; margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
#results .race-description { font-size: 15px; line-height: 1.6; color: #666; }
html.dark-mode #results .race-description { color: #bbb; }
#results .owl-nav button { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(117, 55, 140, 0.9) !important; color: #fff !important; font-size: 24px; transition: all 0.3s ease; outline: none; }
#results .owl-nav button:hover { background: rgba(242, 193, 78, 0.9) !important; transform: translateY(-50%) scale(1.1); }
#results .owl-nav .owl-prev { left: -25px; }
#results .owl-nav .owl-next { right: -25px; }
#results .owl-dots { text-align: center; margin-top: 30px; }
#results .owl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgba(117, 55, 140, 0.3); margin: 0 5px; transition: all 0.3s ease; }
#results .owl-dot.active { background: #75378c; width: 30px; border-radius: 10px; }

/* -- Sponsors (Redesigned) -- */
#sponsors { padding: 100px 0; position: relative; background: linear-gradient(135deg, #75378c, #5a2c6d); color: #fff; overflow: hidden; }
#sponsors::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; 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="40" fill="rgba(242,193,78,0.1)"/></svg>'); background-size: 100px 100px; opacity: 0.1; animation: bgMove 30s linear infinite; }
#sponsors .container { position: relative; z-index: 1; }
#sponsors .sponsor-intro { text-align: center; max-width: 800px; margin: 0 auto 60px; }
#sponsors .sponsor-intro h2 { font-size: 48px; font-weight: 800; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); color: var(--color-on-primary); }
#sponsors .sponsor-intro .highlight { color: #f2c14e; }
#sponsors .sponsor-intro p { font-size: 20px; line-height: 1.8; margin-bottom: 20px; opacity: 0.95; color: #fff;}
#sponsors .value-props { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 60px; }
#sponsors .value-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 20px; padding: 40px 30px; text-align: center; transition: all 0.4s ease; border: 2px solid rgba(255, 255, 255, 0.1); }
#sponsors .value-card:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-10px); border-color: #f2c14e; }
#sponsors .value-icon { font-size: 56px; color: #f2c14e; margin-bottom: 20px; }
#sponsors .value-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 15px; }
#sponsors .value-card p { font-size: 16px; line-height: 1.6; opacity: 0.9; color: #fff;}
#sponsors .sponsor-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin-bottom: 60px; }
#sponsors .sponsor-stat { text-align: center; }
#sponsors .sponsor-stat-number { font-size: 56px; font-weight: 900; color: #f2c14e; display: block; margin-bottom: 10px; }
#sponsors .sponsor-stat-label { font-size: 16px; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
#sponsors .sponsor-cta { text-align: center; }
#sponsors .cta-button { display: inline-block; background: #f2c14e; color: #333; padding: 20px 50px; border-radius: 50px; font-size: 20px; font-weight: 700; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(242, 193, 78, 0.4); }
#sponsors .cta-button:hover { background: #fff; transform: translateY(-5px); box-shadow: 0 15px 40px rgba(242, 193, 78, 0.6); }
#sponsors .cta-note { margin-top: 20px; font-size: 16px; opacity: 0.8; }

/* -- Contact (Redesigned) -- */
#contact { padding: 100px 0; }
#contact .contact-wrapper { max-width: 1200px; margin: 0 auto; }
#contact .coaching-banner { background: linear-gradient(135deg, #75378c, #5a2c6d); color: #fff; border-radius: 30px; padding: 50px; text-align: center; margin-bottom: 60px; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(117, 55, 140, 0.3); }
html.dark-mode #contact .coaching-banner { background: linear-gradient(135deg, #9d5fb8, #75378c); }
#contact .coaching-banner::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(242, 193, 78, 0.2), transparent); animation: pulse 8s ease-in-out infinite; }
#contact .coaching-banner .banner-content { position: relative; z-index: 1; }
#contact .coaching-banner h3 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
#contact .coaching-banner .highlight { color: #f2c14e; }
#contact .coaching-banner p { font-size: 18px; line-height: 1.8; opacity: 0.95; max-width: 800px; margin: 0 auto; color: #fff;}
#contact .contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
#contact .contact-info h2 { font-size: 42px; font-weight: 700; color: #75378c; margin-bottom: 20px; }
html.dark-mode #contact .contact-info h2 { color: #f2c14e; }
#contact .contact-info p { font-size: 17px; line-height: 1.8; color: #666; margin-bottom: 30px; }
html.dark-mode #contact .contact-info p { color: #bbb; }
#contact .contact-methods { margin-top: 30px; }
#contact .contact-method { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; padding: 20px; background: rgba(117, 55, 140, 0.05); border-radius: 15px; transition: all 0.3s ease; }
html.dark-mode #contact .contact-method { background: rgba(117, 55, 140, 0.15); }
#contact .contact-method:hover { background: rgba(117, 55, 140, 0.1); transform: translateX(10px); }
html.dark-mode #contact .contact-method:hover { background: rgba(117, 55, 140, 0.25); }
#contact .method-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #75378c, #f2c14e); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; flex-shrink: 0; }
#contact .method-info h4 { font-size: 18px; font-weight: 600; margin-bottom: 5px; color: #333; }
html.dark-mode #contact .method-info h4 { color: #fff; }
#contact .method-info p { font-size: 15px; color: #666; margin: 0; }
html.dark-mode #contact .method-info p { color: #bbb; }
#contact .contact-form-wrapper { background: #fff; padding: 50px; border-radius: 30px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); }
html.dark-mode #contact .contact-form-wrapper { background: #2a2a2a; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
#contact .form-group { margin-bottom: 25px; }
#contact .form-label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
html.dark-mode #contact .form-label { color: #f2c14e; }
#contact .form-control { width: 100%; padding: 15px 20px; border: 2px solid #e0e0e0; border-radius: 15px; font-size: 16px; transition: all 0.3s ease; background-color: #f9f9f9; }
html.dark-mode #contact .form-control { background-color: #1a1a1a; border-color: #444; color: #fff; }
#contact .form-control:focus { outline: none; border-color: #75378c; box-shadow: 0 0 0 4px rgba(117, 55, 140, 0.1); }
html.dark-mode #contact .form-control:focus { border-color: #f2c14e; box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.1); }
#contact select.form-control { cursor: pointer; appearance: none; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2375378c"><path d="M7 10l5 5 5-5H7z"/></svg>'); background-repeat: no-repeat; background-position: right 15px center; background-size: 24px; padding-right: 45px; }
html.dark-mode #contact select.form-control { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f2c14e"><path d="M7 10l5 5 5-5H7z"/></svg>'); }
#contact textarea.form-control { resize: vertical; min-height: 120px; }
#contact .submit-button { width: 100%; padding: 18px; background: linear-gradient(135deg, #75378c, #5a2c6d); color: #fff; border: none; border-radius: 15px; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
#contact .submit-button:hover { background: linear-gradient(135deg, #5a2c6d, #75378c); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(117, 55, 140, 0.4); }

/* -- Legacy Sections (Kept for compatibility) -- */
#about { margin-top: 120px; }
.about-us { background-image: url(../images/about-bg.png); background-repeat: no-repeat; background-position: center center; background-size: cover; padding: 140px 0px 120px 0px; background-color: var(--color-bg); }
.about-us .left-image { margin-right: 45px; }
.about-us .services .item { margin-bottom: 30px; background: var(--color-surface); border: 1px solid var(--color-border); }
.about-us .services .item .icon { float: left; margin-right: 25px; }
.about-us .services .item .icon img { max-width: 70px; }
.about-us .services .item h4 { color: var(--color-text); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.about-us .services .item p { color: var(--color-text); }

.our-services { margin-top: 0px; padding-top: 120px; background-color: var(--color-bg); }
.our-services .left-image { margin-right: 45px; }
.our-services .section-heading h2 { margin-right: 100px; }
.our-services .section-heading p { margin-top: 30px; margin-bottom: 60px; }
.our-services .item { background: var(--color-surface); border: 1px solid var(--color-border); }
.progress-skill-bar { margin-bottom: 30px; position: relative; width: 100%; background: var(--color-surface); }
.progress-skill-bar span { position: absolute; top: 0; font-size: 18px; font-weight: 600; color: var(--color-primary); }
.our-services .first-bar span { left: 69%; }
.our-services .second-bar span { left: 81%; }
.our-services .third-bar span { left: 88%; }
.progress-skill-bar h4 { font-size: 18px; font-weight: 700; color: var(--color-text); margin-bottom: 14px; }
.progress-skill-bar .full-bar { width: 100%; height: 6px; border-radius: 3px; background-color: var(--color-border); position: relative; z-index: 1; }
.progress-skill-bar .filled-bar { background: linear-gradient(105deg, var(--color-primary) 0%, var(--color-accent) 100%); height: 6px; border-radius: 3px; margin-bottom: -6px; position: relative; z-index: 2; }
.our-services .first-bar .filled-bar { width: 71%; }
.our-services .second-bar .filled-bar { width: 83%; }
.our-services .third-bar .filled-bar { width: 90%; }

.our-portfolio { padding-top: 120px; margin-top: 0px; background-color: var(--color-bg); }
.our-portfolio .section-heading h2 { text-align: center; margin: 0px 90px 0px 90px; margin-bottom: 120px; position: relative; z-index: 1; }
.our-portfolio .item { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); }
.our-portfolio .item:hover .hidden-content { top: -100px; opacity: 1; visibility: visible; }
.our-portfolio .item:hover .showed-content { top: 90px; }
.our-portfolio .hidden-content { background: linear-gradient(105deg, var(--color-primary) 0%, var(--color-accent) 100%); padding: 30px; border-radius: 20px; text-align: center; opacity: 0; top: 0; visibility: hidden; position: absolute; z-index: 2; transition: all 0.5s; }
.our-portfolio .hidden-content:after { width: 20px; height: 20px; position: absolute; background: var(--color-primary); content: ''; left: 50%; bottom: -8px; margin-left: -5px; transform: rotate(45deg); z-index: -1; }
.our-portfolio .hidden-content h4 { font-size: 20px; font-weight: 700; color: var(--color-on-primary); margin-bottom: 20px; }
.our-portfolio .hidden-content p { color: var(--color-on-primary); }
.our-portfolio .showed-content { top: 0px; position: relative; z-index: 3; background-color: var(--color-surface); text-align: center; padding: 50px; border-radius: 20px; box-shadow: 0px 0px 10px var(--color-shadow); transition: all 0.5s; }
.our-portfolio .showed-content img { max-width: 100px; }

.our-blog { position: relative; margin-top: 80px; padding-top: 120px; background-color: var(--color-bg); }
.our-blog .section-heading h2 { margin-right: 180px; }
.our-blog .top-dec { text-align: right; margin-top: -80px; }
.our-blog .top-dec img { max-width: 270px; }
.our-blog .left-image { position: relative; }
.our-blog .left-image img { border-radius: 20px; box-shadow: 0px 0px 15px var(--color-shadow); }
.our-blog .left-image .info { position: relative; }
.our-blog .left-image .info .inner-content { background-color: var(--color-surface); box-shadow: 0px 0px 15px var(--color-shadow); border-radius: 20px; margin-right: 75px; position: absolute; margin-top: -100px; padding: 30px; }
.our-blog .left-image ul li { display: inline-block; font-size: 15px; color: var(--color-muted); font-weight: 300; margin-right: 20px; }
.our-blog .left-image ul li:last-child { margin-right: 0px; }
.our-blog .left-image ul li i { color: var(--color-accent); font-size: 16px; margin-right: 8px; }
.our-blog .left-image h4 { font-size: 20px; font-weight: 700; color: var(--color-text); margin: 20px 0px 15px 0px; }
.our-blog .left-image .info .main-blue-button { position: absolute; bottom: -80px; left: 0; }
.our-blog .right-list { margin-left: 30px; background: var(--color-surface); border: 1px solid var(--color-border); }
.our-blog .right-list ul li { display: inline-flex; width: 100%; margin-bottom: 30px; border-top: 1px solid var(--color-border); }
.our-blog .right-list .left-content { margin-right: 45px; }
.our-blog .right-list .left-content span { font-size: 15px; color: var(--color-muted); font-weight: 300; }
.our-blog .right-list .left-content span i { color: var(--color-accent); font-size: 16px; margin-right: 8px; }
.our-blog .right-list .left-content h4 { font-size: 20px; font-weight: 700; color: var(--color-text); margin: 20px 0px 15px 0px; }
.our-blog .right-list .right-image img { width: 250px; border-radius: 20px; }

.contact-us { padding: 160px 0px; background-image: url(../images/contact-bg.png); background-repeat: no-repeat; background-position: center center; background-size: cover; background-color: var(--color-bg); }
.contact-us .section-heading h2, .contact-us .section-heading h2 em, .contact-us .section-heading h2 span { color: var(--color-text); }
.contact-us .section-heading p { color: var(--color-text); margin-top: 30px; }
.phone-info { margin-top: 40px; }
.phone-info h4 { font-size: 20px; font-weight: 700; color: var(--color-text); }
.phone-info h4 span i { width: 46px; height: 46px; display: inline-block; text-align: center; line-height: 46px; background-color: var(--color-surface); border-radius: 50%; color: var(--color-primary); font-size: 22px; margin-left: 30px; margin-right: 15px; }
.phone-info h4 span a { color: var(--color-text); font-size: 15px; font-weight: 400; }
form#contact .contact-dec { position: absolute; right: -166px; bottom: 0; }
form#contact .contact-dec img { max-width: 178px; }
form#contact { margin-left: 30px; position: relative; background-color: var(--color-surface); padding: 60px 30px; border-radius: 20px; border: 1px solid var(--color-border); }
form#contact input { width: 100%; height: 46px; border-radius: 33px; background-color: var(--color-bg); border: 1px solid var(--color-border); outline: none; font-size: 15px; font-weight: 300; color: var(--color-text); padding: 0px 20px; margin-bottom: 20px; }
form#contact input::placeholder { color: var(--color-muted); }
form#contact textarea { width: 100%; min-width: 100%; max-width: 100%; max-height: 180px; min-height: 140px; height: 140px; border-radius: 20px; background-color: var(--color-bg); border: 1px solid var(--color-border); outline: none; font-size: 15px; font-weight: 300; color: var(--color-text); padding: 15px 20px; margin-bottom: 20px; }
form#contact textarea::placeholder { color: var(--color-muted); }
form#contact select { background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); }
form#contact button { display: inline-block; background-color: var(--color-primary); font-size: 15px; font-weight: 400; color: var(--color-on-primary); text-transform: capitalize; padding: 12px 25px; border-radius: 23px; letter-spacing: 0.25px; border: none; outline: none; transition: all .3s; }
form#contact button:hover { background-color: var(--color-accent); }

/* =============================================
   8. FOOTER
   ============================================= */
/* -- Legacy Footer -- */
footer { background: var(--color-surface); }
footer p { text-align: center; margin: 30px 0px 45px 0px; color: var(--color-text); }
footer p a { color: var(--color-text); }
footer a { color: var(--color-text); }

/* -- Modern Footer -- */
.modern-footer { background: #f9f9f9; border-top: 1px solid rgba(117, 55, 140, 0.1); padding: 80px 0 30px; margin-top: 100px; position: relative; overflow: hidden; }
html.dark-mode .modern-footer { background: #1a1a1a; border-top-color: rgba(242, 193, 78, 0.2); }
.modern-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, rgba(117, 55, 140, 0.05), transparent 50%), radial-gradient(circle at 80% 80%, rgba(242, 193, 78, 0.05), transparent 50%); pointer-events: none; }
.modern-footer .footer-container { max-width: 1320px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 1; }
.modern-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.modern-footer .footer-brand h3 { font-size: 32px; font-weight: 800; margin-bottom: 5px; background: linear-gradient(135deg, #75378c, #f2c14e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-align: center;}
.modern-footer .footer-brand p { font-size: 16px; line-height: 1.8; color: #666; margin-bottom: 30px; }
html.dark-mode .modern-footer .footer-brand p { color: #bbb; }
.modern-footer .footer-brand .tagline { font-size: 18px; font-weight: 600; color: #75378c; letter-spacing: 1.5px; margin-bottom: 20px; display: block; text-align: center;}
html.dark-mode .modern-footer .footer-brand .tagline { color: #f2c14e; }
.modern-footer .social-links { display: flex; gap: 15px; margin-top: 25px; }
.modern-footer .social-link { width: 50px; height: 50px; border-radius: 50%; background: rgba(117, 55, 140, 0.1); display: flex; align-items: center; justify-content: center; color: #75378c; font-size: 20px; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; }
html.dark-mode .modern-footer .social-link { background: rgba(242, 193, 78, 0.1); color: #f2c14e; }
.modern-footer .social-link::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #75378c, #f2c14e); opacity: 0; transition: opacity 0.3s ease; z-index: 0; }
.modern-footer .social-link:hover::before { opacity: 1; }
.modern-footer .social-link i { position: relative; z-index: 1; transition: all 0.3s ease; }
.modern-footer .social-link:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(117, 55, 140, 0.3); }
.modern-footer .social-link:hover i { color: #fff; }
.modern-footer .footer-section h4 { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 25px; position: relative; padding-bottom: 12px; }
html.dark-mode .modern-footer .footer-section h4 { color: #fff; }
.modern-footer .footer-section h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: linear-gradient(90deg, #75378c, #f2c14e); }
.modern-footer .footer-links { list-style: none; padding: 0; margin: 0; display: inline-block; justify-content: center; align-items: center;}
.modern-footer .footer-links li { margin-bottom: 12px; }
.modern-footer .footer-links a { color: #666; text-decoration: none; font-size: 15px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
html.dark-mode .modern-footer .footer-links a { color: #bbb; }
.modern-footer .footer-links a::before { content: '→'; opacity: 0; transform: translateX(-10px); transition: all 0.3s ease; }
.modern-footer .footer-links a:hover { color: #75378c; padding-left: 10px; }
html.dark-mode .modern-footer .footer-links a:hover { color: #f2c14e; }
.modern-footer .footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.modern-footer .partners-section { margin-bottom: 60px; }
.modern-footer .partners-section h4 { text-align: center; font-size: 20px; font-weight: 700; color: #333; margin-bottom: 40px; }
html.dark-mode .modern-footer .partners-section h4 { color: #fff; }
.modern-footer .partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; align-items: stretch; }
.modern-footer .partner-logo-wrapper { position: relative; width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; padding: 16px 20px; border-radius: 15px; background: rgba(255, 255, 255, 0.8); transition: all 0.3s ease; border: 2px solid rgba(117, 55, 140, 0.1); overflow: hidden; }
.modern-footer .partner-logo-wrapper a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
html.dark-mode .modern-footer .partner-logo-wrapper { background: rgba(40, 40, 40, 0.8); border-color: rgba(242, 193, 78, 0.2); }
.modern-footer .partner-logo-wrapper:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(117, 55, 140, 0.2); border-color: #75378c; }
html.dark-mode .modern-footer .partner-logo-wrapper:hover { box-shadow: 0 15px 40px rgba(242, 193, 78, 0.15); border-color: #f2c14e; }
.modern-footer .partner-logo { width: 100%; height: 100%; object-fit: contain; transition: all 0.3s ease; }
.modern-footer .partner-logo-wrapper:hover .partner-logo { filter: grayscale(0%); opacity: 1; }
.modern-footer .footer-bottom { border-top: 1px solid rgba(117, 55, 140, 0.1); padding-top: 30px; text-align: center; }
html.dark-mode .modern-footer .footer-bottom { border-top-color: rgba(242, 193, 78, 0.2); }
.modern-footer .footer-bottom p { color: #999; font-size: 14px; margin: 5px 0; }
html.dark-mode .modern-footer .footer-bottom p { color: #777; }
.modern-footer .footer-bottom a { color: #75378c; text-decoration: none; transition: all 0.3s ease; }
html.dark-mode .modern-footer .footer-bottom a { color: #f2c14e; }
.modern-footer .footer-bottom a:hover { text-decoration: underline; }
.modern-footer .back-to-top { position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px; background: linear-gradient(135deg, #75378c, #5a2c6d); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; text-decoration: none; box-shadow: 0 8px 25px rgba(117, 55, 140, 0.4); opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 9997; }
.modern-footer .back-to-top.visible { opacity: 1; pointer-events: all; }
.modern-footer .back-to-top:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(117, 55, 140, 0.5); }

.partners-logos { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; margin: 20px 0px; }
.partner-logo { max-width: 100%; width: auto; max-height: 100%; height: auto; object-fit: contain; }
.logo-light { display: none; }
html.dark-mode .logo-dark { display: none; }
html.dark-mode .logo-light { display: inline-block; }
html:not(.dark-mode) .modern-footer .logo-dark { display: block; }
html:not(.dark-mode) .modern-footer .logo-light { display: none; }

/* =============================================
   9. RESPONSIVE MEDIA QUERIES
   ============================================= */

@media (max-width: 1645px) {
  form#contact .contact-dec { display: none; }
}

@media (max-width: 1320px) {
  .header-area .main-nav .nav li { padding-left: 12px; padding-right: 12px; }
  .header-area .main-nav:before { display: none; }
}

@media (max-width: 1200px) {
  .modern-header .nav-menu { gap: 30px; }
  .modern-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .modern-footer .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .header-area .main-nav .nav li:last-child, .background-header .main-nav .nav li:last-child { display: none; }
  .header-area .main-nav .nav li:nth-child(6), .background-header .main-nav .nav li:nth-child(6) { padding-right: 0px; }
  .header-area .menu-trigger { display: block !important; }
  .header-area .main-nav .nav { float: none; width: 100%; display: none; transition: all 0s ease 0s; margin-left: 0px; }
  .main-banner { padding: 180px 20px 100px 20px; min-height: 100vh; }
  .main-banner .left-content { margin-right: 0px; text-align: center; margin-bottom: 45px; }
  .main-banner .left-content h1 { font-size: 48px; line-height: 60px; }
  .main-banner .left-content h2 { font-size: 32px; line-height: 44px; }
  .main-banner .left-content p { font-size: 16px; }
  .col-lg-8.align-self-center { text-align: center; }
  .section-heading h2 { font-size: 32px; line-height: 42px; }
  .about-us .services .item { margin-bottom: 20px; }
  .main-banner:after { top: 76px; z-index: -1; }
  .main-banner .left-content form, .main-banner .left-content form input { width: 100%!important; }
  #about { margin-top: 0px; }
  .about-us { position: relative; background-image: none; padding: 0px; }
  .about-us .left-image { margin-right: 0px; position: absolute; bottom: -220px; right: 0; }
  .about-us .services { text-align: center; }
  .about-us .services .item { background: linear-gradient(105deg, var(--color-primary) 0%, var(--color-accent) 100%); padding: 30px; border-radius: 20px; display: inline-block; }
  .about-us .services .item .right-text { text-align: left; }
  .our-services { margin-top: 200px; }
  .our-services .left-image { margin-right: 0px; margin-bottom: 45px; }
  .our-services .section-heading h2, .our-services .section-heading p { margin-right: 0px; text-align: center; }
  .our-portfolio .section-heading h2 { margin: 0px 0px 80px 0px; }
  .our-portfolio .item { margin-bottom: 15px; }
  .our-blog { margin-top: 0px; }
  .our-blog .top-dec { display: none; }
  .our-blog .section-heading h2 { margin-right: 0px; text-align: center; margin-bottom: 45px; }
  .our-blog .left-image .info .inner-content { position: relative; margin-right: 0px; }
  .our-blog .left-image .info .main-blue-button { position: relative; bottom: 0px; margin-top: 30px; }
  .our-blog .left-image { margin-bottom: 45px; }
  .contact-us { margin-top: 60px; padding: 120px 0px; }
  .contact-us .section-heading { text-align: center; }
  form#contact { margin-left: 0px; margin-top: 30px; }
  form#contact .contact-dec { display: none; }
  footer p { margin: 15px 0px 30px 0px; }
  .modern-header .nav-wrapper { display: none; }
  .modern-header .mobile-menu-toggle { display: flex; }
  .modern-footer .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .modern-footer .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  #story .story-intro h2, #results .section-heading h2, #contact .contact-info h2 { font-size: 32px; }
  #sponsors .sponsor-intro h2 { font-size: 36px; }
  #story .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  #contact .contact-content { grid-template-columns: 1fr; gap: 40px; }
  #sponsors .value-props { grid-template-columns: 1fr; }
  #results .owl-nav button { display: none; }
}

@media (max-width: 768px) {
  #story, #results, #sponsors, #contact { padding: 60px 0; }
  #story .story-intro h2, #results .section-heading h2, #contact .contact-info h2 { font-size: 28px; }
  #sponsors .sponsor-intro h2 { font-size: 32px; }
  #contact .coaching-banner h3 { font-size: 24px; }
  #story .stats-grid { grid-template-columns: 1fr; }
  #story .stat-card { padding: 30px 20px; }
  #results .race-image-wrapper { height: 250px; }
  #results .race-placement { font-size: 56px; }
  #sponsors .sponsor-stats { gap: 40px; }
  #sponsors .sponsor-stat-number { font-size: 42px; }
  #sponsors .value-card { padding: 30px 20px; }
  #contact .coaching-banner { padding: 30px 20px; }
  #contact .contact-form-wrapper { padding: 30px 20px; }
  .modern-header .header-container { padding: 0 20px; }
  .modern-header .brand { font-size: 24px; }
  .modern-footer { padding: 60px 0 20px; margin-top: 60px; }
  .modern-footer .footer-container { padding: 0 20px; }
  .modern-footer .footer-brand h3 { font-size: 26px; }
  .modern-footer .social-links { justify-content: center; }
  .modern-footer .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .modern-footer .partner-logo-wrapper { height: 90px; padding: 10px 14px; }
  .modern-footer .back-to-top { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 18px; }
}

@media (max-width: 767px) {
  .background-header .main-nav .nav { margin-top: 80px !important; }
  .header-area .main-nav .logo { color: var(--color-text); }
  .header-area.header-sticky .nav li a:hover, .header-area.header-sticky .nav li a.active { color: var(--color-primary)!important; opacity: 1; }
  .header-area.header-sticky .nav li.search-icon a { width: 100%; }
  .header-area { background-color: var(--color-surface); padding: 0px 15px; height: 100px; box-shadow: none; text-align: center; }
  .header-area .container { padding: 0px; }
  .header-area .logo { margin-left: 30px; }
  .header-area .menu-trigger { display: block !important; }
  .header-area .main-nav { overflow: hidden; }
  .header-area .main-nav .nav { float: none; width: 100%; display: none; transition: all 0s ease 0s; margin-left: 0px; }
  .background-header .nav { margin-top: 80px; }
  .header-area .main-nav .nav li:first-child { border-top: 1px solid var(--color-border); }
  .header-area.header-sticky .nav { margin-top: 100px; }
  .header-area .main-nav .nav li { width: 100%; background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding-left: 0px !important; padding-right: 0px !important; }
  .header-area .main-nav .nav li a { height: 50px !important; line-height: 50px !important; padding: 0px !important; border: none !important; background: var(--color-surface) !important; color: var(--color-text) !important; }
  .header-area .main-nav .nav li a:hover { background: var(--color-border) !important; color: var(--color-primary)!important; }
  .header-area .main-nav .nav li.submenu ul { position: relative; visibility: inherit; opacity: 1; z-index: 1; transform: translateY(0%); top: 0px; width: 100%; box-shadow: none; height: 0px; }
  .header-area .main-nav .nav li.submenu ul li a { font-size: 12px; font-weight: 400; }
  .header-area .main-nav .nav li.submenu ul li a:hover:before { width: 0px; }
  .header-area .main-nav .nav li.submenu ul.active { height: auto !important; }
  .header-area .main-nav .nav li.submenu:after { color: var(--color-muted); right: 25px; font-size: 14px; top: 15px; }
  .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul { height: 0px; }
  .main-banner { padding: 150px 15px 80px 15px; }
  .main-banner .left-content h1 { font-size: 36px; line-height: 48px; margin-bottom: 15px; }
  .main-banner .left-content h2 { font-size: 24px; line-height: 36px; }
  .main-banner .left-content p { font-size: 15px; margin: 15px 0; }
  .header-area { padding: 10px 0; }
  .header-area .main-nav .logo h4 { font-size: 20px; }
  .main-red-button, .main-blue-button, .main-white-button { margin-top: 20px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 24px; line-height: 34px; }
  .section-heading p { font-size: 14px; }
  .about-us .left-image { bottom: -280px; }
  .our-blog .right-list { margin-left: 0px; }
  .our-blog .right-list ul li { display: inline-block; margin-top: 0px; padding-top: 30px; border-top: 1px solid var(--color-border); }
  .our-blog .right-list .left-content { margin-right: 0px; width: 100%; margin-bottom: 15px; }
  .our-blog .right-list .right-image, .our-blog .right-list .right-image img { width: 100%; }
  .phone-info h4 span { display: block; margin-top: 15px; }
  .phone-info h4 span i { margin-left: 0px; }
  .header-area .main-nav .logo h4 { font-size: 22px; }
  .section-heading h2 { font-size: 28px; line-height: 38px; }
  .section-heading h3 { font-size: 22px; }
  .our-services .item, .about-us .item, .our-portfolio .item { margin-bottom: 30px; }
  .main-red-button a, .main-blue-button a, .main-white-button a { font-size: 14px; padding: 12px 20px; }
  .container { padding-left: 15px; padding-right: 15px; }
  .section { padding: 60px 0; }
  h4 { font-size: 18px; }
  form#contact input, form#contact textarea, form#contact select { font-size: 14px; padding: 12px 15px; }
  form#contact button { width: 100%; padding: 15px 25px; font-size: 16px; }
}

@media (max-width: 576px) {
  #story .story-intro h2, #results .section-heading h2, #contact .contact-info h2 { font-size: 24px; }
  #sponsors .sponsor-intro h2 { font-size: 28px; }
  #contact .coaching-banner h3 { font-size: 20px; }
  #story .stat-number { font-size: 36px; }
  #results .race-content { padding: 20px; }
  #results .race-title { font-size: 18px; }
  #sponsors .cta-button { padding: 15px 35px; font-size: 18px; }
  #contact .method-icon { width: 40px; height: 40px; font-size: 20px; }
  .modern-header .brand { font-size: 20px; }
  .modern-header .mobile-menu { padding: 80px 20px 20px; }
  .modern-header .mobile-menu .nav-link { font-size: 20px; }
  .modern-footer .footer-brand p { font-size: 15px; }
  .modern-footer .social-link { width: 45px; height: 45px; font-size: 18px; }
}

@media (max-width: 480px) {
  .main-banner { padding: 130px 10px 60px 10px; }
  .main-banner .left-content h1 { font-size: 32px; line-height: 42px; }
  .main-banner .left-content h2 { font-size: 20px; line-height: 30px; }
  .main-banner .left-content p { font-size: 14px; }
  .section-heading h2 { font-size: 22px; line-height: 32px; }
  .partners-logos { gap: 15px; }
  .partner-logo { max-width: 100px; }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav { display: flex !important; }
}

/* =============================================
   10. ANIMATIONS & KEYFRAMES
   ============================================= */

@keyframes dot {
  50% { transform: translateX(96px); }
}

@keyframes dots {
  50% { transform: translateX(-31px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes bgMove {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.modern-header { animation: fadeInDown 0.6s ease; }
.modern-footer { animation: fadeInUp 0.6s ease; }

/* Toast Notifikace (Zkopírování do schránky) */
.toast-notification {
  position: fixed;
  bottom: -100px; /* Výchozí skrytá pozice */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Pěkný "bounce" efekt */
  pointer-events: none;
}

.toast-notification.show {
  bottom: 40px;
  opacity: 1;
}

/* Modifikace pro Dark Mode */
html.dark-mode .toast-notification {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}