/**
 * TTU Engineering Theme - Complete Styles
 * Version: 1.0.0
 * 
 * @package TTU_Engineering
 */

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables & Root
   2. Reset & Base Styles
   3. Typography
   4. Header & Navigation
   5. Hero Carousel
   6. Sections General
   7. Dean's Welcome Section
   8. Departments Section
   9. News Section
   10. Events Section
   11. Call To Action Section
   12. Footer
   13. Page Templates
   14. Single Pages
   15. Sidebar
   16. Forms & Buttons
   17. Pagination
   18. Animations
   19. Responsive Breakpoints
   20. Print Styles
   ============================================ */

/* ============================================
   1. CSS VARIABLES & ROOT
   ============================================ */
:root {
    /* Colors */
    --primary-color: #003366;
    --primary-dark: #002244;
    --primary-light: #0055aa;
    --secondary-color: #ff8c00;
    --secondary-dark: #e67e00;
    --secondary-light: #ffa333;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #f8f9fa;
    --lighter: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #343a40;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1a1a1a;
        --lighter: #2d2d2d;
        --gray-light: #333333;
    }
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--lighter);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-base) var(--ease-out);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */
.top-header {
    font-size: 0.875rem;
    background: var(--primary-color);
    color: white;
}

.top-header a {
    color: white;
    transition: opacity var(--transition-base);
}

.top-header a:hover {
    color: white;
    opacity: 0.8;
}

.navbar {
    padding: 1rem 0;
    transition: all var(--transition-base) var(--ease-out);
    background-color: var(--lighter);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
    transition: all var(--transition-base);
}

.navbar.scrolled .navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--dark);
    position: relative;
    transition: color var(--transition-base);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all var(--transition-base) var(--ease-out);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    background: var(--lighter);
}

.dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: white;
    padding-left: 2rem;
}

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        animation: fadeInUp 0.3s ease;
    }
    
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--lighter);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 1050;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 1051;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .navbar-nav .nav-link::before {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background: var(--gray-light);
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
}

/* Search Bar */
#searchBar {
    transition: all var(--transition-base);
}

#searchBar.show {
    animation: slideDown 0.3s ease;
}

.search-toggle {
    transition: transform var(--transition-base);
}

.search-toggle:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.1);
}

/* ============================================
   5. HERO CAROUSEL
   ============================================ */
.hero-section .carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.carousel-item .container {
    position: relative;
    z-index: 2;
}

.carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-item .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

/* ============================================
   6. SECTIONS GENERAL
   ============================================ */
.section-padding {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
}

.section-title-left {
    text-align: left;
}

.section-title-left:after {
    left: 0;
    transform: none;
}

/* ============================================
   7. DEAN'S WELCOME SECTION
   ============================================ */
.deans-welcome {
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
}

.welcome-content .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
}

.dean-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dean-title {
    font-size: 1rem;
    color: var(--secondary-color);
}

.dean-signature {
    max-height: 60px;
    width: auto;
}

.dean-image {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base);
}

.dean-image:hover {
    transform: scale(1.02);
}

/* ============================================
   8. DEPARTMENTS SECTION
   ============================================ */
.department-card .card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base) var(--ease-out);
    background: var(--lighter);
}

.department-card .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.department-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.department-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.department-card .card-text {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Owl Carousel Customization */
.departments-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.departments-slider .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 50% !important;
    pointer-events: auto;
    transition: all var(--transition-base);
}

.departments-slider .owl-nav button:hover {
    background: var(--secondary-color) !important;
    transform: scale(1.1);
}

.departments-slider .owl-prev {
    left: -20px;
}

.departments-slider .owl-next {
    right: -20px;
}

.departments-slider .owl-dots {
    margin-top: var(--spacing-lg);
}

.departments-slider .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: var(--gray-light);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.departments-slider .owl-dot.active span {
    background: var(--secondary-color);
    width: 30px;
    border-radius: var(--radius-full);
}

