:root {
    --primary-color: #0D4D8C;
    --primary-light: #1A6BB3;
    --secondary-color: #0A3A6B;
    --accent-color: #FF6B00;
    --accent-light: #FF8B3D;
    --light-color: #f8f9fa;
    --gray-light: #e9ecef;
    --gray-color: #6c757d;
    --dark-color: #343a40;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary),
        linear-gradient(rgba(13, 77, 140, 0.9), rgba(13, 77, 140, 0.8)),
        url('https://images.unsplash.com/photo-1550684376-efcbd6e3f031?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}


/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.top-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info span {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.main-header {
    padding: 12px 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: 52px;
    margin-right: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray-color);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin-bottom: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 15px 20px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(13, 77, 140, 0.05);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown modern */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 12px 0;
    border: 1px solid var(--gray-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
}

.dropdown-item:hover {
    background-color: rgba(13, 77, 140, 0.05);
    color: var(--primary-color);
    padding-left: 28px;
}

.dropdown-item:hover::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--gray-light);
    margin: 8px 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 5px;
    z-index: 999;
}

/* Responsive navigation */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding: 80px 20px 30px;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li a {
        padding: 12px 15px;
        border-bottom: 1px solid var(--gray-light);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    /* Dropdown mobile styles */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        margin-top: 0;
        margin-left: 15px;
        border-left: 2px solid var(--primary-color);
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.7;
}

.btn-login {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(13, 77, 140, 0.8);
    /* biru */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #0056b3;
    /* biru lebih gelap */
    color: #fff;
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, #0d3c7c 0%, #1a365d 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #26a269;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links i {
    width: 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* Kontak Info Footer */
.contact-info-footer .contact-item {
    display: flex;
    align-items: flex-start, center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-footer i {
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-footer .text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: white;

}

.contact-info-footer .text p {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #d1d5db;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.footer-social a:hover {
    background: #1a5fb4;
    transform: translateY(-3px);
}

/* Quick Links Section */
.quick-links-section .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

/* About Section */
.about-section p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Logo Footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: 45px;
    object-fit: contain;
}

.footer-logo-text h4 {
    font-size: 1.2rem;
    margin: 0;
    color: white;
}

.footer-logo-text p {
    font-size: 0.85rem;
    color: #d1d5db;
    margin: 0;
}

/* Badge Partner */
.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .newsletter-input input,
    .newsletter-input button {
        width: 100%;
    }

    .newsletter-input button {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1.2rem;
    }

    .contact-info-footer .contact-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info-footer i {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }
}


/* dropdown menu mobile */
.user-menu .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 6px;
    object-fit: cover;
}

.user-menu>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    background: #fff;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    color: #333;
}

.dropdown-item:hover {
    background: #f0f0f0;
}

button.dropdown-item {
    cursor: pointer;
}