/* ============================================================
   TCB Education Theme - Main Stylesheet
   Blue Color Theme with Modern Design
   ============================================================ */

/* Font Awesome CSS Backup - Ensure icons display */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

/* Font Awesome Icon Display - Guarantee */
.fas, .fab, .far, .fal, .fad {
    display: inline-block;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fas {
    font-weight: 700 !important;
}

.fab {
    font-weight: 400 !important;
    font-family: "Font Awesome 6 Brands" !important;
}

.far {
    font-weight: 400 !important;
}

:root {
    --tcb-primary: #1e3a8a;
    --tcb-secondary: #3b82f6;
    --tcb-accent: #60a5fa;
    --tcb-light: #f3f4f6;
    --tcb-dark: #111827;
    --tcb-text: #374151;
    --tcb-border: #e5e7eb;
}

/* ============================================================
   GENERAL STYLES
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--tcb-text);
    line-height: 1.6;
    background-color: #fff;
}

/* Safety: ensure main content is visible */
#main-content,
.site-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50vh;
}

/* Layout width guard to avoid unintended narrow layout */
html,
body {
    width: 100%;
    max-width: none;
}

#page,
.site,
.site-content,
main {
    width: 100%;
    max-width: none;
}

/* Force full-width containers if layout appears too narrow */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    width: 100% !important;
    max-width: 100% !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--tcb-dark);
}

/* ============================================================
   TOP HEADER SECTION
   ============================================================ */

