/* --- Global Styles --- */
:root {
    --primary-color: #0A192F; /* Dark Navy Blue */
    --secondary-color: #172A45; /* Lighter Blue */
    --accent-color: #64FFDA; /* Tech Cyan */
    --text-color-light: #CCD6F6; /* Light Text */
    --text-color-dark: #8892B0; /* Gray Text */
    --font-family: 'Helvetica Neue', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* Screen Reader Only - SEO and Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--text-color-light);
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

section {
    padding: 80px 0;
}

/* Specific section top padding for pages with fixed header */
.content-page section {
    padding-top: 120px;
}

section.hero {
    padding-top: 80px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* --- Language Switcher --- */
.language-switcher {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1001;
    background: var(--secondary-color);
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #233554;
}

/* --- Global Search --- */
.global-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.global-search.active {
    display: block;
    opacity: 1;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
}

.search-container {
    position: relative;
    max-width: 800px;
    margin: 100px auto 0;
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #233554;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#search-input {
    flex: 1;
    padding: 15px 20px;
    background: var(--primary-color);
    border: 2px solid #233554;
    border-radius: 10px;
    color: var(--text-color-light);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#search-input:focus {
    border-color: var(--accent-color);
}

.search-close {
    background: none;
    border: none;
    color: var(--text-color-dark);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: var(--accent-color);
}

.search-suggestions h4 {
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    background: var(--primary-color);
    color: var(--text-color-dark);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #233554;
    font-size: 0.9rem;
}

.suggestion-tag:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #233554;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background: var(--primary-color);
}

.search-result-item h5 {
    color: var(--accent-color);
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.search-result-item p {
    color: var(--text-color-dark);
    margin: 0;
    font-size: 0.9rem;
}

.search-no-results {
    text-align: center;
    color: var(--text-color-dark);
    padding: 40px 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-color-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: var(--secondary-color);
    color: var(--accent-color);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.4);
}

/* --- Application System Styles --- */
.application-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #233554;
}

.application-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.application-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #233554;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #233554;
    color: var(--text-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--accent-color);
    color: var(--primary-color);
}

.progress-step.completed .step-number {
    background: var(--accent-color);
    color: var(--primary-color);
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-color-dark);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--accent-color);
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    color: var(--accent-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--primary-color);
    border: 2px solid #233554;
    border-radius: 8px;
    color: var(--text-color-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.confirmation-summary {
    background: var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #233554;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #233554;
}

.confirmation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.confirmation-label {
    color: var(--text-color-dark);
    font-weight: 500;
}

.confirmation-value {
    color: var(--text-color-light);
    text-align: right;
    max-width: 60%;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color-light);
    border: 2px solid #233554;
}

.btn-secondary:hover {
    background: #233554;
    border-color: var(--accent-color);
}

.btn-success {
    background: #4CAF50;
    color: white;
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive Design for Application */
@media (max-width: 768px) {
    .application-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .application-progress {
        flex-direction: column;
        gap: 20px;
    }
    
    .application-progress::before {
        display: none;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* --- Live Chat Widget Styles --- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.4);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 500px;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #233554;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.chat-header {
    background: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #233554;
}

.chat-title h4 {
    margin: 0;
    color: var(--text-color-light);
    font-size: 1.1rem;
}

.chat-status {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.chat-status.online {
    background: #2ed573;
    color: white;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-color-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: #233554;
    color: var(--accent-color);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: var(--accent-color);
    color: var(--primary-color);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: var(--primary-color);
    color: var(--accent-color);
}

.message-content {
    max-width: 80%;
    background: var(--primary-color);
    padding: 12px 15px;
    border-radius: 15px;
    border: 1px solid #233554;
}

.user-message .message-content {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.message-content p {
    margin: 0 0 5px;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
}

.chat-input-container {
    padding: 15px 20px;
    border-top: 1px solid #233554;
    background: var(--primary-color);
}

.quick-questions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.quick-question {
    background: var(--secondary-color);
    color: var(--text-color-light);
    border: 1px solid #233554;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-question:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#chat-input {
    flex: 1;
    padding: 10px 15px;
    background: var(--secondary-color);
    border: 1px solid #233554;
    border-radius: 20px;
    color: var(--text-color-light);
    font-size: 0.9rem;
    outline: none;
}

#chat-input:focus {
    border-color: var(--accent-color);
}

#chat-send {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#chat-send:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Responsive Chat */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 20px;
        left: 20px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        height: 400px;
        left: -20px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
}

/* --- Virtual Campus Tour Styles --- */
.tour-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tour-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tour-btn {
    background: var(--secondary-color);
    color: var(--text-color-light);
    border: 2px solid #233554;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.tour-btn:hover {
    background: #233554;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.tour-btn.active {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.tour-viewer {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid #233554;
}

.tour-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 400px;
}

.tour-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-image-container:hover img {
    transform: scale(1.05);
}

.tour-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    padding: 30px 20px 20px;
    color: white;
}

.location-info h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.location-info p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

