:root {
    --old-navy: #003153;
    --old-navy-light: #1a4a6e;
    --old-navy-dark: #00243d;
    --white: #ffffff;
    --black: #111111;
    --light-gray: #f5f7fa;
    --gray: #e0e0e0;
    --rounded: 18px;
}

* {
    font-family: "Inter", sans-serif;
}

body {
    color: var(--black);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 14px;
}

header {
    background-color: var(--old-navy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 65px;
    margin-right: 10px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand .logo-subtitle {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.8;
    margin-left: 5px;
}

.nav-item {
    margin: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 30px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    font-size: 14px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.dropdown-menu li {
    padding: 5px;
}

.dropdown-item {
    padding: 8px 16px;
    color: white !important;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.dropdown-item.active, .dropdown-item:active {
    text-decoration: none;
    background-color: var(--old-navy-light);
    color: #212529;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: rgba(239, 239, 239, 0.18);
    border-radius: 5px;
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease;
        pointer-events: none;
    }

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

    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }

    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .navbar .dropdown-toggle {
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--old-navy);
        padding: 20px;
        border-radius: 0 0 15px 15px;
        animation: slideDown 0.3s ease;
    }

    .mobile-menu-wrapper {
        width: 100%;
    }

    .mobile-menu {
        width: 100%;
    }

    .mobile-menu-section {
        width: 100%;
    }

    .mobile-menu-item {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 12px 15px;
        margin: 5px 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        font-weight: 500;
        width: 100%;
    }

    .mobile-menu-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white !important;
        transform: translateX(5px);
        text-decoration: none;
    }

    .mobile-menu-item i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    .mobile-accordion-item {
        background: transparent;
        border: none;
        margin-bottom: 5px;
    }

    .mobile-accordion-item .accordion-button {
        background: rgba(255, 255, 255, 0.08);
        color: white;
        border: none;
        border-radius: 10px !important;
        padding: 12px 15px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .mobile-accordion-item .accordion-button:not(.collapsed) {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        box-shadow: none;
    }

    .mobile-accordion-item .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .mobile-accordion-item .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

    .mobile-accordion-item .accordion-collapse {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 0 0 10px 10px;
        margin-top: -5px;
    }

    .mobile-submenu-item {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 10px 15px 10px 40px;
        margin: 2px 0;
        transition: all 0.3s ease;
        border-radius: 8px;
        position: relative;
        display: block;
        width: 100%;
    }

    .mobile-submenu-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
        text-decoration: none;
        padding-left: 45px;
    }

    .mobile-submenu-item::before {
        content: '';
        position: absolute;
        left: 25px;
        top: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu .btn {
        width: 100%;
    }
}

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

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

.hero-section {
    padding: 3rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url("../images/cover2.jpg") no-repeat center center;
    background-size: cover;
    min-height: 550px;
    align-content: center;
    filter: grayscale(50%);
    position: relative;
}

.hero-title {
    margin: auto;
    font-size: 2.8rem;
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
}

.fast-facts {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.carousel-container {
    border-radius: var(--rounded);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    background: black;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--rounded);
    padding: 1.5rem;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    backdrop-filter: blur(30px);
}

.carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    backdrop-filter: blur(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
    margin: auto;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.25);
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

.about-project {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    color: var(--old-navy);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--old-navy);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.highlight-card {
    background: white;
    padding: 1.8rem;
    border-radius: var(--rounded);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--old-navy);
    margin-bottom: 1.2rem;
}

.highlight-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--old-navy);
    font-weight: 600;
}

.latest-materials {
    padding: 3rem 0;
    background-color: white;
}

.material-card {
    background: white;
    border-radius: var(--rounded);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
}

.material-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.material-body {
    padding: 1.5rem;
}

.material-title {
    font-size: 1.2rem;
    color: var(--old-navy);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.material-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.btn-primary-custom {
    background-color: var(--old-navy);
    border-color: var(--old-navy);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--old-navy-light);
    border-color: var(--old-navy-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 49, 83, 0.2);
    color: white;
}

.btn-outline-custom {
    background-color: transparent;
    border-color: var(--old-navy);
    color: var(--old-navy);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--old-navy);
    border-color: var(--old-navy);
    color: white;
}

footer {
    background-color: var(--black);
    color: #757575;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #757575;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
}

footer .social-icon:hover {
    color: white !important;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #757575;
    margin-top: 2rem;
}

.copyright p {
    margin: 0;
}

.rounded {
    border-radius: var(--rounded) !important;
}

