/* ============================================
   COMMON STYLES - Modern Professional Design
   Color Scheme: Green (#1B5E20), Orange (#FF9800), White (#FFFFFF/#F5F7FA)
   Font: Poppins (Headings), Inter (Body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* PRIMARY - Green */
    --primary-color: #1B5E20;
    --primary-color-light: #2E7D32;
    --primary-color-dark: #0D3B12;
    --primary-soft: rgba(27, 94, 32, 0.1);
    
    /* ACCENT - Orange */
    --accent-color: #FF9800;
    --accent-color-light: #FFB74D;
    --accent-color-dark: #F57C00;
    --accent-soft: rgba(255, 152, 0, 0.1);
    
    /* NEUTRAL */
    --white: #FFFFFF;
    --white-cream: #FEFEFE;
    --bg-light: #F5F7FA;
    --bg-gray: #ECEFF1;
    
    /* TEXT */
    --text-dark: #1A1A2E;
    --text-medium: #4A4A68;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    /* SHADOWS */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    /* BORDER RADIUS */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* TRANSITIONS */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

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

/* ============================================
   NAVBAR STYLES
   ============================================ */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 0.75rem 0 !important;
    transition: var(--transition-smooth) !important;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-brand span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-medium) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

.btn-login-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-login-nav:hover {
    background: var(--primary-color-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Hero Buttons */
.btn-hero-primary {
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: var(--transition-normal);
}

.btn-hero-primary:hover {
    background: var(--accent-color-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(255, 152, 0, 0.35);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--white);
    transition: var(--transition-normal);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.hero-wave .shape-fill {
    fill: var(--white);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    padding: 0.6rem 0;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-padding {
    padding: 80px 0;
}

.section-title-small {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.bg-light-gray {
    background: var(--bg-light) !important;
}

/* ============================================
   CARD STYLES
   ============================================ */
.service-card {
    background: var(--white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

/* News Card */
.news-card {
    background: var(--white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.08);
}

.badge-news {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Photo Card */
.photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 94, 32, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

/* Video Card */
.video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #000;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 12px rgba(255,255,255,0.2);
    transition: var(--transition-normal);
}

.video-card:hover .play-btn {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--white);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-success {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-success:hover {
    background: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-success {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-primary:hover {
    background: var(--accent-color-dark) !important;
    border-color: var(--accent-color-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   CHART SECTION
   ============================================ */
.chart-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-gray);
}

/* ============================================
   DOCUMENT CARD
   ============================================ */
.doc-card {
    background: var(--white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.doc-icon {
    width: 50px;
    height: 50px;
    background: #FFF3E0;
    color: var(--accent-color-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.doc-card:hover .doc-icon {
    background: var(--accent-color);
    color: var(--white);
}

/* ============================================
   INFO CARD
   ============================================ */
.info-card {
    background: var(--white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 20px;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-normal);
}

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

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--bg-gray);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    transition: var(--transition-normal);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
    outline: none;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
}

.badge-date {
    background: var(--primary-soft);
    color: var(--primary-color);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   MODAL
   ============================================ */
.modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--bg-gray);
    padding: 1.25rem 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--bg-gray);
    padding: 1rem 1.5rem;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: var(--transition-normal);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

/* ============================================
   SHARE BUTTONS
   ============================================ */
.share-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
    transition: var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
}

.share-icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-icon-btn.wa:hover {
    color: #25D366;
    background: #E8F5E9;
    border-color: #25D366;
}

.share-icon-btn.fb:hover {
    color: #1877F2;
    background: #E3F2FD;
    border-color: #1877F2;
}

.share-icon-btn.tw:hover {
    color: #000000;
    background: #ECEFF1;
    border-color: #000000;
}

.share-icon-btn.cp:hover {
    color: var(--primary-color);
    background: var(--primary-soft);
    border-color: var(--primary-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .news-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
}