/* Bright Wave Theme - Template 322 */
:root {
    --bg: #f7f8fb;
    --bg-alt: #ffffff;
    --text: #1f2a44;
    --muted: #5c6b8a;
    --accent: #ff6b6b;
    --accent-2: #4dabf7;
    --card: #ffffff;
    --border: #e8ecf4;
}

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

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 78px;
    padding-bottom: 80px;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.logo img { height: 42px; }

.nav {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
}

.nav a {
    color: var(--text);
    font-size: 0.88rem;
    white-space: nowrap;
}

.nav a:hover { color: var(--accent); }

.nav a.active {
    color: var(--accent-2);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.btn-outline {
    border-color: var(--accent-2);
    color: var(--accent-2);
    background: #fff;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border);
    z-index: 1001;
    transition: 0.3s;
    padding: 20px;
}

.mobile-menu.active { right: 0; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu nav a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mobile-menu nav a.active {
    color: var(--accent);
    font-weight: 700;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
    padding: 70px 0 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.hero-text {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.hero-media {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.hero-media img { width: 100%; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-alt); }
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Highlights */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.highlight-card h4 { margin: 12px 0 8px; }
.highlight-icon { font-size: 1.6rem; }

/* Media Blocks */
.media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.media-block.reverse { direction: rtl; }
.media-block.reverse > * { direction: ltr; }

.media-figure {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.media-figure img { width: 100%; }

.media-caption {
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 16px 6px;
}

.img-desc {
    padding: 0 16px 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.media-text h3 { font-size: 1.6rem; margin-bottom: 12px; }
.media-text p { color: var(--muted); margin-bottom: 12px; }

/* Extra Layouts */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }

.timeline {
    display: grid;
    gap: 20px;
}

.timeline-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.timeline-item h4 { margin-bottom: 8px; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.testimonial {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    color: var(--muted);
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-logo { height: 36px; margin-bottom: 16px; }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Bottom Banner */
.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 20px;
    font-weight: 700;
    z-index: 999;
}

.banner-btn {
    background: #fff;
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 980px) {
    .nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .media-block { grid-template-columns: 1fr; }
    .media-block.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .header-actions .btn { padding: 6px 10px; font-size: 0.8rem; }
    .hero-title { font-size: 2rem; }
}
