/* Slideshow */
.slideshow {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 25px;
}

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: var(--white);
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 60px;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.welcome-text {
    flex: 1;
}

.welcome-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
}

.welcome-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 22px;
}

/* Projects Section */
.projects-section {
    background-color: var(--white);
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: var(--white);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 20px;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    height: 250px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 20px;
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.news-content p {
    margin-bottom: 15px;
    color: var(--text);
}

/* Project Detail */
.project-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.project-sidebar {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.quick-links li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light);
}

.quick-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.quick-links a {
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: var(--secondary);
}

.quick-links i {
    margin-right: 10px;
    color: var(--secondary);
}
/* Project Meta */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    font-size: 14px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text);
}

.project-meta i {
    color: var(--secondary);
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.success {
    background-color: #27ae60;
}

.notification.error {
    background-color: #e74c3c;
}

/* Contact Page Specific Styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.contact-option {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-option-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 24px;
}

.contact-option h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.map-container {
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.faq-section {
    background-color: var(--white);
    padding: 60px 0;
    margin-top: 60px;
}

.faq-item {
    background-color: var(--light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

/* Contact Form Enhancements */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form > p {
    margin-bottom: 25px;
    color: var(--text);
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden; /* Prevent body scroll when menu is open */
    }
    
    nav {
        height: 100vh;
        overflow-y: auto;
    }
    .contact-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-option {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}
/* What We Do Page Specific Styles */
.approach-section {
    background-color: var(--white);
    padding: 80px 0;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.approach-step {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--light);
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.approach-step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.impact-section {
    padding: 80px 0;
    background: linear-gradient(rgba(26, 82, 118, 0.9), rgba(26, 82, 118, 0.9)), url('https://source.unsplash.com/random/1600x900/?community,impact');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.impact-stat {
    text-align: center;
    padding: 30px;
}

.impact-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.impact-label {
    font-size: 18px;
    font-weight: 600;
}

.programs-section {
    padding: 80px 0;
    background-color: var(--light);
}

.programs-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.program-detail {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.program-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-check {
    color: var(--accent);
    font-size: 20px;
    margin-top: 2px;
}

.partners-section {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.partner-logo {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Responsive adjustments for what-we-do page */
@media (max-width: 768px) {
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .approach-step {
        padding: 30px 20px;
    }
    
    .programs-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
    
    .program-detail {
        padding: 25px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}
/* News Page Specific Styles */
.news-hero {
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(26, 82, 118, 0.9)), url('https://source.unsplash.com/random/1600x900/?news,media');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.news-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.news-hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.news-filters {
    background-color: var(--white);
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--light);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.news-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light);
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.read-time {
    color: var(--text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-news {
    margin-bottom: 60px;
}

.featured-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    overflow: hidden;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    background-color: var(--white);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.featured-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.featured-image {
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-section {
    background-color: var(--light);
    padding: 80px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.event-day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 16px;
    font-weight: 600;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text);
    font-size: 14px;
}

.event-meta i {
    color: var(--secondary);
}

.newsletter-section {
    background-color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 60px 40px;
    border-radius: 12px;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn.active,
.page-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background-color: transparent;
    color: inherit;
}

/* Responsive adjustments for news page */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .news-hero h1 {
        font-size: 36px;
    }
    
    .news-hero p {
        font-size: 18px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .featured-content h2 {
        font-size: 24px;
    }
    
    .newsletter-box {
        padding: 40px 20px;
    }
    
    .newsletter-box h2 {
        font-size: 28px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Styles - Click Based */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    cursor: pointer;
}

nav ul li a i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Dropdown menus - Hidden by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
    display: block !important; /* Ensure it's always block*/ 
}

/* Dropdown menus - Visible when active */
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 15px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--light);
    color: var(--secondary);
    padding-left: 20px;
}

/*Active state for dropdown parents */
.dropdown > a.active {
    color: var(--secondary);
}

.dropdown > a.active i {
    transform: rotate(180deg);
}

/* Remove all hover-based dropdown styles */


/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
}
