:root {
    --profil-primary: #19c37d;
    --profil-primary-light: #30c27c;
    --profil-primary-dark: #0f8ee0;
    --profil-bg: #020b16;
    --profil-card-bg: rgba(0, 0, 0, 0.3);
    --text-dark: #e6f4ff;
    --text-muted: rgba(230, 244, 255, 0.7);
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-card: 0 30px 70px rgba(25, 195, 125, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--profil-bg) !important;
    color: var(--text-dark);
    padding-top: 0;
}

body.has-global-sidebars {
    background: var(--profil-bg) !important;
}

.dp-main {
    background: var(--profil-bg) !important;
}

.dp-body {
    background: var(--profil-bg) !important;
}

.dp-container {
    background: transparent !important;
}

.profil-wrapper {
    background: transparent !important;
}

.profil-content-section {
    background: transparent !important;
}

/* Override any gray backgrounds from other CSS files */
body.has-global-sidebars .dp-container,
body.has-global-sidebars .dp-main,
body.has-global-sidebars .dp-body,
body.has-global-sidebars main,
body.has-global-sidebars .profil-main,
body.has-global-sidebars .profil-wrapper,
body.has-global-sidebars .profil-content-section {
    background: var(--profil-bg) !important;
}

/* Ensure all content blocks are dark */
.content-block,
.visi-misi-card,
.batas-card,
.sidebar-card {
    background: var(--profil-card-bg) !important;
}

/* Hero Section */
.profil-hero {
    background: linear-gradient(135deg, rgba(15, 142, 224, 0.15), rgba(25, 195, 125, 0.15)), #020b16;
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profil-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profil-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(48, 194, 124, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profil-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.profil-hero__icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.profil-hero__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profil-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.profil-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profil-hero p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}

.profil-hero__features {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    font-size: 1.1rem;
}

/* Hero Stats */
.profil-hero__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card--primary .stat-card__icon {
    background: rgba(25, 195, 125, 0.3);
    border: 1px solid rgba(25, 195, 125, 0.4);
}

.stat-card--info .stat-card__icon {
    background: rgba(15, 142, 224, 0.3);
    border: 1px solid rgba(15, 142, 224, 0.4);
}

.stat-card--warning .stat-card__icon {
    background: rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.stat-card--success .stat-card__icon {
    background: rgba(25, 195, 125, 0.3);
    border: 1px solid rgba(25, 195, 125, 0.4);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    word-break: break-word;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Main Content */
.profil-main {
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
}

.profil-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* Content Section */
.profil-content-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-block {
    background: var(--profil-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.section-header__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(25, 195, 125, 0.25), rgba(15, 142, 224, 0.25));
    border: 1px solid rgba(25, 195, 125, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #19c37d;
    box-shadow: 0 8px 24px rgba(25, 195, 125, 0.2);
}

.section-header__text h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-header__text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.html-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.html-content p {
    margin: 0 0 16px;
    color: var(--text-dark);
}

.html-content p:last-child {
    margin-bottom: 0;
}

.html-content strong {
    color: var(--text-dark);
}

.html-content em {
    color: var(--text-muted);
}

/* Visi Misi Grid */
.visi-misi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.visi-misi-card {
    background: var(--profil-card-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.visi-misi-card:hover {
    transform: translateY(-4px);
    border-color: var(--profil-primary);
    box-shadow: 0 8px 24px rgba(25, 195, 125, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.visi-misi-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(25, 195, 125, 0.25), rgba(15, 142, 224, 0.25));
    border: 1px solid rgba(25, 195, 125, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #19c37d;
    margin-bottom: 16px;
}

.visi-misi-card h3 {
    margin: 0 0 16px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Map Container */
.map-container {
    margin-top: 24px;
}

.map-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

#map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: var(--profil-card-bg);
    border-radius: 12px;
    border: 1px dashed var(--border-light);
}

.map-placeholder i {
    font-size: 3rem;
    color: #19c37d;
    margin-bottom: 16px;
    display: block;
}

.map-placeholder p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Batas Grid */
.batas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.batas-card {
    background: var(--profil-card-bg);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.batas-card:hover {
    transform: translateY(-2px);
    border-color: var(--profil-primary);
    box-shadow: 0 4px 12px rgba(25, 195, 125, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.batas-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--profil-primary), var(--profil-primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.batas-card__content {
    flex: 1;
}

.batas-card__content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--profil-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.batas-card__content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Sidebar */
.profil-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--profil-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sidebar-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-card__header i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(25, 195, 125, 0.25), rgba(15, 142, 224, 0.25));
    border: 1px solid rgba(25, 195, 125, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #19c37d;
    font-size: 1.1rem;
}

.sidebar-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid rgba(25, 195, 125, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #19c37d;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item__label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-item__value {
    font-size: 1rem;
    font-weight: 700;
    color: #19c37d;
    text-align: right;
    word-break: break-word;
}

.coordinate-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.coordinate-item:last-child {
    border-bottom: none;
}

.coordinate-item i {
    width: 40px;
    height: 40px;
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid rgba(25, 195, 125, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #19c37d;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.coordinate-item div {
    flex: 1;
}

.coordinate-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coordinate-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Responsive */
@media (max-width: 1200px) {
    .profil-wrapper {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }
    
    .profil-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .profil-hero {
        padding: 40px 0;
    }
    
    .profil-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .profil-hero__icon {
        margin: 0 auto;
    }
    
    .profil-hero__features {
        justify-content: center;
    }
    
    .profil-hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .profil-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-block {
        padding: 32px 24px;
    }
    
    .visi-misi-grid {
        grid-template-columns: 1fr;
    }
    
    .batas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profil-hero {
        padding: 32px 0;
    }
    
    .profil-hero__icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .profil-hero h1 {
        font-size: 1.5rem;
    }
    
    .profil-hero p {
        font-size: 0.9rem;
    }
    
    .profil-hero__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .profil-main {
        padding: 24px 0 40px;
    }
    
    .content-block {
        padding: 24px 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .section-header__icon {
        margin: 0 auto;
    }
    
    .batas-grid {
        grid-template-columns: 1fr;
    }
    
    .map-embed iframe,
    #map {
        height: 300px;
    }
}

