
/* News Shapes */
.news-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.diamond-1 {
    top: 25%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: #51b146;
    transform: rotate(45deg);
    animation: shapeRotateScale 25s ease-in-out infinite;
}

.pentagon-1 {
    top: 55%;
    right: 8%;
    width: 50px;
    height: 50px;
    background: #004b6b;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: shapePulseRotate 20s ease-in-out infinite;
}

.star-1 {
    bottom: 20%;
    left: 12%;
    width: 45px;
    height: 45px;
    background: #366072;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starTwinkle 15s ease-in-out infinite;
}

@keyframes shapeRotateScale {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.1; }
    50% { transform: rotate(225deg) scale(1.3); opacity: 0.2; }
}

@keyframes shapePulseRotate {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.1; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.15; }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(1) rotate(0deg); }
    25% { opacity: 0.3; transform: scale(1.2) rotate(72deg); }
    50% { opacity: 0.2; transform: scale(0.9) rotate(144deg); }
    75% { opacity: 0.25; transform: scale(1.1) rotate(216deg); }
}

/* Section Header */
.section-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.header-badge {
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
}

.badge-animation {
    position: relative;
    display: inline-block;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(81, 177, 70, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.badge-content {
    position: relative;
    z-index: 2;
    padding: 15px 35px;
    background: rgba(81, 177, 70, 0.1);
    border: 2px solid rgba(81, 177, 70, 0.3);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.header-badge:hover .badge-content {
    background: rgba(81, 177, 70, 0.2);
    border-color: #51b146;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(81, 177, 70, 0.2);
}

.badge-icon {
    font-size: 1.2rem;
    color: #51b146;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-badge:hover .badge-icon {
    transform: rotate(360deg) scale(1.3);
    color: #004b6b;
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
    color: #51b146;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.header-badge:hover .badge-text {
    color: #004b6b;
}

.section-title {
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 25px;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, #004b6b, #51b146);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(100%);
    animation: titleWordSlide 0.8s ease-out forwards;
}

.title-word[data-delay="200"] {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #51b146, #004b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-word[data-delay="400"] {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #004b6b, #51b146);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes titleWordSlide {
    to {
        transform: translateY(0);
    }
}

.section-subtitle-news {
    font-size: 1.2rem;
    color: #366072;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.title-decoration {
    margin-top: 30px;
}

.decoration-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #51b146;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

.dark-theme .title-word {
    background: linear-gradient(135deg, #eeeff1, #51b146);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .title-word[data-delay="200"] {
    background: linear-gradient(135deg, #51b146, #eeeff1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .title-word[data-delay="400"] {
    background: linear-gradient(135deg, #eeeff1, #51b146);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .section-subtitle-news {
    color: rgba(238, 239, 241, 0.9);
}

/* Featured News */
.featured-news {
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.article-card.featured {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(81, 177, 70, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.article-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 75, 107, 0.15),
        0 0 0 2px rgba(81, 177, 70, 0.3);
}

/* Card Effects */
.card-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(81, 177, 70, 0.02), rgba(0, 75, 107, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .gradient-overlay {
    opacity: 1;
}

.mesh-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2351b146' fill-opacity='0.02'%3E%3Cpath d='M20 20c0 5.5-4.5 10-10 10s-10-4.5-10-10 4.5-10 10-10 10 4.5 10 10zm10-10c0 5.5-4.5 10-10 10s-10-4.5-10-10 4.5-10 10-10 10 4.5 10 10z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .mesh-pattern {
    opacity: 1;
}

.hover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(81, 177, 70, 0.08), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.article-card:hover .hover-glow {
    width: 300%;
    height: 300%;
}

/* Article Image */
.article-image {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004b6b, #366072);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 75, 107, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    position: absolute;
    top: 20px;
    left: 20px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(81, 177, 70, 0.9);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.article-card:hover .featured-badge {
    transform: translateY(0);
    opacity: 1;
}

.reading-time {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.article-card:hover .reading-time {
    transform: translateY(0);
    opacity: 1;
}

/* Article Content */
.article-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #366072;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.article-card:hover .article-meta span {
    color: #004b6b;
    transform: translateX(3px);
}

.article-meta i {
    color: #51b146;
    transition: transform 0.3s ease;
}

.article-card:hover .article-meta i {
    transform: scale(1.2) rotate(10deg);
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #004b6b;
    line-height: 1.3;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.article-card:hover .article-title {
    color: #51b146;
    transform: translateY(-2px);
}

.title-line-effect {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #51b146, #004b6b);
    transition: width 0.4s ease 0.2s;
}

.article-card:hover .title-line-effect {
    width: 100%;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #366072;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.article-card:hover .article-excerpt {
    color: #004b6b;
}

/* Article Actions */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #51b146;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.read-more-btn:hover {
    background: #459a3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(81, 177, 70, 0.3);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-slide {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.read-more-btn:hover .btn-slide {
    left: 100%;
}

/* Article Engagement */
.article-engagement {
    display: flex;
    gap: 15px;
}

.engagement-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    background: transparent;
    border: 2px solid rgba(81, 177, 70, 0.2);
    border-radius: 20px;
    color: #366072;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.engagement-btn:hover {
    border-color: #51b146;
    background: rgba(81, 177, 70, 0.1);
    color: #004b6b;
    transform: translateY(-2px);
}

.engagement-btn i {
    transition: all 0.3s ease;
}

.engagement-btn:hover i {
    transform: scale(1.2);
}

.like-btn:hover i {
    color: #e74c3c;
    transform: scale(1.2) rotate(15deg);
}

.share-btn:hover i {
    transform: scale(1.2) rotate(360deg);
}

/* Hover Border Animation */
.hover-border-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.border-line {
    position: absolute;
    background: #51b146;
    transition: all 0.4s ease;
}

.border-line.top {
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
}

.border-line.right {
    top: 50%;
    right: 0;
    width: 3px;
    height: 0;
    transform: translateY(-50%);
}

.border-line.bottom {
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
}

.border-line.left {
    top: 50%;
    left: 0;
    width: 3px;
    height: 0;
    transform: translateY(-50%);
}

.article-card:hover .border-line.top,
.article-card:hover .border-line.bottom {
    width: 100%;
}

.article-card:hover .border-line.left,
.article-card:hover .border-line.right {
    height: 100%;
}

/* Dark Theme */
.dark-theme .article-card.featured {
    background: rgba(45, 45, 48, 0.9);
    border-color: rgba(81, 177, 70, 0.2);
}

.dark-theme .article-title {
    color: #eeeff1;
}

.dark-theme .article-card:hover .article-title {
    color: #51b146;
}

.dark-theme .article-excerpt {
    color: rgba(238, 239, 241, 0.8);
}

.dark-theme .article-card:hover .article-excerpt {
    color: #eeeff1;
}

.dark-theme .article-meta {
    color: rgba(238, 239, 241, 0.7);
}

.dark-theme .article-card:hover .article-meta span {
    color: #eeeff1;
}

/* News Grid */
.news-grid {
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.grid-title {
    font-size: 2rem;
    font-weight: 700;
    color: #004b6b;
    margin: 0;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid rgba(81, 177, 70, 0.3);
    border-radius: 25px;
    color: #51b146;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.view-all-btn:hover {
    background: rgba(81, 177, 70, 0.1);
    border-color: #51b146;
    color: #004b6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(81, 177, 70, 0.2);
}

.view-all-btn .btn-icon {
    transition: transform 0.3s ease;
}

.view-all-btn:hover .btn-icon {
    transform: translateX(3px) rotate(15deg);
}

.dark-theme .grid-title {
    color: #eeeff1;
}

.dark-theme .view-all-btn {
    border-color: rgba(81, 177, 70, 0.4);
    color: #51b146;
}

.dark-theme .view-all-btn:hover {
    color: #eeeff1;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Regular Article Cards */
.article-card:not(.featured) {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(81, 177, 70, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.article-card:not(.featured):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 75, 107, 0.12),
        0 0 0 1px rgba(81, 177, 70, 0.2);
}

/* Card Background */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2351b146' fill-opacity='0.03'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .bg-pattern {
    opacity: 1;
}

.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(81, 177, 70, 0.05), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.article-card:hover .bg-glow {
    width: 200%;
    height: 200%;
}

/* Article Thumbnail */
.article-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    z-index: 2;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.1) rotate(2deg);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004b6b, #366072);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.0rem;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 75, 107, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.article-card:hover .thumbnail-overlay {
    opacity: 1;
}

.read-indicator {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #004b6b;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.article-card:hover .read-indicator {
    transform: scale(1);
}

/* Article Info */
.article-info {
    padding: 25px 20px;
    position: relative;
    z-index: 2;
}

.info-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #366072;
}

.meta-divider {
    color: #51b146;
}

.meta-category {
    padding: 2px 8px;
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-card:hover .meta-category {
    background: rgba(81, 177, 70, 0.2);
    transform: translateX(3px);
}

.info-title-news {
    font-size: 1.2rem;
    font-weight: 700;
    color: #004b6b;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.article-card:hover .info-title-news {
    color: #51b146;
    transform: translateY(-1px);
}

.info-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #366072;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.article-card:hover .info-excerpt {
    color: #004b6b;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #51b146;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: #004b6b;
    transform: translateX(5px);
}

.link-arrow {
    transition: transform 0.3s ease;
}

.info-link:hover .link-arrow {
    transform: translateX(3px);
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 10;
    pointer-events: none;
}

.article-card:hover .card-shine {
    left: 100%;
}

.dark-theme .article-card:not(.featured) {
    background: rgba(45, 45, 48, 0.9);
    border-color: rgba(81, 177, 70, 0.2);
}

.dark-theme .info-title-news {
    color: #eeeff1;
}

.dark-theme .article-card:hover .info-title-news {
    color: #51b146;
}

.dark-theme .info-excerpt {
    color: rgba(238, 239, 241, 0.8);
}

.dark-theme .article-card:hover .info-excerpt {
    color: #eeeff1;
}

.dark-theme .info-meta {
    color: rgba(238, 239, 241, 0.7);
}

/* News Subscription */
.news-subscription {
    position: relative;
    z-index: 10;
}

.subscription-card {
    background: linear-gradient(135deg, #004b6b, #366072);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: circleRotate 20s linear infinite;
}

@keyframes circleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.decoration-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.wave:nth-child(1) {
    animation: waveMove 8s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation: waveMove 12s ease-in-out infinite 2s;
}

.wave:nth-child(3) {
    animation: waveMove 10s ease-in-out infinite 4s;
}

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

.subscription-content {
    position: relative;
    z-index: 2;
    color: white;
}

.content-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.content-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.content-title {
    font-size: 2.0rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.content-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Subscription Form */
.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.submit-btn {
    padding: 18px 35px;
    background: #51b146;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.submit-btn:hover {
    background: #459a3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(81, 177, 70, 0.3);
}

.btn-text,
.btn-spinner,
.btn-success {
    transition: all 0.3s ease;
}

.btn-spinner,
.btn-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-spinner {
    opacity: 1;
}

.submit-btn.success .btn-text,
.submit-btn.success .btn-spinner {
    opacity: 0;
}

.submit-btn.success .btn-success {
    opacity: 1;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .article-card.featured {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .news-section {
        padding: 45px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .article-content {
        padding: 30px;
    }
    
    .content-title {
        font-size: 2.2rem;
    }
    
    .subscription-card {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.0rem;
    }
    
    .featured-news {
        margin-bottom: 60px;
    }
    
    .article-content {
        padding: 25px 20px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .grid-header {
        text-align: center;
    }
    
    .grid-title {
        font-size: 1.8rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .article-engagement {
        justify-content: center;
    }
    
    .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-input {
        min-width: auto;
    }
    
    .news-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle-news {
        font-size: 1.1rem;
    }
    
    .article-content {
        padding: 20px 15px;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
    }
    
    .read-more-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .content-description {
        font-size: 1.1rem;
    }
    
    .subscription-card {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .content-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}/*
* News Section Styles with Extensive Micro-interactions
*/

.news-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #eeeff1 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.dark-theme .news-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d30 50%, #1e1e1e 100%);
}

/* Dynamic Background */
.news-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.newspaper-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #004b6b;
    opacity: 0.1;
    animation: patternDrift 45s linear infinite;
}

@keyframes patternDrift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-25px) translateY(-25px); }
}

.pattern-svg {
    width: 100%;
    height: 100%;
}

/* Floating News Icons */
.floating-news-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.news-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    color: #51b146;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.news-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px currentColor);
}

.icon-1 {
    top: 15%;
    left: 8%;
    animation: newsIconFloat 16s ease-in-out infinite;
}

.icon-2 {
    top: 40%;
    right: 12%;
    animation: newsIconFloat 20s ease-in-out infinite 4s;
}

.icon-3 {
    bottom: 30%;
    left: 15%;
    animation: newsIconFloat 18s ease-in-out infinite 2s;
}

.icon-4 {
    bottom: 15%;
    right: 20%;
    animation: newsIconFloat 22s ease-in-out infinite 6s;
}

@keyframes newsIconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.2; 
    }
    25% { 
        transform: translateY(-30px) rotate(90deg) scale(1.3); 
        opacity: 0.4; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(0.8); 
        opacity: 0.3; 
    }
    75% { 
        transform: translateY(-40px) rotate(270deg) scale(1.2); 
        opacity: 0.5; 
    }
}

.news-icon:hover {
    transform: scale(1.5) rotate(15deg) !important;
    opacity: 0.8 !important;
    filter: drop-shadow(0 0 20px currentColor) !important;
}
