.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-hero {
    padding: 10px 10px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    background-color: #33b5e5;
    color: #fff;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* Custom Modal Styles */
.modal-xl-custom {
    max-width: 95%;
    width: 95%;
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 0;
    height: 80vh;
    overflow: hidden;
}

/* Flip Book Section */
.flipbook-section {
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 2px solid #dee2e6;
}

#flipbook {
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
}

#flipbook .page {
    width: 250px;
    height: 400px;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    overflow: hidden;
    border-radius: 5px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

#flipbook .page canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loading-page {
    background: #f8f9fa;
    color: #666;
    font-size: 16px;
    flex-direction: column;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flipbook-controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.flipbook-controls .btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.page-info {
    margin-top: 15px;
    font-weight: bold;
    color: #495057;
}

/* Description Section */
.description-section {
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    background: white;
}

.description-section h3 {
    color: #495057;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.description-section h5 {
    color: #007bff;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
}

.description-section p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.description-section ul {
    color: #6c757d;
    padding-left: 20px;
}

.description-section li {
    margin-bottom: 8px;
}

.feature-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 2px;
}

.simple-page {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 5px;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.simple-page h4 {
    margin-bottom: 15px;
    font-weight: bold;
}

.simple-page p {
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.page-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .flipbook-section {
        border-right: none;
        border-bottom: 2px solid #dee2e6;
    }
    
    #flipbook {
        max-width: 300px;
        height: 250px;
    }
    
    #flipbook .page {
        width: 150px;
        height: 250px;
    }
    
    .description-section {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.stats-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stats-card h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stats-card p {
    margin: 0;
    opacity: 0.9;
}