:root {
    /* Colors */
    --primary: #007271;
    --secondary: #E8C15C;
    --text-primary: #232323;
    --text-secondary: #444444;
    --bg-light: #F9F9F9;
}

/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    border-radius: 123px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #005f5e;
    border-color: #005f5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,114,113,0.2);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,114,113,0.2);
}

/* Header */
.header {
    background: #f9f9f9;
    border-bottom: 1px solid #E6E6E6;
}

.navbar-brand {
    padding: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-emblem {
    width: 92px;
    height: 92px;
    object-fit: cover;
}

.logo-text {
    width: 141px;
    height: 66px;
    object-fit: cover;
}

.nav-link {
    color: #444444;
    font-weight: 400;
    padding: 0.5rem 0.75rem;
}

.nav-link:hover {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-left: auto;
        margin-right: 32px;
    }
}

@media (min-width: 1300px) {
    .btn-d-auth {
        width: 137px;
        padding: 12px 36px 12px 36px; 
    }
    .btn-d-signup {
        width: 207px;
        padding: 12px 36px 12px 36px;
    }
    .container-xxl {
        max-width: 1680px;
    }
    .nav-link{
        font-size: 17px
    }
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .header {
        padding: 16px 0;
    }
    
    .logo-emblem {
        width: 48px;
        height: 48px;
    }
    
    .logo-text {
        width: 91px;
        height: 36px;
    }

    .navbar-toggler {
        padding: 0;
        border: none;
    }

    .burger-icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse {
        background: #fefefe;
        margin-top: 16px;
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px;
    }

    .navbar-nav {
        gap: 16px;
        padding: 16px 0;
    }

    .nav-link {
        padding: 0;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        color: #000000;
    }

    .nav-link:hover {
        color: var(--primary);
    }

    .navbar-toggler.collapsed .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(0, 114, 113, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-toggler:not(.collapsed) .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(0, 114, 113, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M5 5L25 25M25 5L5 25'/%3e%3c/svg%3e");
    }

    .contact-info {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        font-size: 16px;
        line-height: 20px;
    }

    .contact-info-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .contact-info-label {
        color: #242424;
        font-weight: 400;
    }

    .contact-info-value {
        color: #454545;
        text-decoration: none;
    }

    .contact-info-value[href^="mailto"] {
        text-decoration: underline;
    }

    .auth-buttons {
        margin-top: 24px;
        margin-bottom: 32px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .auth-buttons .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        font-weight: 500;
    }
}

/* Hero Section */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    min-height: 500px;
}

@media (min-width: 992px) {
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        min-height: 676px;
    }
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 500px;
    width: 100%;
    height: 100%;
    padding: 48px 24px 24px;
    border-radius: 24px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero-wrapper {
        min-height: 676px;
        padding: 128px 48px 24px;
    }
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        #007271 0%,
        #007271 45%,
        rgba(0, 114, 113, 0.6) 55%,
        rgba(0, 114, 113, 0) 65%
    );
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-wrapper::before {
        background: linear-gradient(90deg, 
            rgba(0, 114, 113, 0.9) 0%,
            rgba(0, 114, 113, 0.85) 35%,
            rgba(0, 114, 113, 0.6) 100%
        );
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top right;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    display: flex;
    width: 810px;
    max-width: 100%;
    flex-direction: column;
    z-index: 2;
}

