/* refined root color */
:root {
    --scs-title: #5fae9e;
    --scs-main1: #6fffe9;
    --scs-main2: #5bc0be;
    --scs-main3: #3a506b;
    --scs-main4: #1c2541;
    --scs-main5: #0b132b;

    --scs-blue1: #083562;
    --scs-blue2: #0b3c78;
    --scs-blue3: #3a5870;
    --scs-blue4: #004c98;
    --scs-blue5: #015eaa;
    --scs-blue6: #2c8ef8;
    --scs-blue7: #0b84c0;
    --scs-blue8: #b3e2ff;
    --scs-blue9: #eaf4fe;

    --bs-font-sans-serif: 'Noto Sans KR', sans-serif;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Header */
header {
    transition: all 0.3s ease;
    z-index: 1030;
    background: var(--scs-main4);
}

header img {
    width: 150px;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* School Cards */
.school-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
}

.school-card:hover {
    transform: translateY(-10px);
}

.card-img-wrapper img {
    transition: transform 0.6s ease;
}

.school-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 60, 120, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.school-card:hover .card-hover-overlay {
    opacity: 1;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.strong-text {
    color: var(--scs-blue6);
}

/* Admission Buttons */
.btn-admission {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.btn-admission:hover {
    transform: translateY(-5px);
    color: var(--scs-blue5);
}

.btn-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    background: #ccc;
    transition: box-shadow 0.3s ease;
}

.btn-admission:hover .btn-icon {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #2af598 0%, #009efd 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.btn-text {
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(45deg, var(--scs-main5) 0%, var(--scs-main4) 100%);
}

.icon-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover .icon-box {
    background: white;
    color: var(--scs-main4);
    transform: rotateY(180deg);
}

/* YouTube Section */
.youtube-section {
    min-height: 500px;
    background-image: url('https://www.srnschool.org/files/attach/images/8741/583/847/001/ecab76d15866bd2fc356f213e83ff604.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.youtube-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.youtube-section .container {
    z-index: 2;
}

.youtube-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    font-size: 40px;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.youtube-play-btn:hover {
    color: white;
    transform: scale(1.1);
}

.pulse-animation {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Utilities */
.section-title {
    color: var(--scs-main5);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--scs-blue6);
    border-radius: 2px;
}

.bg-dark-blue {
    background-color: var(--scs-main4);
}