:root {
    --primary-red: #c62828; 
    --primary-red-dark: #8e0000;
    --accent-yellow: #fbc02d; 
   
    --text-main: #2c3e50;  
    --text-light: #6c757d;
    --bg-body: #f4f7f6; 
    --bg-white: #ffffff;
    
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    --container-max: 1200px;
    --section-padding: 80px 0;
}

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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-red-dark);
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-red);
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

section {
    padding: var(--section-padding);
}

/* --- HEADER & NAV --- */
#site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-area .site-logo {
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    padding: 2px;
}

#main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

#main-navigation a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#main-navigation a:hover {
    color: var(--primary-red);
}

.btn-lapor a {
    background-color: var(--primary-red);
    color: var(--bg-white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.btn-lapor a:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- HERO SECTION --- */
#hero {
    background: linear-gradient(rgba(142, 0, 0, 0.85), rgba(44, 62, 80, 0.85)), url('../img/hak-hero.webp') no-repeat center center/cover;
    color: var(--bg-white);
    text-align: center;
    padding: 140px 20px 180px 20px; 
}

#hero h2 {
    color: var(--bg-white);
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

#hero h2::after {
    display: none;
}

#hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-actions a {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

.hero-actions a:first-child {
    background-color: var(--accent-yellow);
    color: var(--text-main);
}

.hero-actions a:first-child:hover {
    background-color: #f9a825;
    transform: translateY(-2px);
}

.hero-actions a:last-child {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.hero-actions a:last-child:hover {
    background-color: var(--bg-white);
    color: var(--primary-red);
}

/* --- OUR SERVICES --- */
#services-highlight {
    padding-top: 0;
    position: relative;
    z-index: 10;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: -80px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card .icon { 
    font-size: 45px; 
    display: block; 
    margin-bottom: 15px; 
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* --- OUR IDENTITY SECTION --- */
#about-summary {
    background-color: var(--bg-white);
    padding: 100px 0;
    border-radius:10px;
}

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

.about-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-text:hover {
    gap: 15px;
}

.vision-box {
    background: var(--primary-red);
    color: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.vision-box h3 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.vision-box p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- OUR MISSION (FOCUS PROGRAMS) --- */
#focus-programs {
    background-color: var(--bg-body);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-item {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.program-item:hover {
    transform: translateY(-12px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.program-item:hover .icon-circle {
    transform: scale(1.2) rotate(10deg);
    background: #fff0f0;
}

.program-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.program-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- LATEST NEWS (BLOGGER FEED) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-yellow);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-title a {
    color: var(--text-main);
    font-size: 1.25rem;
    line-height: 1.4;
}

.news-title a:hover {
    color: var(--primary-red);
}

/* --- FEATURED REPORTS --- */
.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.report-item {
    background: var(--primary-red);
    color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

.report-item:hover {
    background: var(--primary-red-dark);
}

/* --- EXECUTIVE TEAM --- */
#executive-team {
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 5px solid var(--bg-body);
    background-color: #eee;
}

.team-member p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.team-member span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    min-height: 2.7em;
}

.team-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-body);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.team-contact a:hover {
    background: var(--primary-red);
    color: var(--bg-white) !important;
    border-color: var(--primary-red);
}

/* --- FOOTER --- */
#site-footer {
    background-color: var(--text-main);
    color: var(--bg-white);
    padding: 80px 0 0 0;
}

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

#site-footer h3 {
    color: var(--accent-yellow);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

#site-footer p, #site-footer address {
    color: #b0bec5;
    font-style: normal;
    line-height: 1.8;
}

#site-footer a {
    color: var(--bg-white);
    text-decoration: underline;
}

.copyright {
    background-color: #1a252f;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #b0bec5;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    #hero h2 { font-size: 2.5rem; }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #site-header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    #main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .btn-lapor {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    #hero {
        padding: 100px 20px 120px 20px;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .service-grid {
        margin-top: -50px;
    }
}
