:root {
    --bg-gradient: linear-gradient(135deg,rgb(255, 254, 254) 0%,rgb(255, 255, 255) 100%);
    --accent-gradient: linear-gradient(135deg,rgb(229, 70, 70) 0%,rgb(163, 48, 48) 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary:rgb(14, 14, 14);
    --text-secondary:rgb(143, 150, 159);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/*body {
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.7;
    padding: 2rem;
} */

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/*.container {
    width: 100%;
    margin: 0 auto;
    background: var(--bg-gradient);
}*/

.title-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
}

.title-section h1 {
    font-size: 2rem;
    font-family: arial;
    font-weight: 800;
    color: black;
    display: inline-block;
    position: relative;
}

.title-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: black;
    border-radius: 2px;
}

.content-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
}

.profile-card {
    height: fit-content;
    position: sticky;
    top: 2rem;
    background-color: rgba(156, 156, 156, 0.57);
    border: 1px solid rgba(89, 89, 91, 0.09);
}

.profile-header {
    background: var(--accent-gradient);
    padding: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 24px 24px 0 0;
}

.profile-content {
    padding: 2rem;
   
}

.profile-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 4px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.profile-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(173, 27, 19);
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    /* background: black; */
    /* -webkit-background-clip: text; */
    /* color: transparent; */
}

.profile-date {
    color: var(--text-secondary);
}

.details-grid {
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(65, 63, 63, 0.16);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.detail-label {
    color:rgb(0, 0, 0);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.main-content {
    padding: 2.5rem;
    border: 1px solid rgba(89, 89, 91, 0.09);
}

.content-section {
    margin-bottom: 3rem;
    text-align: justify;
}

.content-section p{
    font-size: 1.1rem;
}

.content-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.mandate-highlight {
    background: var(--accent-gradient);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    font-weight: 500;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
}

.functions-list li {
padding: 0.8rem 1.5rem 0.8rem 3rem;
/* margin-bottom: 1rem; */
position: relative;
font-size: 1.1rem;
text-transform: lowercase;
}

.functions-list li::before {
content: "•";
position: absolute;
left: 1.5rem;
color: black;
font-size: 1.5rem;
line-height: 1;
}

.functions-list li:hover {
transform: translateX(10px);
transition: transform 0.3s ease;
}

.history-section {
    margin-top: 3rem;
}
.content-section h2{
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.history-grid {
    display: grid;
    gap: 1rem;
}

.history-item {
    display: grid;
    grid-template-columns: 300px 1fr  ;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(188, 185, 185, 0.3);
    border: 1px solid rgba(107, 105, 105, 0.82);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.history-year {
    font-weight: 700;
    color:rgb(20, 20, 20);
    font-size: 1.1rem;
}

.history-content {
    line-height: 1.6;
}

.history-name {
    color: #06b6d4;
    font-weight: 600;
}

.history-title {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .title-section h1 {
        font-size: 2rem;
    }
}