/* --- Imports & Base --- */
@import url('https://bit.ly/3CZa0Sz');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'line_seed_sans_th', 'Inter', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: white;
    background-color: black;
    /* Space for fixed navbar */
    padding-top: 90px;
}

/* --- Navbar Core --- */
.navbar {
    padding: 25px 0;
    /* Initial large padding */
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    /* Modern frosted glass effect */
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navbar Shrink State (Triggered by JS) */
.navbar.shrink {
    padding: 10px 0;
    background: #000000;
    box-shadow: 0 5px 20px rgba(196, 22, 22, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.logo span {
    color: #C41616;
}

/* --- Navigation Links --- */
.nav-link {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 20px !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #C41616 !important;
}
.lang-btn {
    background-color: #C41616; /* Your requested brand red */
    color: white;
    border: none;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.lang-btn:hover {
    background-color: #a01212; /* Slightly darker on hover */
    transform: translateY(-1px);
}

/* Fix for Mobile Sidebar */
@media (max-width: 991.98px) {
    .nav-item.ms-lg-3 {
        margin-left: 0 !important; /* Reset horizontal margin on mobile */
        padding-top: 10px;        /* Add space from the last link */
        border-top: 1px solid rgba(255,255,255,0.1); /* Optional separator */
        width: 50%%;
    }
    
    .lang-btn {
        width: 100%; /* Makes button full width in the mobile menu for easier tapping */
        padding: 10px;
    }
}
/* --- CTA Button --- */
.cta-btn,
.btn {
    padding: 10px 25px;
    background: #C41616;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-btn:hover,
.btn:hover {
    background: #a01212;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 22, 22, 0.4);
}

/* Custom Stats Styling */
.progress-bar-custom {
    background-color: #a01212 !important;
}

.border-custom {
    border-color: #a01212 !important;
}

.text-custom {
    color: #a01212 !important;
}

.criteria-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.criteria-wrapper:hover {
    border-color: #a01212;
}

#stats .progress {
    border-radius: 20px;
}

#stats .progress-bar {
    background: linear-gradient(90deg, #C41616, #C41616) !important;
}

#stats .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02);
}

/* --- Hero Section --- */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("pic/bg4.jpg");
    /* Simplified path */
    background-size: cover;
    background-position: 20% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    /* Responsive font sizing */
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* --- Hero2 Section --- */

.hero2 {

    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("pic/96770.jpg"); */
    background-color: #0c1526;
    /* Simplified path */
    background-size: cover;
    background-position: center;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding-top: 150px;
    text-align: center;
}

.hero2 h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    /* Responsive font sizing */
    margin-bottom: 0px;
    font-weight: 700;
}

.hero2 p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* Alumni Section Styles */
.alumni-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alumni-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: #dc3545;
    /* Matches your danger/red theme */
}

.alumni-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #dc3545;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.alumni-card h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
}

.uni-name {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.major-name {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.highlight-alumni {
    border: 1px solid rgba(220, 53, 69, 0.3);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.1);
}

/* Match the features-title from your base code */
.features-title {
    text-align: center;
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Base style for all section headings */
.section-title,
.features-title {
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 60px;
    position: relative;
    display: block;
    width: 100%;
}

/* Red accent bar above titles */
.section-title::before,
.features-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #C41616;
    border-radius: 2px;
}

/* Decorative background text or subtle underline */
.section-title::after {
    /* You can change this text */
    position: absolute;
    font-size: 3rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: -1;
    white-space: nowrap;
    color: #ffff;
}

/* Dark mode version for the Academics (Features) section */
.features-title {
    color: white;
    margin-top: 40px;
}

.features-title::after {
    color: white;
    opacity: 0.1;
}

/* Card Titles Decoration */
.card h3 {
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(196, 22, 22, 0.3);
    display: inline-block;
}

/* --- Features Section --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 10%;
    align-items: center;
    justify-content: center;

}

.card {
    background: #1a1a1a;
    border: none;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: justify;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-20px);
    border-color: #C41616;
    background: #252525;
}

.card h3 {
    font-weight: bold;
    color: #C41616;
    margin-bottom: 15px;
}

.card p {

    color: #ccc;
}



/* --- Footer --- */

/* --- Professional Footer Styles --- */
.main-footer {
    background-color: #0a0a0a;
    padding: 80px 0 30px;
    /* border-top: 2px solid #C41616; */
    color: #ffffff;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.footer-logo span {
    color: #C41616;
}

.footer-text {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #C41616;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #C41616;
    padding-left: 5px;
}

.footer-contact li {
    color: #999;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: #C41616;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #C41616;
    transform: translateY(-3px);
}

.footer-divider {
    margin: 50px 0 30px;
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
}

.footer-legal a:hover {
    color: white;
}



/* --- Mobile Responsive (Bootstrap Overrides) --- */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-collapse {
        background: #000;
        margin-top: 15px;
        padding: 20px;
        border-radius: 10px;
        border: 1px solid #333;
    }

    .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid #222;
    }

    .cta-btn {
        width: 100%;
        margin-top: 15px;
    }

    .btn {
        width: 50%;
        margin-top: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal a {
        margin: 0 10px;
    }

}
