/**
 * Siaya County Theme - Main Stylesheet
 * Enhanced with Mega Menu functionality
 * Updated with official brand colors from siaya.go.ke
 */

/* --- CSS VARIABLES & BRAND COLORS --- */
:root {
    /* Siaya County Brand Palette - Official from siaya.go.ke */
    --primary: #1a2b4c;       /* Deep Navy Blue - Primary brand color */
    --primary-light: #2c3d60; /* Lighter navy for hover states */
    --primary-dark: #0f1a30;  /* Darker navy for depth */
    
    --accent: #5dba47;        /* Golden Yellow - For CTAs and highlights */
    --accent-hover: #d99e00;  /* Darker yellow for hover effects */
    --accent-light: #ffd966;  /* Light yellow for backgrounds */
    
    --accent-green: #008080;  /* Teal - Secondary accent from website */
    --accent-green-light: #e0f0f0; /* Light teal for backgrounds */
    
    --text-dark: #1f1f1f;
    --text-light: #ffffff;
    --bg-light: #f4f6f8;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    
    --radius: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Dropdown Styles */
    --dropdown-bg: #ffffff;
    --dropdown-shadow: 0 10px 40px rgba(0,0,0,0.12);
    
    /* Logo Colors */
    --logo-primary: #1a2b4c;
    --logo-accent: #5dba47;
    --logo-secondary: #008080;
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.container-fluid {
    width: 100%;
    padding-left: 60px;
    padding-right: 60px;
    margin: auto;
    box-sizing: border-box;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(240, 180, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 180, 0, 0.5);
}

.btn-secondary {
    background-color: var(--accent-green);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #37383c !important;
    color: #ccc;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 4px solid var(--accent);
}

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

.top-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.top-info i {
    color: var(--accent);
    margin-right: 8px;
}

.top-links a {
    color: #fff;
    margin-left: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

/* --- LOGO STYLING --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--logo-primary) 0%, var(--logo-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo-main {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--logo-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-main .tich {
    color: var(--logo-primary);
}

.logo-main .gi {
    color: var(--logo-accent);
    margin: 0 5px;
}

.logo-main .dongrook {
    color: var(--logo-secondary);
    display: block;
    font-size: 1rem;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* --- NAVIGATION & MEGA MENU - REDUCED SIZE --- */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-menu {
    display: flex;
    gap: 2px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 70px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.nav-link i {
    margin-left: 6px;
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link {
    color: var(--primary);
    background-color: rgba(26, 43, 76, 0.04);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link.active {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
}

/* --- DROPDOWN MENU --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    min-width: 220px;
    box-shadow: var(--dropdown-shadow);
    border-top: 4px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 999;
    padding: 8px 0;
    border-radius: 0 0 var(--radius) var(--radius);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

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

/* --- MEGA MENU --- */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 90vw;
    max-width: 1200px;
    background: var(--dropdown-bg);
    box-shadow: var(--dropdown-shadow);
    border-top: 4px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border-radius: 0 0 var(--radius) var(--radius);
}

.nav-item.mega-menu-trigger {
    position: static;
}

.nav-item.mega-menu-trigger:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
    padding: 25px 25px;
}

.mega-menu-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.mega-menu-col {
    min-width: 0;
}

.mega-menu-col h5 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    letter-spacing: 0.5px;
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-col ul li {
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.mega-menu-col ul li a {
    display: block;
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.mega-menu-col ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mega-menu-col ul li:last-child {
    border-bottom: none;
}

/* --- DROPDOWN ICON ANIMATION --- */
.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--primary);
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(26, 43, 76, 0.85) 0%, rgba(0, 128, 128, 0.6) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 700px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 3;
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

/* --- QUICK SERVICES BAR --- */
.services-bar {
    background: var(--bg-white);
    margin-top: -152px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    padding: 10px;
    border-radius: var(--radius);
    text-decoration: none;
}

.service-item:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #5cba47 !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background: var(--primary);
    color: #ffff !important;
}

.service-info h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.service-info span {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    padding: 20px;
    border: 2px solid var(--bg-light);
    border-radius: var(--radius);
}

.about-img-wrapper img {
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 100%;
}

.about-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--accent);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-badge h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}

.section-header h4 {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h4::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* --- STATS STRIP --- */
.stats-strip {
    background: var(--primary);
    padding: 60px 0;
    color: var(--text-light);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
}

/* --- LATEST NEWS SECTION --- */
.news-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.news-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 40px;
}

.news-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.news-card {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 260px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--dropdown-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 43, 76, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: var(--radius);
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.news-date .date-day {
    display: block;
    font-size: 1.1rem;
}

.news-date .date-month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.news-content {
    padding: 25px 20px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.news-content h3 a:hover {
    color: var(--accent);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent);
    gap: 12px;
}

.read-more i {
    font-size: 0.7rem;
}

.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    opacity: 0.7;
}

.news-nav:hover {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
    opacity: 1;
}

.news-nav.prev {
    left: -20px;
}

.news-nav.next {
    right: -20px;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.news-dot {
    width: 14px;
    height: 14px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.news-dot.active,
.news-dot:hover {
    background: var(--accent);
    border-color: var(--primary);
}

/* --- FOOTER --- */
footer {
    background: var(--primary-dark);
    color: #bbb;
    padding: 70px 0 20px;
    border-top: 5px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-col {
    min-width: 0;
}

.footer-col h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.footer-col h2 span {
    color: var(--accent);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}

.footer-links a {
    color: #bbb;
    display: block;
    padding-bottom: 2px;
}

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

.footer-links i {
    margin-right: 8px;
    color: var(--accent);
}

.social-icons a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* WordPress Admin Bar Adjustments */
.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .mega-menu-wrapper {
        width: 90vw;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-main .dongrook {
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        overflow-y: auto;
        transition: 0.4s;
        gap: 0;
        box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
        z-index: 9999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        height: auto;
        padding: 15px 10px;
        border-bottom: 1px solid #eee;
        justify-content: space-between;
        color: var(--primary);
    }
    
    .dropdown-menu,
    .mega-menu-wrapper {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        background: #f9f9f9;
        border-left: 3px solid var(--accent);
        margin-left: 15px;
        padding: 8px 0;
    }
    
    .nav-item.mega-menu-trigger {
        position: relative;
    }
    
    .nav-item.active .dropdown-menu,
    .nav-item.active .mega-menu-wrapper {
        display: block;
    }
    
    .mega-menu-container {
        padding: 20px;
    }
    
    .mega-menu-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-bar {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-wrapper {
        margin-bottom: 30px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .slider-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
    }
    
    .top-info span:not(:first-child) {
        display: none;
    }
    
    .stats-grid {
        flex-direction: row;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-badge {
        padding: 20px;
    }
    
    .about-badge h3 {
        font-size: 1.8rem;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-main .dongrook {
        font-size: 0.9rem;
    }
    
    .news-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .news-nav.prev {
        left: 10px;
    }
    
    .news-nav.next {
        right: 10px;
    }
    
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-info span {
        display: block !important;
        margin: 5px 0;
    }
    
    .top-links a {
        margin: 0 10px;
    }
    
    .services-bar {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .service-item {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-main .dongrook {
        font-size: 0.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex: 0 0 100%;
    }
    
    .news-nav {
        display: none;
    }
    
    .news-track {
        gap: 15px;
    }
}

/* Print Styles */
@media print {
    header,
    .top-bar,
    .hero-slider,
    .services-bar,
    .stats-strip,
    .slider-controls,
    .mobile-toggle,
    footer {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .about-section {
        padding: 20px 0;
    }
}
