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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fff;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    letter-spacing: 0.5px;
}

.navbar-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem;
    border: 2px solid rgba(233, 69, 96, 0.3);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar-menu a:hover {
    color: #e94560;
}

.btn-login {
    display: inline-block;
    background: linear-gradient(135deg, #e94560 0%, #d63447 100%);
    padding: 0.6rem 1.8rem;
    border-radius: 0.4rem;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
    color: white !important;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    pointer-events: auto;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
    color: white !important;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.navbar-toggle:hover {
    transform: scale(1.1);
}

.navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem 2rem;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    pointer-events: auto;
}

.navbar-menu.active a {
    pointer-events: auto;
}

/* Hero Section with Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item.active {
    opacity: 1;
}

.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(25px);
    z-index: 1;
}

.slider-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 85%;
    max-width: 800px;
    height: 85%;
    max-height: 550px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.slider-content {
    display: none;
}

.slider-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1.3;
}

.slider-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    display: none;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: white;
    width: 35px;
    border-radius: 7px;
    border-color: white;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--highlight-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}

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

.btn-primary {
    background: var(--highlight-color);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a2e;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e94560 0%, #1a9b8e 100%);
    border-radius: 2px;
}

/* Latest Posts Carousel */
.latest-posts-carousel {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem 2rem;
    overflow-x: auto;
    position: sticky;
    top: 70px;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.carousel-header {
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.carousel-header h3 {
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-container {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    max-width: 100%;
    margin: 0;
}

.carousel-container::-webkit-scrollbar {
    height: 4px;
}

.carousel-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.carousel-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.carousel-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.carousel-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.carousel-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Main Wrapper with Sidebar */
.main-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.featured-posts {
    grid-column: 1;
    padding: 0;
}

.sidebar {
    grid-column: 2;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--highlight-color);
    display: inline-block;
}

.recent-list {
    list-style: none;
}

.recent-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.recent-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.recent-list a:hover {
    color: var(--highlight-color);
}

.recent-list small {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.category-list a:hover {
    background: var(--bg-light);
    color: var(--highlight-color);
    padding-left: 1rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #e0e0e0;
}

.post-image {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

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

.post-card:hover .post-image img {
    transform: scale(1.08);
}

.post-category {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--highlight-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-content h3 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content p {
    color: var(--text-light);
    margin: 0 0 0.75rem 0;
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
    padding-top: 0.75rem;
    border-top: 1px solid #f5f5f5;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background: white;
}

.gallery-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 160px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #e0e0e0;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay h4 {
    color: white;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
}

.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--highlight-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-view:hover {
    background: #d63447;
    transform: scale(1.15);
}

/* Videos Section */
.videos-section {
    padding: 4rem 2rem;
    background: white;
}

.videos-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.videos-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--highlight-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-title i {
    color: var(--highlight-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #e0e0e0;
}

.video-thumbnail {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--highlight-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.play-btn:hover {
    background: #d63447;
    transform: translate(-50%, -50%) scale(1.15);
}

.video-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-info h4 {
    font-size: 0.9rem;
    margin: 0 0 0.4rem 0;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.75rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.video-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f5f5f5;
}

.video-date,
.video-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state p {
    font-size: 1.1rem;
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background: white;
}

.news-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.news-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #e0e0e0;
}

.news-image {
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

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

.news-item:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    color: var(--text-light);
    margin: 0 0 0.75rem 0;
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f5f5f5;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Training Schedule Section */
.training-schedule-section {
    padding: 3rem 2rem;
    background: white;
}

.training-schedule-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.schedule-branch-selector {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.branch-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.branch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #f0f0f0;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.branch-btn:hover {
    background: #e8e8e8;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.branch-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.schedule-branch-container {
    animation: fadeIn 0.3s ease-in;
}

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

.schedule-grid-container {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.schedule-grid-header {
    display: grid;
    grid-template-columns: 80px repeat(4, 1fr);
    gap: 1px;
    background: #1a1a1a;
    padding: 1px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.schedule-grid-header-cell {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 1px solid #3d3d3d;
}

.schedule-grid-header-time {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    color: white;
    border: 1px solid #3d3d3d;
}

.schedule-grid-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 400px;
    background: #f5f5f5;
}

.schedule-grid-row {
    display: grid;
    grid-template-columns: 80px repeat(4, 1fr);
    gap: 1px;
    background: #1a1a1a;
    padding: 1px;
    margin-bottom: 0;
}

.schedule-grid-row:hover {
    background: #0d0d0d;
}

.schedule-grid-cell {
    background: white;
    padding: 0.75rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.schedule-grid-cell-day {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    border-right: 2px solid #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-grid-cell-day-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.schedule-grid-cell-day-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.schedule-grid-cell-empty {
    color: #bdc3c7;
    font-size: 0.8rem;
    font-style: italic;
}

.schedule-event {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: center;
    width: 100%;
    max-width: 95%;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.schedule-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.schedule-day-header {
    font-weight: 700;
    color: white;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .branch-buttons {
        gap: 0.5rem;
    }

    .branch-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .schedule-grid-header {
        grid-template-columns: 70px repeat(4, 1fr);
    }

    .schedule-grid-row {
        grid-template-columns: 70px repeat(4, 1fr);
    }

    .schedule-grid-header-cell,
    .schedule-grid-cell {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
        min-height: 70px;
    }

    .schedule-event {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }

    .schedule-grid-cell-day-name {
        font-size: 0.85rem;
    }

    .schedule-grid-body {
        max-height: 350px;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 1rem 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-menu.active {
        display: flex;
    }

    .hero-slider {
        height: 450px;
    }

    .slider-item::before {
        filter: blur(20px);
    }

    .slider-overlay {
        width: 90%;
        height: 90%;
        max-width: 700px;
        max-height: 450px;
        border-radius: 1rem;
    }

    .slider-controls {
        bottom: 1.5rem;
        gap: 1.5rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .dot.active {
        width: 28px;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

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

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

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 200px;
    }

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

    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-column: 1;
    }

    .carousel-container {
        padding: 0 0.5rem;
    }

    .carousel-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

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

    .hero-slider {
        height: 350px;
    }

    .slider-item::before {
        filter: blur(15px);
    }

    .slider-overlay {
        width: 95%;
        height: 95%;
        max-width: 600px;
        max-height: 350px;
        border-radius: 0.75rem;
    }

    .slider-controls {
        bottom: 1rem;
        gap: 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

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

    .post-card,
    .video-card {
        margin: 0;
    }

    .featured-posts,
    .gallery-section,
    .videos-section,
    .news-section {
        padding: 1.5rem 1rem;
    }

    .carousel-header h3 {
        font-size: 0.8rem;
    }

    .carousel-item {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .widget-title {
        font-size: 0.9rem;
    }
}
