/* ===================== VARIABLES ===================== */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-lighter);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===================== PAGE LAYOUT ===================== */
.visi-misi-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== HERO SECTION ===================== */
.visi-misi-hero {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-school-name {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-decoration {
    display: flex;
    justify-content: center;
}

.decoration-line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ===================== CONTENT SECTION ===================== */
.visi-misi-content {
    padding: 80px 20px;
}

/* ===================== VISION SECTION ===================== */
.vision-section {
    margin-bottom: 100px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-visual {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

.mission-visual {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.visual-icon {
    font-size: 80px;
    color: var(--secondary-color);
    z-index: 2;
    position: relative;
}

.mission-visual .visual-icon {
    color: var(--accent-color);
}

.visual-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 20px;
    right: 20px;
    border-color: var(--secondary-color);
    opacity: 0.3;
}

.mission-visual .circle-1 {
    border-color: var(--accent-color);
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 10px;
    left: 10px;
    border-color: var(--secondary-color);
    opacity: 0.2;
}

.mission-visual .circle-2 {
    border-color: var(--accent-color);
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--secondary-color);
    opacity: 0.15;
}

.mission-visual .circle-3 {
    border-color: var(--accent-color);
}

/* ===================== SECTION TEXT ===================== */
.section-text {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-header {
    margin-bottom: 28px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.vision-section .section-label {
    color: var(--secondary-color);
}

.mission-section .section-label {
    color: var(--accent-color);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vision-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.vision-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.highlight-icon {
    color: var(--success-color);
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-item span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* ===================== MISSION SECTION ===================== */
.mission-section {
    margin-bottom: 100px;
}

.mission-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.mission-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.mission-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================== VALUES SECTION ===================== */
.values-section {
    background: var(--bg-white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.8s ease-out;
}

.values-header {
    text-align: center;
    margin-bottom: 48px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.value-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.value-card:nth-child(2) {
    border-top-color: var(--accent-color);
}

.value-card:nth-child(3) {
    border-top-color: var(--success-color);
}

.value-card:nth-child(4) {
    border-top-color: #8b5cf6;
}

.value-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.value-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: block;
}

.value-card:nth-child(2) .value-icon {
    color: var(--accent-color);
}

.value-card:nth-child(3) .value-icon {
    color: var(--success-color);
}

.value-card:nth-child(4) .value-icon {
    color: #8b5cf6;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================== EMPTY STATE ===================== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-light);
}

.empty-icon {
    font-size: 100px;
    color: var(--border-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.empty-state p {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ===================== CTA SECTION ===================== */
.visi-misi-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.visi-misi-cta h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.visi-misi-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .visi-misi-hero {
        padding: 60px 20px;
    }

    .section-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .visi-misi-content {
        padding: 60px 20px;
    }

    .vision-section,
    .mission-section {
        margin-bottom: 60px;
    }

    .visual-box {
        width: 250px;
        height: 250px;
    }

    .visual-icon {
        font-size: 60px;
    }

    .values-section {
        padding: 40px;
    }

    .values-grid {
        gap: 20px;
    }

    .visi-misi-cta h2 {
        font-size: 28px;
    }

    .visi-misi-cta p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .visi-misi-hero {
        padding: 40px 15px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 12px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-label {
        font-size: 12px;
    }

    .visi-misi-content {
        padding: 40px 15px;
    }

    .vision-section,
    .mission-section {
        margin-bottom: 40px;
    }

    .section-wrapper {
        gap: 24px;
    }

    .visual-box {
        width: 200px;
        height: 200px;
    }

    .visual-icon {
        font-size: 48px;
    }

    .mission-item {
        padding: 16px;
        gap: 12px;
    }

    .mission-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .mission-content p {
        font-size: 14px;
    }

    .values-section {
        padding: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 24px;
    }

    .value-icon {
        font-size: 36px;
    }

    .value-card h3 {
        font-size: 16px;
    }

    .value-card p {
        font-size: 13px;
    }

    .empty-state {
        padding: 60px 20px;
    }

    .empty-icon {
        font-size: 80px;
    }

    .empty-state h3 {
        font-size: 20px;
    }

    .empty-state p {
        font-size: 14px;
    }

    .visi-misi-cta {
        padding: 40px 15px;
    }

    .visi-misi-cta h2 {
        font-size: 22px;
    }

    .visi-misi-cta p {
        font-size: 13px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}