body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333333;
}

header {
    background: #D81B60;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav {
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #D81B60;
    font-weight: bold;
}

main {
    padding: 20px;
}

article {
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #C2185B;
    border-radius: 10px;
}

article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

h1, h2, h3 {
    font-family: 'Georgia', serif;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
    color: #D81B60;
}

h3 {
    font-size: 1.2em;
    color: #D81B60;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333333;
    color: #C2185B;
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }

    nav ul li {
        display: block;
        margin-right: 0;
    }
}

/* Hover Effects */
a:hover, button:hover {
    color: #ec407a;
    transition: color 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fadeIn {
    animation-name: fadeIn;
    animation-duration: 2s;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Your-Primary-Font', serif;
}

p, a, li {
    font-family: 'Your-Secondary-Font', sans-serif;
}

/* Hero Image */
#hero {
    background: url('path-to-hero-image.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;

}

.section-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature img {
    width: 100px;
    margin-right: 15px;
}
img {
    border-radius: 10px; /* Adjust the pixel value to increase or decrease the roundness */
}

/* General Section Styles */
section {
    padding: 40px 20px;
    margin: 20px 0;
}

/* Specific Backgrounds for Each Section */
#hero {
    background-image: url('resources/img/hero-image.jpg');
    background-size: cover;
    color: #ad1457;
    text-align: center;
    background-color: #fce4ec;
     border-radius: 10px;
}
#subscription {
    background-color: #fce4ec;/* Light grey background */
    border-radius: 10px;
}

#about, #download {
    background-color: #fffbe6; /* Light grey background */
     border-radius: 10px;
}

#features {
    background-color: #fce4ec; 
    border-radius: 10px;
}

#articles {
    background-color: #fffbe6; /* Light yellow background */
     border-radius: 10px;
}

/* Optional: Add a border to each section */
section {
    border-bottom: 1px solid #e0e0e0;
     border-radius: 10px;
}

/* Optional: Add background patterns or images */
#about {
    background-image: url('path-to-background-pattern-or-image');
    background-repeat: no-repeat;
    background-position: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 20px 10px;
    }
}

.download-button-container {
    text-align: center; /* Centers inline elements like <a> */
}

/* If you want to center the button vertically as well in a specific section */
.download-button-container {
    display: flex;
    justify-content: center;
    align-items: center; /* This will vertically center the content if the parent has a specific height */
}

.articles-intro {
    text-align: center;
    padding: 20px;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.article-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

.article-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    /* Additional button styling */
}

section {
    margin-bottom: 40px;
    padding: 20px;
}

.articles-intro {
    text-align: center;
}

h2, h3 {
    margin-top: 20px;
}

/* Additional styling as needed */
.articles-nav {
    position: sticky;
    top: 0;
    background-color: #333;
    padding: 10px 0;
    z-index: 1000;
}

.articles-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.articles-nav li {
    display: inline;
    margin: 0 15px;
}

.articles-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.articles-nav a:hover {
    color: #ddd;
}


/* ----------------------------------------------- */
/* Animations */
/* ----------------------------------------------- */

.js--wp-1,
.js--wp-2,
.js--wp-3
{
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-4 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
    opacity: 1;
}

.navigate-articles-btn {
    display: inline-block;
    padding: 10px 20px;
   
    background-color: #ec407a;
    
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navigate-articles-btn:hover {
    background-color: #ad1457; /* Darker shade for hover effect */
}


.footer-nav ul, .social-links ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li, .social-links ul li {
    display: inline;
    margin-right: 20px;
}

.footer-nav a, .social-links a {
    color: #fff;
    text-decoration: none;
}

.social-links i {
    margin-right: 5px;
}

.footer-nav a:hover, .social-links a:hover {
    text-decoration: underline;
}

.footer-legal p {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}


.terms-section {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.terms-content {
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

.article-title {
    text-align: center;
    margin-bottom: 10px;
}

.article-meta {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

.review-banner {
    display: inline-block;
    background-color: #4CAF50; /* A green color for medical/educational trustworthiness */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-top: 10px;
    font-weight: bold;
}

.review-banner::before {
    content: '\2713'; /* Adds a checkmark before the text */
    margin-right: 5px;
}


.article-contents ul {
    padding-left: 20px; /* Adjust padding to align with other elements */
    list-style-type: none; /* Remove default list styles */
    margin: 0; /* Remove default margin */
}

.article-contents li {
    margin-bottom: 10px; /* Space between items */
    font-size: 1.2rem; /* Increase font size for readability */
}

@media (max-width: 600px) {
    .article-contents ul {
        padding-left: 10px; /* Less padding on smaller screens */
    }

    .article-contents li {
        font-size: 1rem; /* Adjust font size for mobile */
    }
}

.content-section img {
    width: 40%;
    height: auto;
    margin-top: 20px;
}

.references {
    margin-top: 20px;
}

.reference-list {
    display: none; /* Hidden by default */
}
.title-separator {
    border: 0;
    height: 2px;
    background-color: #D81B60; /* Match this color with your site's theme */
    width: 50%; /* Adjust the width as per your design */
    margin: 10px auto; /* Centers the separator */
}


/* Additional styling as needed */
section {
    background-color: #f8f8f8; /* Light grey background, subtle and professional */
    border-radius: 15px; /* Rounded corners */
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow for depth */
}

/* You can add specific class or id for different sections to have different background colors */
.section-special {
    background-color: #e7e7ff; /* Example of a different background color for a specific section */
}

/* Ensures the background and border-radius are visible */
.content-section, .article-summary, .references {
    background-color: #fce4ec;
    border-color: #9E3355;
    border-radius: 20px;
    border-width: 5px;
}

.article-image {
    max-width: 50%; /* Ensures the image is never larger than its container */
    height: auto; /* Maintains aspect ratio */
    width: 50px; /* Adjust as needed */
}
@media (max-width: 768px) {
    .article-image {
        width: 100%; /* Full width on smaller screens */
    }
}



.content-section h2 {
    color: #2c3e50;
    text-align: center;
}

.ai-method {
    margin-bottom: 20px;
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 8px;
}

.ai-method h3 {
    color: #2980b9;
}

.ai-method p {
    font-size: 14px;
}

.content-section h2 {
    color: #2c3e50;
    text-align: center;
}

.example-group {
    margin-bottom: 20px;
}

.example-group h3 {
    color: #27ae60;
}

.example {
    background-color: #f7f7f7;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.example h4 {
    color: #D81B60;
}

.example p {
    font-size: 14px;
}

/* Add more styling as needed */

.image-gallery {
    /* Your existing styles for gallery */
}

/* Style the Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Hide the images by default */
.mySlides {
    display: none;
}


.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 15px;
    padding: 10px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px; /* Optional for rounded corners */
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05); /* Slightly enlarge images on hover */
    cursor: pointer;
}


/* #cookieConsent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 10px;
    z-index: 1000;
    border-top: 1px solid #ddd;
}
#cookieConsent button {
    margin-top: 10px;
    padding: 5px 20px;
    background-color: #009688;
    color: white;
    border: none;
    cursor: pointer;
} */
.faq-list {
    margin-top: 30px;
}

.faq-item {
    background-color: #f9f9f9;
    border-left: 4px solid #D81B60; /* Sofia purple? Adjust to your brand */
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
}

.faq-number {
    font-size: 24px;
    font-weight: bold;
    color: #D81B60;
    margin-right: 15px;
    min-width: 30px;
}

.faq-content p {
    margin-top: 8px;
    line-height: 1.6;
    color: #333;
}

.faq-content strong {
    font-size: 18px;
    color: #222;
}
