/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #2C5282;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Hero Section */

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}
.hero-content {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap between elements */
    align-items: center;
    position: relative;
    z-index: 2;
}
/* Adjust the subtitle styling */
.hero .subtitle {
    font-style: italic;
    font-size: 1.4rem;
    color: white;
    margin: 0; /* Remove margin */
    padding: 0 20px; /* Add some padding to match the h1 */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}


.hero h1 {
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    padding: 20px;
    border-radius: 10px;
    /*margin-bottom: 10px; /* Adjust margin below h1 */
    margin: 0; /* Remove margin */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    display: block;
}

.hero h1 span:first-child {
    font-weight: bold;
}

.hero h1 span:last-child {
    font-weight: normal;
    font-size: 1.4rem;
    font-style: italic;
}

.hero p { /* Target the p inside .hero */
    font-size: 1.1rem;
    color: white;
    line-height: 1.5;
    margin-top: 0; /* Remove default top margin */
}

/* Responsive adjustments (example) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        padding: 15px;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: #2C5282;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

/* Lists */
ul, ol {
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 5px;
}
figure[data-type="blockquoteFigure"] {
    width: 90%; /* Adjust the width as needed */
    max-width: 700px; /* Prevents it from getting too wide */
    margin-left: 0; /* Aligns it to the left */
    margin-right: auto; /* Ensures it does not stay centered */
    padding: 0px; /* Adds some spacing inside */
}

/* Table Styling */
table {
    width: 80%;
    max-width: 900px; /* Optional: Prevents it from becoming too wide on large screens */
    margin: 20px left; /* Centers the table inside the container */
    border-collapse: separate; /* Allows border-radius to work */
    border-spacing: 0;    
    background: hsl(195, 100%, 99%);
    border-radius: 10px; /* Rounded corners */
    overflow: hidden;
}

/* Table Borders */
th, td {
    padding: 1px 12px; /* Reduced padding for less height */
    text-align: left;
    border: 1px solid #2C5282;
}

/* Header Row Styling */
th {
    background: #2C5282;
    color: #FFFFFF;
    font-weight: bold;
}

/* First Column Rounded Corners */
tr:first-child th:first-child {
    border-top-left-radius: 10px;
}
tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

/* Last Column Rounded Corners */
tr:first-child th:last-child {
    border-top-right-radius: 10px;
}
tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}


/* Links */
a {
    color: #ED8936;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.button {
    display: inline-block;
    background: #ED8936;
    color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.button:hover {
    background: #C05621;
}

/* Blog Content Styling */
.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: #FFFFFF;
}

.article img {
    width: 100%;
    border-radius: 5px;
}

blockquote {
    border-left: 5px solid #2C5282;
    padding-left: 15px;
    font-style: italic;
    color: #2C5282;
}

hr {
    border: 1px solid #EBF8FF;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    /* Mobile Styles */
    .article {
        padding: 15px;
    }
    .google-ad {
        margin: 20px 0;
    }
    .hero h1 {
        font-size: 2rem;
        padding: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet Styles */
    .article {
        padding: 20px;
    }
}

/* Add this to ensure a gap at the right edge for ads */
.google-ad {
    margin-right: 20px; /* Adjust the margin as needed */
}

/* Product Card Styling */
.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
    overflow: hidden;
    margin: 0;
    width: 100%;
    max-width: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f8f9fa;
    padding: 0;
}

.product-card-content {
    padding: 15px;
}

.product-card h2 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #2C5282;
}

.product-card .key-features {
    margin-bottom: 10px;
}

.product-card .key-features h3 {
    font-size: 1rem;
    margin: 0 0 5px 0;
}

.product-card .key-features ul {
    margin: 0;
    padding-left: 20px;
}

.product-card .key-features li {
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.product-card .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.product-card .pros, .product-card .cons {
    font-size: 0.9rem;
}

.product-card .pros h3, .product-card .cons h3 {
    font-size: 1rem;
    margin: 0 0 5px 0;
}

.product-card .pros ul, .product-card .cons ul {
    margin: 0;
    padding-left: 15px;
}

.product-card .price-range {
    font-size: 1rem;
    font-weight: 600;
    color: #2C5282;
    margin-bottom: 10px;
}

.product-card .check-price {
    display: inline-block;
    background: #ED8936;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.product-card .check-price:hover {
    background: #C05621;
    text-decoration: none;
}

@media (max-width: 768px) {
    .product-card .pros-cons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card-content {
        padding: 12px;
    }
    
    .product-card h2 {
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    /* Desktop Styles */
    .google-ad.sidebar {
        float: right;
        width: 300px;
        margin-left: 20px;
        margin-right: 20px; /* Ensure there's a gap on the right */
    }
}

.toc-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    /*background-color: #F2A865; /* Muted orange sidebar */
    padding: 20px; /* Add some padding to the sidebar */
    border-radius: 10px; /* Optional: Add rounded corners */
}

#toc {
    width: 250px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    background-color: #f0f0f0; /* Keep the light gray background */
}

#toc a {
    color: #4A86E4; /* Lighter blue links */
    text-decoration: none; /* Remove underlines by default */
}

#toc a:hover {
    color: #ED8936; /* Orange on hover */
    text-decoration: underline; /* Add underline on hover */
}

#toc h2 {
    color: #2C5282; /* Keep your heading color */
}

.article {
    flex: 1;
}

