* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
    color: #222;
    line-height: 1.6;
}

/* Header */
.header {
    background: #0b7285;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    /* Fixed header */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Push content below header */
body {
    padding-top: 60px;
    /* Approx header height */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}

/* Desktop Nav */
.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 60px;
        right: 0;
        background: #0b7285;
        width: 200px;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding: 10px 0;
        border-radius: 0 0 8px 8px;
    }

    .nav a {
        margin: 10px 20px;
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Search Section */
.search-section {
    text-align: center;
    padding: 80px 20px;
    background: #e6fcf5;
}

.search-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.search-section p {
    color: #555;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-box input {
    width: 300px;
    padding: 10px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
}

.search-box button {
    background: #0b7285;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.search-box button:hover {
    background: #099268;
}

/* Sections */
section {
    padding: 60px 0;
}

.container {
    width: 90%;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0b7285;
}

/* Cards */
/* Alternative Medicines Section */
.alternatives {
    padding: 60px 0;
    background: #f8f9fa;
}

.alternatives h2 {
    text-align: center;
    color: #0b7285;
    margin-bottom: 30px;
}

.alternatives .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.alternatives .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
    padding-bottom: 15px;
}

.alternatives .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alternatives .card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.alternatives .card h3 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #0b7285;
}

.alternatives .card p {
    font-size: 13px;
    color: #555;
    padding: 0 10px;
    min-height: 40px;
}

.alternatives .card a {
    display: inline-block;
    margin-top: 8px;
    background: #0b7285;
    color: #fff;
    padding: 6px 14px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.alternatives .card a:hover {
    background: #099268;
}

/* Responsive */
@media (max-width: 600px) {
    .alternatives .card-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cards per row */
        gap: 15px;
    }

    .alternatives .card img {
        height: 120px;
    }
}

/* Tips & Safety Guide Section */
.tips-section {
    padding: 60px 0;
    background: #f1fcfb;
}

.tips-section h2 {
    text-align: center;
    color: #0b7285;
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Desktop: 3 per row */
    gap: 25px;
}

.tip-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.tip-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #099268;
}

.tip-card h3 {
    color: #0b7285;
    font-size: 16px;
    margin-bottom: 10px;
}

.tip-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Tablet: 2 per row */
@media (max-width: 992px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 2 per row */
@media (max-width: 600px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Popular Medicine Categories Section */
.popular-categories {
    padding: 60px 0;
    background: #e6fcf5;
}

.popular-categories h2 {
    text-align: center;
    color: #0b7285;
    margin-bottom: 30px;
}

.popular-categories .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    text-align: center;
}

.popular-categories .category-card {
    background: #c5f6fa;
    border: 1px solid #99e9f2;
    border-radius: 12px;
    padding: 20px 10px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.popular-categories .category-card:hover {
    background: #99e9f2;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 600px) {
    .popular-categories .category-card {
        padding: 15px 5px;
        font-size: 13px;
    }
}

.related-articles-slider {
    padding: 60px 0;
    background: #f8f9fa;
}

.related-articles-slider h2 {
    text-align: center;
    color: #0b7285;
    margin-bottom: 30px;
}

.related-articles-slider .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    padding-bottom: 15px;
}

.related-articles-slider .card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-articles-slider .card h3 {
    color: #0b7285;
    font-size: 16px;
    margin: 10px 0 8px;
    padding: 0 10px;
}

.related-articles-slider .card p {
    font-size: 14px;
    color: #555;
    padding: 0 10px;
    margin-bottom: 10px;
}

.related-articles-slider .card a {
    display: inline-block;
    margin-bottom: 15px;
    background: #0b7285;
    color: #fff;
    padding: 6px 14px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.related-articles-slider .card a:hover {
    background: #099268;
}

@media (max-width: 480px) {
    .related-articles-slider .card {
        padding-bottom: 20px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #fff;
}

.faq-section h2 {
    text-align: center;
    color: #0b7285;
    margin-bottom: 40px;
}

.faq-item {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 16px;
    color: #099268;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-item {
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .faq-item {
        padding: 15px 15px;
    }
}

.newsletter {
    padding: 60px 0;
    background: #f1fcfb;
    text-align: center;
}

.newsletter h2 {
    color: #0b7285;
    font-size: 24px;
    margin-bottom: 15px;
}

.newsletter p {
    color: #555;
    font-size: 15px;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid #0b7285;
    border-radius: 25px;
    width: 250px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 25px;
    border: none;
    background: #0b7285;
    color: #fff;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: #099268;
}

/* Responsive */
@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

.testimonials {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.testimonials h2 {
    color: #0b7285;
    margin-bottom: 40px;
    font-size: 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 per row */
    gap: 25px;
}

.testimonial-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: #0b7285;
    font-size: 14px;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.cta-section {
    background: #3f4854;
    color: #000000;
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 10px 10px 10px 10px;
}

.cta-section h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #fff;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #fff;
}

.cta-button {
    display: inline-block;
    background: #099268;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-button:hover {
    background: #06a058;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 22px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .cta-button {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: #0b7285;
    color: #fff;
    padding: 50px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer a:hover {
    color: #000000;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-note {
    margin-top: 15px;
    font-size: 12px;
    color: #d4f0ed;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .social-icons a {
        margin-right: 15px;
    }
}