.top-header {
    background: var(--tcb-top-header-bg, #f9fafb);
    border-bottom: 2px solid var(--tcb-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: var(--tcb-top-header-text, #374151);
}

.top-header .contact-info {
    font-size: 0.9rem;
    color: var(--tcb-top-header-text, #374151);
}

.top-header .contact-info span {
    display: inline-block;
    margin-right: 2rem;
}

.top-header .contact-info i {
    margin-right: 0.5rem;
    color: var(--tcb-top-header-icon, #1e3a8a);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.top-header .social-icons {
    gap: 0.75rem;
}

.top-header .social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tcb-secondary);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.top-header .social-icon:hover {
    background: var(--tcb-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.3);
}

.top-header .btn-primary {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: var(--tcb-primary);
    border: none;
    color: white;
}

.top-header .btn-primary:hover {
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.2);
    transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.tcb-navbar {
    background: linear-gradient(135deg, var(--tcb-primary) 0%, var(--tcb-secondary) 100%) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.tcb-navbar.scrolled {
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.site-title {
    color: white;
    text-decoration: none;
}

.site-title:hover {
    color: var(--tcb-accent);
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-collapse {
    justify-content: flex-start;
}

/* Ensure menu is visible on desktop even if collapse state is stuck */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        visibility: visible !important;
        height: auto !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-collapse.collapse:not(.show) {
        display: flex !important;
    }
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.7rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--tcb-menu-hover-text, #ffffff) !important;
}

/* Underline animation disabled for better dropdown access */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--tcb-menu-hover-underline, #ffffff);
    transition: none;
    transform: translateX(-50%);
    display: none;
}

.menu-hover-animate .navbar-nav .nav-link:hover::after {
    width: 0;
}

.navbar-nav .nav-link.active::after {
    width: 0;
}

/* Home Icon Styling */
.navbar-nav .nav-link i.fa-home {
    transition: all 0.3s ease;
}

/* Home icon bounce animation disabled */
.menu-hover-animate .navbar-nav .nav-link:hover i.fa-home {
    animation: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background: linear-gradient(135deg, var(--tcb-primary) 0%, var(--tcb-secondary) 100%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
    margin-top: 0.5rem;
}

/* Dropdown animation slowed down for better usability - desktop only */
@media (min-width: 992px) {
    .menu-hover-animate .dropdown-menu {
        animation: slideDown 0.8s ease-out;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu .nav-link,
.dropdown-menu .dropdown-item {
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-menu .nav-link:hover,
.dropdown-menu .dropdown-item:hover {
    background-color: var(--tcb-dropdown-hover-bg, #3b82f6);
    border-left-color: white;
    padding-left: 1.75rem !important;
    color: var(--tcb-dropdown-hover-text, #ffffff) !important;
}

/* Dropdown Arrow Icon */
/* Dropdown arrow animation disabled */
.navbar-nav .dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    vertical-align: 0.255em;
    border-top: 0.3em solid rgba(255, 255, 255, 0.85);
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: none;
}

.navbar-nav .dropdown-toggle:hover::after,
.navbar-nav .dropdown-toggle.show::after {
    transform: none;
    border-top-color: white;
}

@media (min-width: 992px) {
    /* Slower dropdown transition for easier access */
    .menu-hover-dropdown .navbar-nav .dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
        pointer-events: none;
    }

    .menu-hover-dropdown .navbar-nav .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Arrow rotation disabled */
    .menu-hover-dropdown .navbar-nav .dropdown:hover > .dropdown-toggle::after {
        transform: none;
        border-top-color: white;
    }
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    border-bottom: 2px solid var(--tcb-border);
}

.site-header .site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.site-header .custom-logo {
    max-height: 64px;
    width: auto;
}

.logo-header {
    background: var(--tcb-logo-header-bg, #f9fafb);
    color: var(--tcb-logo-header-text, #1f2937);
    padding: var(--tcb-logo-header-padding, 24px) 0;
    transition: all 0.3s ease;
}

.logo-header .site-title,
.logo-header .site-title a,
.logo-header .site-tagline {
    color: var(--tcb-logo-header-text, #1f2937);
}

/* HTML Editor Support for Logo Header Right */
.logo-header .logo-header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 80px;
}

.logo-header .logo-header-right p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: inherit;
}

.logo-header .logo-header-right p:last-child {
    margin-bottom: 0;
}

.logo-header .logo-header-right strong {
    font-weight: 700;
    color: var(--tcb-primary);
}

.logo-header .logo-header-right em {
    font-style: italic;
    color: var(--tcb-secondary);
}

.logo-header .logo-header-right a {
    color: var(--tcb-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logo-header .logo-header-right a:hover {
    color: var(--tcb-secondary);
    text-decoration: underline;
}

.logo-header .logo-header-right br {
    content: '';
    display: block;
    height: 0.25rem;
}

.site-header h1 {
    color: var(--tcb-primary);
}

.site-header a {
    color: var(--tcb-primary);
    text-decoration: none;
}

.site-header a:hover {
    color: var(--tcb-secondary);
}

.site-tagline {
    font-size: 0.95rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--tcb-primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: white;
    background: var(--tcb-secondary);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
    min-height: 520px;
}

.hero-slide {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-slide--fallback {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 6%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Marquee */
.notice-marquee {
    background: #0f172a;
    color: #f8fafc;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.notice-marquee__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notice-marquee__label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    background: #1d4ed8;
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.notice-marquee__track {
    overflow: hidden;
    flex: 1;
}

.notice-marquee__items {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    animation: marquee-scroll var(--tcb-marquee-duration, 24s) linear infinite;
}

.notice-marquee__item {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
}

.notice-marquee__item:hover {
    color: #93c5fd;
}

.notice-marquee__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex: 0 0 auto;
}

.notice-marquee__track:hover .notice-marquee__items {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Gallery + Updates */
.home-updates .section-heading h2 {
    color: var(--tcb-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    padding: 2rem;
    border: 2px dashed var(--tcb-border);
    border-radius: 12px;
    text-align: center;
    background: var(--tcb-light);
}

.updates-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--tcb-border);
}

.updates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.updates-list li {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--tcb-border);
}

.updates-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.updates-list a {
    color: var(--tcb-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.updates-list a:hover {
    color: var(--tcb-secondary);
}

.updates-meta {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
}

.min-vh-50 {
    min-height: 50vh !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--tcb-primary) 0%, var(--tcb-secondary) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--tcb-secondary) 0%, var(--tcb-accent) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--tcb-primary);
    border-color: var(--tcb-primary);
}

.btn-outline-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-light {
    background: white;
    color: var(--tcb-primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--tcb-light);
    color: var(--tcb-primary);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.card-title {
    color: var(--tcb-primary);
    font-weight: 700;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

.card-title a:hover {
    color: var(--tcb-secondary);
}

.hover-shadow {
    animation: hover-shadow 0.3s ease;
}

@keyframes hover-shadow {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 12px 30px rgba(30, 58, 138, 0.2);
    }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.featured-courses,
.featured-teachers,
.testimonials {
    padding: 5rem 0;
}

.featured-courses {
    background: white;
}

.featured-teachers {
    background: var(--tcb-light);
}

.testimonials {
    background: white;
}

section h2 {
    color: var(--tcb-primary);
    margin-bottom: 1rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    background: linear-gradient(135deg, var(--tcb-secondary) 0%, var(--tcb-accent) 100%);
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: var(--tcb-footer-bg, #1e3a8a);
    color: var(--tcb-footer-text, #ffffff);
}

footer h4 {
    color: var(--tcb-footer-text, #ffffff);
    margin-bottom: 1.5rem;
}

footer p,
footer li {
    color: var(--tcb-footer-text, #ffffff);
}

footer a {
    color: var(--tcb-footer-link, #e5e7eb);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--tcb-footer-link-hover, #ffffff);
}

.text-white-50 {
    color: var(--tcb-footer-link, #e5e7eb) !important;
}

.text-white-50:hover {
    color: var(--tcb-footer-link-hover, #ffffff) !important;
}

/* ============================================================
   CONTENT STYLES
   ============================================================ */

.post-header,
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--tcb-border);
}

.post-title,
.page-title,
.archive-title {
    color: var(--tcb-primary);
    font-weight: 700;
}

.post-meta {
    font-size: 0.9rem;
}

.post-meta i {
    color: var(--tcb-secondary);
    margin-right: 0.5rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.primary-sidebar {
    margin-top: 2rem;
}

.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--tcb-light);
    border-radius: 8px;
    border-left: 4px solid var(--tcb-secondary);
}

.widget-title {
    color: var(--tcb-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: var(--tcb-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: var(--tcb-primary);
    padding-left: 0.5rem;
}

/* ============================================================
   COMMENTS
   ============================================================ */

.comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--tcb-light);
    border-radius: 8px;
}

.comments-title {
    color: var(--tcb-primary);
}

.comment-form {
    margin-top: 2rem;
}

.comment-author {
    color: var(--tcb-primary);
}

.comment-text {
    margin-top: 1rem;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--tcb-border);
    border-radius: 4px;
}

.search-form button {
    padding: 0.75rem 1.5rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
    gap: 0.5rem;
}

.page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid var(--tcb-border);
    color: var(--tcb-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--tcb-primary);
    color: white;
    border-color: var(--tcb-primary);
}

/* ============================================================
   TAGS & CATEGORIES
   ============================================================ */

.badge {
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--tcb-primary) 0%, var(--tcb-secondary) 100%) !important;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .top-header {
        padding: 1rem 0.5rem !important;
    }

    .top-header .contact-info {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .top-header .contact-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .top-header .text-end {
        text-align: left !important;
    }

    .top-header .btn-primary {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    .top-header .social-icons {
        justify-content: flex-start !important;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .site-title {
        font-size: 1rem;
    }

    .site-tagline {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .social-icons {
        margin-top: 1rem;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }

    /* Mobile dropdown menu styling - NO ANIMATIONS */
    .dropdown-menu {
        border-radius: 4px;
        margin-top: 0.25rem;
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: rgba(30, 58, 138, 0.9);
        padding-left: 1rem;
        display: none;
        pointer-events: auto !important;
        touch-action: auto !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Show dropdown when .show class is present - instant, no animation */
    .dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Prevent Bootstrap dropdown from interfering on mobile */
    .navbar-nav .dropdown {
        position: relative;
    }
    
    .navbar-nav .dropdown.show {
        background: transparent;
    }
    
    /* Disable all dropdown animations on mobile */
    .navbar-nav .dropdown-menu,
    .navbar-nav .dropdown-menu.show,
    .navbar-nav .animate-dropdown,
    .menu-hover-animate .navbar-nav .dropdown-menu {
        animation: none !important;
        transition: none !important;
    }
    
    /* Disable Bootstrap collapsing transition */
    .navbar-nav .collapsing {
        transition: none !important;
    }
    
    /* Force no animation on any element inside dropdown */
    .navbar-nav .dropdown * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Mobile dropdown arrow - make it visible */
    .navbar-nav .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.5rem;
        vertical-align: 0.15em;
        content: "" !important;
        border-top: 0.35em solid;
        border-right: 0.35em solid transparent;
        border-bottom: 0;
        border-left: 0.35em solid transparent;
        transition: transform 0.3s ease;
    }
    
    /* Rotate arrow when dropdown is open in mobile */
    .navbar-nav .dropdown.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Mobile dropdown toggle - ensure clickable */
    .navbar-nav .dropdown-toggle {
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile dropdown items */
    .dropdown-menu .nav-link,
    .dropdown-menu .dropdown-item {
        padding: 0.5rem 1rem !important;
        border-left: 2px solid rgba(255, 255, 255, 0.3);
        margin-left: 0.5rem;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
        display: block;
        width: 100%;
    }
    
    .dropdown-menu .nav-link:active,
    .dropdown-menu .dropdown-item:active {
        background: rgba(255, 255, 255, 0.15) !important;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 420px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .updates-panel {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .top-header .row {
        flex-direction: column;
    }

    .top-header .col-md-6 {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .top-header .text-end {
        text-align: left !important;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .post-header,
    .page-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
    
    /* Keep dropdown arrows visible on small mobile */
    .navbar-nav .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    /* Ensure dropdown shows on small mobile */
    .dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Mobile dropdown menu adjustments */
    .dropdown-menu {
        padding-left: 0.75rem;
    }
    
    .dropdown-menu .nav-link,
    .dropdown-menu .dropdown-item {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.85rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .contact-info span {
        display: block !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 360px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.bg-primary {
    background: linear-gradient(135deg, var(--tcb-primary) 0%, var(--tcb-secondary) 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, var(--tcb-secondary) 0%, var(--tcb-accent) 100%) !important;
}

.bg-light {
    background: var(--tcb-light) !important;
}

.text-primary {
    color: var(--tcb-primary) !important;
}

.text-secondary {
    color: var(--tcb-secondary) !important;
}

.border-primary {
    border-color: var(--tcb-primary) !important;
}

.border-secondary {
    border-color: var(--tcb-secondary) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--tcb-border) !important;
}

.border-top {
    border-top: 1px solid var(--tcb-border) !important;
}

/* ============================================================
   ANIMATIONS & TRANSITIONS
   ============================================================ */

a, button, .card {
    transition: all 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-in;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Color Change Animation - Disabled */
.menu-hover-animate .navbar-nav .nav-link:hover {
    animation: none;
}

@keyframes colorPulse {
    0% {
        color: rgba(255, 255, 255, 0.85);
    }
    50% {
        color: var(--tcb-menu-hover-text, #ffffff);
    }
    100% {
        color: var(--tcb-menu-hover-text, #ffffff);
    }
}

/* Dropdown Animation - Slowed down - desktop only */
@media (min-width: 992px) {
    .animate-dropdown {
        animation: dropdownFade 0.8s ease-out;
    }
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Hover Animation */
.icon-hover {
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Top Header Button Hover */
.top-header .btn-primary:hover {
    animation: buttonBounce 0.5s ease-in-out;
}

@keyframes buttonBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* Social Icon Hover */
.social-icon:hover {
    animation: socialPulse 0.5s ease-in-out;
}

@keyframes socialPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 8px 16px rgba(30, 58, 138, 0.4);
    }
    100% {
        transform: scale(1);
    }
}

/* ========================================
   PAGE LOADER STYLES
   ======================================== */

.tcb-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.1s ease-out;
}

.tcb-page-loader.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

.loader-content {
    text-align: center;
    pointer-events: none;
}

/* Spinner Loader */
.loader-spinner .spinner {
    border: 4px solid rgba(30, 58, 138, 0.1);
    border-top: 4px solid #1e3a8a;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin-loader 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin-loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Dots Loader */
.dots-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dots-loader .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1e3a8a;
    animation: bounce-loader 1.4s infinite ease-in-out both;
}

.dots-loader .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dots-loader .dot:nth-child(2) {
    animation-delay: -0.16s;
}

.dots-loader .dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes bounce-loader {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Pulse Loader */
.pulse-loader {
    text-align: center;
    margin-bottom: 20px;
}

.pulse-loader .pulse {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #1e3a8a;
    animation: pulse-animation 2s infinite ease-in-out;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.7);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
        box-shadow: 0 0 0 20px rgba(30, 58, 138, 0);
    }
}

/* Image Loader */
.loader-image-wrapper {
    margin-bottom: 20px;
}

.loader-image-wrapper .loader-image {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: float-loader 3s ease-in-out infinite;
}

@keyframes float-loader {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Loader Text */
.loader-text {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1px;
}

.loader-text.typing {
    overflow: hidden;
    border-right: 2px solid currentColor;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-cursor 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-cursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: currentColor;
    }
}

/* Responsive Loader */
@media (max-width: 576px) {
    .loader-image-wrapper .loader-image {
        max-width: 100px;
        max-height: 100px;
    }

    .loader-text {
        font-size: 14px;
    }
}

/* ========================================
   ICON AND FONT AWESOME SETUP
   ======================================== */

/* Font Awesome Icon Support - Ensure proper display */
.fa, .fas, .fab, .far, .fal, .fad, .fat {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
    line-height: 1;
    text-rendering: auto;
}

/* Solid icons */
.fas::before,
.fa-solid::before {
    font-weight: 900;
}

/* Brand/Social icons */
.fab::before,
.fa-brands::before {
    font-weight: 400;
}

/* Regular icons */
.far::before,
.fa-regular::before {
    font-weight: 400;
}

/* Light icons */
.fal::before,
.fa-light::before {
    font-weight: 300;
}

/* Thin icons */
.fat::before,
.fa-thin::before {
    font-weight: 100;
}

/* Icon sizing */
.fa-xs {
    font-size: 0.75em;
}

.fa-sm {
    font-size: 0.875em;
}

.fa-lg {
    font-size: 1.333em;
    line-height: 0.75em;
    vertical-align: -0.225em;
}

.fa-1x {
    font-size: 1em;
}

.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

.fa-4x {
    font-size: 4em;
}

.fa-5x {
    font-size: 5em;
}

.fa-6x {
    font-size: 6em;
}

.fa-7x {
    font-size: 7em;
}

.fa-8x {
    font-size: 8em;
}

.fa-9x {
    font-size: 9em;
}

.fa-10x {
    font-size: 10em;
}

/* Icon animation support */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fa-pulse {
    animation: fa-pulse 1s infinite steps(8);
}

@keyframes fa-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* ========================================
   SHORTCODE STYLES
   ======================================== */

/* Slideshow/Hero Carousel Shortcode */
.slideshow-wrapper .hero-carousel {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.slideshow-wrapper .carousel-control-prev,
.slideshow-wrapper .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slideshow-wrapper .carousel-control-prev:hover,
.slideshow-wrapper .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Gallery Grid Shortcode */
.gallery-grid-shortcode {
    margin: 0;
}

.gallery-grid-shortcode .gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: #f0f0f0;
}

.gallery-grid-shortcode .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid-shortcode .gallery-item:hover img {
    transform: scale(1.05);
}

/* Courses Grid Shortcode */
.courses-grid-shortcode .card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}
.course-curriculum {
    background: #f8fafc;
    border: 1px solid var(--tcb-border);
    border-radius: 12px;
    padding: 24px;
}

.course-curriculum-content > *:first-child {
    margin-top: 0;
}

.course-curriculum-content h3,
.course-curriculum-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.course-curriculum-content ul,
.course-curriculum-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.course-curriculum-content li {
    margin-bottom: 0.35rem;
}

.courses-grid-shortcode .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.courses-grid-shortcode .card img {
    height: 200px;
    object-fit: cover;
}

.courses-grid-shortcode .card-title a {
    color: var(--tcb-primary, #1e3a8a);
    transition: color 0.2s ease;
}

.courses-grid-shortcode .card-title a:hover {
    color: var(--tcb-secondary, #7c3aed);
}

/* Teachers Grid Shortcode */
.teachers-grid-shortcode .card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.teachers-grid-shortcode .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.teachers-grid-shortcode .card img {
    height: 250px;
    object-fit: cover;
}

.teachers-grid-shortcode .card-title a {
    color: var(--tcb-primary, #1e3a8a);
    transition: color 0.2s ease;
}

.teachers-grid-shortcode .card-title a:hover {
    color: var(--tcb-secondary, #7c3aed);
}

/* Testimonials Grid Shortcode */
.testimonials-grid-shortcode .card {
    border: none;
    border-left: 4px solid var(--tcb-primary, #1e3a8a);
    transition: all 0.3s ease;
}

.testimonials-grid-shortcode .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.15) !important;
}

.testimonials-grid-shortcode .fa-star {
    font-size: 0.875rem;
}

/* Testimonials Carousel Shortcode */
.testimonials-carousel .carousel-item {
    padding: 40px 0;
}

.testimonials-carousel .card {
    border: none;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--tcb-primary, #1e3a8a);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

/* Marquee Shortcode */
.marquee-shortcode {
    background: var(--tcb-marquee-bg, var(--tcb-primary, #1e3a8a));
    color: var(--tcb-marquee-text, #ffffff);
    padding: 12px 0;
    overflow: hidden;
}

.marquee-shortcode .marquee-label {
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    border-radius: 4px;
}

.marquee-shortcode .notice-marquee__wrapper {
    overflow: hidden;
    position: relative;
}

.marquee-shortcode .notice-marquee__items {
    display: flex;
    gap: 20px;
    animation: marquee-scroll var(--tcb-marquee-duration, 20s) linear infinite;
}

.marquee-shortcode .marquee-item {
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.marquee-shortcode .marquee-item:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive Shortcode Styles */
@media (max-width: 768px) {
    .courses-grid-shortcode .col-md-4,
    .courses-grid-shortcode .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .teachers-grid-shortcode .col-md-3,
    .teachers-grid-shortcode .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonials-grid-shortcode .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .slideshow-wrapper .carousel-control-prev,
    .slideshow-wrapper .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .courses-grid-shortcode .col-md-4,
    .courses-grid-shortcode .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-grid-shortcode .col-md-3,
    .gallery-grid-shortcode .col-md-4,
    .gallery-grid-shortcode .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonials-carousel .carousel-item {
        padding: 20px 0;
    }

    .marquee-shortcode .marquee-label {
        font-size: 0.75rem;
        padding: 0 10px;
    }
}
/* ============================================================
   WIDGET SHORTCODES STYLING
   ============================================================ */

/* Recent Posts Widget */
.tcb-recent-posts .posts-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.tcb-recent-posts .posts-grid-1-columns {
    grid-template-columns: 1fr;
}

.tcb-recent-posts .posts-grid-2-columns {
    grid-template-columns: repeat(2, 1fr);
}

.tcb-recent-posts .posts-grid-3-columns {
    grid-template-columns: repeat(3, 1fr);
}

.tcb-recent-posts .posts-grid-4-columns {
    grid-template-columns: repeat(4, 1fr);
}

.tcb-recent-posts .post-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tcb-recent-posts .post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.tcb-recent-posts .post-thumbnail {
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.tcb-recent-posts .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tcb-recent-posts .post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.tcb-recent-posts .post-content {
    padding: 1.5rem;
}

.tcb-recent-posts .post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.tcb-recent-posts .post-title a {
    color: #1e3a8a;
    text-decoration: none;
}

.tcb-recent-posts .post-title a:hover {
    color: #3b82f6;
}

.tcb-recent-posts .post-meta {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.tcb-recent-posts .post-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tcb-recent-posts .read-more {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tcb-recent-posts .read-more:hover {
    color: #3b82f6;
}

/* Contact Info Widget */
.tcb-contact-widget {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tcb-contact-widget .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-left: 4px solid #1e3a8a;
    border-radius: 4px;
}

.tcb-contact-widget .contact-item i {
    color: #1e3a8a;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tcb-contact-widget .contact-details {
    flex: 1;
}

.tcb-contact-widget .contact-details label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.tcb-contact-widget .contact-details a,
.tcb-contact-widget .contact-details p {
    color: #6b7280;
    text-decoration: none;
    margin: 0;
}

.tcb-contact-widget .contact-details a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* Social Links Widget */
.tcb-social-widget {
    margin: 1rem 0;
}

.tcb-social-widget .social-links-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tcb-social-widget .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.tcb-social-widget.social-size-large .social-link {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.tcb-social-widget.social-size-small .social-link {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.tcb-social-widget .social-link:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Specific social platform colors */
.tcb-social-widget .social-facebook:hover {
    background: #1877f2;
}

.tcb-social-widget .social-twitter:hover {
    background: #1da1f2;
}

.tcb-social-widget .social-instagram:hover {
    background: #e4405f;
}

.tcb-social-widget .social-linkedin:hover {
    background: #0a66c2;
}

.tcb-social-widget .social-youtube:hover {
    background: #ff0000;
}

/* Sidebar Widget */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.widget-title {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #1e3a8a;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: #3b82f6;
    padding-left: 0.5rem;
}

@media (max-width: 768px) {
    .tcb-recent-posts .posts-grid-2-columns,
    .tcb-recent-posts .posts-grid-3-columns,
    .tcb-recent-posts .posts-grid-4-columns {
        grid-template-columns: 1fr;
    }

    .tcb-social-widget .social-links-wrapper {
        gap: 0.75rem;
    }

    .tcb-social-widget .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .tcb-contact-widget {
        gap: 1rem;
    }

    .tcb-contact-widget .contact-item {
        padding: 0.75rem;
    }
}

/* ============================================================
   ADMISSION FORM
   ============================================================ */
.tcb-admission-form-wrapper {
    background: #fff;
    border: 1px solid var(--tcb-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.tcb-admission-form .form-label {
    font-weight: 600;
    color: var(--tcb-dark);
}

.tcb-admission-form .form-control {
    border-radius: 8px;
    border: 1px solid var(--tcb-border);
    padding: 0.65rem 0.75rem;
}

.tcb-admission-form .form-control:focus {
    border-color: var(--tcb-primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.15);
}

.tcb-honeypot {
    display: none;
}

/* ============================================================
   EVENTS CALENDAR
   ============================================================ */
.tcb-events-calendar {
    background: #fff;
    border: 1px solid var(--tcb-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.tcb-events-calendar .calendar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tcb-events-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
}

.tcb-events-calendar .calendar-weekday {
    font-weight: 700;
    text-align: center;
    color: var(--tcb-primary);
}

.tcb-events-calendar .calendar-day {
    border: 1px solid var(--tcb-border);
    border-radius: 10px;
    min-height: 90px;
    padding: 0.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tcb-events-calendar .calendar-day.empty {
    background: transparent;
    border: none;
}

.tcb-events-calendar .day-number {
    font-weight: 700;
    color: var(--tcb-dark);
}

.tcb-events-calendar .day-events {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.tcb-events-calendar .day-events a {
    font-size: 0.85rem;
    color: var(--tcb-primary);
    text-decoration: none;
}

.tcb-events-calendar .event-time {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

/* ============================================================
   MARQUEE PRESETS
   ============================================================ */
.notice-marquee--pill {
    background: #1e40af;
    border-bottom: none;
    border-radius: 999px;
    margin: 0.75rem 1.5rem;
}

.notice-marquee--pill .notice-marquee__label {
    background: #0f172a;
}

.notice-marquee--minimal {
    background: #f8fafc;
    color: #1e293b;
    border-bottom: 1px solid var(--tcb-border);
}

.notice-marquee--minimal .notice-marquee__label {
    background: #e2e8f0;
    color: #1e293b;
}

.notice-marquee--minimal .notice-marquee__item {
    color: #1e293b;
}

.notice-marquee--minimal .notice-marquee__item:hover {
    color: var(--tcb-primary);
}