.shadow-custom {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.text-old-navy {
    color: var(--old-navy) !important;
}

.bg-old-navy {
    background-color: var(--old-navy) !important;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--rounded);
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.08) 0 4px 12px;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-date-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    line-height: 1;
}

.news-date-overlay .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.news-date-overlay .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.news-title {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}

.news-title a:hover {
    color: #0d6efd !important;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.news-categories .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

.bg-category {
    background-color: #6c757d;
}

.bg-category-light {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.news-meta {
    font-size: 0.85rem;
}

.news-body {
    text-align: justify;
}

.news-content .news-body {
    font-size: 16px;
    line-height: 1.8;
}

.news-content .news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.news-content .news-body p {
    margin-bottom: 1.5rem;
}

.news-content .news-body h2,
.news-content .news-body h3,
.news-content .news-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.min-vh-40 {
    min-height: 40vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.bg-custom {
    background-color: #2c3e50;
}

.likes-count {
    font-size: 0.9rem;
    margin-left: 0.25rem;
    font-weight: 400;
}

.small {
    font-size: 0.9rem;
    font-weight: 400;
}

.like-btn-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: transform 0.2s ease;
    position: relative;
}

.like-btn-wrapper .heart-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.like-btn-wrapper .heart-icon.active {
    display: none;
    fill: #ff385c;
    stroke: #ff385c;
    animation: wiggle 0.5s ease-in-out;
}

.like-btn-wrapper .heart-icon.inactive {
    display: block;
    fill: transparent;
    stroke: currentColor;
}

.like-btn-wrapper.liked .heart-icon.active {
    display: block;
}

.like-btn-wrapper.liked .heart-icon.inactive {
    display: none;
}

.likes-count {
    font-size: 0.9rem;
    margin-left: 0.25rem;
    min-width: 1.5rem;
    text-align: center;
    font-weight: 600;
}

@keyframes wiggle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
    75% {
        transform: scale(1.3) rotate(-5deg);
    }
}

.like-btn-wrapper:active {
    transform: scale(0.95);
}

.pagination-ultra {
    --color-primary: #000;
    --color-muted: #9ca3af;
}

.pagination-ultra .page-link {
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 0.25rem;
}

.pagination-ultra .page-link:hover {
    color: var(--color-primary);
}

.pagination-ultra .page-item.active .page-link {
    color: var(--color-primary);
    font-weight: 500;
    position: relative;
}

.pagination-ultra .page-item.active .page-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: var(--color-primary);
}

.pagination-ultra .page-item.disabled .page-link {
    color: #e5e7eb;
    cursor: not-allowed;
}

.pagination-ultra .ellipsis {
    color: var(--color-muted);
    padding: 0 0.5rem;
}

.text-danger {
    color: rgb(255 87 87) !important;
    font-weight: 600;
}

.page-link:focus {
    z-index: 3;
    box-shadow: none !important;
}

.stat-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 49, 83, 0.1);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--old-navy-light);
    box-shadow: 0 8px 20px rgba(0, 49, 83, 0.1);
}

.btn-outline-custom, .btn-primary-custom {
    transition: all 0.3s ease;
}

.input-group > .form-control, .input-group > .form-floating, .input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    padding: 10px;
    border-radius: 12px !important;
}

.accordion-body {
    padding: 0 5px;
}

.accordion-button, .accordion-item:first-of-type, .accordion-item:last-of-type {
    border-radius: 10px !important;
    margin-bottom: 10px;
}

.badge {
    align-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 49, 83, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--old-navy);
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--old-navy-light);
    box-shadow: 0 0 0 0.2rem rgba(0, 49, 83, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 49, 83, 0.05);
    color: var(--old-navy);
    box-shadow: none;
    border: 1px solid rgba(0, 49, 83, 0.1);
}

.accordion-button {
    border: 1px solid rgba(0, 49, 83, 0.1);
}

.accordion-button:focus {
    border-color: var(--old-navy-light);
    box-shadow: 0 0 0 0.2rem rgba(0, 49, 83, 0.1);
}

.alert {
    background-color: #f8f8f8;
    border-radius: 10px;
    border: none;
    color: #757575;
}

#epronCarousel .carousel-item {
    transition: transform 0.6s ease-in-out !important;
}

.carousel-inner > .carousel-item {
    transition: transform 0.6s ease-in-out !important;
}