.tour-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-btn {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid #233554;
    border-radius: 8px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tour-features {
    margin-top: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #233554;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--accent-color);
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-color-dark);
    margin: 0;
    line-height: 1.5;
}

/* Responsive Tour */
@media (max-width: 768px) {
    .tour-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .tour-btn {
        width: 200px;
    }
    
    .tour-image-container {
        height: 250px;
    }
    
    .tour-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 200px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
.lang-btn {
    background: none;
    border: none;
    color: var(--text-color-dark);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.lang-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 3px;
}

/* --- Header --- */
.header {
    background-color: rgba(10, 25, 47, 0.85);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--secondary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color-light);
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: var(--text-color-light);
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active-page::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color-dark);
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.cta-button.secondary {
     background: transparent;
     color: var(--accent-color);
}

/* --- Homepage Specific Sections --- */
.quick-links-section {
    background-color: var(--primary-color);
    padding-top: 60px;
    padding-bottom: 60px;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.quick-link-card {
    background-color: var(--secondary-color);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid #233554;
    text-decoration: none;
}
.quick-link-card:hover {
    transform: translateY(-10px);
    background-color: #233554;
}
.quick-link-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}
.quick-link-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color-light);
}

.news-events-section {
    background-color: var(--secondary-color);
}
.news-events-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* MODIFIED: Featured News Slider Styles */
.featured-news {
    position: relative; /* Container for absolute positioning */
    min-height: 450px;
    border-radius: 8px;
    overflow: hidden;
}
.featured-news .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    text-decoration: none;
}
.featured-news .slide.active {
    opacity: 1;
}
.featured-news-card {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
}
.featured-news-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent 60%);
    z-index: 1;
}
.featured-news-content {
    position: relative;
    z-index: 2;
}
.featured-news-content .category {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 10px;
}
.featured-news-content h3 {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.3;
}

/* Events List Styles */
.events-list h3 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}
.scrollable-events {
    height: 380px;
    overflow-y: auto;
    padding-right: 15px;
}
.event-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
.event-item:hover {
    background-color: #233554;
}
.event-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}
.event-details {
    padding: 10px 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-details h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--text-color-light);
}
.event-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color-dark);
}

/* Custom Scrollbar Styles */
.scrollable-events::-webkit-scrollbar {
  width: 8px;
}
.scrollable-events::-webkit-scrollbar-track {
  background: var(--primary-color);
  border-radius: 4px;
}
.scrollable-events::-webkit-scrollbar-thumb {
  background-color: #233554;
  border-radius: 4px;
}
.scrollable-events::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-dark);
}

.research-spotlight-section {
    background-color: var(--primary-color);
}

.cta-section {
    background-color: var(--secondary-color);
    text-align: center;
}
.cta-section h2 {
    font-size: 2.2rem;
}
.cta-section p {
    color: var(--text-color-dark);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* --- General Content Styling (for other pages) --- */
.content-section { background-color: var(--primary-color); color: var(--text-color-dark); }
.content-section h3 { font-size: 1.8rem; color: var(--accent-color); margin-top: 0; margin-bottom: 1rem; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.content-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.info-card { background-color: var(--secondary-color); border-radius: 8px; padding: 30px; border-left: 4px solid var(--accent-color); transition: transform 0.3s ease; }
.info-card:hover { transform: translateY(-5px); }
.info-card p { margin-bottom: 0; }
.info-card .degree { display: block; font-style: italic; color: var(--text-color-dark); margin-bottom: 15px; }

.research-card {
    background-color: var(--secondary-color); border-radius: 8px; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #233554;
    display: flex; flex-direction: column; text-decoration: none;
}
.research-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.research-card img { width: 100%; height: 180px; object-fit: cover; }
.research-card-content { padding: 25px; flex-grow: 1; }
.research-card-content h3 { margin-top: 0; font-size: 1.4rem; color: var(--text-color-light); }
.research-card-content p { color: var(--text-color-dark); font-size: 0.95rem; }

.timeline { list-style: none; padding: 0; position: relative; }
.timeline:before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 4px; background: var(--secondary-color); }
.timeline-item { margin-bottom: 40px; position: relative; padding-left: 50px; }
.timeline-item:before { content: ''; position: absolute; left: 11px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-color); border: 3px solid var(--secondary-color); }
.timeline-item h4 { margin: 0 0 10px; color: var(--text-color-light); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form { display: flex; flex-direction: column; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; color: var(--text-color-dark); }
.form-group input, .form-group textarea { width: 100%; padding: 15px; background-color: var(--secondary-color); border: 1px solid #233554; border-radius: 5px; color: var(--text-color-light); font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); }

/* --- Footer --- */
.footer { background-color: var(--secondary-color); padding: 50px 0; text-align: center; font-size: 0.9rem; color: var(--text-color-dark); }
.footer .container { border-top: 1px solid var(--primary-color); padding-top: 40px; }
.social-links { margin-bottom: 20px; }
.social-links a { margin: 0 15px; font-size: 1.5rem; color: var(--text-color-dark); }
.social-links a:hover { color: var(--accent-color); }
.footer-links { margin-bottom: 20px; }
.footer-links a { margin: 0 10px; color: var(--text-color-dark); }
.footer-links a:hover { color: #fff; }

.language-content { display: none; }
.language-content.active { display: block; }

/* --- Responsive Design --- */
@media (max-width: 992px) { .content-grid, .contact-grid, .news-events-grid, .quick-links-grid { grid-template-columns: 1fr; } .quick-links-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .menu-toggle { display: block; } .nav-menu { display: none; flex-direction: column; width: 100%; text-align: center; background-color: var(--secondary-color); padding: 20px 0; } .nav-menu.active { display: flex; } .nav-item { margin: 10px 0; } .hero h1 { font-size: 2.8rem; } h2 { font-size: 2rem; } .language-switcher { top: 80px; right: 10px; } .quick-links-grid { grid-template-columns: 1fr; } }

/* Student Life & Employment Styles */
.life-section, .stats-section, .employment-section, .employers-section, .career-services-section, .alumni-section {
    margin-bottom: 60px;
}

.life-section h2, .stats-section h2, .employment-section h2, .employers-section h2, .career-services-section h2, .alumni-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.activity-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.activity-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.activity-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color-dark);
}

/* Organizations Grid */
.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.org-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.org-card:hover {
    transform: translateY(-5px);
}

.org-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.org-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.org-members {
    margin-top: 15px;
    padding: 8px 16px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Housing Grid */
.housing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.housing-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.housing-card:hover {
    transform: translateY(-5px);
}

.housing-image {
    height: 200px;
    overflow: hidden;
}

.housing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.housing-card:hover .housing-image img {
    transform: scale(1.05);
}

.housing-content {
    padding: 25px;
}

.housing-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.housing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.housing-features li {
    padding: 8px 0;
    color: var(--text-color-dark);
}

.housing-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    text-align: center;
    padding: 10px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.support-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.support-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-color-dark);
    font-size: 1rem;
}

