/* Blog Post Specific Styles */
:root {
    --font-primary: "Inter", sans-serif;
    --font-secondary: "Manrope", sans-serif;
  }
  
  /* Global Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary); /* Apply primary font globally */
  }
  
  body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
  }


/* Final Navigation Styles */
header {
  background-color: #f8f8f8;
  padding: 15px 0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
}

nav .logo img {
  height: auto;
  max-height: 80px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

/* Add dropdown indicator */
nav ul li.has-dropdown > a::before {
  content: '▾';
  display: inline-block;
  margin-right: 5px;
  font-size: 12px;
  color: #666;
}

/* Main navigation links - keep original style */
nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 17px;
  transition: color 0.3s ease;
  padding: 10px 15px;
  font-family: var(--font-secondary);
  position: relative;
}

/* Apply underline animation only to non-dropdown links */
nav ul li:not(.has-dropdown) > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #F47E31;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li:not(.has-dropdown) > a:hover::after {
  width: calc(100% - 30px);
}

/* Remove underline animation for dropdown items */
nav ul .dropdown li a::after {
  display: none;
}

/* Improved Dropdown Menu with Two Columns */
.dropdown {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  top: 100%;
  left: 0;
  min-width: 450px;
  z-index: 100;
  padding: 15px;
  border: 1px solid #eee;
}

nav ul li:hover .dropdown {
  display: block;
}

/* Two-column layout for dropdown */
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
}

/* Category headers for dropdown */
.category-header {
  display: block;
  font-weight: bold;
  color: #06476E;
  padding: 10px 0 5px;
  margin-top: 5px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.category-header:first-child {
  margin-top: 0;
}

.dropdown li {
  padding: 0;
  margin: 0;
}

/* Make dropdown text bolder and easier to read */
.dropdown li a {
  color: #333;
  display: block;
  padding: 8px 10px;
  font-weight: 600; /* Make text bolder */
  transition: color 0.3s ease;
}

/* Simpler hover effect - just darken text */
.dropdown li a:hover {
  color: #0055aa; /* Darken text on hover */
  background-color: #f8f8f8; /* Very light background change */
}

/* See All Conditions link spans both columns */
.see-all {
  grid-column: span 2;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.see-all a {
  text-align: center;
  color: #0055aa;
  font-weight: bold;
}

/* Mobile Navigation - CSS only approach */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle-input {
  display: none;
}

@media (max-width: 884px) {
  .mobile-toggle {
    display: block;
  }
  
  nav {
    position: relative;
  }
  
  nav > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8f8f8;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    gap: 10px;
  }
  
  .mobile-toggle-input:checked ~ ul {
    display: flex;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    width: 100%;
  }
  
  /* Remove underline animation for mobile */
  nav ul li a::after {
    display: none;
  }
  
  /* Mobile dropdown */
  .mobile-dropdown-toggle {
    display: none;
  }
  
  .dropdown {
    position: static;
    width: 100%;
    min-width: unset;
    box-shadow: none;
    display: none;
    border: none;
    background: transparent;
    padding: 10px 0 10px 15px;
  }
  
  .dropdown-grid {
    display: block;
  }
  
  .see-all {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  
  .mobile-dropdown-toggle:checked ~ .dropdown {
    display: block;
  }
  
  /* Mobile toggle indicator */
  .mobile-dropdown-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .mobile-dropdown-label::after {
    content: '+';
    font-size: 20px;
    color: #666;
  }
  
  .mobile-dropdown-toggle:checked + .mobile-dropdown-label::after {
    content: '−';
  }
}

/* Target MacBook screen sizes (typically 1280px-1440px wide) */
@media screen and (min-width: 1196px) and (max-width: 1440px) {
  /* Make logo smaller */
  nav .logo img {
    max-height: 68px; /* Reduced from 68px */
    max-width: 300px; /* Controlled max-width */
  }
  
 
}

/* iPad landscape - complete navigation adjustment */
@media screen and (min-width: 885px) and (max-width: 1195px) {
  /* Smaller logo */
  nav .logo img {
    max-height: 50px;
    max-width: 220px;
  }
  
  /* Adjust navigation text and spacing */
  nav ul {
    gap: 12px; /* Reduce spacing between items */
  }
  
  nav ul li a {
    font-size: 14px; /* Smaller font size */
    padding: 10px 6px; /* Reduced padding */
    letter-spacing: -0.2px; /* Slightly tighter letter spacing */
  }
  
  /* Reduce dropdown indicator size if needed */
  nav ul li.has-dropdown > a::before {
    font-size: 10px;
  }
  
 
  
  /* Make dropdown narrower */
  .dropdown {
    min-width: 400px; /* Instead of 450px */
  }
}


/* Main blog content */
.blog-post {
    background-color: #f8f9fa;
}

.blog-header {
    margin-bottom: 40px;
    text-align: center;
}

.blog-header h1 {
    font-size: 42px;
    color: #06476E;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    justify-content: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.blog-date, .blog-author, .blog-category {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.blog-meta i {
    color: #F47E31;
    margin-right: 8px;
}

.blog-featured-image {
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Featured image can be slightly taller */
  }

figcaption {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
    background: #f0f0f0;
}

/* Table of Contents */
.table-of-contents {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #F47E31;
}

.table-of-contents h2 {
    font-size: 22px;
    color: #06476E;
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.table-of-contents li::before {
    content: "•";
    color: #F47E31;
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.table-of-contents a {
    color: #06476E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #F47E31;
}

/* Content Sections */
.blog-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.blog-content section {
    margin-bottom: 50px;
}

.blog-content h2 {
    font-size: 32px;
    color: #06476E;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-content h3 {
    font-size: 24px;
    color: #06476E;
    margin: 30px 0 15px;
}

.blog-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    font-size: 17px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}

.blog-content strong {
    color: #333;
}

.blog-content a {
    color: #F47E31;
    text-decoration: none;
    border-bottom: 1px dotted #F47E31;
    transition: all 0.3s ease;
}

.blog-content a:hover {
    color: #06476E;
    border-bottom-color: #06476E;
}

.blog-image {
    margin: 30px auto;
    text-align: center;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .blog-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px; /* Control the vertical height */
  }

/* Image grid for multiple images */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px auto;
    max-width: 900px;
  }
  
.image-grid .grid-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
  }
  
.image-grid .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3/2; /* Maintains consistent ratio */
  }
