@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #e30613;
    --secondary-color: #ffcc00;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --accent-color: #0071bc;
    --grey-light: #f8f9fa;
    --grey-medium: #e0e0e0;
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.top-bar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    color: var(--light-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a {
    color: var(--light-color);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

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

.social-icons a {
    color: var(--light-color);
    font-size: 1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

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

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8050f 100%);
    color: var(--light-color);
    padding: 25px 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.3);
}

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

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

.logo-img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.08) rotate(-2deg);
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.action-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6b800 100%);
    color: var(--dark-color);
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-fast);
    display: inline-block;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

.action-btn.btn-white {
    background: var(--light-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.action-btn.btn-white:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.action-btn.btn-video {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.4);
}

.action-btn.btn-video:hover {
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.5);
    background: linear-gradient(135deg, #16213e 0%, var(--dark-color) 100%);
    color: var(--secondary-color);
}

.hero {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.95) 0%, rgba(184, 5, 15, 0.95) 100%);
    color: var(--light-color);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-header p {
    max-width: 700px;
    margin: 30px auto 0;
    color: #666;
    font-size: 1.15rem;
}

.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--grey-light) 0%, var(--light-color) 100%);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform var(--transition-medium);
}

.about-image:hover img {
    transform: scale(1.05);
}

.services-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.service-card {
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8050f 100%);
    color: var(--light-color);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.service-content p {
    margin-bottom: 20px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.read-more:hover {
    gap: 15px;
    color: var(--accent-color);
}

.social-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    letter-spacing: 1px;
}

.social-btn:hover i {
    animation: iconBounce 0.5s ease;
}

.social-btn-crapem:hover {
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.5), 0 0 15px rgba(227, 6, 19, 0.3);
}

.social-btn-ssm:hover {
    box-shadow: 0 8px 25px rgba(26, 42, 68, 0.5), 0 0 15px rgba(26, 42, 68, 0.3);
}

@keyframes iconBounce {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.3) rotate(-10deg); }
    60% { transform: scale(0.9) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8050f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.stats-section h2 {
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-fast);
}

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

.stat-item i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6b800 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.news-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-color) 0%, var(--grey-light) 100%);
}

.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--grey-light) 0%, var(--light-color) 100%);
}

.custom-page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    color: var(--light-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.custom-page-header:hover::before {
    opacity: 0.8;
    transform: scale(1.05);
}

.custom-page-header .container {
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-page-header:hover .container {
    transform: translateY(-8px);
}

.custom-page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.custom-page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.scroll-down-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.scroll-down-indicator i {
    font-size: 2.2rem;
    animation: bounce 2s infinite;
}

.scroll-down-indicator:hover {
    color: var(--light-color);
    transform: scale(1.05);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

.video-page-container {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--light-color);
    margin: 60px auto 100px;
    max-width: 1200px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.video-content-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--grey-light) 0%, #ffffff 100%);
}

.video-content-side h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.video-content-side .highlight {
    color: var(--primary-color);
}

.video-content-side p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 500;
}

.benefits-list li i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 4px;
}

.video-player-side {
    flex: 1.2;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.video-player-side .video-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 0;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(227,6,19,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.play-circle {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.video-overlay:hover .play-circle {
    transform: scale(1.1);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 40px rgba(227, 6, 19, 0.6);
}

.video-overlay h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-align: center;
}

.video-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 80%;
    text-align: center;
}

.video-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .video-page-container {
        flex-direction: column;
        margin: 40px 20px;
    }
    .video-player-side {
        min-height: 400px;
        position: relative;
    }
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: var(--light-color);
}

.faq-question {
    padding: 25px 30px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--grey-light);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.faq-answer {
    padding: 0 30px 25px;
    background-color: white;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    color: var(--light-color);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    text-align: center;
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.contact-info-footer {
    text-align: center;
}

.contact-info-footer p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info-footer i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
}

.social-footer {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: center;
}

.social-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.social-footer a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

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

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

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

.error-section {
    padding: 120px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-section.error-404 {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.95) 0%, rgba(184, 5, 15, 0.95) 100%);
    color: var(--light-color);
}

.error-section.error-300 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6b800 100%);
    color: var(--dark-color);
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-number {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.error-404 .error-number {
    text-shadow: 4px 4px 0 var(--secondary-color);
}

.error-300 .error-number {
    color: var(--primary-color);
    text-shadow: 4px 4px 0 var(--light-color);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(227, 6, 19, 0);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 992px) {

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

    .about-content {
        flex-direction: column;
    }

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

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

@media (max-width: 768px) {

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .hero {
        padding: 80px 0;
    }

    .error-number {
        font-size: 8rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .error-number {
        font-size: 5rem;
    }

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

    .action-btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}

.study-feature {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
    padding: 35px;
    background: var(--light-color);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.study-feature img {
    width: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.study-feature-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.study-feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 5px 0 15px;
}

.study-feature p {
    color: #666;
    margin-bottom: 25px;
}

.study-feature-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.study-cover {
    flex: none;
    width: 340px;
    max-width: 100%;
}

.chapter-list {
    max-width: 800px;
    margin: 0 auto;
}

.chapter-list a {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 22px 30px;
    margin-bottom: 20px;
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    color: var(--dark-color);
    transition: all var(--transition-fast);
}

.chapter-list a:hover {
    background: var(--grey-light);
}

.chapter-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 45px;
}

.chapter-list h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.chapter-list p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.chapter-page {
    margin-left: auto;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.study-issues {
    list-style: none;
}

.study-issues li {
    padding: 10px 0;
    border-top: 1px solid var(--grey-medium);
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.study-issues li:first-child {
    border-top: none;
}

.study-reader {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.study-reader iframe {
    display: block;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    border: 0;
}

@media (max-width: 768px) {
    .study-feature {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .study-feature img {
        width: 160px;
    }

    .study-feature-buttons {
        justify-content: center;
    }

    .custom-page-header h1 {
        font-size: 2.2rem;
    }

    .chapter-list a {
        padding: 20px;
        gap: 15px;
    }

    .chapter-page {
        display: none;
    }

    .study-reader {
        display: none;
    }
}
