* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

body {
    background-color: #fff;
    overflow-x: hidden;
}

header {
    background-color: rgba(100, 100, 100, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

header:hover {
    background-color: rgba(130, 130, 130, 0.6);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 80px;
    width: 200px;
}

.nav-center {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    padding: 0;
    margin-right: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #358856;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
    border-radius: 5px;
}

.news-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.news-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/herobg.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: 1;
}

.news-hero > * {
    position: relative;
    z-index: 2;
}

.news-hero-content {
    text-align: center;
    padding: 0 20px;
}

.news-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-top: 100px;
}

.news-page-container {
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(185deg, #f0f4f8 0%, white 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.content-wrapper {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.return-btn {
    align-self: flex-start;
    background-color: transparent;
    color: #555;
    padding: 8px 0;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.return-btn:hover {
    color: #000;
    text-decoration: underline;
}

.share-container {
    position: relative;
    display: inline-block;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #333;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background-color: #f8fafc;
    color: #358856;
    border-color: #25523B;
}

.share-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    z-index: 100;
    overflow: hidden;
    animation: fadeIn 0.2s ease-out;
}

.share-dropdown.show {
    display: block;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.share-option:hover {
    background-color: #f8fafc;
    color: #007bff;
}

.share-option img, 
.share-option svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.news-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 500px;
}

.left-section {
    flex: 1;
    background-color: #e9ecef;
    position: relative;
    min-width: 0;
}

.swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.swiper-slide img:hover {
    opacity: 0.9;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    background-color: #eee;
    font-size: 14px;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.swiper-pagination-bullet {
    background: #333;
    opacity: 0.3;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: #358856;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

.right-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 15px;
}

.meta-group {
    gap: 20px;
    display: flex;
    align-items: center;
}

.category-badge {
    background-color: #e3f2fd;
    color: #358856;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.publish-date {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

.news-content p {
    margin-bottom: 15px;
}

.footer {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px 20px;
    background-color: #333;
    color: #fff;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1;
    margin: 10px;
    text-align: center;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #f2f2f2;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin: 5px 0;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-logo {
    width: 200px;
    margin-top: 40px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    margin: 0 5px;
}

.sponsor-logo {
    width: 100px;
    margin-top: 10px;
}

.footer-ramp-icons {
    position: relative;
    height: 60px;
    width: 100%;
    background: transparent;
    z-index: 2;
}

.ramp-icon {
    position: absolute;
    bottom: 0;
    width: auto;
    height: 200px;
    z-index: 3;
}

.ramp-icon.left {
    left: 0;
}

.ramp-icon.right {
    right: 0;
}

.ramp-icon.center {
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    width: 200px;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.image-modal .modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 60%;
    max-width: 800px;
    border-radius: 8px;
    text-align: center;
}

.image-modal .modal-content-img {
    width: 100%;
    height: auto;
}

.image-modal .prev,
.image-modal .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.image-modal .prev {
    left: 10px;
}

.image-modal .next {
    right: 10px;
}

.image-modal .prev:hover,
.image-modal .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
        margin-right: 20px;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }

    .nav-center {
        position: static;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 30px 0;
        gap: 30px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease-in-out;
        z-index: -1;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 999;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.5rem;
        margin-top: 60px;
    }
    
    .news-page-container {
        padding: 20px 15px;
    }

    .news-card {
        flex-direction: column;
    }

    .left-section {
        height: 300px; 
    }
    
    .swiper-slide img {
        height: 300px;
    }

    .right-section {
        padding: 25px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .ramp-icon {
        width: 60px;
    }

    .ramp-icon.center {
        width: 70px; 
    }

    .image-modal .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

@media (max-width: 600px) {
    .share-btn span {
        display: none; 
    }
}