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

        :root {
            --primary: #003D73;
            --secondary: #005BAA;
            --accent: #FFD700;
            --light: #F8F9FA;
            --dark: #212529;
            --text: #333333;
            --border: #DEE2E6;
            --success: #28A745;
            --danger: #DC3545;
            --white: #FFFFFF;
            --gray: #6C757D;
        }

        body {
            font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
            font-size: 16px;
            line-height: 1.5;
            color: var(--text);
            background-color: var(--white);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .accessibility-bar {
            background: var(--dark);
            color: var(--white);
            padding: 8px 0;
            font-size: 14px;
            border-bottom: 2px solid var(--accent);
        }

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

        .accessibility-buttons {
            display: flex;
            gap: 10px;
        }

        .accessibility-btn {
            background: transparent;
            border: 1px solid var(--white);
            color: var(--white);
            padding: 4px 12px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }

        .accessibility-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .font-controls {
            display: flex;
            gap: 5px;
        }

        .font-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--white);
            color: var(--white);
            width: 30px;
            height: 30px;
            border-radius: 3px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .header {
            background: var(--white);
            border-bottom: 2px solid var(--border);
            padding: 15px 0;
        }

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

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

        .emblem {
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .emblem img {
            max-width: 100%;
            max-height: 100%;
        }

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

        .school-title h1 {
            font-size: 20px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 5px;
            line-height: 1.2;
        }

        .school-title p {
            font-size: 14px;
            color: var(--gray);
        }

        .kz-flag {
            width: 120px;
            height: 60px;
            background: linear-gradient(to bottom, 
                #00AFCA 0%, 
                #00AFCA 50%, 
                #F0C000 50%, 
                #F0C000 100%);
            border: 1px solid var(--border);
            position: relative;
            flex-shrink: 0;
        }

        .kz-flag::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            width: 30px;
            height: 30px;
            background: radial-gradient(circle at center, 
                #003D73 0%, 
                #003D73 30%, 
                transparent 30%);
        }

        .navbar {
            background: var(--primary);
        }

        .nav-container {
            position: relative;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: block;
            padding: 15px 20px;
            color: var(--white);
            text-decoration: none;
            font-size: 15px;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            transition: background 0.2s;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .nav-link.active {
            background: var(--secondary);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            min-width: 250px;
            border: 1px solid var(--border);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: none;
            z-index: 1000;
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        }

        .dropdown-item {
            display: block;
            padding: 12px 20px;
            color: var(--text);
            text-decoration: none;
            border-bottom: 1px solid var(--border);
            transition: background 0.2s;
        }

        .dropdown-item:hover {
            background: var(--light);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 20px;
            cursor: pointer;
            padding: 10px;
        }

        .announcement-bar {
            background: var(--light);
            border-bottom: 1px solid var(--border);
            padding: 10px 0;
        }

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

        .marquee-container {
            flex: 1;
            overflow: hidden;
            position: relative;
            padding-right: 20px;
        }

        .marquee {
            white-space: nowrap;
            animation: marquee 20s linear infinite;
            display: inline-block;
            padding-left: 100%;
        }

        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }

        .search-auth {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .search-box {
            position: relative;
        }

        .search-box input {
            padding: 6px 12px 6px 35px;
            border: 1px solid var(--border);
            border-radius: 3px;
            width: 200px;
            transition: width 0.3s;
        }

        .search-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }

        .auth-btn {
            background: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            padding: 6px 15px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
            text-decoration: none;
            display: inline-block;
        }

        .auth-btn:hover {
            background: var(--primary);
            color: var(--white);
        }

        .main-content {
            flex: 1;
            padding: 30px 0;
            background: var(--white);
        }

        .section-title {
            font-size: 22px;
            color: var(--primary);
            padding-bottom: 10px;
            margin-bottom: 25px;
            border-bottom: 2px solid var(--accent);
            position: relative;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100px;
            height: 2px;
            background: var(--secondary);
        }

        .president-section {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            padding: 40px 0;
            margin: 40px 0;
            border-radius: 8px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .president-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent);
        }

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

        .president-photo {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 5px solid var(--accent);
            margin: 0 auto 25px;
            overflow: hidden;
            background: white;
            box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
        }

        .president-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .president-name {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .president-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            opacity: 0.95;
        }

        .president-quote {
            font-size: 16px;
            font-style: italic;
            margin-bottom: 25px;
            padding: 20px;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            border-left: 4px solid var(--accent);
        }

        .services-section {
            background: var(--light);
            padding: 50px 0;
            margin: 50px 0;
            border-radius: 12px;
            position: relative;
        }

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

        .service-item {
            background: var(--white);
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 30px 20px;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .service-item::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
            transition: left 0.5s;
        }

        .service-item:hover::before {
            left: 100%;
        }

        .service-item:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: var(--primary);
            box-shadow: 0 15px 35px rgba(0,61,115,0.2);
        }

        .service-icon {
            font-size: 36px;
            color: var(--primary);
            margin-bottom: 15px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .service-name {
            font-size: 15px;
            font-weight: 700;
            color: var(--dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .service-item:hover .service-name {
            color: var(--primary);
        }

        .news-section {
            margin-bottom: 40px;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
        }

        .news-card {
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .news-card:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }

        .news-header {
            background: var(--primary);
            color: var(--white);
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .news-date {
            font-weight: 600;
        }

        .news-body {
            padding: 25px;
        }

        .news-title {
            font-size: 18px;
            color: var(--dark);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .news-stats {
            display: flex;
            gap: 20px;
            margin-top: 18px;
            font-size: 14px;
            color: var(--gray);
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 6px;
            cursor: pointer;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,61,115,0.3);
        }

        .btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,61,115,0.4);
        }

        .info-section {
            margin-bottom: 40px;
        }

        .info-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .info-table tr {
            border-bottom: 1px solid var(--border);
            transition: background 0.2s;
        }

        .info-table tr:hover {
            background: var(--light);
        }

        .info-table tr:last-child {
            border-bottom: none;
        }

        .info-table td {
            padding: 18px 25px;
        }

        .info-label {
            font-weight: 700;
            color: var(--primary);
            width: 30%;
            background: var(--light);
        }

        .gallery-section {
            margin-bottom: 40px;
        }

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

        .gallery-item {
            height: 200px;
            border: 2px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }

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

        .director-map-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 50px 0;
        }

        .director-card {
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 35px;
            text-align: center;
            background: var(--white);
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        }

        .director-photo {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            border: 4px solid var(--primary);
            margin: 0 auto 25px;
            overflow: hidden;
        }

        .director-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .map-container {
            border: 2px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            height: 420px;
            background: #E9ECEF;
        }

        .important-notice {
            background: #FFF3CD;
            border: 1px solid #FFEEBA;
            border-left: 6px solid #FFC107;
            padding: 25px;
            margin: 40px 0;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(255,193,7,0.2);
        }

        .important-notice h3 {
            color: #856404;
            margin-bottom: 15px;
            font-size: 20px;
        }

        .symbols-section {
            background: var(--light);
            padding: 40px;
            border-radius: 12px;
            margin: 50px 0;
            text-align: center;
        }

        .symbols-grid {
            display: flex;
            justify-content: center;
            gap: 50px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .symbol-item {
            width: 140px;
        }

        .symbol-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        }

        .footer {
            background: var(--dark);
            color: var(--white);
            padding: 50px 0 25px;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 35px;
        }

        .footer-title {
            font-size: 17px;
            color: var(--white);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--accent);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            transition: all 0.3s;
            display: block;
        }

        .footer-links a:hover {
            color: var(--white);
            padding-left: 10px;
        }

        .contact-info p {
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
        }

        .copyright {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .government-stamp {
            display: inline-block;
            background: var(--accent);
            color: var(--dark);
            padding: 8px 15px;
            font-size: 13px;
            font-weight: 800;
            border-radius: 20px;
            margin-top: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 12px rgba(255,215,0,0.4);
        }

        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .director-map-section {
                grid-template-columns: 1fr;
            }
            
            .news-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .symbols-grid {
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 20px;
            }
            
            .logo-section {
                width: 100%;
                justify-content: space-between;
            }
            
            .kz-flag {
                width: 100px;
                height: 50px;
            }
            
            .mobile-toggle {
                display: block;
            }
            
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--primary);
                z-index: 1000;
                flex-direction: column;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .nav-link {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .announcement-content {
                flex-direction: column;
                gap: 15px;
            }
            
            .search-auth {
                width: 100%;
                justify-content: center;
            }
            
            .search-box input {
                width: 100%;
                max-width: 300px;
            }
            
            .marquee {
                font-size: 14px;
            }
            
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .president-section {
                padding: 30px 0;
            }
            
            .president-name {
                font-size: 24px;
            }
        }

        @media (max-width: 576px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .info-table td {
                display: block;
                width: 100%;
            }
            
            .info-label {
                width: 100%;
                background: transparent;
                padding-bottom: 8px;
            }
            
            .symbols-grid {
                flex-direction: column;
                gap: 25px;
            }
            
            .search-box input {
                max-width: 100%;
            }
        }

        .text-center { text-align: center; }
        .mt-20 { margin-top: 20px; }
        .mb-20 { margin-bottom: 20px; }
        .d-flex { display: flex; }
        .justify-center { justify-content: center; }
        .align-center { align-items: center; }/* style.css */
