body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f7f9fc;
    color: #2d3748;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}
/* Header/Navbar */
.navbar {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.9rem;
    color: #ffffff !important;
    display: flex;
    align-items: center;
}

.navbar-brand:before {
    content: '❤️';
    margin-right: 10px;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.95) !important;
    font-weight: 500;
    margin-left: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after {
    width: 100%;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e7e34;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-text {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.8;
}

.card-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #e9ecef;
    color: #777;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background-color: #28a745; /* Green */
    border-color: #28a745;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838; /* Darker green */
    border-color: #218838;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Badges (Tags) */
.badge {
    font-size: 0.85em;
    padding: 0.5em 0.75em;
    border-radius: 0.3rem;
    background-color: #6c757d; /* Gray for tags */
    color: #fff;
}

.badge.bg-info { /* For tag page title */
    background-color: #17a2b8 !important;
}

/* Pagination */
.pagination .page-link {
    color: #28a745; /* Green */
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.pagination .page-item.active .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Search Bar */
.search-bar .input-group .form-control {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-color: #ced4da;
}

.search-bar .input-group .btn {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 50%, #20c997 100%);
    color: white;
    padding: 100px 40px;
    border-radius: 1.5rem;
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: #343a40; /* Dark gray */
    color: #f8f9fa;
    padding: 40px 0;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer h5 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #ffffff;
}

.footer .social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: #28a745; /* Green */
}

.footer .text-center {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 30px;
    color: #adb5bd;
}

/* Health Features Section */
.health-features {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 1rem;
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: #28a745;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}

/* BMI Calculator */
.bmi-calculator {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1rem;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin: 30px 0;
}

.bmi-calculator h3 {
    color: #1e7e34;
    font-weight: 700;
    margin-bottom: 25px;
}

.bmi-result {
    background-color: #e8f5e9;
    border-radius: 0.5rem;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    color: #1e7e34;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
    color: white;
    padding: 50px 0;
    border-radius: 1rem;
    margin: 40px 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 50px;
    padding: 12px 25px;
    border: none;
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    background-color: #ffc107;
    border: none;
    color: #333;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Health Tips Widget */
.health-tips-widget {
    background-color: #e8f5e9;
    border-radius: 1rem;
    padding: 25px;
    margin-bottom: 25px;
}

.health-tips-widget h5 {
    color: #1e7e34;
    font-weight: 700;
    margin-bottom: 20px;
}

.health-tip-item {
    background-color: white;
    border-radius: 0.5rem;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.health-tip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 1rem;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e9ecef;
}

.category-card:hover {
    border-color: #28a745;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand:before {
        font-size: 1.2rem;
        margin-right: 5px;
    }
    
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 15px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .health-features {
        padding: 40px 0;
    }
    
    .newsletter-section {
        padding: 40px 15px;
    }
    
    .bmi-calculator {
        padding: 25px 20px;
    }
    
    .health-tips-widget {
        margin-bottom: 20px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer .col-md-4 {
        margin-bottom: 30px;
    }
    
    .search-bar {
        padding: 0 15px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        font-size: 0.9rem;
    }
}