/* Mobile Support */
@media (max-width: 768px) {  /* Adjust breakpoint as needed */
    .toc-wrapper {
        flex-direction: column; /* Stack TOC and article vertically */
        align-items: stretch; /* Make TOC full width */
        gap: 10px; /* Reduce gap on mobile */
    }

    #toc {
        width: 100%; /* TOC takes full width */
        margin-bottom: 20px; /* Add margin below TOC */
    }

    .article {
        /* Add any specific mobile styles for the article if needed */
        padding: 10px; /* Example: adjust padding */
    }

    /* Example: Make headings smaller on mobile if needed */
    h2 {
        font-size: 1.5rem; /* Adjust as needed */
    }

    h3 {
        font-size: 1.2rem; /* Adjust as needed */
    }

    /* Example: Adjust table styles for mobile */
    table {
        display: block; /* Make table scrollable horizontally */
        overflow-x: auto;
    }

    th, td {
        padding: 8px; /* Reduce padding in table cells */
        font-size: 0.9rem; /* Smaller font size in table */
    }

    /* Example: Adjust hero section height if needed */
    .hero {
        height: 300px; /* Adjust height */
    }

    .hero h1 {
        font-size: 2rem; /* Adjust font size */
    }
}

/* Base styles for all devices */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header, footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

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

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

/* Responsive styles */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 5px 0;
    }

    .container {
        padding: 15px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header, footer {
        padding: 5px 0;
    }
}

/* Add this to your CSS for the mobile menu */
#menu {
    display: none;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }

    #menu {
        display: block;
    }
}

/* Enhanced styling for the medical disclaimer box */
.medical-disclaimer {
    background-color: #ffebcc; /* Light orange background for distinction */
    color: #333; /* Dark text color */
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    border: 2px solid #ffa500; /* Orange border for emphasis */
    border-radius: 8px;
    text-align: center;
    font-size: 1rem; /* Slightly larger font size */
    font-weight: bold; /* Bold text for emphasis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Contact Page Styles */
.page-layout.three-column {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.ad-sidebar {
    position: sticky;
    top: 2rem;
}

.ad-container {
   /* background: #f5f5f5;*/
    border-radius: 8px;
    padding: 1rem;
    min-height: 600px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-title {
    text-align: center;
    color: #2C5282;
    margin-bottom: 2rem;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2C5282;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4299e1;
    outline: none;
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 0.25rem;
}

.recaptcha-group {
    margin: 1.5rem 0;
}

.submit-group {
    text-align: center;
}

.submit-button {
    background: #ED8936;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background: #C05621;
}

.alternative-contact {
    margin-top: 4rem;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    color: #2C5282;
}

.contact-method h3 {
    margin: 0;
    color: #2C5282;
}

.contact-method p {
    margin: 0;
    color: #4A5568;
}

@media (max-width: 1200px) {
    .page-layout.three-column {
        grid-template-columns: 1fr;
    }

    .ad-sidebar {
        display: none;
    }

    .contact-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Add this to style the footer */
.footer {
    background-color: #2C5282;
    color: white;
    padding: 1.5rem 1rem;
    font-family: system-ui, -apple-system, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 1rem;
}

.footer-legal {
    max-width: 600px;
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.4;
    text-align: left;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    font-size: 0.8rem;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-year {
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-legal {
        text-align: center;
        margin: 0 auto;
    }
}

  .footer-year {
    font-weight: 600;
  }
.page-content {
    margin-bottom: 60px; /* Add comfortable spacing before footer */
}

/* Privacy Policy Page Styles */
.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.accordion-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.accordion {
    background-color: #f8f9fa;
    color: #2C5282;
    cursor: pointer;
    padding: 1rem 1.5rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion:after {
    content: '+';
    font-size: 1.2rem;
    color: #2C5282;
}

.accordion.active:after {
    content: '-';
}

.accordion:hover {
    background-color: #edf2f7;
}

.panel {
    padding: 1.5rem;
    background-color: white;
    display: none;
    border-bottom: 1px solid #ddd;
}

.panel p {
    margin: 0 0 1rem 0;
    color: #4a5568;
    line-height: 1.6;
}

.panel ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
    color: #4a5568;
}

.panel li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for privacy page */
@media (max-width: 768px) {
    .accordion {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .panel {
        padding: 1.25rem;
    }

    .panel p, .panel li {
        font-size: 0.95rem;
    }
}
.accordion-container {
    border: 1px solid #ddd; /* Light border around the container */
    border-radius: 5px; /* Rounded corners */
    overflow: hidden; /* Prevents border issues with panel expansion */
}

.accordion {
  background-color: #fff; /* White background for buttons */
  color: #333; /* Dark text color */
  cursor: pointer;
  padding: 15px; /* Increased padding */
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px; /* Slightly larger font size */
  transition: 0.4s;
  border-bottom: 1px solid #ddd; /* Separator line between buttons */
}

.active, .accordion:hover {
  background-color: #eee; /* Light gray on hover/active */
}

.panel {
  padding: 15px; /* Increased padding */
  background-color: #fff;
  border-top: 1px solid #ddd; /* Top border for the panel */
  display: none;
}

.panel p {
  margin: 10px 0;
  color: #555; /* Slightly lighter text in the panel */
  line-height: 1.6; /* Improved line height for readability */
}

.accordion:after {
  content: '\002B';
  font-family: "Arial Unicode MS", monospace;
  color: #777;
  float: right;
  margin-left: 5px;
  transition: transform 0.2s ease; /* Smooth rotation */
}

.active:after {
  content: "\2212";
  transform: rotate(180deg); /* Rotate the minus sign */
}
  