.comment-card {
    transition: all 0.2s ease;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.child-comment .comment-card {
    margin-left: 2.5rem !important;
    border-left: 3px solid #dee2e6;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.replies-container {
    margin-left: 2.5rem;
}

.parent-quote {
    background-color: #f8f9fa;
    border-left: 4px solid #4361ee !important;
    font-size: 0.875rem;
    max-height: 150px;
    overflow-y: auto;
}

.parent-quote small {
    font-size: 0.8rem;
}

.quote-preview {
    background-color: #f8f9fa;
    border-left: 4px solid #4361ee !important;
    font-size: 0.875rem;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 15px !important;
}

.child-comment .child-comment .comment-card {
    margin-left: 2.5rem !important;
}

.text-dark p {
    margin-bottom: 0;
}

.comment-like-btn {
    transition: all 0.2s ease;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-width: 1px;
}

.comment-like-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comment-like-btn.btn-outline-secondary {
    color: #6c757d;
    border-color: #dee2e6;
    background: white;
}

.comment-like-btn.btn-outline-secondary:hover {
    color: #dc3545;
    border-color: #dc3545;
}

.comment-like-btn.btn-danger {
    border-color: #dc3545;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.comment-like-btn.btn-danger:hover {
    border-color: #bd2130;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.comment-like-btn .bi-heart-fill {
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.reply-btn {
    transition: all 0.2s ease;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-width: 1px;
    color: var(--old-navy);
    border-color: var(--old-navy);
    background: transparent;
}

.reply-btn:hover {
    background: var(--old-navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
    border-color: var(--old-navy);
}

.reply-btn:active {
    transform: translateY(0);
}

.toggle-replies-btn {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
}

.toggle-replies-btn:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.05);
    text-decoration: none;
}

.toggle-replies-btn .bi-chevron-down {
    transition: transform 0.3s ease;
}

.toggle-replies-btn.active .bi-chevron-down {
    transform: rotate(180deg);
}

.reply-form {
    animation: slideDown 0.3s ease;
}

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

.quote-preview {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    max-height: 100px;
    overflow-y: auto;
}

.cancel-reply-btn {
    border-radius: 20px;
    padding: 0.375rem 1.25rem;
    border-width: 2px;
    color: #6c757d;
    border-color: #dee2e6;
    transition: all 0.2s ease;
}

.cancel-reply-btn:hover {
    color: #495057;
    border-color: #adb5bd;
    background: #f8f9fa;
    transform: translateY(-1px);
}

.btn-sm.btn-primary {
    border-radius: 20px;
    padding: 0.375rem 1.25rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    transition: all 0.2s ease;
}

.btn-sm.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.comment-like-btn .bi,
.reply-btn .bi,
.toggle-replies-btn .bi {
    vertical-align: -0.125em;
}

.comment-likes-count {
    font-weight: 600;
    margin-left: 0.25rem;
}

.replies-count {
    font-weight: 700;
    color: #0d6efd;
}

@media (max-width: 768px) {
    .comment-actions {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .comment-actions > div:first-child {
        width: 100%;
        justify-content: space-between;
    }

    .toggle-replies-btn {
        align-self: flex-end;
    }
}

.bg-info {
    background-color: var(--old-navy) !important;
}

.replies-count {
    background: none;
    color: black;
    font-weight: 400;
}

.replies-count:hover {
    color: black;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-developer {
    flex-shrink: 0;
}

.developer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.developer-credit:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.developer-label {
    color: #757575;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.developer-credit:hover .developer-label {
    color: rgba(255, 255, 255, 0.7);
}

.developer-name {
    color: #757575;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.developer-name i {
    font-size: 12px;
    color: #757575;
    transition: all 0.3s ease;
}

.developer-name:hover {
    color: white;
}

.developer-name:hover i {
    color: white;
    transform: rotate(15deg);
}

.footer-copyright {
    flex: 1;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #757575;
}

.footer-copyright p:first-child {
    margin-bottom: 5px;
}

.footer-privacy .privacy-link {
    color: #757575;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-privacy .privacy-link:hover {
    color: white;
}

@media (max-width: 991.98px) {
    .footer-bottom-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-developer {
        order: 1;
    }

    .footer-privacy {
        order: 3;
    }

    .developer-credit {
        padding: 5px 14px;
    }

    .developer-label {
        font-size: 12px;
    }

    .developer-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .developer-credit {
        padding: 4px 12px;
        gap: 5px;
    }

    .developer-label {
        font-size: 11px;
    }

    .developer-name {
        font-size: 11px;
    }

    .developer-name i {
        font-size: 10px;
    }

    .footer-copyright p {
        font-size: 11px;
    }
}