:root {
    --navy: #1a2744;
    --navy-light: #2c3e5f;
    --navy-dark: #0f1729;
    --red: #c41e3a;
    --red-light: #d63651;
    --red-dark: #a01829;
    --green: #3a7d44;
    --green-light: #4a9d54;
    --silver: #f5f7fa;
    --silver-dark: #e8ecf1;
    --text: #1a1f2e;
    --text-mid: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --shadow: rgba(26, 39, 68, 0.08);
    --shadow-lg: rgba(26, 39, 68, 0.15);
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.gears-container {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 0 auto 40px;
}

.gear {
    position: absolute;
    color: var(--red);
    filter: drop-shadow(0 4px 8px rgba(196, 30, 58, 0.3));
}

.gear-large {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    animation: rotateClockwise 4s linear infinite;
}

.gear-medium {
    width: 90px;
    height: 90px;
    top: 30%;
    right: 15%;
    transform: translate(50%, -50%);
    animation: rotateCounterClockwise 3s linear infinite;
}

.gear-small {
    width: 70px;
    height: 70px;
    bottom: 20%;
    right: 25%;
    transform: translate(50%, 50%);
    animation: rotateClockwise 2.5s linear infinite;
}

@keyframes rotateClockwise {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: translate(50%, -50%) rotate(0deg); }
    to { transform: translate(50%, -50%) rotate(-360deg); }
}

.preloader-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.preloader-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.progress-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--green));
    border-radius: 2px;
    animation: progressAnimation 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 8px 0;
}

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

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: #fff;
}

.admin-link {
    background: var(--green);
    color: var(--white) !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.admin-link:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

/* ===== HEADER ===== */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.logo-emblem {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-emblem:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px var(--shadow-lg);
}

.logo-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-abbr {
    font-weight: 800;
    font-size: 32px;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-full {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    max-width: 350px;
    line-height: 1.3;
    margin-top: 6px;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--silver);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.header-search:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.1);
}

.header-search input {
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text);
    width: 240px;
    outline: none;
}

.header-search button {
    border: none;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.header-search button:hover {
    background: var(--navy-light);
}

/* ===== NAVIGATION ===== */
nav {
    background: var(--navy);
    border-bottom: 3px solid var(--red);
}

.nav-inner {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.2s;
    white-space: nowrap;
    gap: 6px;
    border-radius: 8px 8px 0 0;
}

.nav-item > a:hover,
.nav-item.active > a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-item > a .arrow {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.2s;
}

.nav-item:hover > a .arrow {
    transform: rotate(180deg);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 8px 24px var(--shadow-lg);
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown a:hover::before {
    transform: scaleY(1);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--silver);
    color: var(--navy);
    padding-left: 28px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(58, 125, 68, 0.15) 0%, transparent 50%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Decorative geometric elements */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(196, 30, 58, 0.1) 40%, rgba(196, 30, 58, 0.1) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(58, 125, 68, 0.1) 40%, rgba(58, 125, 68, 0.1) 60%, transparent 60%);
    background-size: 60px 60px;
    animation: geometricFloat 20s ease-in-out infinite;
    border-radius: 50%;
    filter: blur(40px);
}

@keyframes geometricFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ===== STATS ===== */
.stats {
    background: var(--white);
    padding: 64px 0;
    margin-top: -32px;
    position: relative;
    z-index: 20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--silver) 0%, var(--white) 100%);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 32px var(--shadow);
    border-color: var(--red);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-number {
    color: var(--red);
    transform: scale(1.1);
}

.stat-label {
    font-size: 14px;
    color: var(--text-mid);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.stat-card:hover .stat-label {
    color: var(--navy);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(26, 39, 68, 0.03) 35px, rgba(26, 39, 68, 0.03) 36px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(26, 39, 68, 0.03) 35px, rgba(26, 39, 68, 0.03) 36px);
    opacity: 0.5;
    pointer-events: none;
}

.section-grey {
    background: var(--silver);
}

.section-grey::before {
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(26, 39, 68, 0.05) 35px, rgba(26, 39, 68, 0.05) 36px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(26, 39, 68, 0.05) 35px, rgba(26, 39, 68, 0.05) 36px);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--green));
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--red);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

/* ===== ABOUT ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 16px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-mid);
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
    margin-top: 16px;
}

.about-text ul li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    color: var(--text-mid);
    line-height: 1.7;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow);
}

/* ===== NEWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover::after {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ===== ACTIVITIES ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.activity-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.6s;
}

.activity-card:hover::before {
    left: 100%;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px var(--shadow-lg);
    border-color: var(--red);
}

.activity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
}

.activity-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.activity-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.activity-card:hover h3 {
    color: var(--red);
}

.activity-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ===== CONTACTS ===== */
.contacts-content {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow);
}

.contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-mid);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--navy);
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 32px 0;
}

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

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--white);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--navy);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.success-message {
    display: none;
    background: var(--green);
    color: var(--white);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 16px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ===== ADMIN PANEL ===== */
.admin-panel {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

.admin-panel.active {
    display: block;
}

.admin-panel-content {
    min-height: 100vh;
    background: var(--white);
    max-width: 900px;
    margin: 0 auto;
    animation: adminSlideIn 0.3s ease;
}

@keyframes adminSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-panel-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.admin-close {
    background: none;
    border: none;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.admin-close:hover {
    opacity: 0.7;
}

.admin-tabs {
    display: flex;
    background: var(--silver);
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
}

.admin-tab {
    padding: 16px 24px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.admin-tab:hover {
    color: var(--navy);
    background: var(--white);
}

.admin-tab.active {
    color: var(--navy);
    background: var(--white);
    border-bottom-color: var(--red);
}

.admin-tab-content {
    display: none;
    padding: 32px;
}

.admin-tab-content.active {
    display: block;
}

.admin-tab-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.admin-item {
    background: var(--silver);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.admin-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.admin-item-actions {
    display: flex;
    gap: 8px;
}

.btn-danger {
    background: var(--red);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--red-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        width: 100%;
    }

    .header-search input {
        width: 100%;
    }

    .nav-inner {
        flex-direction: column;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

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

    .about-image {
        position: static;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

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