/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: white;
}

p + p {
    margin-top: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: 0;
}

.hero-background {
    height: 500px;
    position: relative;
    border-bottom: 3px solid #4CAF50;
}

.hero-overlay {
    text-align: left;
    position: absolute;
    bottom: 120px;
    left: 64px;
    max-width: 600px;
}

.hero-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    animation: slideInFromLeft 1s ease-out;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-cards {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.hero-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: scale(1);
    display: flex;
    flex-direction: column;
    height: 260px;
    min-height: 260px;
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    background-color: #f8f9fa;
}

.hero-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0;
    text-align: left;
    height: auto;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding-top: 15px;
}

.hero-card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.hero-card p {
    color: #000;
    margin: 15px 0 20px 0;
    line-height: 1.5;
    text-align: left;
    flex-grow: 1;
    font-size: 14px;
}

.card-button-container {
    margin-top: auto;
    text-align: right;
}

.card-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.card-button:hover {
    background-color: #45a049;
}

/* About Section */
.about-section {
    padding: 80px 129px;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.about-text-paragraph {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image .image-carousel {
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.image-carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 15px;
}

.carousel-image.active {
    opacity: 1;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}




.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
}

.carousel-arrow {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-arrow::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.carousel-arrow.left::before {
    transform: none;
}

.carousel-arrow.right::before {
    transform: rotate(180deg);
}

.carousel-arrow:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.carousel-arrow:active {
    transform: scale(0.95);
}

/* Hover effects - pause on hover */
.image-carousel:hover .carousel-track.seamless {
    animation-play-state: paused;
}

.image-carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Enrollment Section */
.enrollment-section {
    padding: 0;
    margin: 0;
    background-color: #4CAF50;
    width: 100%;
}

.enrollment-background {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.enrollment-btn {
    background-color: white;
    color: #4CAF50;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
    display: block;
    width: max-content;
    font-weight: 700;
    transform: scale(1);
    transition: 0.3s ease;
}

.enrollment-btn:hover {
    transform: translateY(-8px) scale(1.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    background-color: #f8f9fa;
}

.enrollment-content {
    width: 100%;
    padding: 0 68px;
}

.enrollment-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.enrollment-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
}

.enrollment-cards {
    display: flex;
    gap: 30px;
    align-items: stretch;
    position: relative;
    flex-wrap: wrap;
}

.enrollment-cards::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.enrollment-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    flex: 1;
    max-width: 600px; /* при желании, чтобы не разрасталась слишком */
    position: relative;
    z-index: 2;
}

.enrollment-deadline {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.enrollment-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.enrollment-schedule {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .enrollment-schedule::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('images/calendar.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
} */

.enrollment-language {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Significance Section */
.significance-section {
    padding: 68px 100px !important;
    background-color: #fff;
}

.significance-section .container {
    padding: 0 !important;
    max-width: none !important;
}

.significance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.significance-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.significance-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    padding: 120px 0;
    background-color: #fff;
    overflow: hidden;
}

.partners-section .container {
    padding: 0 !important;
    max-width: none !important;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.partners-description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.partners-carousel {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    display: inline-block;
    height: 120px;
    width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin: 0 25px;
    vertical-align: middle;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.partner-logo:hover {
    transform: scale(1.05);
}


@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Breadcrumb Styles */
.breadcrumb {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: white;
    height: 50px;
    z-index: 10;
}

.breadcrumb-home {
    background-color: #4CAF50;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.breadcrumb-home:hover {
    background-color: #45a049;
}

.breadcrumb-content {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    flex: 1;
}

.breadcrumb-arrow {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.breadcrumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.breadcrumb-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-sep {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}


.breadcrumb-text {
    font-weight: 500;
    color: white;
    font-family: 'Inter', sans-serif;
    text-decoration: none !important;
}

    .logo-icon img {
        width: 40px;
        height: 40px;
    }


/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 100px 0 60px 0;
    font-family: 'Inter', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    flex-shrink: 0;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
}

.logo-wrapper {
    display: flex;
    gap: 20px;
}

.logo-symbol {
    display: none;
}

.logo-text-circle {
    display: none;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-main-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
    font-family: 'Inter', sans-serif;
}

.logo-sub-text {
    font-size: 16px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.copyright {
    color: #ccc;
    font-size: 14px;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
}

.contact-info p {
    margin-bottom: 8px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Breadcrumb Responsive Styles */
@media (max-width: 1024px) {
    .breadcrumb {
        height: 45px;
        font-size: 14px;
    }
    
    .breadcrumb-home {
        width: 50px;
        padding: 12px 15px;
    }
    
    /* .breadcrumb-content {
        padding: 12px 15px;
        gap: 6px;
    } */
    
    .breadcrumb-arrow {
        width: 14px;
        height: 14px;
    }
    
    .breadcrumb-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        height: 40px;
        font-size: 13px;
    }
    
    .breadcrumb-home {
        width: 45px;
        padding: 10px 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* .breadcrumb-content {
        padding: 10px 12px;
        gap: 5px;
    } */
    
    .breadcrumb-arrow {
        width: 12px;
        height: 12px;
    }
    
    .breadcrumb-icon {
        width: 16px;
        height: 16px;
    }

    
    .logo-wrapper {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        padding: 8px 32px;
    }
    
    .about-section {
        padding: 60px 64px;
    }
    
    .significance-section {
        padding: 60px 64px !important;
    }
    
    .enrollment-content {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {    
    /* Hero Section Mobile */
    .hero-background {
        height: 400px;
    }
    
    .hero-overlay {
        bottom: 80px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-cards {
        margin-top: -40px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .hero-card {
        padding: 25px;
        height: auto;
        min-height: 200px;
    }
    
    .hero-card h3 {
        font-size: 18px;
        min-height: auto;
        padding-top: 10px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-card p {
        font-size: 14px;
        margin: 12px 0 15px 0;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* About Section Mobile */
    .about-section {
        padding: 60px 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-text-paragraph {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .about-image .image-carousel,
    .about-image img {
        height: 300px;
    }
    
    /* Enrollment Section Mobile */
    .enrollment-background {
        padding: 100px 0;
    }
    
    .enrollment-content {
        padding: 0 20px;
    }
    
    .enrollment-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .enrollment-cards {
        flex-direction: column;
        gap: 20px;
        max-width: none;
    }
    
    .enrollment-cards::before {
        display: none;
    }
    
    .enrollment-card {
        padding: 25px;
    }
    
    .enrollment-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Significance Section Mobile */
    .significance-section {
        padding: 60px 20px !important;
    }
    
    .significance-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .significance-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .significance-text p {
        font-size: 15px;
    }
    
    .significance-image .image-carousel {
        height: 300px;
    }
    
    
    /* Partners Section Mobile */
    .partners-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .partner-logo {
        display: inline-block;
        height: 120px;
        width: 180px;
        object-fit: contain;
        margin: 0 25px;
        vertical-align: middle;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 60px 0 40px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .breadcrumb {
        height: auto;
    }

    /* .breadcrumb-content {
        padding: 5px 0;
    } */

    .breadcrumb-home {
        padding: 18px 12px;
    }
    
    .header-content {
        padding: 8px 15px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .logo-icon img {
        width: 40px;
        height: 40px;
    }
    
    .hero-background {
        height: 350px;
    }
    
    .hero-overlay {
        bottom: 60px;
        left: 15px;
        right: 15px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-cards {
        margin-top: -30px;
    }
    
    .cards-grid {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .hero-card {
        padding: 20px;
        min-height: 180px;
    }
    
    .hero-card h3 {
        font-size: 16px;
        padding-top: 8px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-card p {
        font-size: 13px;
        margin: 10px 0 12px 0;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .card-button {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none;
    }
    
    .about-section,
    .significance-section {
        padding: 40px 15px !important;
    }
    
    .about-text h2,
    .significance-text h2,
    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .about-text-paragraph,
    .significance-text p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .about-image .image-carousel,
    .about-image img,
    .significance-image .image-carousel {
        height: 250px;
    }
    
    .enrollment-background {
        padding: 100px 0;
    }
    
    .enrollment-content {
        padding: 0 15px;
    }
    
    .enrollment-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .enrollment-card {
        padding: 20px;
    }
    
    .enrollment-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .enrollment-schedule,
    .enrollment-language {
        font-size: 13px;
    }
    
    .partners-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .partner-logo {
        display: inline-block;
        height: 100px;
        width: 150px;
        object-fit: contain;
        margin: 0 20px;
        vertical-align: middle;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
    }
    
    .footer {
        padding: 40px 0 30px 0;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .logo-main-text {
        font-size: 16px;
    }
    
    .logo-sub-text {
        font-size: 14px;
    }
    
    .contact-info p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .copyright {
        font-size: 12px;
        margin-top: 10px;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .nav-link,
    .dropdown-item,
    .card-button,
    .carousel-arrow,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dropdown-item {
        padding: 15px 20px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow::before {
        width: 40px;
        height: 40px;
    }
}






    /* News Section */
    .news-section {
        padding: 68px 105px !important;
        background-color: #f5f5f5;
    }

    .news-section-special {
        border-top: 5px solid #4CAF50;
        border-bottom: 5px solid #4CAF50;
    }

    .news-section .container {
        padding: 0 !important;
        max-width: none !important;
    }

    .news-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    .news-btn {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 5px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-decoration: none;
        display: block;
        width: max-content;
        font-weight: 700;
        transform: scale(1);
        transition: 0.3s ease;
        margin-top: 20px;
    }

    .news-btn:hover {
        transform: translateY(-8px) scale(1.08) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
        background-color: #4CAF50;
    }

    .news-nav {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .news-nav .carousel-arrow {
        width: 40px;
        height: 40px;
        border: none;
        background: #4CAF50;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .news-nav .carousel-arrow::before {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background-image: url('images/leftarrow.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
        filter: brightness(0) invert(1);
    }

    .news-nav .carousel-arrow.left::before {
        transform: none;
    }

    .news-nav .carousel-arrow.right::before {
        transform: rotate(180deg);
    }

    .news-nav .carousel-arrow:hover {
        transform: scale(1.05);
        background: #45a049;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .news-cards {
        display: flex;
        gap: 30px;
        overflow: hidden;
    }

    .news-card {
        background: white !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.3s ease !important;
        display: flex !important;
        justify-content: space-between;
        height: 250px !important;
        text-decoration: none !important;
        color: inherit !important;
        cursor: pointer !important;
        overflow: hidden;
        flex-wrap: nowrap;
        min-width: calc(50% - 15px);
    }

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

    .news-content {
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        grid-column: 1 !important;
    }

    .news-category {
        background-color: white !important;
        color: black !important;
        padding: 8px 16px !important;
        border: 1px solid black !important;
        border-radius: 6px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        display: inline-block !important;
        margin-bottom: 15px !important;
        width: fit-content !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    .news-image {
        height: calc(100% - 20px) !important;
        width: 100%;
        overflow: hidden !important;
        position: relative !important;
        grid-column: 2 !important;
        margin: 10px !important;
        border-radius: 0 !important;
    }

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

    .news-content h3 {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin: 15px 0 10px 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

            /* Mobile Responsive Styles for News */
        @media (max-width: 1024px) {
            .news-hero {
                height: 320px;
            }
            
            .news-hero-title {
                font-size: 38px;
            }
            
            .news-section {
                padding: 40px 50px;
            }
            
            .news-item {
                gap: 25px;
                padding: 25px 0;
            }
            
            .news-image {
                width: 100%;
                padding: 20px;
                height: 220px;
                margin: 0 !important;
            }

            .news-card {
                flex-direction: column-reverse;
                height: auto !important;
            }

            .footer {
                padding: 100px 20px;
            }
        }

        @media (max-width: 768px) {
            /* Mobile Hero Section */
            .news-hero {
                height: 280px;
            }

            .news-cards {
                flex-direction: column;
            }

            .news-card {
                height: auto !important;
                flex-direction: column;
            }
            
            .news-hero-title {
                font-size: 32px;
                padding: 0 20px;
            }
            
            
            /* Mobile Content Section */
            .news-section {
                padding: 40px 20px !important;
            }
            
            .news-title {
                font-size: 24px;
                margin-bottom: 30px;
            }
            
            /* Mobile News Items */
            .news-item {
                flex-direction: column;
                gap: 20px;
                padding: 25px 0;
            }
            
            .news-image {
                width: 100%;
                height: 200px;
                order: 1;
            }
            
            .news-content {
                order: 2;
            }
            
            .news-date {
                font-size: 13px;
                margin-bottom: 8px;
            }
            
            .news-headline {
                font-size: 16px;
                margin-bottom: 12px;
                line-height: 1.3;
            }
            
            .news-description {
                font-size: 13px;
                line-height: 1.5;
                margin-bottom: 12px;
            }
            
            .news-tag {
                font-size: 11px;
                padding: 3px 10px;
            }
            
            /* Mobile Pagination */
            .pagination {
                margin-top: 30px;
                gap: 8px;
            }
            
            .pagination a {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            /* Extra Small Screens */
            .news-hero {
                height: 240px;
            }
            
            .news-hero-title {
                font-size: 26px;
                padding: 0 15px;
            }
            
            .news-section {
                padding: 30px 15px;
            }
            
            .news-title {
                font-size: 20px;
                margin-bottom: 25px;
            }
            
            .news-item {
                padding: 20px 0;
                gap: 15px;
            }
            
            .news-image {
                height: 180px;
            }
            
            .news-date {
                font-size: 12px;
                margin-bottom: 6px;
            }
            
            .news-headline {
                font-size: 15px;
                margin-bottom: 10px;
                line-height: 1.2;
            }
            
            .news-description {
                font-size: 12px;
                line-height: 1.4;
                margin-bottom: 10px;
            }
            
            .news-tag {
                font-size: 10px;
                padding: 2px 8px;
            }
            
            .pagination {
                margin-top: 25px;
                gap: 6px;
            }
            
            .pagination a {
                width: 32px;
                height: 32px;
                font-size: 13px;
            }
        }

        /* Touch-friendly improvements for mobile */
        @media (max-width: 768px) {
            
            .news-item {
                transition: transform 0.2s ease;
            }
            
            .news-item:active {
                transform: scale(0.98);
            }
            
            .pagination a {
                transition: all 0.2s ease;
            }
            
            .pagination a:active {
                transform: scale(0.95);
            }
        }