/* Blockquotes */
.research-quote {
    background: #f8f9fa;
    border-left: 4px solid #F47E31;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #333;
}

.research-quote cite {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    font-style: normal;
    color: #666;
}

/* Testimonials */
.testimonial-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: rgba(244, 126, 49, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    padding-left: 30px;
}

.testimonial-author {
    margin-top: 15px;
    color: #06476E;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item h3 {
    color: #06476E;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.faq-item h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    color: #F47E31;
    font-weight: 700;
}

.faq-item p {
    padding-left: 30px;
    position: relative;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* References Section */
.references-list {
    padding-left: 20px;
}

.references-list li {
    margin-bottom: 15px;
    font-size: 15px;
    color: #666;
}

.references-list a {
    color: #F47E31;
    text-decoration: none;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(to right, #06476E, #0a5a8a);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: black !important; /* Force white color with !important */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.cta-button:hover {
    
        
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-phone {
    font-size: 18px;
}

.cta-phone a {
    color: white;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* Author Bio */
.author-bio {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #f0f0f0;
}

.author-details h3 {
    color: #06476E;
    margin-bottom: 10px;
    font-size: 20px;
}

.author-details p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* Related Posts */
.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    font-size: 22px;
    color: #06476E;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 15px;
    color: #06476E;
    font-size: 16px;
    transition: color 0.3s ease;
}

.related-post:hover h4 {
    color: #F47E31;
}

/* Social Share */
.social-share {
    text-align: center;
    margin-bottom: 40px;
}

.social-share h3 {
    font-size: 20px;
    color: #06476E;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.share-facebook {
    background: #3b5998;
}

.share-twitter {
    background: #1da1f2;
}

.share-whatsapp {
    background: #25d366;
}

.share-email {
    background: #F47E31;
}

.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comments-section h3 {
    font-size: 22px;
    color: #06476E;
    margin-bottom: 20px;
    text-align: center;
}

.comment-form-disabled {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.comment-form-disabled p {
    margin-bottom: 15px;
    color: #555;
}

.contact-button {
    display: inline-block;
    background: #06476E;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #F47E31;
}

/* Newsletter Section */
.newsletter-signup {
    background: linear-gradient(135deg, #f0f4f8 0%, #e6edf3 100%);
    padding: 60px 0;
    text-align: center;
}

.newsletter-signup h2 {
    color: #06476E;
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-signup p {
    color: #555;
    max-width: 600px;
    margin: 0 auto 25px;
}

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

.form-group {
    display: flex;
    margin-bottom: 15px;
}

.form-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.form-group button {
    background: #F47E31;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.form-group button:hover {
    background: #06476E;
}

.form-disclaimer {
    color: #777;
    font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 32px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-date, .blog-author, .blog-category {
        margin: 5px 0;
    }
    
    .blog-content {
        padding: 25px 20px;
    }
    
    .blog-content h2 {
        font-size: 26px;
    }
    
    .blog-content h3 {
        font-size: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-bio img {
        margin: 0 auto 20px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .form-group button {
        border-radius: 5px;
        padding: 12px;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
      }

@media (max-width: 576px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}
}

/* Footer */
footer {
  background: #1C1C1C;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.footer-column h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-column p, .footer-column a {
  color: #B4B4B4;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.social-links a {
  margin-right: 20px;
  font-size: 20px;
}

.footer-bottom {
  text-align: left;
  padding: 20px;
  color: #B4B4B4;
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}