/* ============================================
   9. NEWS SECTION
   ============================================ */
.news-card .card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--lighter);
}

.news-card .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.news-meta {
    font-size: 0.75rem;
}

.news-card .card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-card .card-text {
    font-size: 0.875rem;
}

/* ============================================
   10. EVENTS SECTION
   ============================================ */
.event-card {
    transition: transform var(--transition-base);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--lighter);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.event-day {
    font-size: 2rem;
    line-height: 1;
}

.event-month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.event-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* Featured Event */
.event-card.border-top {
    border-top-width: 4px !important;
}

/* ============================================
   11. CALL TO ACTION SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1%, transparent 1%);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta-section .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   12. FOOTER
   ============================================ */
.footer {
    background-color: var(--dark);
    color: var(--gray-light);
}

.footer-widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
    color: white;
}

.footer-widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer a {
    color: var(--gray-light);
    transition: color var(--transition-base);
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer .social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.footer .social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.newsletter-form .input-group {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    padding: 0.75rem;
}

/* ============================================
   13. PAGE TEMPLATES
   ============================================ */
/* Departments Archive */
.department-card .card-footer .btn {
    transition: all var(--transition-base);
}

.department-card .card-footer .btn:hover {
    transform: translateX(5px);
}

/* Staff Cards */
.staff-card {
    transition: all var(--transition-base);
    background: var(--lighter);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.staff-card img {
    border: 3px solid var(--secondary-color);
}

/* Gallery Page */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-card img {
    transition: transform var(--transition-base);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    background: white;
    padding: var(--spacing-sm);
}

.gallery-filter button {
    margin: 0 5px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.gallery-filter button.active,
.gallery-filter button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* ============================================
   14. SINGLE PAGES
   ============================================ */
/* Single Department */
.department-hero,
.programme-hero,
.staff-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.info-box {
    transition: transform var(--transition-base);
}

.info-box:hover {
    transform: translateY(-5px);
}

/* Programme Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* ============================================
   15. SIDEBAR
   ============================================ */
.widget {
    margin-bottom: var(--spacing-lg);
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* ============================================
   16. FORMS & BUTTONS
   ============================================ */
.btn {
    padding: 10px 24px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.875rem;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    padding: 0.75rem;
    transition: all var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* ============================================
   17. PAGINATION
   ============================================ */
.pagination {
    margin-top: var(--spacing-xl);
}

.page-link {
    color: var(--primary-color);
    border: none;
    margin: 0 4px;
    border-radius: var(--radius-md);
    padding: 8px 16px;
    transition: all var(--transition-base);
}

.page-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   18. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveBackground {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(50px, 50px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   19. RESPONSIVE BREAKPOINTS
   ============================================ */
/* Large Desktops */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktops */
@media (max-width: 1200px) {
    .carousel-item h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Tablets */
@media (max-width: 991px) {
    :root {
        --spacing-xxl: 3rem;
    }
    
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-item h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .dean-image {
        max-height: 400px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-xxl: 2.5rem;
    }
    
    .top-header {
        display: none;
    }
    
    .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .carousel-item h1 {
        font-size: 1.5rem;
    }
    
    .carousel-item .lead {
        font-size: 0.875rem;
    }
    
    .section-padding {
        padding: var(--spacing-xxl) 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .dean-image {
        max-height: 300px;
        margin-top: var(--spacing-lg);
    }
    
    .department-card .card-img-top {
        height: 200px;
    }
    
    .news-card .card-img-top {
        height: 180px;
    }
    
    .departments-slider .owl-nav {
        display: none;
    }
    
    .gallery-card img {
        height: 200px;
    }
    
    .gallery-filter button {
        margin: 5px;
        padding: 6px 12px;
        font-size: 0.875rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-item h1 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
    }
    
    .staff-card img {
        width: 120px;
        height: 120px;
    }
    
    .gallery-filter button {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .carousel-item h1 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   20. PRINT STYLES
   ============================================ */
@media print {
    .top-header,
    .navbar,
    .footer,
    .carousel-control-prev,
    .carousel-control-next,
    .btn,
    .gallery-filter,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

.shadow-hover {
    transition: box-shadow var(--transition-base);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
}

.zoom-hover {
    transition: transform var(--transition-base);
}

.zoom-hover:hover {
    transform: scale(1.05);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ============================================
   HERO CAROUSEL STYLES
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

/* Carousel Content */
.carousel-item .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation-duration: 0.8s;
}

.carousel-item .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation-duration: 0.8s;
}

.carousel-item .btn {
    animation-duration: 0.8s;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--secondary-color, #ff8c00);
    transform: scale(1.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--secondary-color, #ff8c00);
    transform: scale(1.1);
}

/* Carousel Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    transform: none;
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .carousel-item h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .hero-section .carousel-item {
        height: 60vh;
        min-height: 500px;
    }
    
    .carousel-item h1 {
        font-size: 2rem;
    }
    
    .carousel-item .lead {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-item h1 {
        font-size: 1.5rem;
    }
    
    .carousel-item .lead {
        font-size: 0.875rem;
    }
    
    .carousel-item .btn {
        padding: 8px 20px;
        font-size: 0.875rem;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section .carousel-item {
        height: 400px;
    }
    
    .carousel-item h1 {
        font-size: 1.25rem;
    }
    
    .carousel-item .btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}

/* ============================================
   NAVIGATION STYLING FIXES
   ============================================ */

/* Navbar container */
.navbar {
    padding: 0.8rem 0;
    min-height: 80px;
}

/* Navbar brand */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

/* Navigation items container */
.navbar-nav {
    gap: 0.25rem;
}

/* Nav items styling */
.navbar-nav .nav-item {
    list-style: none;
    margin: 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color, #ff8c00);
    background: rgba(255, 140, 0, 0.1);
}

/* Dropdown toggle styling */
.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: white;
    min-width: 220px;
}

.dropdown-menu .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #333;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--secondary-color, #ff8c00);
    color: white;
    transform: translateX(5px);
}

/* Apply Now button styling */
.navbar-nav .btn {
    padding: 8px 24px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, var(--secondary-color, #ff8c00), var(--secondary-dark, #e67e00));
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.navbar-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-dark, #e67e00), var(--secondary-color, #ff8c00));
}

.navbar-nav .btn::before {
    display: none;
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        animation: fadeInUp 0.3s ease;
    }
    
    .dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
}

/* Mobile responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1050;
        padding: 80px 20px 30px;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 1051;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background: #f8f9fa;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    .navbar-nav .btn {
        display: inline-block;
        width: auto;
        margin: 15px 0 0;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search button styling */
.search-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--secondary-color) !important;
}

/* Apply Now Button Styling - Inline with navigation */
.apply-now-nav {
    padding: 8px 24px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, var(--secondary-color, #ff8c00), var(--secondary-dark, #e67e00));
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apply-now-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-dark, #e67e00), var(--secondary-color, #ff8c00));
    color: white !important;
}

/* Search button styling */
.search-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.search-toggle:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--secondary-color) !important;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .apply-now-nav {
        display: inline-block;
        width: auto;
        margin: 15px 0 0;
        text-align: center;
    }
    
    .navbar-collapse {
        text-align: center;
    }
    
    .search-toggle {
        margin: 10px 0;
    }
}

/* Desktop - ensure everything is inline */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }
    
    .navbar-nav {
        margin-right: auto;
    }
    
    .search-toggle,
    .apply-now-nav {
        flex-shrink: 0;
    }
}

/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.page-title {
    color: var(--primary-color, #003366);
    margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-color, #003366);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color, #ff8c00);
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Page Content */
.page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.page-content h1 { font-size: 2.5rem; }
.page-content h2 { font-size: 2rem; }
.page-content h3 { font-size: 1.75rem; }
.page-content h4 { font-size: 1.5rem; }
.page-content h5 { font-size: 1.25rem; }
.page-content h6 { font-size: 1rem; }

.page-content p {
    margin-bottom: 1.25rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content blockquote {
    border-left: 4px solid var(--secondary-color, #ff8c00);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    font-style: italic;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.page-content th,
.page-content td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.page-content th {
    background: var(--primary-color, #003366);
    color: white;
}

.page-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Featured Image */
.page-featured-image {
    margin-bottom: 2rem;
}

.page-featured-image img {
    width: 100%;
    border-radius: 12px;
}

/* Page Links (Pagination) */
.page-links {
    clear: both;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.page-links-title {
    font-weight: 600;
    margin-right: 1rem;
}

.page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color, #003366);
}

.page-link:hover {
    background: var(--secondary-color, #ff8c00);
    color: white;
    border-color: var(--secondary-color, #ff8c00);
}

/* Edit Link */
.edit-link {
    margin-top: 1rem;
    text-align: right;
}

.edit-link a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    color: var(--primary-color, #003366);
    font-size: 0.875rem;
}

.edit-link a:hover {
    background: var(--secondary-color, #ff8c00);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content h1 { font-size: 1.75rem; }
    .page-content h2 { font-size: 1.5rem; }
    .page-content h3 { font-size: 1.35rem; }
    .page-content h4 { font-size: 1.2rem; }
}

/* ============================================
   PAGE HERO BANNER STYLES - CORRECTED
   ============================================ */

/* Page Hero Banner with Featured Image */
.page-hero-banner {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Fullwidth Banner specific */
.fullwidth-banner {
    width: 100%;
    min-height: 500px;
}

/* Banner Overlay - Makes text visible */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

/* Banner Content */
.page-hero-banner .container {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

/* Breadcrumbs in Banner - Make text visible */
.page-hero-banner .breadcrumbs,
.page-hero-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero-banner .breadcrumb-item a,
.page-hero-banner .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-hero-banner .breadcrumb-item a:hover,
.page-hero-banner .breadcrumbs a:hover {
    color: var(--secondary-color, #ff8c00) !important;
}

.page-hero-banner .breadcrumb-item.active,
.page-hero-banner .breadcrumbs .current-item {
    color: white !important;
}

.page-hero-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7) !important;
    content: "›";
}

/* ============================================
   FULLWIDTH PAGE CONTENT - WITH PROPER PADDING
   ============================================ */

.fullwidth-content-wrapper {
    padding: 60px 0;
    background: #ffffff;
}

/* Page Content Styles */
.page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--primary-color, #003366);
}

.page-content h1 { font-size: 2.5rem; }
.page-content h2 { font-size: 2rem; }
.page-content h3 { font-size: 1.75rem; }
.page-content h4 { font-size: 1.5rem; }
.page-content h5 { font-size: 1.25rem; }
.page-content h6 { font-size: 1rem; }

.page-content p {
    margin-bottom: 1.25rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content blockquote {
    border-left: 4px solid var(--secondary-color, #ff8c00);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.page-content th,
.page-content td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.page-content th {
    background: var(--primary-color, #003366);
    color: white;
}

.page-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Page Links (Pagination) */
.page-links {
    clear: both;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.page-links-title {
    font-weight: 600;
    margin-right: 1rem;
}

.page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color, #003366);
}

.page-link:hover {
    background: var(--secondary-color, #ff8c00);
    color: white;
    border-color: var(--secondary-color, #ff8c00);
}

/* Edit Link */
.edit-link {
    margin-top: 1rem;
    text-align: right;
}

.edit-link a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    color: var(--primary-color, #003366);
    font-size: 0.875rem;
    text-decoration: none;
}

.edit-link a:hover {
    background: var(--secondary-color, #ff8c00);
    color: white;
}

/* Section Padding */
.section-padding {
    padding: 60px 0;
}

/* Page Header without Banner */
.page-header-no-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 60px 0;
}

.page-header-no-banner .page-title {
    color: var(--primary-color, #003366);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 992px) {
    .page-hero-banner {
        min-height: 350px;
    }
    
    .fullwidth-banner {
        min-height: 400px;
    }
    
    .page-hero-banner .container {
        padding: 70px 0;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .page-header-no-banner {
        padding: 50px 0;
    }
    
    .page-header-no-banner .page-title {
        font-size: 2rem;
    }
    
    .fullwidth-content-wrapper {
        padding: 50px 0;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .page-hero-banner {
        min-height: 480px;
    }
    
    .fullwidth-banner {
        min-height: 450px;
    }
    
    .page-hero-banner .container {
        padding: 50px 0;
    }
    
    .banner-title {
        font-size: 1.75rem;
    }
    
    .page-header-no-banner {
        padding: 40px 0;
    }
    
    .page-header-no-banner .page-title {
        font-size: 1.5rem;
    }
    
    .fullwidth-content-wrapper {
        padding: 40px 0;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content h1 { font-size: 1.75rem; }
    .page-content h2 { font-size: 1.5rem; }
    .page-content h3 { font-size: 1.35rem; }
    .page-content h4 { font-size: 1.2rem; }
}

@media (max-width: 576px) {
    .page-hero-banner {
        min-height: 220px;
    }
    
    .fullwidth-banner {
        min-height: 250px;
    }
    
    .banner-title {
        font-size: 1.25rem;
    }
    
    .page-hero-banner .breadcrumb-item {
        font-size: 0.75rem;
    }
    
    .fullwidth-content-wrapper {
        padding: 30px 0;
    }
    
    .section-padding {
        padding: 30px 0;
    }
}

/* Style the search button properly */
.search-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    margin-left: 10px;
}
.search-toggle a{
    text-decoration: none;
}

.search-toggle i {
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
}

.search-toggle:hover i {
    color: var(--secondary-color, #ff8c00);
    transform: scale(1.1);
}

/* ============================================
   DEPARTMENT STAFF DISPLAY STYLES
   ============================================ */

/* Staff Card Styles */
.staff-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.staff-card img {
    border: 3px solid var(--secondary-color, #ff8c00);
    transition: all 0.3s ease;
}

.staff-card:hover img {
    transform: scale(1.02);
}

/* Staff List Styles */
.staff-list-item {
    transition: all 0.3s ease;
    background: white;
}

.staff-list-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

/* Staff Social Icons */
.staff-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.staff-social a:hover {
    background: var(--secondary-color, #ff8c00);
    color: white;
    transform: translateY(-2px);
}

/* Staff Carousel */
.staff-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color, #003366) !important;
    color: white !important;
    border-radius: 50% !important;
}

.staff-carousel .owl-prev {
    left: -20px;
}

.staff-carousel .owl-next {
    right: -20px;
}

.staff-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
}

.staff-carousel .owl-dots .owl-dot.active span {
    background: var(--secondary-color, #ff8c00);
}

/* Responsive */
@media (max-width: 768px) {
    .staff-card {
        margin-bottom: 20px;
    }
    
    .staff-list-item .row {
        text-align: center;
    }
    
    .staff-list-item img {
        margin-bottom: 15px;
    }
}

/* Events Section Styling */
.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color, #003366), var(--primary-dark, #002244));
    padding: 15px;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.event-year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.event-meta {
    font-size: 0.8rem;
}

.event-meta i {
    width: 20px;
    color: var(--secondary-color, #ff8c00);
}

@media (max-width: 768px) {
    .event-day {
        font-size: 1.8rem;
    }
    
    .event-date {
        padding: 10px;
    }
}