/* Стилове за history.php. Изнесени от inline <style>, за да се кешират. */

.page-header {
            background: linear-gradient(180deg, #2E5AAC 0%, #4B8BF5 100%);
            color: #1A365D;
            padding: 10px 0;
            text-align: center;
        }
        
        .page-header h1 {
            font-size: 3rem;
            font-weight: var(--font-weight-bold);
            margin-bottom: 15px;
            color: #1A365D;
            text-shadow:
                -1px -1px 0 white,
                1px -1px 0 white,
                -1px 1px 0 white,
                1px 1px 0 white;
        }

        .page-header p {
            font-size: 1.3rem;
            opacity: 0.9;
            color: white;
            font-weight: 600;
        }
        
        .history-section {
            padding: 80px 0;
        }
        
        .history-content {
            max-width: 1300px;
            margin: 0 auto;
        }
        
        .history-image {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            margin: 40px 0;
        }

        .badge-image {
            flex-shrink: 0;
        }

        .badge-image img {
            width: 200px;
            height: auto;
            object-fit: contain;
        }

        .main-history-image {
            flex: 1;
        }

        .main-history-image img {
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: var(--border-radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .history-text h2 {
            font-size: 2.2rem;
            color: var(--primary-blue);
            margin: 40px 0 25px 0;
            border-left: 4px solid var(--primary-green);
            padding-left: 20px;
        }
        
        .history-text h3 {
            font-size: 1.8rem;
            color: var(--primary-green);
            margin: 30px 0 20px 0;
            font-weight: var(--font-weight-semibold);
        }
        
        .history-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 20px;
            color: var(--text-light);
            text-align: justify;
        }
        
        .history-text ul {
            margin: 20px 0;
            padding-left: 30px;
        }
        
        .history-text li {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 10px;
            color: var(--text-light);
        }
        
        .back-button {
            margin: 40px 0;
            text-align: center;
        }
        
        .timeline-section {
            background: var(--light-gray);
            padding: 60px 0;
            margin: 60px 0;
            border-radius: var(--border-radius-lg);
        }
        
        @media (max-width: 768px) {
            /* Footer responsive */







            /* Reduce hero section height and text sizes */
            .page-header {
                padding: 60px 0 40px 0 !important;
            }

            .page-header h1 {
                font-size: 2rem;
                margin-bottom: 10px !important;
                line-height: 1.2 !important;
            }

            .page-header p {
                font-size: 1.1rem !important;
            }

            .history-text h2 {
                font-size: 1.8rem;
            }

            .history-content {
                padding: 0 20px;
            }

            /* Reduce top padding of history section */
            .history-section {
                padding: 20px 0 80px 0 !important;
            }

            /* Stack images vertically on mobile */
            .history-image {
                flex-direction: column;
                gap: 20px;
            }

            .badge-image img {
                width: 150px;
            }

            /* Reduce back button size */
            .back-button .btn {
                padding: 8px 16px !important;
                font-size: 0.85rem !important;
                max-width: 200px !important;
                margin: 0 auto !important;
            }





        }

