/* =========================================
   Root Variables
========================================= */
:root {
    --maroon-900: #4b0f0f;
    --maroon-800: #800000;
    --maroon-600: #a52a2a;
    --gold: #FFD700;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --muted-gray: #666;
    --radius: 0.5rem;

    --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
    --shadow-elegant: 0 10px 40px -10px rgba(128, 17, 17, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Global Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* =========================================
   Navigation
========================================= */
.navbar {
    background-color: white !important;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-container {
    width: 48px;
    height: 48px;
    background-color: var(--maroon-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.logo-container i {
    font-size: 24px;
    color: var(--gold);
}

.brand-text,
.brand-text-mobile {
    font-weight: 700;
    color: var(--maroon-800);
}

.navbar-nav .nav-link {
    color: var(--maroon-800) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #912424 !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: black !important;
}

.navbar-toggler-icon {
    filter: invert(30%) sepia(100%) saturate(800%) hue-rotate(340deg);
}

.navbar-nav .nav-link i,
.navbar-nav .nav-link svg {
    color: #000 !important;
    fill: #000 !important;
    width: 1.3rem;
    height: 1.3rem;
    vertical-align: middle;
    transition: fill 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.navbar-nav .nav-link svg path,
.navbar-nav .nav-link svg g {
    fill: #000 !important;
    stroke: none !important;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link:hover svg,
.navbar-nav .nav-link:hover svg path,
.navbar-nav .nav-link:hover svg g {
    color: #800000 !important;
    fill: #800000 !important;
    transform: translateY(-2px);
}

/* =========================================
   Buttons
========================================= */
.btn-outline-maroon {
    border: 2px solid var(--maroon-800);
    color: var(--maroon-800);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-maroon:hover {
    background-color: var(--maroon-800);
    color: white;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--gold);
    border: none;
    color: var(--maroon-800);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #E6C200;
    color: var(--maroon-800);
    transform: translateY(-2px);
}

.btn1 {
    background-color: #ffffff;
    color: #800000;
    border: 2px solid #800000;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn1:hover {
    background-color: #800000;
    color: #ffffff;
    transform: translateY(-2px);
}

.btne {
    background-color: #800000;
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btne:hover {
    background-color: #600000;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btns {
    background-color: #800000;
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btns i {
    color: #ffffff;
    font-size: 1rem;
}

.btns:hover {
    background-color: #600000;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* =========================================
   Hero Section
========================================= */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

#heroCarousel {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(128, 0, 0, 0.8);
    border-radius: 50%;
    padding: 0.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #800000;
    border-color: #800000;
    width: 40px;
    border-radius: 6px;
}

/* Fade transition effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* =========================================
   Section Headers
========================================= */
.section-header {
    margin-bottom: 3rem;
}

.icon-circle {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #800000, #600000) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.icon-circle > i,
.icon-circle i.fas,
.icon-circle i.fa,
.icon-circle i.far,
.icon-circle i.fab {
    color: #ffffff !important;
    font-size: 2.8rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transform-origin: center !important;
}

.icon-circle > svg,
.icon-circle svg {
    fill: #ffffff !important;
    color: #ffffff !important;
    width: 2.8rem !important;
    height: 2.8rem !important;
    vertical-align: middle !important;
}

.icon-circle * {
    z-index: 2 !important;
}

.icon-circle:hover i,
.icon-circle:hover svg {
    transform: scale(1.08);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon-800);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   Announcements Section
========================================= */
.announcements-section {
    background-color: var(--light-gray);
}

.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.badge {
    background-color: #ffffff;
    color: #800000;
    border: 2px solid #800000;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* =========================================
   Calendar Section
========================================= */
.calendar-section {
    background: white;
}

.calendar-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.fc {
    font-family: 'Poppins', sans-serif;
}

#fullcalendar {
    font-family: 'Poppins', sans-serif;
}

.fc-daygrid-event {
    background-color: var(--maroon-800) !important;
    border: 1px solid var(--maroon-900) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.fc-daygrid-event .fc-event-title {
    white-space: normal !important;
    text-align: center;
    display: block;
    line-height: 1.3;
    font-size: 0.95rem;
}

.fc-daygrid-event:hover {
    filter: brightness(1.15);
    transform: scale(1.03);
    transition: all 0.2s ease;
}

.fc-toolbar-title {
    color: var(--maroon-800);
    font-weight: 700;
}

.fc-button {
    background-color: var(--maroon-800) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fc-button:hover {
    background-color: var(--maroon-600) !important;
}

.fc-event-dot,
.fc-list-event-dot,
.fc-daygrid-event-dot,
.fc-event::before {
    display: none !important;
    content: none !important;
}

/* =========================================
   Footer
========================================= */
.footer {
    background: #600000 !important;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    border-top: 3px solid #600000;
}

.footer p {
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* =========================================
   Animations
========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-card,
.feature-card,
.step-card {
    animation: fadeInUp 0.6s ease-out;
}

/* =========================================
   MOBILE RESPONSIVE STYLES
========================================= */

/* Tablets and iPad (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .logo-container {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }

    .brand-text-mobile {
        font-size: 1.1rem;
    }

    .navbar-nav {
        /* padding: 1rem 0; */
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-nav .btn1,
    .navbar-nav .btns {
        width: 100%;
        max-width: 200px;
        margin: 0.5rem auto;
        display: block;
        text-align: center;
        padding: 0.6rem 1.2rem;
    }
    .hero-section {
        height: 550px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .icon-circle {
        width: 80px !important;
        height: 80px !important;
    }

    .icon-circle > i,
    .icon-circle i.fas,
    .icon-circle i.fa,
    .icon-circle i.far,
    .icon-circle i.fab,
    .icon-circle > svg,
    .icon-circle svg {
        font-size: 2.4rem !important;
        width: 2.4rem !important;
        height: 2.4rem !important;
    }

    .announcement-card {
        padding: 1.5rem;
    }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        margin-top: 0.5rem;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .navbar-nav .nav-item {
        display: block;
        margin: 0.5rem 0;
    }

    .logo-container {
        width: 44px;
        height: 44px;
    }

    .logo-container i {
        font-size: 22px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn1, .btne, .btns {
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .btn-outline-light {
        width: 100%;
        padding: 0.7rem 1.2rem;
    }

    /* Hero Section */
    .hero-section {
        height: 500px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .hero-buttons .btne,
    .hero-buttons .btn-outline-light {
        width: 100%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .carousel-indicators {
        bottom: 5px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators .active {
        width: 35px;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .icon-circle {
        width: 70px !important;
        height: 70px !important;
    }

    .icon-circle > i,
    .icon-circle i.fas,
    .icon-circle i.fa,
    .icon-circle i.far,
    .icon-circle i.fab,
    .icon-circle > svg,
    .icon-circle svg {
        font-size: 2rem !important;
        width: 2rem !important;
        height: 2rem !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Announcements */
    .announcement-card {
        margin: 1rem 0;
        padding: 1.5rem;
        text-align: center;
    }

    .announcement-card h3 {
        font-size: 1.2rem;
    }

    .announcement-card .date {
        font-size: 0.9rem;
    }

    .announcement-card .description {
        font-size: 0.95rem;
    }

    /* Calendar */
    .calendar-wrapper {
        padding: 1rem;
        overflow-x: auto;
    }

    #fullcalendar {
        min-width: 100%;
    }

    .fc-toolbar-title {
        font-size: 1.2rem !important;
    }

    .fc-button {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .fc-toolbar.fc-header-toolbar {
        margin-bottom: 1rem !important;
    }

    /* Footer */
    .footer {
        font-size: 0.85rem;
        padding: 1rem 0;
    }

    .footer .fa-lg {
        font-size: 1.3rem;
    }
}

/* Small Mobile Devices (max-width: 575px) */
@media (max-width: 575px) {
    body {
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-section {
        height: 450px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }

    /* Section Content */
    .icon-circle {
        width: 65px !important;
        height: 65px !important;
    }

    .icon-circle > i,
    .icon-circle i.fas,
    .icon-circle i.fa,
    .icon-circle i.far,
    .icon-circle i.fab,
    .icon-circle > svg,
    .icon-circle svg {
        font-size: 1.8rem !important;
        width: 1.8rem !important;
        height: 1.8rem !important;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Announcements */
    .announcement-card {
        padding: 1.2rem;
    }

    .announcement-card h3 {
        font-size: 1.1rem;
    }

    /* Calendar */
    .fc-toolbar-title {
        font-size: 1rem !important;
    }

    .fc-button {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
    }

    .fc-toolbar.fc-header-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* Extra Small Devices (max-width: 425px) */
@media (max-width: 425px) {
    /* Navbar */
    .navbar {
        padding: 0.5rem;
    }

    .logo-container {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }

    .logo-container i {
        font-size: 20px;
    }

    .brand-text,
    .brand-text-mobile {
        font-size: 1rem;
    }

    .navbar-nav .nav-link i,
    .navbar-nav .nav-link svg {
        width: 1.1rem;
        height: 1.1rem;
    }

    /* Buttons */
    .btn1, .btne, .btns {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-section {
        height: 420px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }

    .carousel-indicators .active {
        width: 30px;
    }

    /* Sections */
    .icon-circle {
        width: 60px !important;
        height: 60px !important;
    }

    .icon-circle > i,
    .icon-circle i.fas,
    .icon-circle i.fa,
    .icon-circle i.far,
    .icon-circle i.fab,
    .icon-circle > svg,
    .icon-circle svg {
        font-size: 1.6rem !important;
        width: 1.6rem !important;
        height: 1.6rem !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Announcements */
    .announcement-card {
        padding: 1rem;
    }

    .announcement-card h3 {
        font-size: 1rem;
    }

    .announcement-card .date {
        font-size: 0.85rem;
    }

    .announcement-card .description {
        font-size: 0.9rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    /* Calendar */
    .calendar-wrapper {
        padding: 0.75rem;
    }

    .fc-toolbar-title {
        font-size: 0.95rem !important;
    }

    .fc-button {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    /* Footer */
    .footer {
        font-size: 0.8rem;
        padding: 0.8rem 0;
    }

    .footer .fa-lg {
        font-size: 1.2rem;
    }
}

/* Ultra Small Devices (max-width: 375px) */
@media (max-width: 375px) {
    body {
        padding: 0 0.5rem;
    }

    /* Navbar */
    .navbar-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .logo-container {
        width: 38px;
        height: 38px;
    }

    .logo-container i {
        font-size: 18px;
    }

    .brand-text,
    .brand-text-mobile {
        font-size: 0.95rem;
    }

    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-section {
        height: 380px;
    }

    .hero-content {
        padding: 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    /* .carousel-indicators {
        bottom: 15px !important;
    } */

    /* Sections */
    .section-header {
        margin-bottom: 1.5rem;
    }

    .icon-circle {
        width: 55px !important;
        height: 55px !important;
    }

    .icon-circle > i,
    .icon-circle i.fas,
    .icon-circle i.fa,
    .icon-circle i.far,
    .icon-circle i.fab,
    .icon-circle > svg,
    .icon-circle svg {
        font-size: 1.5rem !important;
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* Announcements */
    .announcement-card {
        padding: 0.9rem;
    }

    .announcement-card h3 {
        font-size: 0.95rem;
    }

    /* Calendar */
    .calendar-wrapper {
        padding: 0.5rem;
    }

    .fc-toolbar-title {
        font-size: 0.9rem !important;
    }

    .fc-button {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    .fc-daygrid-event {
        font-size: 0.85rem;
        padding: 4px 6px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        font-size: 0.75rem;
    }

    .footer .fa-lg {
        font-size: 1.1rem;
    }
}

/* ============================================
   SMALLEST DEVICES (320px and below)
   ============================================ */

@media (max-width: 320px) {
    /* Navbar */
    .logo-container {
        width: 36px;
        height: 36px;
    }

    .logo-container i {
        font-size: 16px;
    }

    .brand-text,
    .brand-text-mobile {
        font-size: 0.9rem;
    }

    /* Hero */
    .hero-section {
        height: 350px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-buttons .btne,
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    /* Announcements */
    .announcement-card {
        padding: 0.8rem;
    }

    .announcement-card h3 {
        font-size: 0.9rem;
    }

    .announcement-card .description {
        font-size: 0.75rem;
    }

    /* Calendar */
    .fc-toolbar-title {
        font-size: 0.85rem !important;
    }

    .fc-button {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
    }

    /* Footer */
    .footer {
        font-size: 0.7rem;
    }

    .footer .fa-lg {
        font-size: 1rem;
    }
}
/* =========================================
   Enhanced Feedback Section Styles
========================================= */
.feedback-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0e9e9 100%);
    position: relative;
    overflow: hidden;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: linear-gradient(90deg, #912424, #c44545, #912424); */
}

/* Section Header */
.feedback-section .section-header {
    position: relative;
    z-index: 1;
}

.feedback-section .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #912424, #b83030);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(145, 36, 36, 0.3);
}

.feedback-section .icon-circle i {
    color: white;
    font-size: 2rem;
}

.feedback-section .section-title {
    color: #912424;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.feedback-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Feedback Cards */
.feedback-section .card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    min-height: 280px;
    border: 2px solid #912424 !important;
    background: linear-gradient(135deg, #ffffff 0%, #fdf8f8 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem !important;
}

.feedback-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #912424, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feedback-section .card:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 15px 40px rgba(145, 36, 36, 0.25) !important;
    border-color: #b83030 !important;
}

.feedback-section .card:hover::before {
    opacity: 1;
}

/* Card Content Centering */
.feedback-section .card > * {
    text-align: center;
}

.feedback-section .card .d-flex {
    justify-content: center;
}

/* User Info */
.feedback-section .card img {
    border: 1px solid #912424;
    box-shadow: 0 4px 12px rgba(145, 36, 36, 0.2);
    transition: transform 0.3s ease;
}

.feedback-section .card:hover img {
    transform: scale(1.1);
}

.feedback-section .card h6 {
    color: #912424;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.feedback-section .card small {
    color: #8b6464;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Star Ratings */
.feedback-section .mb-2 {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1.25rem !important;
}

.feedback-section .fa-star {
    color: #912424 !important;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(145, 36, 36, 0.2));
    transition: transform 0.2s ease;
}

.feedback-section .far.fa-star {
    color: #d4a5a5 !important;
    font-size: 1.2rem;
}

.feedback-section .card:hover .fa-star {
    transform: scale(1.1);
}

/* Comments */
.feedback-section .card p {
    color: #5a4545;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    position: relative;
    padding: 0 1rem;
}

.feedback-section .card p::before,
.feedback-section .card p::after {
    content: '"';
    color: #912424;
    /* font-size: 2rem; */
    font-weight: bold;
    padding: 0 0.3rem;
    opacity: 0.3;
}

/* Carousel Controls */
.feedback-section .carousel-control-prev,
.feedback-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedback-section:hover .carousel-control-prev,
.feedback-section:hover .carousel-control-next {
    opacity: 1;
}

.feedback-section .carousel-control-prev {
    left: -60px;
}

.feedback-section .carousel-control-next {
    right: -60px;
}

.feedback-section .carousel-control-prev-icon,
.feedback-section .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: #912424 !important;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(145, 36, 36, 0.3);
    transition: all 0.3s ease;
}

.feedback-section .carousel-control-prev:hover .carousel-control-prev-icon,
.feedback-section .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #b83030 !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(145, 36, 36, 0.4);
}

/* Carousel Indicators (if you want to add them) */
.feedback-section .carousel-indicators {
    margin-bottom: -2.5rem;
}

.feedback-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d4a5a5;
    border: 2px solid #912424;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.feedback-section .carousel-indicators button.active {
    background-color: #912424;
    opacity: 1;
    transform: scale(1.2);
}

/* Empty State */
.feedback-section .text-center.text-muted {
    color: #8b6464 !important;
    font-size: 1.2rem;
    padding: 3rem 0;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .feedback-section .card {
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    .feedback-section .section-title {
        font-size: 2rem;
    }
    
    .feedback-section .card {
        min-height: 240px;
        padding: 1.5rem !important;
    }
    
    .feedback-section .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .feedback-section .icon-circle i {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .feedback-section .section-title {
        font-size: 1.75rem;
    }
    
    .feedback-section .section-subtitle {
        font-size: 1rem;
    }
    
    .feedback-section .card {
        min-height: auto;
        padding: 1.25rem !important;
    }
    
    .feedback-section .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .feedback-section .icon-circle i {
        font-size: 1.5rem;
    }
}

@media (max-width: 425px) {
    .feedback-section .card h6 {
        font-size: 1rem;
    }
    
    .feedback-section .card small {
        font-size: 0.8rem;
    }
    
    .feedback-section .fa-star,
    .feedback-section .far.fa-star {
        font-size: 1rem;
    }
    
    .feedback-section .card p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .feedback-section .card img {
        width: 45px;
        height: 45px;
    }
}

/* Animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-section .card {
    animation: fadeInUp 0.6s ease-out;
}

.feedback-section .carousel-item:nth-child(1) .col-md-4:nth-child(1) .card,
.feedback-section .carousel-item:nth-child(1) .col-md-6:nth-child(1) .card {
    animation-delay: 0.1s;
}

.feedback-section .carousel-item:nth-child(1) .col-md-4:nth-child(2) .card,
.feedback-section .carousel-item:nth-child(1) .col-md-6:nth-child(2) .card {
    animation-delay: 0.2s;
}

.feedback-section .carousel-item:nth-child(1) .col-md-4:nth-child(3) .card {
    animation-delay: 0.3s;
}
/* =========================================
   MOBILE RESPONSIVE CALENDAR EVENTS
========================================= */

/* Base Calendar Event Styles */
.fc-daygrid-event {
    background-color: var(--maroon-800) !important;
    border: 1px solid var(--maroon-900) !important;
    color: #fff !important;
    font-weight: 600;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    white-space: normal !important;
}

.fc-daygrid-event .fc-event-title {
    white-space: normal !important;
    text-align: center;
    display: block;
    line-height: 1.3;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.fc-daygrid-event .fc-event-time {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    white-space: normal !important;
    word-wrap: break-word;
    margin-top: 2px;
}

/* =========================================
   TABLETS (768px - 1024px)
========================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .fc-daygrid-event {
        padding: 5px 6px;
        border-radius: 5px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.75rem;
    }
}

/* =========================================
   MOBILE (max-width: 767px)
========================================= */
@media (max-width: 767px) {
    .fc-daygrid-event {
        padding: 4px 5px;
        border-radius: 4px;
        min-height: auto;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.75rem;
        line-height: 1.2;
        font-weight: 600;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.65rem;
        margin-top: 1px;
        line-height: 1.1;
    }

    /* Adjust day cell height */
    .fc-daygrid-day {
        min-height: 80px !important;
    }
}

/* =========================================
   SMALL MOBILE (max-width: 575px)
========================================= */
@media (max-width: 575px) {
    .fc-daygrid-event {
        padding: 3px 4px;
        border-radius: 3px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.7rem;
        line-height: 1.1;
        font-weight: 600;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.6rem;
        margin-top: 1px;
    }

    /* Reduce day cell size */
    .fc-daygrid-day {
        min-height: 70px !important;
    }

    /* Adjust calendar toolbar */
    .fc-toolbar-title {
        font-size: 1rem !important;
    }

    .fc-button {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
    }
}

/* =========================================
   EXTRA SMALL MOBILE (max-width: 425px)
========================================= */
@media (max-width: 425px) {
    .fc-daygrid-event {
        padding: 2px 3px;
        border-radius: 3px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.65rem;
        line-height: 1.1;
        font-weight: 600;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.55rem;
        margin-top: 0;
    }

    .fc-daygrid-day {
        min-height: 65px !important;
    }

    .fc-toolbar-title {
        font-size: 0.95rem !important;
    }

    .fc-button {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    /* Make calendar scrollable horizontally if needed */
    .calendar-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================
   ULTRA SMALL (max-width: 375px)
========================================= */
@media (max-width: 375px) {
    .fc-daygrid-event {
        padding: 2px;
        border-radius: 2px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.6rem;
        line-height: 1;
        font-weight: 600;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.5rem;
        margin-top: 0;
        display: block;
    }

    .fc-daygrid-day {
        min-height: 60px !important;
    }

    .fc-toolbar-title {
        font-size: 0.9rem !important;
    }

    .fc-button {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* Day numbers */
    .fc-daygrid-day-number {
        font-size: 0.75rem !important;
        padding: 2px !important;
    }

    /* Weekday headers */
    .fc-col-header-cell {
        font-size: 0.7rem !important;
    }
}

/* =========================================
   SMALLEST DEVICES (max-width: 320px)
========================================= */
@media (max-width: 320px) {
    .fc-daygrid-event {
        padding: 1px 2px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.5rem;
        line-height: 1;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.4rem;
    }

    .fc-daygrid-day {
        min-height: 55px !important;
    }

    .fc-toolbar-title {
        font-size: 0.85rem !important;
    }

    .fc-button {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
    }

    .fc-daygrid-day-number {
        font-size: 0.7rem !important;
    }

    .fc-col-header-cell {
        font-size: 0.65rem !important;
        padding: 2px 1px !important;
    }
}

/* =========================================
   LANDSCAPE ORIENTATION FIXES
========================================= */
@media (max-height: 600px) and (orientation: landscape) {
    .fc-daygrid-event {
        padding: 2px 3px;
    }

    .fc-daygrid-event .fc-event-title {
        font-size: 0.7rem;
    }

    .fc-daygrid-event .fc-event-time {
        font-size: 0.6rem;
    }

    .fc-daygrid-day {
        min-height: 50px !important;
    }
}

/* =========================================
   ADDITIONAL HELPER CLASSES
========================================= */

/* Hide event time on very small screens if space is limited */
@media (max-width: 320px) {
    .fc-daygrid-event.fc-daygrid-block-event .fc-event-time {
        display: none;
    }
    
    /* Show only on hover/tap */
    .fc-daygrid-event:active .fc-event-time,
    .fc-daygrid-event:focus .fc-event-time {
        display: block;
    }
}

/* Improve touch targets for mobile */
@media (max-width: 767px) {
    .fc-daygrid-event {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(128, 0, 0, 0.2);
        touch-action: manipulation;
    }
}

/* Prevent text selection on rapid taps */
.fc-daygrid-event {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}