/* Employment Chart */
.employment-chart {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.chart-container {
    max-width: 600px;
    margin: 0 auto;
}

.chart-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.bar-fill {
    height: 30px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 15px;
    width: 0;
    transition: width 2s ease-in-out;
    margin-right: 20px;
}

.bar-label {
    flex: 1;
    font-weight: 500;
    color: var(--text-color-dark);
}

.bar-percentage {
    font-weight: bold;
    color: var(--accent-color);
    min-width: 40px;
}

/* Employers Grid */
.employers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.employer-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.employer-card:hover {
    transform: translateY(-5px);
}

.employer-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.employer-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.employer-stats {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hired-count, .avg-salary {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hired-count {
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
}

.avg-salary {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Alumni Grid */
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.alumni-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.alumni-card:hover {
    transform: translateY(-5px);
}

.alumni-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.alumni-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumni-info {
    text-align: center;
}

.alumni-info h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.alumni-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.alumni-story {
    font-style: italic;
    color: var(--text-color-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.alumni-graduation {
    font-size: 0.9rem;
    color: var(--text-color-light);
    padding: 8px 16px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    display: inline-block;
}

/* Employment Stats Section for Homepage */
.employment-stats-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.employment-stats-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-light);
    font-size: 2.5rem;
}

.employment-stats-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.employers-showcase, .alumni-showcase {
    margin-top: 60px;
}

.employers-showcase .employers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.employers-showcase .employer-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.employers-showcase .employer-card:hover {
    transform: translateY(-5px);
}

.employers-showcase .employer-logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.employers-showcase .employer-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.employers-showcase .employer-card p {
    color: var(--text-color-dark);
    font-size: 0.9rem;
    margin: 0;
}

.alumni-showcase .alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 0;
}

.alumni-showcase .alumni-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.alumni-showcase .alumni-card:hover {
    transform: translateY(-5px);
}

.alumni-showcase .alumni-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.alumni-showcase .alumni-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumni-showcase .alumni-info {
    text-align: center;
}

.alumni-showcase .alumni-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.alumni-showcase .alumni-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1rem;
}

.alumni-showcase .alumni-story {
    font-style: italic;
    color: var(--text-color-dark);
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.alumni-showcase .alumni-graduation {
    font-size: 0.85rem;
    color: var(--text-color-light);
    padding: 6px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 15px;
    display: inline-block;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .activities-grid, .organizations-grid, .housing-grid, .support-grid, .stats-grid, .employers-grid, .services-grid, .alumni-grid {
        grid-template-columns: 1fr;
    }
    
    .housing-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        padding: 0 20px;
    }
    
    .chart-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .bar-fill {
        width: 100% !important;
        margin-right: 0;
    }
    
    .life-section h2, .stats-section h2, .employment-section h2, .employers-section h2, .career-services-section h2, .alumni-section h2 {
        font-size: 2rem;
    }
    
    .employment-stats-section h2 {
        font-size: 2rem;
    }
    
    .employment-stats-section h3 {
        font-size: 1.5rem;
    }
    
    .employers-showcase .employers-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .alumni-showcase .alumni-grid {
        grid-template-columns: 1fr;
    }
}