


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #202a36;
    --secondary-color: #ffffff;
    --accent-color: #0066cc;
    --text-color: #333333;
    --background-color: #f4f4f4;
    --border-color: #dddddd;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #2c3e50;
    margin: 0;
    padding: 0;
}

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


.site-header {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: none;
}

.site-header.scrolled {
    background-color: rgba(32, 42, 54, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


body {
    padding-top: 0;
}


.hero-section:first-of-type {
    margin-top: 0;
    padding-top: 90px; 
}

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

.header-logo img {
    height: 60px;
    width: auto;
}


.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--accent-color);
}


.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1001;
}

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

.dropdown li a {
    color: var(--secondary-color);
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.dropdown li a:hover {
    background-color: rgba(255,255,255,0.1);
}


.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    background-color: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-menu {
    list-style: none;
}

.mobile-menu li a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu .submenu {
    list-style: none;
    padding-left: 20px;
    background-color: rgba(0,0,0,0.1);
}

.mobile-menu .submenu li a {
    padding: 12px 20px;
}


.main-content {
    min-height: 60vh;
    padding: 0;
    margin: 0;
    background-color: #2c3e50;
}

.page-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.page-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-content h2 {
    font-size: 2em;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.page-content h3 {
    font-size: 1.5em;
    margin: 25px 0 12px;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.page-content ul,
.page-content ol {
    margin: 15px 0 15px 30px;
}


.site-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0 20px;
    margin: 0;
}

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

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    width: 32px;
    height: 32px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}


@media (max-width: 768px) {
    .header-logo img {
        height: 50px;
    }
    
    .page-content h1 {
        font-size: 2em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


.page-hero-section {
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: #ffffff;
    width: 100%;
}


.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-section.secondary {
    min-height: 60vh;
}

.hero-section.secondary::before {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}


.our-mission-hero {
    background-image: url('/user/themes/apexskating/images/mission-bg.jpg');
}

.methodology-hero {
    background-image: url('/user/themes/apexskating/images/bg-hero.jpg');
}

.innovation-hero {
    background-image: url('/user/themes/apexskating/images/bg-hero-2.jpg');
}

.people-hero {
    background-image: url('/user/themes/apexskating/images/people-bg.jpg');
}

.research-hero {
    background-image: url('/user/themes/apexskating/images/difference-bg.jpg');
}


.coaching-team-hero {
    background-image: url('/user/themes/apexskating/images/people-bg.jpg');
}

.testimonials-hero {
    background-image: url('/user/themes/apexskating/images/bg-hero-2.jpg');
}

.partners-hero {
    background-image: url('/user/themes/apexskating/images/difference-bg.jpg');
}

.policies-hero {
    background-image: url('/user/themes/apexskating/images/bg-hero.jpg');
}

.paradigm-hero {
    background-image: url('/user/themes/apexskating/images/bg-paradigm.png');
}

.science-hero {
    background-image: url('/user/themes/apexskating/images/bg-hero.jpg');
}

.technology-hero {
    background-image: url('/user/themes/apexskating/images/bg-hero-2.jpg');
}


body.home .hero-section:first-of-type {
    background-image: url('/user/themes/apexskating/images/bg-hero.jpg');
}

body.home .hero-section.secondary {
    background-image: url('/user/themes/apexskating/images/bg-hero-2.jpg');
}


.hero-section:not([class*="-hero"]) {
    background-image: url('/user/themes/apexskating/images/bg-hero.jpg');
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
}

.page-hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-style: italic;
}

.page-hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
}


.content-section {
    padding: 80px 20px;
    background-color: #ffffff;
    margin: 0;
}

.content-section.dark {
    background-color: #f8f8f8;
    margin: 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.content-text.large {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}


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

.policy-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.policy-list li:last-child {
    border-bottom: none;
}

.content-section.dark .policy-list li {
    border-bottom: 1px solid #444;
    color: #fff;
}

.content-section .policy-list li {
    color: #333 !important;
}

.policy-list li strong {
    color: #333;
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote p {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.testimonial-author {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
}


.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.partner-logo {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partner-logo h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.partner-logo p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}


.coaches-section {
    padding: 100px 20px;
    background-color: #f8f8f8;
}

.coaches-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.coach-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.coach-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
}

.coach-name {
    font-size: 24px;
    font-weight: 700;
    margin: 25px 20px 10px;
    color: var(--primary-color);
}

.coach-role {
    font-size: 16px;
    font-weight: 600;
    margin: 0 20px 20px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coach-bio {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 20px 30px;
    color: #555;
}


.partners-content {
    padding: 100px 20px;
    background-color: #ffffff;
}

.partners-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    text-align: center;
}

.partner-logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 25px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.partner-logo h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.partner-logo p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}


.testimonials-content {
    padding: 100px 20px;
    background-color: #ffffff;
}

.testimonials-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
}

.testimonial-item {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-quote {
    margin-bottom: 25px;
}

.testimonial-quote p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
}


.policies-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.policy-section {
    margin-bottom: 60px;
}

.policy-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.policy-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.policy-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
}


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

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

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}



.paradigm-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.paradigm-content {
    max-width: 900px;
    margin: 0 auto;
}

.paradigm-section .section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.paradigm-section .section-subtitle {
    font-size: 1.2em;
    line-height: 1.6;
    font-weight: 400;
}


.about-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin: 0;
}

.about-block {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.about-block:nth-child(1) {
    background-image: url('/user/themes/apexskating/images/mission-bg.jpg');
}

.about-block:nth-child(2) {
    background-image: url('/user/themes/apexskating/images/difference-bg.jpg');
}

.about-block:nth-child(3) {
    background-image: url('/user/themes/apexskating/images/people-bg.jpg');
}

.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.block-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 500px;
    text-align: center;
}

.block-content h3 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.block-text {
    display: none;
}

.about-block:hover .block-text {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.block-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
}


.hero-video {
    margin-top: 30px;
}

.video-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.video-link:hover {
    transform: scale(1.1);
}

.play-button {
    cursor: pointer;
}
