/**
 * UPHSL Website Styles
 * 
 * @author Nico Roell D. Garce
 * @title UPHSL Web Administrator 2025
 * @description Main stylesheet for the University of Perpetual Help System Laguna website
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;800&family=Montserrat:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #1c4da1;
    --secondary-color: #527bbd;
    --tertiary-color: #f8f9fa;
    --text-dark: #2a2a2a;
    --text-light: #666;
    --alt-color-1: #ffc63e;
    --alt-color-2: #e0b03c;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #2a2a2a;
    background-color: #F8F8F8;
    margin-top: 60px;
    overflow-x: hidden;
    width: 100%;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 10000;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop i {
    font-size: 16px;
}

/* Typography */
h1 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 800;
}

h2, h3, h4, h5, h6 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1c4da1 0%, #527bbd 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: fit-content;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    min-width: 80px;
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-name h1 {
    color: #ffffff;
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
}

.nav-search {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.search-input {
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    width: 250px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    padding: 10px 15px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-link.active {
    background: rgba(255, 198, 62, 0.2);
    color: #ffc63e;
}

/* Dropdown link active states */
.dropdown-link.active {
    background: rgba(255, 198, 62, 0.2);
    color: #ffc63e;
}

.submenu-link.active {
    background: rgba(255, 198, 62, 0.2);
    color: #ffc63e;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.desktop-chevron {
    font-size: 8px;
    margin-left: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.dropdown:hover .desktop-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section h4 {
    color: var(--primary-color, #1c4da1);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.dropdown-link {
    display: block;
    padding: 6px 0;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dropdown-link:hover {
    color: var(--primary-color, #1c4da1);
    background: rgba(28, 77, 161, 0.05);
    border-left-color: var(--primary-color, #1c4da1);
    padding-left: 12px;
}

.dropdown-link.disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.dropdown-link.disabled:hover {
    color: #999;
    background: transparent;
    border-left-color: transparent;
    padding-left: 0;
    cursor: not-allowed;
}

/* Nested Submenu Styles */
.dropdown-item-with-submenu {
    position: relative;
}

.dropdown-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submenu-chevron {
    font-size: 8px;
    margin-left: 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-item-with-submenu:hover .submenu-chevron {
    transform: rotate(90deg);
    opacity: 1;
}

.submenu-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    background: #ffffff;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-item-with-submenu:hover .submenu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-link {
    display: block;
    padding: 4px 0;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.submenu-link:hover {
    color: var(--primary-color, #1c4da1);
    background: rgba(28, 77, 161, 0.05);
    border-left-color: var(--primary-color, #1c4da1);
    padding-left: 10px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 60px);
    padding-top: 3rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.page-header .banner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.page-header .banner-logo img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    filter: brightness(1.1);
}

.page-header .banner-content {
    flex: 0 1 auto;
    text-align: left;
    max-width: 600px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 12px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 40px 0;
}


.content-main {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-article h2 {
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

.sidebar-widget p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.sidebar-widget strong {
    color: var(--primary-color);
}

/* Modern Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}


/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    min-height: 80vh;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-column {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    text-align: left;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.visit-card {
    grid-column: 1 / -1;
}

.map-container {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.modern-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(28, 77, 161, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

/* Smaller cards for Call Us, Email Us, and Office Hours */
.contact-card:not(.visit-card) {
    padding: 25px 20px;
}

.contact-card:not(.visit-card) .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
}

.contact-card:not(.visit-card) .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.contact-card:not(.visit-card) .card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 25px;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(28, 77, 161, 0.3);
}

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

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
}

.card-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Contact Form Section */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(28, 77, 161, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modern-contact-form {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 77, 161, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(28, 77, 161, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(28, 77, 161, 0.4);
}

/* Quick Links Section */
.quick-links-section {
    margin-top: 40px;
}

.quick-links-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(28, 77, 161, 0.2);
    color: var(--secondary-color);
}

.quick-link i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.quick-link span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Info Column Styles */
.info-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(28, 77, 161, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.info-header {
    text-align: center;
    margin-bottom: 40px;
}

.info-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-feature:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cta-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
}

.cta-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

/* Programs hero removed per request – use page-specific banners instead */

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffc63e;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programs-overview {
    padding: 80px 0 60px;
    background: #f8f9fa;
}

.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-description {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.programs-layout {
    padding: 60px 0;
}

.program-category {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(28, 77, 161, 0.1);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.program-badge {
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 0 30px 20px;
}

.program-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.program-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: #f0f7ff;
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-footer {
    padding: 0 30px 30px;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.program-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.programs-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Policy Pages Styles */
.page-header .page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.page-header .page-header-content h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header .page-header-content p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.policy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.policy-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.policy-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #333;
}

.contact-info strong {
    color: var(--primary-color);
}

.policy-footer {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    margin-top: 40px;
}

.policy-footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Policy Pages Responsive */
@media (max-width: 768px) {
    .page-header .page-header-content {
        gap: 12px;
    }
    
    .page-header .page-header-content h1 {
        font-size: 1.8rem;
    }
    
    .page-header .page-header-content p {
        font-size: 0.9rem;
    }
    
    .policy-content {
        padding: 20px 0;
    }
    
    .policy-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .policy-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-header .page-header-content {
        gap: 10px;
    }
    
    .page-header .page-header-content h1 {
        font-size: 1.5rem;
    }
    
    .page-header .page-header-content p {
        font-size: 0.8rem;
    }
}

/* Individual Program Page Styles */
.track-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.track-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.strand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.strand-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.strand-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.strand-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.strand-card ul {
    list-style: none;
    padding: 0;
}

.strand-card li {
    padding: 5px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.strand-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.program-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.program-section h4 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

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

.specialization-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.specialization-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

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

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

.major-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.major-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.major-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.major-card ul {
    list-style: none;
    padding: 0;
}

.major-card li {
    padding: 3px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.major-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.certification-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.certification-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.certification-card p {
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

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

.career-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.career-category h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.career-category ul {
    list-style: none;
    padding: 0;
}

.career-category li {
    padding: 5px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.career-category li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }
    
    /* Removed legacy Programs banner overrides */
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card {
        margin-bottom: 20px;
    }
    
    .card-header {
        padding: 20px 20px 15px;
    }
    
    .card-content {
        padding: 0 20px 15px;
    }
    
    .card-footer {
        padding: 0 20px 20px;
    }
    
    .programs-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .content-main,
    .sidebar-widget,
    .contact-form-section {
        padding: 20px;
    }
    
    .page-header .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        justify-content: center;
    }
    
    .page-header .banner-logo {
        width: 120px;
        height: 120px;
    }
    
    .page-header .banner-logo img {
        max-width: 90px;
        max-height: 90px;
    }
    
    .page-header .banner-content {
        text-align: center;
        max-width: none;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 11px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }
    
    .contact-column {
        gap: 30px;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modern-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .info-container {
        padding: 30px 20px;
        position: static;
    }
    
    .info-features {
        gap: 20px;
    }
    
    .info-feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        align-self: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-link {
        padding: 20px 15px;
    }
    
    .quick-link i {
        font-size: 1.5rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .strand-grid,
    .specialization-grid,
    .major-grid,
    .certification-grid,
    .career-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .track-section,
    .program-section {
        padding: 20px;
    }
}

/* Additional Program Page Styles */
.grade-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.grade-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

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

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

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

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

.training-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--accent-color);
}

.training-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.training-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.training-card ul {
    list-style: none;
    padding: 0;
}

.training-card li {
    padding: 3px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.training-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.facility-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.facility-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.facility-card ul {
    list-style: none;
    padding: 0;
}

.facility-card li {
    padding: 3px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.facility-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.practicum-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.practicum-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.practicum-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.practicum-card ul {
    list-style: none;
    padding: 0;
}

.practicum-card li {
    padding: 3px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.practicum-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.format-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

.format-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.format-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.format-card ul {
    list-style: none;
    padding: 0;
}

.format-card li {
    padding: 3px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.format-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .grade-levels,
    .program-grid,
    .training-grid,
    .facility-grid,
    .practicum-grid,
    .format-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grade-card,
    .training-card,
    .facility-card,
    .practicum-card,
    .format-card {
        padding: 20px;
    }
}

/* Online Services Instructions Page Styles */
.quick-nav {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    border: 2px solid var(--primary-color);
}

.quick-nav h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.nav-links .nav-link {
    display: block;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.nav-links .nav-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.instruction-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    scroll-margin-top: 20px;
}

.instruction-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.instruction-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.instruction-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.instruction-card h4:first-child {
    margin-top: 0;
}

.instruction-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.instruction-steps li {
    counter-increment: step-counter;
    margin: 15px 0;
    padding: 15px 20px 15px 60px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    border-left: 3px solid var(--accent-color);
}

.instruction-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.instruction-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.instruction-card li {
    margin: 8px 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin: 10px 0;
}

.quick-links a {
    display: block;
    padding: 12px 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-links a:hover {
    background: var(--accent-color);
    transform: translateX(5px);
}

/* Responsive adjustments for instructions */
@media (max-width: 768px) {
    .quick-nav {
        padding: 20px;
        margin: 20px 0;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .nav-links .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .instruction-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .instruction-card {
        padding: 20px;
    }
    
    .instruction-steps li {
        padding: 12px 15px 12px 50px;
    }
    
    .instruction-steps li::before {
        left: 15px;
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1), var(--secondary-color));
    z-index: 3;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-height: 100%;
    min-width: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-height: 100%;
    min-width: 100%;
}

/* Hero Slider Container */
.hero-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 40px 20px;
}


/* Hero Layout - Two Column Design (Legacy - keeping for reference) */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Left Column: Latest Post */
.hero-latest-post {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-post-card {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.latest-post-card .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.latest-post-card .btn-primary {
    position: relative;
    z-index: 11;
    pointer-events: auto;
    cursor: pointer;
}

.latest-post-card .post-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.latest-post-card .latest-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffc63e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(255, 198, 62, 0.1);
    padding: 3px 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 198, 62, 0.3);
}

.latest-post-card .post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.latest-post-card .post-meta i {
    color: #ffc63e;
    font-size: 0.7rem;
}

.latest-post-card .latest-post-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-post-card .latest-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-post-card .latest-post-title a:hover {
    color: #ffc63e;
}

.latest-post-card .latest-post-excerpt {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Right Column: Tagline */
/* Image loading optimizations */
img {
    /* Prevent layout shift during image loading */
    max-width: 100%;
    height: auto;
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: opacity;
}

/* Only apply opacity transition to lazy loaded images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Preload critical images */
.hero-image, .news-slide-image img, .slide-image, .featured-image, .card-image, 
.map-image, .floor-plan-image, .hospital-plan-image, .about-poster, .logo-img, 
.mobile-logo-img, .footer-logo {
    opacity: 1 !important; /* Critical images should be visible immediately */
}

/* Specific optimizations for post images */
.slide-image, .featured-image, .card-image {
    /* Smooth scaling */
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Better image quality */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Desktop styles */
@media (min-width: 1025px) {
    .hero-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        width: 100% !important;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        justify-content: center;
        padding: 0 30px;
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }
    
    .news-section .section-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        margin-bottom: 2rem !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
    }
    
    .news-section .section-title {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-bottom: 25px !important;
    }
    
    .news-section .section-description {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        font-size: 0.8rem !important;
    }
    
    .hero-latest-post {
        display: none;
    }
    
    .hero-tagline {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .latest-post-card {
        text-align: center;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .latest-post-card .post-meta {
        align-items: center;
        justify-content: center;
    }
    
    .latest-post-card .latest-post-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .latest-post-excerpt {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .tagline {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .hero-slider-container {
        padding: 0 10px;
    }
    
    .hero-slide-content {
        padding: 20px 10px;
    }
    
    .hero-tagline {
        padding: 20px;
    }
    
    .latest-post-card {
        padding: 20px;
    }
    
    .latest-post-card .post-meta {
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .latest-post-card .post-meta span {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .latest-post-card .latest-post-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .latest-post-card .latest-post-excerpt {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 350px;
        max-height: 500px;
    }
    
    .hero-image, .hero-video {
        object-position: center center;
    }
    
    .video-overlay {
        justify-content: center;
        text-align: center;
        padding: 20px;
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        height: 55vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .hero-image, .hero-video {
        object-position: center center;
    }
    
    .video-overlay {
        justify-content: center;
        text-align: center;
        padding: 20px;
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (min-width: 1025px) {
    .hero-image, .hero-video {
        object-position: center center;
    }
}

.video-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(28, 77, 161, 0.7) 0%, rgba(82, 123, 189, 0.7) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.tagline-container {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.tagline {
    font-size: 2.4rem;
    margin: 0 auto 15px auto;
    color: #ffffff;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    display: block;
    text-shadow: 
        0 0 3px rgba(255, 198, 62, 0.3),
        0 0 6px rgba(255, 198, 62, 0.2),
        0 0 9px rgba(255, 198, 62, 0.1);
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    from {
        text-shadow: 
            0 0 3px rgba(255, 198, 62, 0.3),
            0 0 6px rgba(255, 198, 62, 0.2),
            0 0 9px rgba(255, 198, 62, 0.1);
    }
    to {
        text-shadow: 
            0 0 5px rgba(255, 198, 62, 0.4),
            0 0 10px rgba(255, 198, 62, 0.3),
            0 0 15px rgba(255, 198, 62, 0.2);
    }
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.btn-primary {
    background: rgba(255, 198, 62, 0.9);
    color: #1c4da1;
    border: 2px solid rgba(255, 198, 62, 1);
}

.btn-primary:hover {
    background: rgba(255, 198, 62, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 198, 62, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Posts Section */
.posts-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    backdrop-filter: blur(10px);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(28, 77, 161, 0.15);
    border-color: var(--primary-color);
}

.post-card:hover::before {
    opacity: 1;
}

.post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28, 77, 161, 0.8), rgba(82, 123, 189, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-image::before {
    opacity: 1;
}

.post-content {
    padding: 25px 30px 30px 30px;
    position: relative;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.post-category {
    background: linear-gradient(135deg, var(--alt-color-1), var(--alt-color-2));
    color: #1c4da1;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    box-shadow: 0 2px 8px rgba(255, 198, 62, 0.3);
    transition: all 0.3s ease;
}

.post-card:hover .post-category {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 198, 62, 0.4);
}

.post-date {
    color: #999;
    font-size: 12px;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: 'Barlow Semi Condensed', sans-serif;
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 400;
}

.post-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    padding: 8px 16px;
    background: rgba(28, 77, 161, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(28, 77, 161, 0.2);
}

.post-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.3);
}

/* Empty State */
.empty-news {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-news i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 30px;
    opacity: 0.7;
}

.empty-news h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
}

.empty-news p {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 16px;
}

/* News Section - Modern & Sleek */
.news-section {
    padding: 20px 0 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Override any conflicting styles for news carousel */
.news-section .news-carousel-container {
    display: block !important;
}

.news-section .news-carousel {
    display: block !important;
}

.news-section .news-slide {
    display: flex !important;
}

.news-section .news-slide-image {
    display: block !important;
}

.news-section .news-slide-image img {
    display: block !important;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1), var(--secondary-color));
}

/* Section Dividers */
.featured-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1), var(--secondary-color));
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1), var(--secondary-color));
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1));
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* News Carousel */
.news-carousel-container {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 500px;
    display: block !important;
}

.news-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    flex-direction: column;
    min-height: 500px;
    padding: 0;
    box-sizing: border-box;
}

.news-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.news-slide-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-slide-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.6s ease;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
}

.news-slide:hover .news-slide-image img {
    transform: scale(1.05);
}

.news-slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    border-radius: 12px;
}

.news-slide-meta {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    z-index: 3;
    transition: all 0.3s ease;
}

.news-slide-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-slide-meta i {
    color: var(--alt-color-1);
}


.news-slide-title-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 18px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    z-index: 3;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    max-width: 60%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-slide-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-slide-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-slide-title a:hover {
    color: var(--alt-color-1);
}

.news-slide:hover .news-slide-title-overlay {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.news-slide:hover .news-slide-meta {
    opacity: 0.7;
    transform: translateY(-5px);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-nav i {
    color: var(--primary-color);
    font-size: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Facebook Feed */
.facebook-feed {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facebook-header {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: #fff;
    padding: 20px 25px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.facebook-header:hover {
    background: linear-gradient(135deg, #166fe5, #3a94f0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
    color: #fff;
    text-decoration: none;
}

.facebook-header:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    color: #fff;
    text-decoration: none;
}

.facebook-title {
        font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.facebook-title i {
    font-size: 1.8rem;
}

.facebook-subtitle {
        font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Facebook Header Responsive Font Sizes */
@media (max-width: 1024px) {
    .facebook-header {
        padding: 18px 22px;
    }
    
    .facebook-title {
        font-size: 1.3rem;
    }
    
    .facebook-title i {
        font-size: 1.6rem;
    }
    
    .facebook-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .facebook-header {
        padding: 16px 20px;
    }
    
    .facebook-title {
        font-size: 1.2rem;
    }
    
    .facebook-title i {
        font-size: 1.4rem;
    }
    
    .facebook-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .facebook-header {
        padding: 14px 18px;
    }
    
    .facebook-title {
        font-size: 1.1rem;
    }
    
    .facebook-title i {
        font-size: 1.3rem;
    }
    
    .facebook-subtitle {
        font-size: 0.75rem;
    }
}

.facebook-embed {
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 20px 20px;
    flex: 1;
}

/* Ensure FB widget doesn't overflow container */
.facebook-embed .fb-page,
.facebook-embed .fb-page > span,
.facebook-embed .fb-page iframe {
    width: 100% !important;
    max-width: 100% !important;
}

/* News Actions */
.news-actions {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.news-actions .btn {
    background: linear-gradient(135deg, var(--alt-color-1), var(--alt-color-2));
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 198, 62, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    min-width: fit-content;
}

.news-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 198, 62, 0.4);
    color: #fff;
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-icon.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-icon.youtube {
    background: #ff0000;
    color: #fff;
}

.social-icon.youtube:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-icon.tiktok {
    background: #000000;
    color: #fff;
}

.social-icon.tiktok:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* Social Media Labels */
.social-label {
    display: none;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    text-align: center;
    color: inherit;
}

/* News Section Responsive */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .news-carousel {
        height: 0;
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    }
    
    .news-carousel-container {
        min-height: auto;
    }
    
    .news-slide {
        min-height: auto;
    }
    
    .news-slide-meta {
        bottom: 12px;
        left: 12px;
        font-size: 0.8rem;
        padding: 8px 12px;
    gap: 15px;
    }
    
    .news-slide-title-overlay {
        bottom: 12px;
        right: 12px;
        font-size: 1rem;
        padding: 8px 12px;
        max-width: 55%;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .social-icon i {
        font-size: 1.8rem;
    }
    
    /* Tablet: Horizontal layout with labels */
    .social-media-icons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .social-icon {
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 12px 20px;
        border-radius: 25px;
        min-width: 200px;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .social-label {
        display: block;
        margin-top: 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 15px 0 60px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .news-section .section-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        margin-bottom: 1.5rem !important;
        padding: 1.2rem !important;
    }
    
    .news-section .section-title {
        font-size: 1.2rem !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-bottom: 25px !important;
    }
    
    .news-section .section-description {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        font-size: 0.75rem !important;
    }
    
    .news-carousel {
        height: 0;
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    }
    
    .news-carousel-container {
        min-height: auto;
    }
    
    .news-slide {
        min-height: auto;
    }
    
    .news-slide-meta {
        bottom: 10px;
        left: 10px;
        font-size: 0.75rem;
        padding: 6px 10px;
        gap: 12px;
    }
    
    .news-slide-title-overlay {
        bottom: 10px;
        right: 10px;
    font-size: 0.9rem;
        padding: 6px 10px;
        max-width: 50%;
    }
    
    .social-media-icons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-top: 0;
        align-items: center;
    }
    
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        padding: 0;
        min-width: auto;
        gap: 0;
    }
    
    .social-icon i {
        font-size: 1.4rem;
    }
    
    .social-label {
        display: none;
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .news-section .section-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        margin-bottom: 1.2rem !important;
        padding: 1rem !important;
    }
    
    .news-section .section-title {
        font-size: 1rem !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin-bottom: 20px !important;
    }
    
    .news-section .section-description {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        font-size: 0.7rem !important;
    }
    
    .news-carousel {
        height: 0;
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    }
    
    .news-carousel-container {
        min-height: auto;
    }
    
    .news-slide {
        min-height: auto;
    }
    
    .news-slide-meta {
        bottom: 10px;
        left: 10px;
        font-size: 0.7rem;
        padding: 8px 12px;
        gap: 8px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 6px;
        z-index: 4;
    }
    
    .news-slide-title-overlay {
        bottom: 10px;
        right: 10px;
        font-size: 0.9rem;
        padding: 8px 12px;
        max-width: 50%;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 6px;
        z-index: 4;
        opacity: 1;
        transform: translateY(0);
    }
    
    .news-slide-title {
        font-size: 0.85rem;
        font-weight: 600;
        line-height: 1.1;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .social-media-icons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-top: 0;
        align-items: center;
    }
    
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        min-width: auto;
        gap: 0;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
    
    .social-label {
        display: none;
    }
}

/* Academic Programs and Features Section Padding */
.featured-posts {
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative;
}

.features {
    padding-top: 100px;
    position: relative;
}

/* Features Section Styling */
.features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--alt-color-1), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(28, 77, 161, 0.15);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(28, 77, 161, 0.2);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--alt-color-1), var(--alt-color-2));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    font-size: 2.2rem;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(28, 77, 161, 0.3);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    color: #ffffff;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

/* Section Title Responsive */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .featured-posts {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    
    .features {
        padding-top: 80px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
    font-size: 2rem;
}

.feature-title {
        font-size: 1rem;
    }
    
    .feature-description {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .featured-posts {
        padding-top: 40px;
        padding-bottom: 25px;
    }
    
    .features {
        padding-top: 60px;
    }
    
    .features {
        padding-bottom: 60px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    margin-top: 40px;
}

    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 18px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .featured-posts {
        padding-top: 30px;
        padding-bottom: 20px;
    }
    
    .features {
        padding-top: 50px;
    }
    
    .features {
        padding-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    gap: 10px;
        margin-top: 30px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 1.6rem;
    }
    
    .feature-title {
    font-size: 0.9rem;
        margin-bottom: 8px;
}

.feature-description {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1c4da1 0%, #527bbd 100%);
    color: #ffffff;
    padding: 40px 0 0;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--alt-color-1), var(--alt-color-2), var(--primary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

/* University Info Column */
.university-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-self: center;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.university-details {
    flex: 1;
}

.university-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    line-height: 1.3;
}

.university-tagline {
    font-size: 0.9rem;
    color: var(--alt-color-1);
    margin: 0;
    font-weight: 600;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--alt-color-1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 198, 62, 0.3);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link i {
    font-size: 1rem;
}

/* Footer Sections */
.footer-section h4.footer-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-section h4.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--alt-color-1);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s ease;
        display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--alt-color-1);
    transform: translateX(5px);
}

/* Contact Information Styles */
.footer-section .contact-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-section .contact-item {
    margin-bottom: 8px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    display: block !important;
    align-items: unset !important;
    gap: unset !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: none !important;
}

.footer-section .contact-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.footer-section .contact-item h5 {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

.footer-section .contact-item p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
}

.footer-section .contact-item a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-section .contact-item a:hover {
    color: #ccc !important;
    text-decoration: underline !important;
}

.email-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.email-links li {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.email-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.email-links a:hover {
    color: #ccc;
    text-decoration: underline;
}

.email-links strong {
    color: white;
    font-weight: 600;
}

.service-link {
    padding: 5px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: rgba(255, 198, 62, 0.1);
    padding-left: 10px;
}

.service-link i {
    width: 16px;
    text-align: center;
    color: var(--alt-color-1);
    font-size: 12px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
        display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--alt-color-1);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        max-width: 800px;
    }
    
    .university-info {
        grid-column: 1 / -1;
    }
    
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .university-name {
        font-size: 1.3rem;
    }
    
    .university-tagline {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 35px 0 0;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
    }
    
    .footer-logo-section {
        flex-direction: row;
        text-align: left;
    }
    
    .footer-logo {
        width: 70px;
        height: 70px;
    }
    
    .university-name {
        font-size: 1.2rem;
    }
    
    .university-tagline {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 0;
        margin-top: 50px;
    }
    
    .footer-content {
        gap: 25px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        width: 60px;
        height: 60px;
    }
    
    .university-name {
        font-size: 1.1rem;
    }
    
    .university-tagline {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-section h4.footer-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Footer responsive - 4 columns to 1 column on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section .contact-details {
        gap: 12px;
    }
    
    .footer-section .contact-item h5 {
        font-size: 0.9rem;
    }
    
    .footer-section .contact-item p {
        font-size: 0.8rem;
    }
    
    .email-links a {
        font-size: 0.75rem;
    }
    
    /* Footer responsive - 4 columns to 2 columns on tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section .contact-details {
        gap: 15px;
    }
    
    .footer-section .contact-item h5 {
        font-size: 0.95rem;
    }
    
    .footer-section .contact-item p {
        font-size: 0.85rem;
    }
    
    .email-links a {
        font-size: 0.8rem;
    }
}

/* WordPress-like Mobile Responsive Behavior */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: 50vh;
        min-height: 350px;
        max-height: 500px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .tagline-container {
        margin: 0;
        padding: 0;
        text-align: center;
        width: 100%;
        overflow: hidden;
    }
    
    .tagline {
        font-size: 1.6rem;
        margin: 15px auto 20px auto;
        line-height: 1.3;
        text-align: center;
        width: 100%;
        display: block;
        color: #ffffff;
        text-shadow: 
            0 0 3px rgba(255, 198, 62, 0.3),
            0 0 6px rgba(255, 198, 62, 0.2),
            0 0 9px rgba(255, 198, 62, 0.1);
        animation: subtleGlow 3s ease-in-out infinite alternate;
    }
    
    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    /* News Section - Keep two columns on tablet, single column only on mobile */
    .news-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .news-carousel-container {
        order: 1;
    }
    
    .facebook-feed {
        order: 2;
    }
    
    .news-carousel {
        height: 300px;
    }
    
    .news-slide-image {
        height: 200px;
    }
    
    .news-actions {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .news-actions .btn {
        padding: 12px 30px;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    .social-media-icons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        align-items: center;
    }
    
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        padding: 0;
        min-width: auto;
        gap: 0;
    }
    
    .social-label {
        display: none;
    }
    
    /* Mobile News Actions Button */
    .news-actions .btn {
        padding: 14px 35px;
        font-size: 1rem;
        border-radius: 25px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Academic Programs Section */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-card {
        margin-bottom: 20px;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        text-align: center;
    }
    
    /* Footer */
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero {
        height: 45vh;
        min-height: 300px;
        max-height: 450px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .hero-tagline {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .tagline-container {
        margin: 0;
        padding: 0;
        text-align: center;
        width: 100%;
        overflow: hidden;
    }
    
    .tagline {
        font-size: 1.3rem;
        margin: 10px auto 15px auto;
        line-height: 1.3;
        text-align: center;
        width: 100%;
        display: block;
        color: #ffffff;
        text-shadow: 
            0 0 3px rgba(255, 198, 62, 0.3),
            0 0 6px rgba(255, 198, 62, 0.2),
            0 0 9px rgba(255, 198, 62, 0.1);
        animation: subtleGlow 3s ease-in-out infinite alternate;
    }
    
    .hero-description {
        font-size: 0.7rem;
    }
    
    .news-carousel {
        height: 250px;
    }
    
    .news-slide-image {
        height: 180px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-bottom-content {
        padding: 0 15px;
    }
}

/* Extra small devices (phones, less than 400px) */
@media (max-width: 400px) {
    .tagline {
        font-size: 1.1rem;
        margin: 8px auto 12px auto;
        line-height: 1.3;
        text-align: center;
        width: 100%;
        display: block;
        color: #ffffff;
        text-shadow: 
            0 0 3px rgba(255, 198, 62, 0.3),
            0 0 6px rgba(255, 198, 62, 0.2),
            0 0 9px rgba(255, 198, 62, 0.1);
        animation: subtleGlow 3s ease-in-out infinite alternate;
    }
    
    .latest-post-card .latest-post-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .hero-description {
        font-size: 0.75rem;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hide mobile search bar on desktop and tablet */
.mobile-search {
    display: none;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #1c4da1 0%, #527bbd 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.1);
}

.mobile-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.mobile-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mobile-site-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.mobile-sidebar-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-sidebar-search {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mobile-search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search-btn {
    padding: 12px 15px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Sidebar Menu */
.mobile-sidebar-menu {
    padding: 20px 0;
}

.mobile-nav-item {
    margin-bottom: 3px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 25px;
}

.mobile-nav-link.active {
    background: rgba(255, 198, 62, 0.2);
    color: #ffc63e;
}

/* Mobile dropdown link active states */
.mobile-dropdown-link.active {
    background: rgba(255, 198, 62, 0.2);
    color: #ffc63e;
}

.mobile-submenu-link.active {
    background: rgba(255, 198, 62, 0.2);
    color: #ffc63e;
}

.mobile-dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.mobile-chevron {
    font-size: 8px;
    margin-left: 6px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mobile-dropdown.active .mobile-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 1000px;
}

.mobile-dropdown-section {
    padding: 6px 0;
}

.mobile-dropdown-section h4 {
    color: #ffc63e;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px 0;
    padding: 0 20px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-dropdown-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    padding: 4px 40px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-dropdown-link:hover {
    color: #ffc63e;
    background: rgba(255, 198, 62, 0.1);
    border-left-color: #ffc63e;
    padding-left: 42px;
}

.mobile-dropdown-link.disabled {
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    opacity: 0.6;
}

.mobile-dropdown-link.disabled:hover {
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
    border-left-color: transparent;
    padding-left: 30px;
    cursor: not-allowed;
}

/* Mobile Nested Submenu Styles */
.mobile-dropdown-item-with-submenu {
    position: relative;
}

.mobile-dropdown-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-submenu-chevron {
    font-size: 8px;
    margin-left: 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-dropdown-item-with-submenu.active .mobile-submenu-chevron {
    transform: rotate(90deg);
    opacity: 1;
}

.mobile-submenu-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

.mobile-dropdown-item-with-submenu.active .mobile-submenu-dropdown {
    max-height: 150px;
}

.mobile-submenu-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    padding: 3px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-submenu-link:hover {
    color: #ffc63e;
    background: rgba(255, 198, 62, 0.1);
    border-left-color: #ffc63e;
    padding-left: 22px;
}

/* Body scroll lock when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Prevent horizontal overflow globally */
* {
    max-width: 100%;
}

/* Ensure all sections don't cause overflow */
section, .section {
    width: 100%;
    overflow-x: hidden;
}

/* Large Desktop Navigation Styles */
@media (min-width: 1200px) {
    .nav-menu {
        gap: 6px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 6px;
    }
}

/* Desktop Navigation Styles */
@media (max-width: 1199px) and (min-width: 1100px) {
    .nav-menu {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 7px 5px;
    }
}

/* Medium Desktop Navigation Styles */
@media (max-width: 1099px) and (min-width: 1000px) {
    .nav-menu {
        gap: 4px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 6px 4px;
    }
}

/* Small Desktop Navigation Styles */
@media (max-width: 999px) and (min-width: 900px) {
    .nav-menu {
        gap: 3px;
    }
    
    .nav-link {
        font-size: 10px;
        padding: 5px 3px;
    }
}

/* Extra Small Desktop Navigation Styles */
@media (max-width: 899px) and (min-width: 800px) {
    .nav-menu {
        gap: 2px;
    }
    
    .nav-link {
        font-size: 9px;
        padding: 4px 2px;
    }
}

/* Very Small Desktop Navigation Styles */
@media (max-width: 799px) and (min-width: 769px) {
    .nav-menu {
        gap: 1px;
    }
    
    .nav-link {
        font-size: 8px;
        padding: 3px 1px;
    }
}

/* Tablet Navigation Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        padding: 10px 20px;
        align-items: center;
    }
    
    .nav-logo .logo-img {
        height: 50px;
        min-width: 50px;
    }
    
    .nav-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 2px;
    }
    
    .nav-link {
        font-size: 7px;
        padding: 2px 1px;
    }
    
    .nav-header {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
    }
    
    .site-name h1 {
        font-size: 16px;
        line-height: 1.2;
        white-space: nowrap;
    }
    
    .search-input {
        width: 180px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .nav-menu {
        display: none;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        padding: 8px 15px;
        min-height: 50px;
    }
    
    .nav-logo .logo-img {
        height: 50px;
    }
    
    .nav-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    .nav-header {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Hide desktop search bar on mobile */
    .nav-header .nav-search {
        display: none;
    }
    
    /* Show mobile search bar in the middle */
    .mobile-search {
        display: flex !important;
        order: 2;
        flex: 1;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .search-input {
        width: 100%;
        font-size: 14px;
        padding: 10px 15px;
        height: 40px;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .search-input:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .search-btn {
        padding: 10px 15px;
        height: 40px;
    }
}

/* Small Mobile Navigation Styles */
@media (max-width: 480px) {
    .nav-container {
        padding: 6px 10px;
        gap: 8px;
    }
    
    .nav-logo .logo-img {
        height: 50px;
    }
    
    .mobile-search {
        max-width: 200px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 12px;
        height: 36px;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .search-input:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .search-btn {
        padding: 8px 12px;
        height: 36px;
    }
    
    .mobile-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .mobile-sidebar.active {
        right: 0;
    }
}

/* Senior High School Page Specific Styles */
.mission-vision-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 5px solid #2c5aa0;
}

.mission-vision-section h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-vision-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 25px;
}

.programs-section {
    margin: 40px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.program-category {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2c5aa0;
}

.program-category h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.program-category ul {
    list-style: none;
    padding: 0;
}

.program-category li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    color: #495057;
}

.program-category li:last-child {
    border-bottom: none;
}

.program-category li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.career-opportunities-section {
    margin: 40px 0;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.career-category {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #28a745;
}

.career-category h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.career-category p {
    color: #495057;
    line-height: 1.6;
    font-size: 1rem;
}

.objectives-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    border-left: 5px solid #2196f3;
}

.objectives-section h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.objectives-section ul {
    list-style: none;
    padding: 0;
}

.objectives-section li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(33, 150, 243, 0.2);
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
}

.objectives-section li:last-child {
    border-bottom: none;
}

.objectives-section li:before {
    content: "🎯";
    margin-right: 12px;
    font-size: 1.2rem;
}

.logo-section {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.logo-section h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.logo-description {
    line-height: 1.7;
}

.logo-image-container {
    text-align: center;
    margin-bottom: 30px;
}

.department-logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: white;
    padding: 20px;
}

.logo-description h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.logo-description p {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 15px;
}

.logo-description strong {
    color: #2c5aa0;
    font-weight: 700;
}

.faculty-section {
    margin: 40px 0;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.faculty-category h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.faculty-list {
    display: grid;
    gap: 10px;
}

.faculty-member {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.faculty-member strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* Achievements Section Styles */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.achievement-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #28a745);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #2c5aa0;
}

.achievement-item h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.achievement-item p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.achievement-item:nth-child(odd) {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.achievement-item:nth-child(even) {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

/* Responsive adjustments for SHS page */
@media (max-width: 768px) {
    .mission-vision-section,
    .objectives-section,
    .logo-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .programs-grid,
    .career-grid,
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-category,
    .career-category {
        padding: 20px;
    }
    
    .faculty-member {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Tabbed Interface Styles */
.tabs-container {
    margin: 2rem 0;
}

.tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tab-button:hover {
    background: rgba(28, 77, 161, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.3);
}

.tab-button i {
    font-size: 1.1rem;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

.tab-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    text-align: center;
}

.tab-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.tab-header h3 i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.tab-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.tab-subtitle {
    color: white !important;
    opacity: 0.9 !important;
    font-size: 1rem;
    margin: 0;
}

.instruction-card {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 2rem;
}

.instruction-card h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.instruction-card h4:first-child {
    margin-top: 0;
}

.instruction-steps {
    counter-reset: step-counter;
    padding-left: 0;
    list-style: none;
}

.instruction-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 1rem 0 1rem 3rem;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
}

.instruction-steps li:last-child {
    border-bottom: none;
}

.instruction-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    background: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.instruction-card ul {
    padding-left: 1.5rem;
    line-height: 1.8;
}

.instruction-card ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

.instruction-card ul li strong {
    color: #333;
    font-weight: 600;
}

/* GTI Specific Styles */
.gti-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.gti-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.1);
    position: relative;
    overflow: hidden;
}

.gti-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gti-btn:hover::before {
    left: 100%;
}

.gti-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(28, 77, 161, 0.3);
}

.gti-btn i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.gti-btn:hover i {
    transform: scale(1.1);
}

.gti-btn span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.gti-btn small {
    font-size: 0.85rem;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.school-btn {
    border-color: var(--primary-color);
}

.medical-btn {
    border-color: #28a745;
    color: #28a745;
}

.medical-btn:hover {
    background: #28a745;
    color: white;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Access Methods Styles */
.access-methods {
    margin: 2rem 0;
}

.method-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.method-section:last-child {
    margin-bottom: 0;
}

.method-section h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.method-section h5 i {
    font-size: 1.2rem;
}

.direct-links {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.direct-links p {
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.direct-links p:first-child {
    margin-top: 0;
}

.direct-links p:last-child {
    margin-bottom: 0;
}

.direct-links strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 140px;
}

.direct-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.direct-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* QR Code Section Styles */
.qr-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-codes {
    margin-bottom: 1.5rem;
}

.qr-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.qr-image {
    flex-shrink: 0;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.qr-info h6 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.qr-info p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.qr-instructions {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.qr-instructions h6 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qr-instructions h6 i {
    font-size: 1.1rem;
}

.qr-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #555;
}

.qr-instructions ol li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.qr-instructions ol li:last-child {
    margin-bottom: 0;
}

.security-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #ffc107;
}

.security-note h5 {
    color: #856404;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-note h5 i {
    color: #ffc107;
    font-size: 1.1rem;
}

.security-note p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Account Creation Styles */
.account-creation {
    margin: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.creation-section {
    margin-bottom: 2rem;
}

.creation-section:last-child {
    margin-bottom: 0;
}

.creation-section h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.creation-section h5 i {
    font-size: 1.3rem;
}

.username-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.username-option {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.username-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.15);
}

.option-label {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.option-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    min-width: 120px;
    text-align: center;
}

.school-option {
    background: var(--primary-color);
}

.medical-option {
    background: #28a745;
}

.option-format {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    text-align: center;
    width: 100%;
}

.password-info {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.password-info p {
    margin: 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.example-creation {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.example-item {
    margin: 0.75rem 0;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.example-item:first-child {
    margin-top: 0;
}

.example-item:last-child {
    margin-bottom: 0;
}

.example-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.credentials-reminder {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 6px solid #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.credentials-reminder h5 {
    color: #856404;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.credentials-reminder h5 i {
    color: #ffc107;
    font-size: 1.3rem;
}

.credentials-reminder p {
    margin: 0 0 1rem 0;
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.credentials-reminder ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #856404;
}

.credentials-reminder ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.credentials-reminder ul li:last-child {
    margin-bottom: 0;
}

.credentials-reminder code {
    background: rgba(133, 100, 4, 0.1);
    color: #856404;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Email Formats and Password Options Styles */
.email-formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1rem 0;
}

.email-option {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.email-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.15);
}

.email-label {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.email-type {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-width: 200px;
}

.email-format {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    text-align: center;
    width: 100%;
}

.password-options {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}

.password-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 150px;
}

.password-option:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.3);
}

.password-format {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    width: 100%;
}

.password-option:hover .password-format {
    background: white;
    color: var(--primary-color);
}

.password-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}

.password-option:hover .password-label {
    color: white;
}

/* Password Change Notice Styles */
.password-change-notice {
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 6px solid #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.password-change-notice h5 {
    color: #1976d2;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-change-notice h5 i {
    color: #2196f3;
    font-size: 1.3rem;
}

.password-change-notice p {
    margin: 0 0 1rem 0;
    color: #1976d2;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.password-change-notice ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #1976d2;
}

.password-change-notice ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.password-change-notice ul li:last-child {
    margin-bottom: 0;
}

.password-change-notice code {
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Troubleshooting Section Styles */
.troubleshooting-section {
    margin: 2rem 0;
}

.issue-category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.issue-category:last-child {
    margin-bottom: 0;
}

.issue-category h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.issue-category h5 i {
    font-size: 1.2rem;
}

.issue-category ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #555;
}

.issue-category ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.issue-category ul li:last-child {
    margin-bottom: 0;
}

.issue-category strong {
    color: var(--primary-color);
    font-weight: 600;
}

.access-issues {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.access-issue {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ffc107;
}

.access-issue:last-child {
    margin-bottom: 0;
}

.access-issue strong {
    color: #856404;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(28, 77, 161, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 77, 161, 0.2);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-details strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Sidebar Contact Styles */
.sidebar-contact {
    margin-top: 1rem;
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.sidebar-contact-item:last-child {
    margin-bottom: 0;
}

.sidebar-contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.sidebar-contact-details strong {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.sidebar-contact-details p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

.login-credentials {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

.credential-item {
    background: white;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential-item:last-child {
    margin-bottom: 0;
}

.credential-item strong {
    color: var(--primary-color);
    min-width: 100px;
    font-size: 1rem;
}

.example-box {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.example-box p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--primary-color);
}

.example-box p:first-child {
    margin-top: 0;
}

.example-box p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive for Tabs */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .tab-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 6px;
        justify-content: center;
    }
    
    .tab-header {
        padding: 1.5rem 1rem;
    }
    
    .tab-header h3 {
        font-size: 1.3rem;
    }
    
    .instruction-card {
        padding: 1.5rem 1rem;
    }
    
    .instruction-steps li {
        padding: 0.8rem 0 0.8rem 2.5rem;
    }
    
    .instruction-steps li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
    }
    
    .gti-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gti-btn {
        padding: 1.5rem 1rem;
    }
    
    .gti-btn i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .gti-btn span {
        font-size: 1.1rem;
    }
    
    .gti-btn small {
        font-size: 0.8rem;
    }
    
    .method-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .method-section h5 {
        font-size: 1rem;
    }
    
    .direct-links {
        padding: 0.75rem;
    }
    
    .direct-links p {
        font-size: 0.8rem;
        margin: 0.5rem 0;
    }
    
    .direct-links strong {
        min-width: 120px;
        font-size: 0.85rem;
    }
    
    .direct-links a {
        font-size: 0.75rem;
    }
    
    .qr-section {
        padding: 1rem;
    }
    
    .qr-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    
    .qr-info h6 {
        font-size: 1rem;
    }
    
    .qr-info p {
        font-size: 0.85rem;
    }
    
    .qr-instructions {
        padding: 1rem;
    }
    
    .qr-instructions h6 {
        font-size: 0.95rem;
    }
    
    .qr-instructions ol li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}
    
    .security-note {
        padding: 1rem;
    }
    
    .security-note h5 {
        font-size: 0.95rem;
    }
    
    .security-note p {
        font-size: 0.85rem;
    }
    
    .account-creation {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .creation-section {
        margin-bottom: 1.5rem;
    }
    
    .creation-section h5 {
        font-size: 1.1rem;
    }
    
    .username-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .username-option {
        padding: 1rem;
    }
    
    .option-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .option-format {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .password-info {
        padding: 1rem;
    }
    
    .password-info p {
        font-size: 0.9rem;
    }
    
    .example-creation {
        padding: 1rem;
    }
    
    .example-item {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    
    .credentials-reminder {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }
    
    .credentials-reminder h5 {
        font-size: 1.1rem;
    }
    
    .credentials-reminder p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .credentials-reminder ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .credentials-reminder code {
        font-size: 0.8rem;
        padding: 0.15rem 0.3rem;
    }
    
    .email-formats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .email-option {
        padding: 1rem;
    }
    
    .email-type {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        min-width: 150px;
    }
    
    .email-format {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .password-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .password-option {
        padding: 1rem;
        min-width: auto;
    }
    
    .password-format {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .password-label {
        font-size: 0.8rem;
    }
    
    .password-change-notice {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .password-change-notice h5 {
        font-size: 1.1rem;
    }
    
    .password-change-notice p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .password-change-notice ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .password-change-notice code {
        font-size: 0.8rem;
        padding: 0.15rem 0.3rem;
    }
    
    .issue-category {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .issue-category h5 {
        font-size: 1rem;
    }
    
    .issue-category ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .access-issues {
        padding: 1rem;
    }
    
    .access-issue {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .access-issue strong {
        font-size: 0.9rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-item i {
        font-size: 1.3rem;
    }
    
    .contact-details strong {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .sidebar-contact-item {
        padding: 0.6rem;
        margin-bottom: 0.75rem;
    }
    
    .sidebar-contact-item i {
        font-size: 1.1rem;
    }
    
    .sidebar-contact-details strong {
        font-size: 0.9rem;
    }
    
    .sidebar-contact-details p {
        font-size: 0.8rem;
    }

/* Safe ticker layout (label + scrolling titles) */
.news-ticker {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0; /* allow flex child to shrink without overflow */
	overflow: hidden; /* clip scrolling content */
}

.ticker-label {
	flex-shrink: 0; /* keep label visible */
}

.ticker-content {
	display: flex;
	gap: 40px;
	white-space: nowrap;
	animation: ticker 30s linear infinite;
	will-change: transform;
}


/* Keep animation defined (if not already) */
@keyframes ticker {
	0% { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

/* Mobile tweaks for spacing */
@media (max-width: 768px) {
	.news-ticker { gap: 10px; }
	.ticker-content { gap: 30px; }
}

/* Floating User Actions */
.floating-user-actions {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c4da1 0%, #527bbd 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #527bbd 0%, #1c4da1 100%);
    color: white;
    text-decoration: none;
}

.floating-dashboard {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.floating-dashboard:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.floating-logout {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

.floating-logout:hover {
    background: linear-gradient(135deg, #fd7e14 0%, #dc3545 100%);
}

/* Mobile responsiveness for floating buttons */
@media (max-width: 768px) {
    .floating-user-actions {
        left: 15px;
        bottom: 20px;
        flex-direction: row;
        gap: 8px;
    }
    
    .floating-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .floating-user-actions {
        left: 10px;
        bottom: 15px;
    }
    
    /* News Section - Single column on small mobile */
    .news-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Extra Small Mobile News Actions */
    .news-actions {
        flex-direction: column;
        gap: 20px;
        margin-top: 15px;
    }
    
    .news-actions .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        border-radius: 20px;
        width: 100%;
        max-width: 250px;
    }
    
    .social-media-icons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
    
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        min-width: auto;
        gap: 0;
    }
    
    .social-label {
        display: none;
    }
    
    .floating-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
}

/* Removed per-page unification; banners will be copied into pages */

/* Footer brand consistency */
.footer .footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer .university-details {
    display: flex;
    flex-direction: column;
}

.footer .university-name {
    color: #ffffff;
    font-weight: 800;
}

.footer .university-tagline {
    color: #ffc63e;
    font-style: italic;
}
