* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}



.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    gap: 100px;
    /* padding: 15px 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80%;
    font-size: 20px;
    color: #4fc3f7;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.clarity {
    font-size: 28px;
    font-weight: bold;
    color: #666;
    letter-spacing: 2px;
}

.tagline {
    font-size: 12px;
    color: #999;
    margin-top: -2px;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #666;
}

.phone,
.email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.phone i,
.email i {
    color: #999;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: #999;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #4fc3f7;
}

.search-icon {
    color: #4fc3f7;
    font-size: 18px;
    cursor: pointer;
}

/* Navigation Menu */
.nav-menu {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 5px;
    justify-content: space-evenly;
    align-items: center;
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 40px;
    padding: 15px 0;
}

.menu-items li a {
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.menu-items li a:hover {
    color: #4fc3f7;
}

.menu-item li a {
    color: white;
}

.menu-items li.dropdown a i {
    font-size: 10px;
}

.menu-items .dropdown-menu {
    display: none;
    position: absolute;
    border-radius: 20px;
    background: #1483ae;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 100;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

.menu-items .dropdown.open>.dropdown-menu {
    display: block;
}

.menu-items .dropdown {
    position: relative;
}

.menu-items .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.menu-items .dropdown-menu li a:hover {
    background: #17b9dd;
    border-radius: 10px;
}

/* Donate Button */
.btn-donate {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.4);
}

.btn-donate i {
    color: #ff6b6b;
}

/* Hero Section */
.hero-section {
    background: url('../images/latest-news-bg.png') center center/cover no-repeat;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    color: #503444;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 18px;
    padding-bottom: 50px;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    color: black;
}



.news-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #6d4c41;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7cc7d8, #4a90a4);
    border-radius: 2px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* News Cards */
.news-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 90px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    background-color: #7cc7d8;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.read-more-btn:hover {
    background-color: #6bb5c7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 199, 216, 0.3);
}

.read-more-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
        min-height: 45px;
    }
    
    .news-description {
        font-size: 13px;
        min-height: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 18px;
    }
    
    .news-title {
        font-size: 15px;
        min-height: 40px;
    }
    
    .news-description {
        font-size: 12px;
        min-height: 75px;
    }
    
    .read-more-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Animation for cards appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Focus states for accessibility */
.read-more-btn:focus {
    outline: 2px solid #7cc7d8;
    outline-offset: 2px;
}

.news-card:focus-within {
    outline: 2px solid #7cc7d8;
    outline-offset: 2px;
}

/* Grid adjustments for exactly 3 cards */
@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
}

/* Additional hover effects */
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7cc7d8, #4a90a4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card {
    position: relative;
}




.footer {
    background-color: #e7e7e7;
    color: #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Logo Section */
.logo-section .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    color: #4db8e8;
}

.logo-text h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Links Section */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4db8e8;
}

/* Location Sections */
.location-section h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.location-section p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Social Section */
.social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.phone {
    background-color: #4db8e8;
    color: white;
}

.social-icon.email {
    background-color: #4db8e8;
    color: white;
}

.social-icon.instagram {
    background-color: #4db8e8;
    color: white;
}

.social-icon.facebook {
    background-color: #4db8e8;
    color: white;
}

.social-icon.linkedin {
    background-color: #4db8e8;
    color: white;
}

.mailing-list-btn {
    background-color: #4db8e8;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mailing-list-btn:hover {
    background-color: #3da3d3;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #1a1a1a;
    color: #888;
    padding: 20px 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer-bottom p {
    font-size: 0.85rem;
    text-align: center;
}