@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
    --sit-blue: #002C5F;
    --sit-dark: #001A3D;
    --sit-gold: #C5A059;
    --sit-gold-light: #D4B67B;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-gray: #555555;
    --border: #E5E5E5;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

li {
    list-style: none;
}

/* 1. Dual Top Bar */
.top-bar {
    background: #f1f3f5;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
}

.top-nav-left,
.top-nav-right {
    display: flex;
    gap: 20px;
}

.top-nav-right a i {
    color: var(--sit-blue);
    margin-right: 5px;
}

.top-bar a:hover {
    color: var(--sit-blue);
}

/* Main Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 80px;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

header.scrolled .header-inner {
    height: 80px;
}

.logo h1 {
    font-size: 26px;
    font-weight: 900;
    color: var(--sit-blue);
    letter-spacing: -1.5px;
}

.logo p {
    font-size: 10px;
    color: var(--sit-gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: -5px;
}

.gnb {
    display: flex;
    gap: 50px;
}

.gnb>li>a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    height: 100px;
    line-height: 100px;
    position: relative;
}

header.scrolled .gnb>li>a {
    height: 80px;
    line-height: 80px;
}

.gnb>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--sit-blue);
    transition: var(--transition);
}

.gnb>li:hover>a {
    color: var(--sit-blue);
}

.gnb>li:hover>a::after {
    width: 100%;
}

.header-utils {
    display: flex;
    gap: 15px;
}

.header-utils button {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--sit-blue);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.header-utils button:hover {
    transform: scale(1.1);
}

/* 4. Premium Hero Section */
.hero-premium {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: var(--white);
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    animation: slowPan 20s infinite alternate;
}

.overlay-grad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 44, 95, 0.9) 0%, rgba(0, 44, 95, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

@keyframes slowPan {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--sit-gold);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.hero-content h2 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h2 span {
    color: var(--sit-gold);
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 45px;
    word-break: keep-all;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--sit-gold);
    color: var(--white);
    padding: 18px 40px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
}

.btn-primary:hover {
    background: var(--sit-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 16px 40px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* 2. Quick Service Icons */
.quick-services {
    background: var(--bg-light);
    padding: 0 10% 80px;
}

.service-grid {
    display: flex;
    justify-content: center;
    background: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
}

.service-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 30px;
    border-right: 1px solid #f0f0f0;
}

.service-item:last-child {
    border-right: none;
}

.icon-box {
    font-size: 32px;
    color: var(--sit-blue);
    margin-right: 20px;
    transition: var(--transition);
}

.service-text strong {
    display: block;
    font-size: 18px;
    color: var(--sit-blue);
    margin-bottom: 5px;
}

.service-text span {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
}

.service-item:hover {
    background: var(--sit-blue);
}

.service-item:hover .icon-box,
.service-item:hover .service-text strong {
    color: var(--white);
}

.service-item:hover .service-text span {
    color: rgba(255, 255, 255, 0.7);
}

/* Heritage Section */
.heritage-section {
    padding: 120px 10%;
    background: var(--white);
}

.heritage-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.portrait-frame {
    position: relative;
    padding: 20px;
    border: 1px solid var(--border);
}

.portrait-frame img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    display: block;
    background: #fdfaf3;
}

.portrait-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--sit-gold);
    border-left: 5px solid var(--sit-gold);
}

.portrait-caption {
    background: var(--sit-blue);
    color: var(--white);
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.heritage-content h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--sit-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.heritage-content h2 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 40px;
}

.h-line {
    width: 60px;
    height: 4px;
    background: var(--sit-gold);
    margin-bottom: 40px;
}

.heritage-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    word-break: keep-all;
}

.link-more {
    font-weight: 700;
    color: var(--sit-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-more i {
    transition: var(--transition);
}

.link-more:hover i {
    transform: translateX(5px);
}

/* 5. Prestige Footer */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 100px 10% 50px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top-links {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-top-links a {
    font-size: 14px;
}

.footer-top-links a:hover {
    color: var(--white);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.f-logo-text h3 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.f-logo-text p {
    color: var(--sit-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.f-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-buttons {
    display: flex;
    gap: 15px;
}

.f-btn {
    border: 1px solid #444;
    padding: 15px 25px;
    color: var(--white);
    font-size: 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-btn:hover {
    background: #333;
    border-color: #666;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 40px;
    font-size: 13px;
}

.f-social {
    display: flex;
    gap: 20px;
}

.f-social a {
    font-size: 20px;
    color: #666;
    transition: var(--transition);
}

.f-social a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {
    .gnb {
        display: none;
    }

    .heritage-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* --- Advanced Founder/History Page Styles --- */

/* Page Header & Breadcrumbs */
.page-header {
    background: #fdfdfd;
    padding: 30px 10%;
    border-bottom: 1px solid var(--border);
    margin-top: 0;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.breadcrumbs span {
    margin: 0 8px;
    opacity: 0.5;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--sit-blue);
}

/* Local Navigation Bar (LNB) */
.lnb-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 900;
}

header.scrolled+.page-header+.lnb-wrap {
    top: 80px;
}

.lnb {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.lnb li a {
    display: block;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-gray);
    position: relative;
    border-bottom: 3px solid transparent;
}

.lnb li a.active,
.lnb li a:hover {
    color: var(--sit-blue);
    border-bottom-color: var(--sit-blue);
}

/* Spirit Card (Founding Philosophy) */
.spirit-section {
    padding: 80px 10%;
    background: #fdfaf3;
    text-align: center;
}

.spirit-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    box-shadow: var(--shadow);
    border: 1px solid var(--sit-gold);
    position: relative;
}

.spirit-card h3 {
    color: var(--sit-gold);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.spirit-card h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--sit-dark);
    line-height: 1.4;
}

.spirit-card p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    word-break: keep-all;
}

/* Refined Historical Timeline */
.refined-timeline-section {
    padding: 100px 10%;
    background: var(--white);
}

.refined-timeline {
    max-width: 1100px;
    margin: 0 auto;
}

.t-row {
    display: flex;
    margin-bottom: 100px;
    position: relative;
}

.t-row:last-child {
    margin-bottom: 0;
}

.t-year {
    flex: 0 0 150px;
    font-size: 42px;
    font-weight: 900;
    color: var(--sit-gold);
    text-align: right;
    padding-right: 50px;
    position: relative;
}

.t-year::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 22px;
    width: 12px;
    height: 12px;
    background: var(--sit-gold);
    border-radius: 50%;
    z-index: 2;
}

.t-content {
    flex: 1;
    padding-left: 50px;
    border-left: 1px solid var(--border);
    position: relative;
}

.t-content h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--sit-blue);
}

.t-content p {
    color: var(--text-gray);
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.7;
    word-break: keep-all;
}

.t-img-box {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.t-img-box img {
    width: 100%;
    transition: transform 0.5s;
}

.t-img-box:hover img {
    transform: scale(1.05);
}

/* --- Colleges Section --- */
.colleges-section {
    padding: 120px 10%;
    background: var(--bg-light);
}

.colleges-section h2.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--sit-blue);
    margin-bottom: 60px;
    text-align: center;
}

.college-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.college-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 320px;
}

.college-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.college-img {
    flex: 1;
    background: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.college-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}


.college-card:hover .college-img img {
    transform: scale(1.1);
}

.college-info {
    flex: 1.3;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.college-info .tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--sit-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.college-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--sit-blue);
    margin-bottom: 15px;
}

.college-info p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    word-break: keep-all;
}

@media (max-width: 1200px) {
    .college-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .college-card {
        flex-direction: column;
        height: auto;
    }

    .college-img {
        height: 200px;
    }
}