body {
    font-family: 'Libre Franklin', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
  }


  :root {
            --primary-color: #4a6fa5;
            --secondary-color: #166088;
            --accent-color: #4fc3f7;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --dark-bg: #343a40;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--light-bg);
            color: var(--text-color);
        }

        .news-section {
            padding: 4rem 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
            position: relative;
            overflow: hidden;
        }

        .news-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
            opacity: 0.5;
            z-index: 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            z-index: 1;
        }

        .section-header h2 {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        .section-header p {
            color: #666;
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .news-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .news-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
            background: white;
        }

        .carousel-inner {
            display: flex;
            transition: transform 0.6s ease-in-out;
            height: 400px;
        }

        .carousel-item {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
        }

        .carousel-caption h3 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .carousel-caption p {
            font-size: 1rem;
            opacity: 0.9;
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 10;
        }

        .carousel-control {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin: 0 1rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .carousel-control:hover {
            background: rgba(255, 255, 255, 0.5);
            transform: scale(1.1);
        }

        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: white;
            transform: scale(1.2);
        }

        .news-content {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
        }

        .news-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: var(--accent-color);
        }

        .news-text {
            line-height: 1.7;
            color: #555;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .news-text.collapsed {
            max-height: 150px;
            overflow: hidden;
            mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
        }

        .expand-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 1rem auto;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(74, 111, 165, 0.3);
        }

        .expand-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(74, 111, 165, 0.4);
        }

        .expand-btn i {
            transition: transform 0.3s ease;
        }

        .expand-btn.expanded i {
            transform: rotate(180deg);
        }

        .news-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .highlight-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
        }

        .highlight-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .highlight-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        .highlight-content {
            padding: 1.5rem;
        }

        .highlight-content h4 {
            color: var(--secondary-color);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .highlight-content p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .tag {
            display: inline-block;
            background: var(--accent-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-bottom: 1rem;
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .floating-element {
            position: absolute;
            background: rgba(74, 195, 247, 0.1);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
            }
            100% {
                transform: translateY(0) rotate(360deg);
            }
        }

        @media (max-width: 768px) {
            .section-header h2 {
                font-size: 2rem;
            }
            
            .carousel-inner {
                height: 300px;
            }
            
            .news-highlights {
                grid-template-columns: 1fr;
            }
        }

        /* Animation classes */
        .fade-in {
            animation: fadeIn 1s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
  
  h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #003366; /* Navy Blue */
  }
  
  p { 
    color: #555;
  }
  
  /* Newspaper Section */
  .newspaper-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Main Headline */
  .main-headline {
    margin-bottom: 40px;
  }
  
  .headline-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .headline-content h1 {
    font-size: 2.5rem;
    margin: 20px 0 10px;
  }
  
  .headline-content .author {
    color: #FFD700; /* Yellow */
    font-weight: bold;
  }
  
  .headline-content .summary {
    font-size: 1.2rem;
    color: #777;
  }
  
  /* Secondary Articles */
  .secondary-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .secondary-articles .article img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .secondary-articles .article h2 {
    font-size: 1.5rem;
    margin: 10px 0;
  }
  
  /* Featured Stories */
  .featured-stories {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 2rem;
    color: #003366; /* Navy Blue */
    border-bottom: 2px solid #FFD700; /* Yellow */
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  .stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stories-grid .story img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .stories-grid .story h3 {
    font-size: 1.5rem;
    margin: 10px 0;
  }
  
  /* Opinion Section */
  .opinion-section {
    margin-bottom: 40px;
  }
  
  .opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .opinion-grid .opinion h3 {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  
  /* More Articles */
  .more-articles {
    margin-bottom: 40px;
  }
  
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .articles-grid .article img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .articles-grid .article h3 {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  



  .news-announcement {
    margin: 30px 0;
    padding: 0 15px;
}

.news-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.news-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 57, 143, 0.9) 0%, rgba(0, 57, 143, 0.6) 50%, transparent 100%);
    color: white;
    padding: 20px;
    padding-top: 60px;
}

.news-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.news-flash {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-right: 10px;
    background: linear-gradient(to right, #ffcc00, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    animation: flash 1.5s infinite alternate;
}

.news-badge {
    background-color: #ffcc00;
    color: #00398f;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffcc00;
}

.news-message {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-convenor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-style: italic;
    font-size: 0.9rem;
}

.convenor-title {
    color: #ffcc00;
    font-weight: 600;
    margin-right: 5px;
}

@keyframes flash {
    0% { opacity: 0.7; text-shadow: 0 0 5px rgba(255, 204, 0, 0.5); }
    100% { opacity: 1; text-shadow: 0 0 20px rgba(255, 204, 0, 0.8); }
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #00398f;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
}

.news-ribbon {
    position: absolute;
    top: 15px;
    left: -30px;
    background-color: #ffcc00;
    color: #00398f;
    padding: 6px 30px;
    transform: rotate(-45deg);
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .news-announcement {
        margin: 40px 0;
        padding: 0;
    }
    
    .news-overlay {
        padding: 30px;
        padding-top: 80px;
    }
    
    .news-flash {
        font-size: 2.2rem;
    }
    
    .news-badge {
        font-size: 0.9rem;
        padding: 5px 15px;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-message {
        font-size: 1.1rem;
    }
    
    .news-convenor {
        font-size: 1rem;
    }
    
    .news-date {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .news-image {
        height: 400px;
    }
    
    .news-flash {
        font-size: 2.5rem;
    }
    
    .news-title {
        font-size: 2rem;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .news-ribbon {
        padding: 5px 25px;
        font-size: 0.7rem;
        left: -35px;
        top: 10px;
    }
    
    .news-overlay {
        padding: 15px;
        padding-top: 50px;
    }
    
    .news-flash {
        font-size: 1.5rem;
    }
    
    .news-title {
        font-size: 1.3rem;
    }
    
    .news-message {
        font-size: 0.9rem;
    }
}