/* Profile Page with Sidebar Styles */

.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 0;
}

/* Sidebar Styles */
.profile-sidebar {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-title {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-color);
    background: transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.sidebar-link:hover {
    background: var(--primary-light);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar-link.active {
    background: var(--primary-light);
    border-left-color: var(--primary-color);
    color: var(--primary-dark);
    font-weight: 600;
}

/* Profile Content Area */
.profile-content {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

/* Welcome Section */
.welcome-section {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.profile-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.welcome-header h1 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

.intro-text {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1rem;
}

/* Quick Info Grid */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(67, 160, 71, 0.2);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.info-content h3 {
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.info-value {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .profile-container {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        top: auto;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-link {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 150px;
    }

    .welcome-header {
        flex-direction: column;
        text-align: center;
    }

    .welcome-header h1 {
        font-size: 1.5rem;
    }

    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .profile-content {
        padding: 1.5rem;
    }

    .sidebar-nav {
        flex-direction: column;
    }

    .sidebar-link {
        flex: 1 1 100%;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .welcome-header h1 {
        font-size: 1.3rem;
    }

    .profile-logo {
        width: 60px;
        height: 60px;
    }
}

/* Content Pages Styles */
.content-section {
    animation: fadeIn 0.6s ease-in;
}

.content-section h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.content-section h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Visi Misi Tujuan Specific Styles */
.section-divider {
    border: none;
    border-top: 2px solid var(--primary-color);
    margin: 2.5rem 0;
    opacity: 0.3;
}

.section-title {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Visi Box */
.visi-section {
    margin-bottom: 2rem;
}

.visi-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8f0 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
}

.visi-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-dark);
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

/* Misi and Tujuan Sections */
.misi-section,
.tujuan-section {
    margin-bottom: 2rem;
}

/* Styled Ordered List */
.styled-list {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.styled-list li {
    counter-increment: item;
    margin-bottom: 1.2rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1rem;
}

.styled-list li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.styled-list li:hover {
    color: var(--primary-dark);
}

.styled-list li:hover::before {
    background: var(--primary-dark);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Timeline Styles for History Page */
.timeline-container {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-in;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(67, 160, 71, 0.3);
    z-index: 2;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 8px 20px rgba(67, 160, 71, 0.2);
    transform: translateX(5px);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-title {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.timeline-text {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

.doc-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.doc-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.doc-link i {
    font-size: 1rem;
}

/* History Summary Box */
.history-summary {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8f0 100%);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.history-summary h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.history-summary h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.summary-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-item {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.2);
}

.summary-item.highlight {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.summary-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.summary-item.highlight strong {
    color: var(--white);
}

.summary-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
}

.summary-item.highlight span {
    color: var(--white);
}

.summary-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
    }

    .timeline-icon i {
        font-size: 1.2rem;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .summary-timeline {
        flex-direction: column;
    }

    .summary-arrow {
        transform: rotate(90deg);
    }
}

/* Data Card Styles */
.data-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.data-card:hover {
    box-shadow: 0 8px 20px rgba(67, 160, 71, 0.15);
    transform: translateY(-2px);
}

.data-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-card-header i {
    font-size: 1.5rem;
}

.data-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.data-card-body {
    padding: 1.5rem;
}

.data-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.data-value {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.badge-akreditasi {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.map-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-link i {
    font-size: 1.1rem;
}

/* Responsive Data Cards */
@media screen and (max-width: 768px) {
    .data-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .data-label {
        font-weight: 700;
    }

    .data-card-header {
        padding: 1rem;
    }

    .data-card-header h3 {
        font-size: 1.1rem;
    }

    .data-card-body {
        padding: 1rem;
    }
}

/* Data Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--primary-light);
}

/* Organizational Chart */
.org-chart {
    margin: 2rem 0;
    text-align: center;
}

.org-chart img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Map Container */
.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Struktur Organisasi Styles */
.struktur-info-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8f0 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-box i {
    font-size: 1.5rem;
    color: var(--white);
}

.info-text-box p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-color);
}

.struktur-container {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-light);
}

.struktur-controls {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}

.btn-control {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-control:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(67, 160, 71, 0.3);
}

.btn-control i {
    font-size: 1rem;
}

.btn-download {
    background: #2E7D32;
}

.btn-download:hover {
    background: #1B5E20;
}

.struktur-image-wrapper {
    overflow: auto;
    max-height: 800px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.struktur-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.struktur-image:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.struktur-note {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.struktur-note h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.struktur-note h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.struktur-note ul {
    margin: 0;
    padding-left: 1.5rem;
}

.struktur-note li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Responsive Struktur */
@media screen and (max-width: 768px) {
    .struktur-info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-icon-box {
        margin: 0 auto;
    }

    .struktur-controls {
        flex-direction: column;
    }

    .btn-control {
        width: 100%;
        justify-content: center;
    }

    .struktur-image-wrapper {
        max-height: 500px;
    }
}

/* Link Penting Page Styles */
.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.link-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(67, 160, 71, 0.2);
    border-color: var(--primary-color);
}

.link-card.featured {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
}

.link-card.featured::before {
    transform: scaleX(1);
    height: 5px;
}

.link-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.link-icon i {
    font-size: 2rem;
    color: var(--white);
}

.link-content {
    flex: 1;
}

.link-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.link-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.link-url {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.link-url i {
    color: var(--primary-color);
}

.link-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(67, 160, 71, 0.3);
}

.link-button:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
}

.link-button i {
    transition: transform 0.3s ease;
}

.link-button:hover i {
    transform: translateX(5px);
}

/* Placeholder Card */
.link-card-placeholder {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 3rem 2rem;
    border: 2px dashed #d0d0d0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    min-height: 300px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon i {
    font-size: 2.5rem;
    color: #999;
}

.placeholder-text {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8f0 100%);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.info-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--white);
}

.info-text h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.info-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Links */
@media screen and (max-width: 768px) {
    .links-container {
        grid-template-columns: 1fr;
    }

    .link-card {
        padding: 1.5rem;
    }

    .link-icon {
        width: 60px;
        height: 60px;
    }

    .link-icon i {
        font-size: 1.5rem;
    }

    .link-title {
        font-size: 1.3rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-icon-wrapper {
        margin: 0 auto;
    }
}

/* GTK (Guru dan Tenaga Kependidikan) Page Styles */
.gtk-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tab-button {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.5rem;
    background: var(--bg-color);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-button:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(67, 160, 71, 0.3);
}

.tab-button i {
    font-size: 1.1rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

.section-title {
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* GTK Grid Layout */
.gtk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gtk-grid.kepala-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width: 400px;
    margin: 0 auto;
}

/* GTK Card */
.gtk-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gtk-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(67, 160, 71, 0.2);
    border-color: var(--primary-color);
}

.gtk-card.featured {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
}

/* GTK Photo */
.gtk-photo {
    width: 120px;
    height: 160px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--primary-light);
}

.gtk-card.featured .gtk-photo {
    width: 150px;
    height: 200px;
    border-color: var(--primary-color);
}

.gtk-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* GTK Info */
.gtk-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gtk-info h3 {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.gtk-card.featured .gtk-info h3 {
    font-size: 1.3rem;
}

.gtk-position {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    padding: 0.5rem 0.8rem;
    background: var(--primary-light);
    border-radius: 20px;
    display: inline-block;
}

.gtk-card.featured .gtk-position {
    font-size: 1rem;
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive GTK */
@media screen and (max-width: 768px) {
    .gtk-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        min-width: auto;
    }

    .gtk-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

    .gtk-grid.kepala-grid {
        grid-template-columns: 1fr;
    }

    .gtk-card {
        padding: 1rem;
    }

    .gtk-photo {
        width: 100px;
        height: 133px;
    }

    .gtk-card.featured .gtk-photo {
        width: 120px;
        height: 160px;
    }

    .gtk-info h3 {
        font-size: 0.9rem;
    }

    .gtk-card.featured .gtk-info h3 {
        font-size: 1.1rem;
    }

    .gtk-position {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Siswa Page Styles */
.siswa-info-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8f0 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(67, 160, 71, 0.2);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
}

/* Data Siswa Container */
.siswa-data-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-light);
}

.data-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.data-header h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.data-header h2 i {
    color: var(--primary-color);
}

.data-header p {
    color: var(--text-color);
    margin: 0;
    font-size: 1rem;
}

/* Spreadsheet Wrapper */
.spreadsheet-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
    margin-bottom: 1.5rem;
}

.google-sheets-embed {
    width: 100%;
    min-height: 500px;
    height: 600px;
    border: none;
    display: block;
}

/* Data Note */
.data-note {
    background: var(--primary-light);
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 4px solid var(--primary-color);
}

.data-note i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.data-note p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive Siswa */
@media screen and (max-width: 768px) {
    .siswa-info-box {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .siswa-data-container {
        padding: 1.5rem;
    }

    .data-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .google-sheets-embed {
        min-height: 400px;
        height: 500px;
    }

    .data-note {
        flex-direction: column;
        text-align: center;
    }
}

/* Ekstrakurikuler List Styles (Siswa Page) */
.ekskul-list-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-light);
}

.ekskul-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.ekskul-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ekskul-item:hover {
    background: var(--white);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Corrected from 0.8 to 0.08 */
    border-color: var(--primary-light);
}

.ekskul-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ekskul-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--white);
}

/* Icon Colors */
.p-blue {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.p-brown {
    background: linear-gradient(135deg, #795548, #5D4037);
}

.p-green {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.p-red {
    background: linear-gradient(135deg, #F44336, #D32F2F);
}

.p-orange {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.p-purple {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.ekskul-content h4 {
    margin: 0 0 0.3rem 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

.ekskul-content p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .ekskul-list {
        grid-template-columns: 1fr;
    }

    .ekskul-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .ekskul-icon-wrapper {
        margin-bottom: 0.5rem;
    }

    .ekskul-item:hover {
        transform: translateY(-5px);
    }
}