.blog-hero {
    position: relative;
    height: 90vh;
    width: 100%;
    background-image: url('images/DSC_1293.JPG');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    margin-bottom: 80px;
}

.tag-pill {
    display: inline-block;
    background: linear-gradient(135deg, #e9c46a 0%, #f4a261 100%);
    color: #2a2a2a;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-family: 'Finger Paint', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #e67e22;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #ff8c06;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tag-pill {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
}

.blog-articles {
    font-family: 'Poppins', sans-serif;
    padding: 4rem 2rem;
    background: #fbfbfb;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e67e22;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.blog-description {
    font-size: 1.1rem;
    text-align: center;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #f8f9fa;
    color: #f4a261;
}

.filter-btn.active {
    background: #e67e22;
    color: white;
    border-color: #e67e22;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.regular-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card.featured {
    height: 400px;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: background 0.3s ease;
}

.article-card:hover .article-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.article-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.article-card.featured .article-title {
    font-size: 1.6rem;
}

.article-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .featured-articles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .regular-articles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-articles .article-card:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .blog-articles {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .filter-bar {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .featured-articles,
    .regular-articles {
        grid-template-columns: 1fr;
    }
    
    .featured-articles .article-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .article-card {
        height: 300px;
    }
    
    .article-card.featured {
        height: 350px;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
    
    .article-card.featured .article-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .blog-articles {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .filter-bar {
        margin-bottom: 2rem;
    }
    
    .article-card {
        height: 250px;
    }
    
    .article-card.featured {
        height: 300px;
    }
    
    .article-overlay {
        padding: 1.5rem;
    }
}

.blog-cta {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 4rem 0;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/DSC_1166.JPG');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 2rem;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
}

.cta-form button {
    padding: 1rem 2.5rem;
    background: #e9c46a;
    color: #2a2a2a;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-form button:hover {
    background: #f4a261;
    transform: translateY(-2px);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-cta {
        height: auto;
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-form input {
        min-width: auto;
        width: 100%;
        max-width: 350px;
    }
    
    .cta-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Toast container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast message */
.toast {
  min-width: 250px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  animation: slideIn 0.4s ease, fadeOut 0.5s ease 3s forwards;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Success + Error colors */
.toast.success { background-color: #28a745; } /* Green */
.toast.error { background-color: #dc3545; }   /* Red */

/* Animations */
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(120%); }
}