/* Reset dan Global Styles */
:root {
    --primary-color: #0A2647; /* Biru Tua - Kepercayaan, Kedalaman */
    --secondary-color: #144272; /* Biru Sedang */
    --accent-color: #205295; /* Biru Lebih Muda */
    --highlight-color: #2C74B3; /* Aksen Cerah - Inovasi */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --bg-color: #FFFFFF;
    --light-gray-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --font-primary: 'Roboto', sans-serif; /* Contoh, bisa ganti dengan font lain seperti Lato, Open Sans */
    --font-secondary: 'Merriweather', serif; /* Untuk teks yang lebih panjang atau aksen */
}

/* Impor Font (Contoh: Roboto dan Merriweather dari Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Merriweather:wght@400;700&display=swap');

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary); /* Atau var(--font-primary) dengan weight tebal */
    color: var(--primary-color);
    margin-bottom: 0.8em;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1em;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.section-padding-bg {
    padding: 60px 0;
    background-color: var(--light-gray-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--highlight-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #555;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 10px;
}

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

.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(--light-text-color);
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo img {
    height: 50px; /* Sesuaikan */
}
.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--highlight-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--highlight-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 5px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 20px;
    display: block;
    font-size: 0.95rem;
}
.dropdown-content a::after { /* Reset underline effect for dropdown items if not desired */
    display: none;
}

.dropdown-content a:hover {
    background-color: var(--light-gray-bg);
    color: var(--highlight-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}


/* Hero Section */
#hero {
    background: linear-gradient(rgba(10, 38, 71, 0.8), rgba(10, 38, 71, 0.7)), url('images/hero_background.jpg') no-repeat center center/cover;
    color: var(--light-text-color);
    padding: 120px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-text-color);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.hero-content .btn-primary {
    font-size: 1.1rem;
    padding: 15px 35px;
}
.hero-content .btn-secondary {
    color: var(--light-text-color);
    border-color: var(--light-text-color);
    font-size: 1.1rem;
    padding: 15px 35px;
}
.hero-content .btn-secondary:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}


/* About Snippet */
#about-snippet .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
#about-snippet .about-image {
    flex: 1 1 400px; /* Grow, shrink, basis */
    max-width: 450px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}
#about-snippet .about-content div {
    flex: 1 1 500px;
}

/* Research Focus Section */
.research-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
    width: 60px; /* atau height */
    height: 60px;
    margin-bottom: 20px;
    /* Jika menggunakan Font Awesome:
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 20px; */
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.card-link {
    font-weight: 500;
    color: var(--highlight-color);
}
.card-link:hover {
    text-decoration: underline;
}

/* Latest Analysis Section */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.analysis-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden; /* Untuk gambar */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.analysis-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.analysis-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.analysis-item h4 {
    font-size: 1.3rem;
    margin: 20px 20px 10px 20px;
    color: var(--primary-color);
}

.analysis-item .meta-info {
    font-size: 0.85rem;
    color: #777;
    margin: 0 20px 10px 20px;
}

.analysis-item p {
    font-size: 0.95rem;
    margin: 0 20px 20px 20px;
    color: #555;
}

.analysis-item .read-more {
    display: inline-block;
    margin: 0 20px 20px 20px;
    font-weight: 500;
    color: var(--highlight-color);
}
.analysis-item .read-more:hover {
    text-decoration: underline;
}

/* Experts Snippet */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.expert-profile {
    text-align: center;
}

.expert-profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 4px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.expert-profile h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.expert-profile p {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 50px 0 20px 0;
}

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

.footer-section h4 {
    color: var(--light-text-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p, .footer-section li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #ccc; /* Slightly dimmer than pure white for readability */
}

.footer-section a {
    color: #ccc;
}
.footer-section a:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

.footer-section.about .logo img {
    margin-bottom: 15px;
}

.socials a {
    margin-right: 15px;
    display: inline-block;
}
.socials img {
    width: 24px;
    height: 24px;
    filter: invert(90%) sepia(15%) saturate(100%) hue-rotate(180deg) brightness(100%) contrast(90%); /* To make SVGs white-ish */
}
.socials img:hover {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Brighter white on hover */
}


.contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    filter: invert(90%) sepia(15%) saturate(100%) hue-rotate(180deg) brightness(100%) contrast(90%);
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
    font-size: 0.9rem;
    color: #bbb;
}
.footer-bottom a {
    color: #bbb;
}
.footer-bottom a:hover {
    color: var(--light-text-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    #about-snippet .about-content {
        flex-direction: column;
        text-align: center;
    }
    #about-snippet .about-image {
        margin-bottom: 20px;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide for mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: var(--bg-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding-bottom: 10px;
    }
    .nav-links.active {
        display: flex; /* Show when toggled */
    }
    .nav-links li {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    .nav-links .dropdown-content {
        position: static; /* Make dropdown behave normally within mobile menu */
        box-shadow: none;
        background-color: var(--light-gray-bg); /* Slight differentiation */
        padding: 10px 0 0 0;
    }
    .nav-links .dropdown-content a {
        padding: 10px 20px;
        text-align: center;
    }

    .menu-toggle {
        display: flex; /* Show hamburger icon */
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content .btn { font-size: 0.9rem; padding: 12px 25px; }
    .hero-content .btn-secondary { margin-left: 0; margin-top: 15px; }

    .research-cards, .analysis-grid, .experts-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section.about .socials {
        justify-content: center;
    }
    .footer-section .contact-info p {
        text-align: center;
    }
     .footer-section .contact-info p img {
        display: none; /* Hide icons on small screens if they mess up alignment */
    }

}