/* Google Fonts Inter */
:root {
    --primary-color: #3ca36a;
    --primary-dark: #2e7d52;
    --secondary-color: #f8f9fa;
    --accent-color: #f59e0b;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* Topbar */
.topbar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.topbar-content span {
    margin-right: 15px;
}

.topbar-social a {
    color: var(--white);
    margin-left: 10px;
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

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

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-text span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* Nav */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

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

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
    display: inline-block;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.nav .dropdown ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
    z-index: 10;
}

.nav .dropdown ul li a {
    padding: 8px 20px;
    display: block;
}

.nav .dropdown ul li a:hover {
    background-color: var(--secondary-color);
}

.nav-auth {
    display: flex;
    gap: 10px;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-top: 50px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #cccccc;
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #2b734b;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #e2e8f0;
}

/* Responsive */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav.open {
        display: flex;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav .dropdown ul {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .nav .dropdown:focus-within ul,
    .nav .dropdown:hover ul {
        display: block;
    }
    
    .nav-auth {
        margin-top: 20px;
        width: 100%;
    }
}
/* News Common Layout */
.news-page-header {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.news-main {
    min-width: 0;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.category-list {
    list-style: none;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recent-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-text h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.main-slider {
    width: 100%;
    height: 600px;
}
.slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}
.slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
    background: rgba(0,0,0,0.2);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: var(--transition);
}

/* Home Gallery Hover & Animations */
.gallery-item-home .gallery-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: white;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.gallery-item-home:hover .gallery-overlay-home {
    opacity: 1 !important;
}

.gallery-item-home .icon-wrapper {
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item-home:hover .icon-wrapper {
    transform: translateY(0) !important;
}

.gallery-item-home img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gallery-item-home:hover img {
    transform: scale(1.1) !important;
}

.gallery-item-home:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1) !important;
}

.text-left {
    text-align: left !important;
}
.slide-content.text-left {
    margin-left: 0;
    margin-right: auto;
}