.hero-title {
    color: #FFFFFF;
    font: 700 64px Montserrat, sans-serif;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-title span {
    display: block;
    color: #e8c15c;
}

.hero-description {
    color: #FFFFFF;
    font: 400 18px Montserrat, sans-serif;
    margin-bottom: 32px;
    max-width: 731px;
    line-height: 1.5;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    margin: 0;
    z-index: 2;
}



.owl-carousel .logo-emblem {
    width: auto !important;
    display: block;
    margin-bottom: 20px;
}

.navigation-controls {
    position: absolute;
    bottom: 24px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-wrapper {
        min-height: 500px;
        padding: 24px 8px 8px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-title span {
        font-size: 32px;
        margin-top: 8px;
        color: var(--secondary);
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 24px;
        max-width: 100%;
        opacity: 0.9;
    }

    .navigation-controls {
        display: none !important;
    }

    .carousel-indicators {
        bottom: 16px;
        margin: 0;
    }

    .carousel-indicators [data-bs-target] {
        width: 16px;
        height: 16px;
        margin: 0 8px;
    }

    .hero-background {
        object-position: center top;
    }

    /* .hero-wrapper::before {
        background: linear-gradient(90deg, rgba(0, 114, 113, 0.9) 0%, rgba(0, 114, 113, 0.8) 100%);
    } */
}

.nav-button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button.next-button {
    background: #FFFFFF;
}

.nav-button.prev-button {
    background: transparent;
    border: 2px solid #FFFFFF;
}

.nav-button:hover {
    opacity: 0.8;
}

.nav-icon {
    width: 24px;
    height: 24px;
}

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(254, 254, 254, 0.7);
    border: none;
    margin: 0;
}

.carousel-indicators .active {
    background-color: #fefefe;
}

@media (max-width: 991px) {
    .hero-wrapper {
        min-height: 500px;
        padding: 24px 8px 8px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
    }

    .navigation-controls {
        left: 24px;
    }
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: none;
    animation: fadeInUp 0.6s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Event Cards */
.event-card .card-body {
    padding: 1.5rem;
}

.event-date, .event-location, .news-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.event-card .card-footer {
    padding: 1rem 1.5rem;
}

.event-card .btn-outline-primary {
    width: 100%;
}

/* News Cards */
.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

.news-card .card-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.news-card .btn-link {
    color: var(--primary);
    padding: 0;
    text-decoration: none;
}

.news-card .btn-link:hover {
    color: #005f5e;
}

.news-card .card-footer {
    padding: 1rem 1.5rem;
    background: transparent;
}

/* Departments Section */
.departments {
    padding: 120px 0;
    background-color: #FFFFFF;
}

.departments-header {
    margin-bottom: 80px;
}

.departments-header h2 {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.departments-description {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.departments .btn-primary {
    padding: 16px 36px;
    font-size: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.departments .btn-primary svg {
    transition: transform 0.3s ease;
}

.departments .btn-primary:hover svg {
    transform: translateX(4px);
}

.departments-list {
    padding: 0;
}

.department-item {
    display: flex;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: black;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.department-item:hover {
    text-decoration: none;
}

.department-item h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

/* Hide Owl Carousel Navigation */
.departments-carousel.owl-carousel .owl-nav,
.departments-carousel.owl-carousel .owl-dots {
    display: none;
}

@media (max-width: 1400px) {
    .departments {
        padding: 80px 0;
    }
    
    .departments-header {
        margin-bottom: 64px;
    }

    .departments-header h2 {
        font-size: 48px;
    }

    .department-item h3 {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .departments {
        padding: 64px 0;
    }

    .departments-header {
        margin-bottom: 48px;
    }

    .departments-header h2 {
        font-size: 40px;
        margin-bottom: 24px;
    }

    .departments-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .departments .btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }

    .department-item h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .departments {
        padding: 48px 0;
    }

    .departments-header {
        margin-bottom: 32px;
    }

    .departments-header h2 {
        font-size: 32px;
        margin-bottom: 16px;
        text-align: left;
    }

    .departments-description {
        font-size: 14px;
        margin-bottom: 16px;
        text-align: left;
    }

    .departments .btn-primary {
        width: auto;
        justify-content: flex-start;
    }

    .department-item h3 {
        font-size: 16px;
        text-align: left;
    }
}

/* Events Section */
.events {
    padding: 80px 0;
    background-color: #fff;
}

.events-header {
    max-width: 800px;
    margin-bottom: 60px;
    text-align: left;
}

.events-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #454545;
    margin-bottom: 40px;
}

.events-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: #007271;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.events-header .btn:hover {
    background-color: #005b5a;
    transform: translateY(-2px);
    color: #fff;
}

.events-header .btn svg {
    transition: transform 0.3s ease;
}

.events-header .btn:hover svg {
    transform: translateX(4px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0px;
    cursor: pointer;
}

.event-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 111;
}

.event-card:hover .event-content {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.event-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 12px;
}

.event-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #454545;
    margin-bottom: 20px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.event-card:hover .event-content p, .event-card:hover .event-type {
    color: #007271;
}

.event-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-events-all{
    margin-top: 80px!important;
}

.tag {
    padding: 4px 12px;
    background-color: transparent;
    border: 1px solid #007271;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #454545;
}

.event-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
}

.event-image {
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    width: calc(100% + 17px);
    margin-left: -17px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .event-card {
        grid-template-columns: 400px 1fr;
    }
}

@media (max-width: 1200px) {
    .events-header h2 {
        font-size: 40px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: 450px 1fr;
    }
}

@media (max-width: 992px) {
    .events {
        padding: 60px 0;
    }

    .events-header {
        margin-bottom: 40px;
    }

    .events-description {
        font-size: 16px;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-image {
        order: -1;
        width: 100%;
        margin: auto;
        height: 292px;
    }

    .event-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .events-header h2 {
        font-size: 32px;
    }

    .events-header .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .events {
        padding: 40px 0;
    }

    .events-header {
        margin-bottom: 30px;
    }

    .events-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .event-content {
        padding: 20px;
    }

    .event-type {
        font-size: 20px;
    }

    .event-content p {
        font-size: 14px;
    }

    .event-image img {
        max-width: 100%;
    }

    .tag, .event-date {
        font-size: 16px;
    }
}

/* Banner Section */
.banner {
    background-color: #007271;
    padding: 60px 0;
    margin: 80px 0;
}

.banner-content {
    max-width: 1000px;
    margin: 0 auto;
}

.banner-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    margin: 0;
}

@media (max-width: 992px) {
    .banner {
        padding: 40px 0;
        margin: 60px 0;
    }

    .banner-text {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .banner {
        padding: 30px 0;
        margin: 40px 0;
    }

    .banner-text {
        font-size: 20px;
    }
}

/* Quote Section */
.quote-section {
    border-radius: 24px;
    background: #007271;
    margin: 180px auto 0;
    width: 1680px;
    max-width: 100%;
    padding: 18px 0 0 80px;
    overflow: hidden;
}

.quote-container {
    display: flex;
    gap: 20px;
    position: relative;
}

.quote-content {
    display: flex;
    flex-direction: column;
    width: 66%;
    padding-bottom: 40px;
}

.quote-wrapper {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    margin: auto -133px auto 0;
}

.quote-text-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    font-size: 128px;
    color: #fefefe;
}

.quote-text {
    font-size: 40px;
    align-self: stretch;
    z-index: 0;
    color: #fefefe;
    line-height: 1.4;
}

.highlight {
    color: #e8c15c;
}

.quote-mark {
    position: absolute;
    z-index: 0;
    font-size: 128px;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Times New Roman', serif;
}

.quote-mark-start {
    left: -40px;
    top: -76px;
}

.quote-mark-end {
    right: 40px;
    bottom: -63px;
}

.author-info {
    display: flex;
    flex-direction: column;
    font-size: 32px;
    margin: 48px 26px 0 0;
}

.author-name {
    color: #fefefe;
    font-size: 24px;
    margin: 0;
}

.author-title {
    color: #e8c15c;
    margin-top: 8px;
    font-size: 20px;
}

.image-container {
    display: flex;
    width: 34%;
    margin-left: 20px;
    align-self: flex-end;
}

.author-image {
    aspect-ratio: 0.87;
    object-fit: contain;
    object-position: bottom;
    width: 100%;
    display: block;
    margin-bottom: -5px;
}

@media (max-width: 991px) {
    .quote-section {
        padding: 20px;
        margin-top: 40px;
        border-radius: 16px;
    }

    .quote-content {
        width: 100%;
        padding-bottom: 20px;
    }

    .quote-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .quote-wrapper {
        max-width: 100%;
        margin: 40px 0;
    }

    .quote-text-container {
        max-width: 100%;
    }

    .quote-text {
        font-size: 24px;
    }

    .quote-mark {
        font-size: 64px;
    }

    .quote-mark-start {
        left: -20px;
        top: -40px;
    }

    .quote-mark-end {
        right: 20px;
        bottom: -30px;
    }

    .author-info {
        max-width: 100%;
        margin: 40px 10px 0 0;
    }

    .author-name {
        font-size: 20px;
    }

    .author-title {
        font-size: 16px;
    }

    .image-container {
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
    }

    .author-image {
        max-width: 100%;
        margin-top: 18px;
    }
}

@media (max-width: 576px) {
    .quote-section {
        margin-top: 30px;
        padding: 15px;
    }

    .quote-text {
        font-size: 20px;
    }

    .quote-mark {
        font-size: 48px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-title {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background-color: #007271;
    padding: 48px 0 24px;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img:first-child {
    width: 92px;
    height: 92px;
    object-fit: cover;
}

.footer-logo img:last-child {
    width: 188px;
    height: 66px;
    object-fit: cover;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.footer-contacts p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 24px;
}

.footer-contacts p:last-child {
    margin-bottom: 0;
}

.footer-divider {
    height: 3px;
    background-color: #FEFEFE;
    margin: 0 0 24px;
}

.footer-bottom {
    display: flex;
    align-items: center;
}

.copyright {
    color: #fff;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 32px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
}

/* News Section */
.news-section {
    padding: 120px 0;
    background-color: #fff;
}

.news-header {
    margin-bottom: 60px;
    text-align: center;
}

.news-title {
    color: #242424;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.news-description {
    color: #454545;
    font-size: 20px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.news-grid {
    margin-bottom: 60px;
}

.news-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.card-image {
    width: 100%;
    max-width: 100%;
    height: 292px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

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

.card-content {
    position: relative;
    margin-top: -60px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e3e3e3;
    margin-left: 0px;
    margin-right: 0px;
    transition: all 0.3s ease;
}

.news-card:hover .card-content {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-text-wrapper {
    height: 100%;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.news-card:hover .card-title {
    color: #007271;
}

.card-description {
    color: #454545;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left
}

.news-button {
    display: block;
    margin: 0 auto;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #007271;
    border-radius: 40px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    border: 2px solid #007271;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-button:hover {
    background: #fff;
    color: #007271;
}

.news-button:hover .button-icon path {
    stroke: #007271;
}

.button-icon {
    transition: transform 0.3s ease;
}

.news-button:hover .button-icon {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .news-section {
        padding: 80px 0;
    }
    .news-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-title {
        font-size: 40px;
    }
    .news-description {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .news-section {
        padding: 60px 0;
    }
    .news-row {
        grid-template-columns: 1fr;
    }
    .news-title {
        font-size: 32px;
    }
    .news-description {
        font-size: 16px;
    }
    .news-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .news-row {
        display: block;
    }
    
    .news-row > * {
        margin-bottom: 30px;
    }
    
    .news-row > *:last-child {
        margin-bottom: 0;
    }
}

/* Page Header */
.page-header {
    padding: 48px 0;
    background-color: #fff;
    margin-bottom: 48px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
}

.breadcrumb {
    margin-bottom: 24px;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* Departments Grid */
.departments-grid {
    padding-bottom: 64px;
}

.departments-filters {
    margin-bottom: 32px;
}

.departments-count {
    font-size: 16px;
    color: var(--text-secondary);
}

.department-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.department-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.department-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-content {
    padding: 24px;
}

.department-type {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--bg-light);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 16px;
}

.department-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.department-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.department-title a:hover {
    color: var(--primary);
}

.department-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.department-footer {
    margin-top: auto;
}

.departments-pagination {
    margin-top: 48px;
}

.page-link {
    color: var(--text-primary);
    border: none;
    padding: 12px 20px;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: #fff;
}

.page-item.disabled .page-link {
    color: var(--text-secondary);
    opacity: 0.5;
}

@media (max-width: 991px) {
    .page-header {
        padding: 32px 0;
        margin-bottom: 32px;
    }

    .page-title {
        font-size: 36px;
    }

    .departments-grid {
        padding-bottom: 48px;
    }
}

@media (max-width: 767px) {
    .page-title {
        font-size: 28px;
    }

    .page-description {
        font-size: 16px;
    }

    .department-card {
        margin-bottom: 24px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Scroll Effect */
.header-scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        max-width: 90%;
        padding: 1.5rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Section Spacing */
section:not(:last-child) {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 3rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #005f5e;
}

/* Cursor styles */
a, 
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
.nav-link {
    cursor: pointer;
}

/* Custom cursor for clickable elements */
a:hover, 
button:hover,
[role="button"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.btn:hover,
.nav-link:hover {
    cursor: url("../cursors/cursor-hover.png") 6 6, pointer;
}

/* News Detail Page */
.news-detail {
    padding: 48px 0 96px;
}

.news-detail-header {
    margin-bottom: 32px;
}

.news-meta {
    margin-bottom: 16px;
}

.news-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin-right: 16px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 14px;
}

.news-detail-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.news-detail-cover {
    margin-bottom: 48px;
    border-radius: 24px;
    overflow: hidden;
}

.news-detail-cover img {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 40px;
}

.news-detail-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.news-lead {
    font-size: 24px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.news-detail-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 24px;
}

.news-detail-text ul {
    margin-bottom: 32px;
    padding-left: 24px;
}

.news-detail-text ul li {
    margin-bottom: 12px;
}

.news-quote {
    margin: 48px 0;
    padding: 32px;
    background-color: var(--bg-light);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.news-quote p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-quote cite {
    font-size: 16px;
    color: var(--text-secondary);
}

.news-dates {
    margin: 32px 0;
}

.date-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.date {
    font-weight: 600;
    min-width: 160px;
    margin-right: 24px;
}

.news-share {
    display: flex;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.share-title {
    margin-right: 16px;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: var(--border-color);
}

.share-button img {
    width: 20px;
    height: 20px;
}

/* Sidebar Styles */
.news-sidebar {
    position: sticky;
    top: 24px;
}

.info-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.info-list li {
    margin-bottom: 16px;
}

.info-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.info-value {
    font-weight: 500;
}

.related-news {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.related-news h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.related-news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

.related-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-news-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.related-news-content {
    flex: 1;
}

.related-news-date {
    font-size: 14px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.related-news-content h4 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.related-news-item:hover h4 {
    color: var(--primary);
}

@media (max-width: 991px) {
    .news-detail {
        padding: 32px 0 64px;
    }

    .news-detail-title {
        font-size: 32px;
    }

    .news-lead {
        font-size: 20px;
    }

    .news-detail-text {
        font-size: 16px;
    }

    .news-quote p {
        font-size: 20px;
    }

    .news-sidebar {
        margin-top: 48px;
        position: static;
    }
}

@media (max-width: 767px) {
    .news-detail-title {
        font-size: 28px;
    }

    .date-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .date {
        margin-bottom: 4px;
    }
}

/* News List Page */
.news-section {
    padding: 48px 0 96px;
}

/* News Filters */
.news-filters {
    margin-bottom: 48px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 48px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary);
}

/* Featured News */
.featured-news {
    margin-bottom: 64px;
}

.featured-news-main {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.featured-news-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.featured-news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-news-main:hover .featured-news-image img {
    transform: scale(1.05);
}

.featured-news-category {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
}

.featured-news-content {
    padding: 24px;
}

.featured-news-date {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.featured-news-main h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.featured-news-main:hover h2 {
    color: var(--primary);
}

.featured-news-main p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.featured-news-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.featured-news-item {
    flex: 1;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.featured-news-item .featured-news-image {
    padding-top: 66.67%;
}

.featured-news-item h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.featured-news-item:hover h3 {
    color: var(--primary);
}

/* News Grid */
.news-grid {
    margin-bottom: 64px;
}

.news-card {
    margin-bottom: 32px;
    /* height: 100%; */
}

.news-card-link {
    display: block;
    /* height: 100%; */
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-card-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.news-card-content {
    padding: 24px;
}

.news-card-date {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.news-card-link:hover .news-card-title {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .news-section {
        padding: 32px 0 64px;
    }

    .news-filters {
        margin-bottom: 32px;
    }

    .search-box {
        margin-top: 24px;
    }

    .featured-news {
        margin-bottom: 48px;
    }

    .featured-news-side {
        margin-top: 24px;
        flex-direction: row;
    }

    .featured-news-main h2 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-bottom: -8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tab {
        flex: 0 0 auto;
    }

    .featured-news-side {
        flex-direction: column;
    }

    .news-card {
        margin-bottom: 24px;
    }
}

/* Events Filters */
.events-filters {
    padding: 24px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-box {
    position: relative;
}

.search-box .form-control {
    padding-right: 48px;
    height: 48px;
    border-radius: 40px;
    border: 1px solid #E2E2E2;
    font-size: 16px;
}

.search-box .search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0;
    font-size: 20px;
}

.search-box .search-btn:hover {
    color: var(--primary);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid #E2E2E2;
    border-radius: 40px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.filter-select .form-select {
    height: 48px;
    border-radius: 40px;
    border: 1px solid #E2E2E2;
    padding: 0 24px;
    font-size: 16px;
    background-position: right 24px center;
}

.filter-select .form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* List View Styles */
.event-card.list-view {
    margin-bottom: 24px;
}

.event-card.list-view .card {
    flex-direction: row;
}

.event-card.list-view .card-img-top {
    width: 300px;
    height: 100%;
    object-fit: cover;
}

.event-card.list-view .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-meta {
    display: flex;
    gap: 12px;
}

.event-category,
.event-scale {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.event-category {
    background-color: var(--primary);
    color: #FFFFFF;
}

.event-scale {
    background-color: #F5F5F5;
    color: var(--text-secondary);
}

.event-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.event-date {
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .event-card.list-view .card {
        flex-direction: column;
    }

    .event-card.list-view .card-img-top {
        width: 100%;
        height: 200px;
    }
}

/* Login Page Styles */
.login-section {
    background-color: var(--bg-light);
    min-height: calc(100vh - 130px);
    padding: 2rem 0;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.login-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 2rem;
}

.login-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group {
    border-radius: 8px;
    overflow: hidden;
}

.input-group-text {
    background-color: #fff;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.form-control {
    border-color: var(--border-color);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
    color: var(--bs-btn-active-color);
    background-color: #147674;
    border-color: #eaca8f;
}

.btn-primary {
    background-color: var(--primary);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #007271;
}

.forgot-password {
    color: var(--primary);
    font-size: 0.875rem;
}

.register-link {
    color: var(--primary);
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .login-title {
        font-size: 1.75rem;
    }
    
    .login-description {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 0.625rem 0.875rem;
    }
}

@media (max-width: 991.98px) {
    .register-section .col-lg-6:last-child,
    .login-section .col-lg-6:last-child {
        margin-top: 56px;
    }
}

/* Mobile styles for president image */
@media (max-width: 991.98px) {
    .quote-section .image-container {
        position: absolute;
        right: -20px;
        bottom: -30px;
        width: 180px;
        height: 180px;
        overflow: hidden;
        margin: 0;
        border-radius: 0;
    }

    .quote-section .author-image {
        width: 280px;
        height: auto;
        object-fit: contain;
        object-position: bottom;
        /* transform: scale(1.8) translateX(25px) translateY(35px); */
        margin: 0;
    }

    .quote-section .content-container {
        padding-right: 100px;
    }
}

@media (max-width: 575.98px) {
    .quote-section .image-container {
        width: 150px;
        height: 205px;
        right: -15px;
        bottom: -25px;
    }

    .quote-section .author-image {
        width: 240px;
        /* transform: scale(1.8) translateX(18px) translateY(0px) */
        position: relative;
        top: 21px;
    }

    .quote-section .content-container {
        padding-right: 80px;
    }
    .author-info {
        width: 238px;
    }
}

/* Research Page Styles */
.research-section {
    padding: 40px 0;
}

.search-filter-container {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-box {
    position: relative;
}

.search-box .form-control {
    padding-right: 50px;
    height: 48px;
}

.search-box .btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 48px;
    width: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: none;
    color: #4B5563;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #F3F4F6;
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.research-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-4px);
}

.research-card-content {
    padding: 24px;
}

.research-category {
    display: inline-block;
    padding: 4px 12px;
    background: #F3F4F6;
    border-radius: 16px;
    color: #4B5563;
    font-size: 14px;
    margin-bottom: 16px;
}

.research-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1F2937;
}

.research-description {
    color: #4B5563;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
}

.research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6B7280;
}

.research-date {
    display: flex;
    align-items: center;
}

.research-author {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* Research Detail Page Styles */
.research-detail-section {
    padding: 40px 0;
}

.research-detail-header {
    margin-bottom: 40px;
}

.research-detail-header .research-title {
    font-size: 32px;
    font-weight: 700;
    margin: 16px 0;
    color: #1F2937;
}

.research-detail-header .research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
}

.meta-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1F2937;
}

.research-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.research-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.result-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.result-icon i {
    font-size: 24px;
    color: white;
}

.result-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1F2937;
}

.result-card p {
    color: #6B7280;
    margin: 0;
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.publication-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.publication-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1F2937;
}

.publication-info p {
    color: #6B7280;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1F2937;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .research-detail-header .research-title {
        font-size: 24px;
    }

    .research-detail-header .research-meta {
        gap: 16px;
    }

    .publication-item {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 0.375rem;
}

.loading-overlay:not(.d-none) {
    display: flex !important;
}

/* Стили для заблокированной кнопки */
button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

/* Стили для спиннера в кнопке */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Анимация появления/исчезновения оверлея */
.loading-overlay {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.loading-overlay:not(.d-none) {
    opacity: 1;
    pointer-events: auto;
}

/* Стили для формы во время загрузки */
form:has(.loading-overlay:not(.d-none)) {
    position: relative;
    pointer-events: none;
}

form:has(.loading-overlay:not(.d-none)) * {
    pointer-events: none;
}

.news-card {
    margin-bottom: 32px;
}

.news-card-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.news-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.news-date {
    color: #888;
    white-space: nowrap;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 16px;
}

.news-tag {
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

/* Related News Styles */
.related-news {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-news-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.related-news-item:hover {
    transform: translateY(-2px);
}

.related-news-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.related-news-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.related-news-date {
    font-size: 12px;
    color: #666;
}

.related-news-content h4 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

.related-news-item:hover h4 {
    color: #007bff;
}
.social-share .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.social-share{
    display: flex;
    gap: 0.5rem;
}


.content-block {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.content-image {
    margin: 2rem 0;
}

.image-caption {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.section h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.sidebar-block {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-block h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.quick-links i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-item div strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item div p {
    color: var(--text-secondary);
    margin: 0;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

.resource-item i {
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .page-title {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .sidebar {
        margin-top: 2rem;
    }
}
.admin-body .card:hover {
    transform: none;
}

.event-detail-section .event-image{
    height: auto;
    width: 100%;
    margin-left: 0;
}