/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: #012206;
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: #012206 !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #012206;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: #012206;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header,
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-logo {
    max-height: 400px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-buttons .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-element {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@media (max-width: 768px) {
    .hero-header {
        min-height: 60vh;
    }
    
    .hero-logo {
        max-height: 250px;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content h2 {
        font-size: 1.5rem !important;
    }
}
/*** Hero Header ***/


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../img/about.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #012206;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(255, 72, 128, 0.05), rgba(255, 72, 128, 0.2));
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: #012206;
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: #012206 !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: #012206 !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(255, 72, 128, 0.1), rgba(255, 72, 128, 0.1));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: #012206 !important;
}
/*** Programs End ***/


/*** Events Start ***/
.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(75, 100, 97, 0.7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: #012206 !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(221, 254, 226, 0.7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: #012206;
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: #012206 !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #012206;
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 1)), url(../img/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: #012206;
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}
/*** Footer End ***/

/* ===== CUSTOM STYLES - IMÁGENES UNIFORMES ===== */

/*** Program Images Standardization ***/
.program-item .program-img {
    height: 250px; /* Altura fija para todas */
    overflow: hidden;
}

.program-item .program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene proporción y llena el contenedor */
    object-position: center; /* Centra la imagen */
    transition: transform 0.3s ease;
}

.program-item:hover .program-img img {
    transform: scale(1.05); /* Efecto hover suave */
}

/*** Blog Images Standardization ***/
.blog-item .blog-img {
    height: 200px; /* Altura fija */
    overflow: hidden;
}

.blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-img img {
    transform: scale(1.05);
}

/*** Program Cards Uniformity ***/
.program-item {
    height: 100%; /* Mismo alto para todas las cards */
    display: flex;
    flex-direction: column;
}

.program-text {
    flex-grow: 1; /* El contenido de texto se ajusta */
    display: flex;
    flex-direction: column;
}

.program-text-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*** Service Items Enhancement ***/
.service-item {
    height: 100%;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

/*** Responsive Improvements ***/
@media (max-width: 768px) {
    .program-item .program-img {
        height: 200px; /* Más pequeño en móvil */
    }
    
    .blog-item .blog-img {
        height: 180px;
    }
    
    .hero-content .btn {
        margin-bottom: 1rem;
    }
    
    .program-item {
        margin-bottom: 2rem;
    }
}

/*** Enhanced Visual Effects ***/
.program-rate {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.img-border-radius {
    border-radius: 15px;
}

/*** Blog Card Improvements ***/
.blog-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/*** Program Card Shadow Effects ***/
.program-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.program-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/*** Additional Responsive Fixes ***/
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content h2 {
        font-size: 1.8rem !important;
    }
    
    .program-item .program-img {
        height: 180px;
    }
    
    .blog-item .blog-img {
        height: 160px;
    }
}

/*** Badge Improvements ***/
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/*** Button Hover Effects ***/
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/*** Card Content Spacing ***/
.blog-content,
.program-text {
    padding: 1.5rem;
}

.blog-content .btn,
.program-text .btn {
    transition: all 0.3s ease;
}

/*** Meta Information Styling ***/
.blog-meta small,
.program-meta small {
    color: #6c757d;
    font-weight: 500;
}

/*** Image Loading Optimization ***/
.program-img img,
.blog-img img {
    will-change: transform;
    backface-visibility: hidden;
}

/* ===== ADMIN MODAL STYLES ===== */

/*** Admin Modal Customization ***/
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-radius: 0 0 15px 15px;
    padding: 1.5rem 2rem;
}

/*** Category Preview in Modal ***/
.category-preview {
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.category-preview:hover {
    border-color: #007bff;
    background-color: #f8f9fa !important;
}

.category-preview .badge {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/*** Modal Alerts ***/
.modal-body .alert {
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
}

.modal-body .alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.modal-body .alert-info {
    background: linear-gradient(135deg, #d1ecf1, #b8e6f1);
    color: #0c5460;
}

/*** Animated Icons ***/
.modal-body .fa-trash-alt {
    animation: pulse 2s infinite;
    color: #dc3545;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/*** Button Enhancements ***/
.modal-footer .btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-footer .btn-danger:disabled,
.modal-footer .btn-secondary:disabled {
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/*** Admin Table Button Styles ***/
.table .btn-sm {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.table .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.table .btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: #dc3545;
}

/*** Badge Improvements in Table ***/
.table .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/*** Color Preview Enhancements ***/
.table td > div[style*="background-color"] {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table td > div[style*="background-color"]:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/*** Responsive Modal ***/
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/*** Loading States ***/
.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== POST MODAL SPECIFIC STYLES ===== */

/*** Post Preview in Modal ***/
.post-preview {
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
}

.post-preview:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.post-image-container img {
    transition: transform 0.3s ease;
    border: 2px solid #e9ecef;
}

.post-image-container:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6c757d, #495057) !important;
}

/*** Post Stats Styling ***/
.post-stats {
    font-size: 0.85rem;
    font-weight: 500;
}

.post-stats i {
    color: #007bff;
}

/*** Modal Size for Posts ***/
.modal-lg .modal-body {
    padding: 2.5rem;
}

/*** Enhanced Alert Styling for Posts ***/
.modal-body .alert ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.modal-body .alert li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

/*** Post Title in Modal ***/
#postTitle {
    font-weight: 600;
    color: #495057;
    line-height: 1.4;
    max-height: 3.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*** Category Badge in Post Modal ***/
.post-preview .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/*** Table Row Hover Effects ***/
.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/*** Enhanced Button Group in Table ***/
.table td:last-child {
    white-space: nowrap;
}

.table .btn-group .btn-sm {
    margin: 0 1px;
}

/*** Status and Featured Buttons Enhancement ***/
.table .btn-success,
.table .btn-secondary {
    min-width: 90px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table .btn-warning,
.table .btn-outline-warning {
    min-width: 40px;
}

.table .btn-warning i,
.table .btn-outline-warning i {
    color: #856404;
}

.table .btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    border-color: #ffc107;
}

.table .btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #d39e00);
    transform: translateY(-1px) scale(1.05);
}

/*** Loading Button Animation ***/
.btn.loading {
    position: relative;
    overflow: hidden;
}

.btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/*** Responsive Table Improvements ***/
@media (max-width: 768px) {
    .table-responsive {
        border-radius: 10px;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .table .btn-sm {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .modal-lg {
        max-width: 95%;
    }
    
    .post-preview .row {
        flex-direction: column;
    }
    
    .post-preview .col-md-4,
    .post-preview .col-md-8 {
        margin-bottom: 1rem;
    }
}

/*** Table Header Styling ***/
.table thead th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #495057;
}

/*** Empty State Improvements ***/
.text-center.py-4 {
    padding: 3rem 2rem !important;
}

.text-center.py-4 .fa-3x {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== CONTACT FORM STYLES ===== */

/*** Contact Form Enhancements ***/
.contact-form {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: #FF6B9D;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 157, 0.25);
    transform: translateY(-2px);
}

.contact-form .form-control.is-valid {
    border-color: #28a745;
    background-image: none;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.contact-form .btn {
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.contact-form .btn:disabled {
    transform: none;
    opacity: 0.7;
}

/*** Alert Improvements ***/
.contact-form .alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
    animation: slideInDown 0.5s ease;
}

.contact-form .alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.contact-form .alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Contact Info Styling ***/
.contact-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.contact-item:hover {
    padding-left: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FF6B9D;
}

/*** Loading Animation ***/
.btn-loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*** Protection Badge ***/
.contact-form small {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}