/* ================= ROOT ================= */
:root {
    --primary-purple: #7E3885;
    --primary-light: #7E3885;

    --dark-text: #1a1a1a;
    --light-text: #666;

    --bg-color: #ffffff;
    --card-bg: #fdfdfd;

    --shadow-purple: rgba(126, 56, 133, 0.15);
}

html {
    scroll-behavior: smooth;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* ================= BODY ================= */
body {
    background: linear-gradient(180deg, #f7f4ff, #ffffff);
    color: var(--dark-text);
    line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */
.main-header {
    padding: 10px 30px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ================= LOGOS ================= */
.side-logo:first-child {
    height: 110px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    transform: scale(1.9);
}

.side-logo:first-child:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 10px rgba(126, 56, 133, 0.25));
}

.yu-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* ================= VERTICAL LINE ================= */
.v-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #ccc, var(--primary-purple), #ccc);
    border-radius: 1px;
}

/* ================= HEADER TEXT ================= */
.header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    transition: transform 0.3s, text-shadow 0.3s;
}

.header-text h2:hover {
    transform: translateY(-2px);
    text-shadow: 0 3px 8px rgba(126, 56, 133, 0.4);
}

.header-text span {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 3px;
}

.title-line {
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-light));
    margin-top: 5px;
    border-radius: 2px;
}

/* ================= INTRO ================= */
.intro-section {
    padding: 120px 0 60px;
}

.intro-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-subtext {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 15px;
    max-width: 500px;
}

.intro-text {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 20px;
    max-width: 700px;
}

.main-btn {
    padding: 14px 28px;
    background: var(--primary-purple);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-purple);
}

/* ================= CARDS ================= */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 100px;
}

.section-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-purple);
    border-color: var(--primary-purple);
}

.section-card p {
    color: var(--light-text);
}

/* ================= LINKS ================= */
.card-link {
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    margin-top: auto;
    align-self: flex-start;
}

.card-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -3px;
    background: var(--primary-purple);
    transition: 0.3s;
}

.card-link:hover::after {
    width: 100%;
}

/* ================= FOOTER ================= */
footer {
    padding: 50px 0;
    background: #fcfcfc;
    text-align: center;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #f3f3f3;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s;
}

.social-media a:hover {
    background: var(--primary-purple);
    color: #fff;
    transform: translateY(-5px);
}

/* ================= FOOTER MAIN ================= */
.main-footer {
    background: #fcfcfc;
    padding: 30px 0;
    margin-top: 80px;
    border-top: 1px solid #eee;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.footer-logo {
    width: 70px;
    transition: 0.3s;
}

.footer-logo:hover {
    transform: scale(1.1);
}

.footer-container p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .side-logo:first-child { transform: scale(1.1); }
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .side-logo:first-child {
        transform: scale(1.3);
    }

    .yu-logo {
        height: 60px;
    }

    .v-line {
        display: none;
    }

    .header-text h2 {
        font-size: 1.4rem;
    }

    .welcome-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .side-logo:first-child {
        transform: scale(1.3);
    }

    .header-text h2 {
        font-size: 1.2rem;
    }

    .section-card {
        padding: 20px;
    }
}

.social-media a .fa-youtube {
    color: #FF0000;
}