/* Global */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #e5f2f2;
}
/* Global Heading Styles */
h1 {
  font-size: 2rem;   /* ~32px */
  line-height: 1.3;
  margin: 1rem 0;
  font-weight: 700;
  color: #2c3e50;
}

h2 {
  font-size: 1.5rem; /* ~24px */
  line-height: 1.3;
  margin: 0.8rem 0;
  font-weight: 600;
  color: #0e5e4a;
}

h3 {
  font-size: 1.25rem; /* ~20px */
  line-height: 1.3;
  margin: 0.6rem 0;
  font-weight: 600;
  color: #2c3e50;
}

h4, h5, h6 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0.4rem 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; } /* ~26px */
  h2 { font-size: 1.3rem; } /* ~21px */
  h3 { font-size: 1.1rem; } /* ~18px */
}

article h1, section h1, nav h1, aside h1 {
  font-size: 2rem;
  line-height: 1.3;
}

/* Header */
header {
  text-align: center;
  padding: 10px 0;
  background: #e5f2f2;
  
}
header .logo img {
  width: 150px;
}
header .social-icons {
  margin: 10px 0;
}
header .social-icons a {
  margin: 0 8px;
  color: #2c3e50;
  font-size: 18px;
  transition: color 0.3s;
}
header .social-icons a:hover {
  color: #0e5e4a;
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}
nav ul li {
  margin: 0 15px;
}
nav ul li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
}
nav ul li a:hover {
  color: #0e5e4a;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh; /* prevents excessive height */
  display: block;
  margin: 0 auto; /* center image horizontally if smaller than container */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
}

.hero-text h1 {
  color: #fff;
  font-size: clamp(18px, 4vw, 32px); /* responsive font size */
  line-height: 1.4;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
 .last-updated-wrapper {
    text-align: center;        /* Horizontal center */
    margin: 15px 0;            /* Adjustable spacing above/below */
  }

  #last-updated {
    font-size: 14px;           /* Mobile default */
    color: #555;
  }

  @media (min-width: 768px) {
    #last-updated {
      font-size: 16px;         /* Larger font for desktop */
    }
  }
/* Mobile Responsive Styles */
@media only screen and (max-width: 768px) {
    .recent-blogs {
        padding: 15px;
    }

    .recent-blogs h1 {
        font-size: 1rem;
    }

    .recent-blogs h2 {
        font-size: 1.3rem;
    }
}


/* Recent Blogs */
.recent-blogs {
  padding: 1px 1px;
  text-align: center;
}
.recent-blogs h2 {
  margin-bottom: 10px;
  font-size: 28px;
  color: #0e5e4a;
}
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: left;
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card h3 {
  margin: 15px;
  font-size: 17px;
  color: #2c3e50;
}
.blog-card p {
  margin: 0 15px 15px;
  font-size: 14px;
  color: #555;
}
.blog-card a {
  display: inline-block;
  margin: 0 15px 15px;
  text-decoration: none;
  color: #0e5e4a;
  font-weight: bold;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

footer a {
  color: #fff;
  text-decoration: none;
  
  /* Make each link a block for better spacing */
  display: inline-block;

  /* Increase clickable area */
  padding: 12px 16px;

  /* Add spacing between links */
  margin: 6px;

  /* Optional for aesthetics */
  border-radius: 4px;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  footer a {
    padding: 12px 16px;
    margin: 6px;
    display: inline-block;
  }
}


/* Mobile Optimization */
@media (max-width: 480px) {
  .hero-text {
    background: rgba(0, 0, 0, 0.3); /* lighter background for readability */
    padding: 10px 12px;
    border-radius: 6px;
  }

  .hero-text h1 {
    font-size: 16px; /* smaller font for tiny screens */
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .hero-text {
    background: none; /* remove box background on extra small devices */
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* text stays readable */
  }

  .hero-text h1 {
    font-size: 14px;
  }
    .recent-blogs h1 {
    font-size: 12px;
  }
}



.waterfall-guide {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  color: #333;
}

.waterfall-guide h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0e5e4a;
  text-align: center;
}

.waterfall-guide h2 {
  font-size: 26px;
  margin-top: 40px;
  color: #2c3e50;
  border-bottom: 2px solid #0e5e4a;
  padding-bottom: 5px;
}

.waterfall-guide h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #0e5e4a;
}

.waterfall {
  margin-bottom: 30px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.waterfall img {
  width: 100%;
  height: auto;
  max-height: 700px;
  border-radius: 6px;
  margin: 10px 0;
  max-width: 900px;   /* prevent images from becoming too wide on desktop */
  display: block;
  margin-left: auto;
  margin-right: auto; /* center the image */
}

@media (max-width: 768px) {
  .waterfall img {
    max-width: 100%; /* allow full width on smaller screens */
  }
}

.waterfall ul {
  list-style: none;
  padding: 0;
}

.waterfall ul li {
  margin: 10px 0;
  font-size: 15px;
  
}

.tips, .faqs, .conclusion {
  margin-top: 40px;
}

.tips ul, .faqs p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .waterfall-guide h1 { font-size: 24px; }
  .waterfall-guide h2 { font-size: 20px; }
  .waterfall-guide h3 { font-size: 18px; }
  .waterfall ul li { font-size: 15px; }
}

.author-credit {
  margin: 2rem 1rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-family: system-ui, sans-serif;
}

.author-credit h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #222;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* allows wrapping on mobile */
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
  min-width: 200px;
}

.author-info p {
  margin: 0.3rem 0;
  color: #333;
  line-height: 1.4;
}

.author-info a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.author-info a:hover {
  text-decoration: underline;
}

/* Mobile optimization */
@media (max-width: 600px) {
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-box img {
    width: 70px;
    height: 70px;
  }
  
  .author-info a {
    margin-top: 0.8rem;
  }
}
/* Container */
.social-icons {
  display: flex;
  justify-content: center;   /* Center horizontally */
  align-items: center;
  gap: 25px;                 /* Space between icons */
  flex-wrap: wrap;           /* Wrap for small screens */
  padding: 1px;
}

/* Icons */
.social-icons a img {
  width: 50px;   /* Default size */
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effect */
.social-icons a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .social-icons a img {
    width: 40px;   /* Smaller on mobile */
  }
}

@media (min-width: 1024px) {
  .social-icons a img {
    width: 40px;   /* Larger on big desktops */
  }
}
/* Menu Container */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px; /* spacing between menu items */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Menu Items as Buttons */
nav ul li a {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #003366; /* button text color */
  padding: 8px 16px;
  border: 2px solid #0077cc; /* border color */
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Hover Effect */
nav ul li a:hover {
  background-color: #0077cc; /* button fill on hover */
  color: #fff; /* text turns white */
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
  nav ul {
    gap: 18px;
  }
  nav ul li a {
    font-size: 16px;
    padding: 6px 12px;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  nav ul {
    gap: 15px;
    flex-wrap: wrap; /* wrap if needed */
  }
  nav ul li a {
    font-size: 18px;
    padding: 2px 10px;
  }
}

a.ganpati-link {
  display: inline-block;
  margin: 6px 0 12px;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #d35400; /* festive orange */
  text-decoration: none;
  border: 1px solid #d35400;
  border-radius: 6px;
  background: #fff8f2;
  transition: all 0.3s ease;
}

a.ganpati-link:hover {
  background: #d35400;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bepart {
  text-align: center;
  margin: 10px 0;
}

.bepart p {
  font-size: 16px;       /* mobile friendly */
  font-weight: bold;
  color: #004466;        /* adjust to your theme */
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* Larger screens (tablet & desktop) */
@media (min-width: 768px) {
  .bepart p {
    font-size: 22px;     /* bigger on desktop */
  }
}

/* 📱 Mobile Default (<=768px) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #e5f2f2;
}

header .logo img {
  width: 130px;
  height: auto;
}

/* Put text + icons in a column */
header .right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

header .bepart p {
  font-size: 14px;
  font-weight: bold;
  color: #004466;
  margin: 0;
  text-align: right;
}

header .social-icons {
  display: flex;
  gap: 10px;
}

header .social-icons a img {
  width: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

header .social-icons a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* 💻 Desktop (>=769px) – stacked center */
@media (min-width: 769px) {
  header {
    display: block;
    text-align: center;
    padding: 20px 0;
  }

  header .logo img {
    width: 150px;
    margin-bottom: 15px;
  }

  /* make sure everything inside is centered */
  header .right-section {
    display: block;
    text-align: center;
  }

  header .bepart {
    margin: 10px 0;
  }

  header .bepart p {
    font-size: 20px;
    text-align: center;   /* ✅ center text on desktop */
  }

  header .social-icons {
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  header .social-icons a img {
    width: 40px;
  }
}

.aartis-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  font-family: "Merriweather", serif;
  background: #fff8f0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #4b3b2b;
  line-height: 1.6;
}

.aartis-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b76e2f;
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Georgia", serif;
  letter-spacing: 1px;
}

.aartis-section h2 {
  font-size: 1.75rem;
  color: #8a4b1e;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #d9a066;
  padding-bottom: 0.25rem;
  font-family: "Georgia", serif;
}

.aartis-section p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.aartis-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
  color: #6a4b2a;
  font-size: 1.1rem;
}

.aartis-section pre {
  background: #fff4e6;
  border: 1px solid #d9b382;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  font-family: "Noto Sans Devanagari", "Merriweather", serif;
  font-size: 1.125rem;
  white-space: pre-wrap;
  color: #5c422a;
  box-shadow: inset 0 2px 5px rgba(217,179,130,0.25);
  margin-bottom: 2rem;
}

.aartis-section strong {
  color: #b76e2f;
  font-weight: 700;
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .aartis-section {
    padding: 1rem;
    margin: 1rem;
  }
  
  .aartis-section h1 {
    font-size: 1.8rem;
  }
  
  .aartis-section h2 {
    font-size: 1.4rem;
  }
  
  .aartis-section pre {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* Angel Numbers Styles */
.angel-numbers {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: #222;
  padding: 20px;
  background: #e5f2f2;
}

.container {
  max-width: 900px;
  margin: auto;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.4;
  margin-top: 20px;
}

h1 { font-size: 1.75rem; color: #2d2d7c; }
h2 { font-size: 1.6rem; color: #444; margin-top: 30px; }
h3 { font-size: 1.3rem; color: #333; }
h4 { font-size: 1.1rem; color: #555; }

p {
  margin: 12px 0;
}

ul {
  margin: 10px 0 20px 20px;
}

.examples li {
  margin-bottom: 5px;
}

.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.angel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.angel-table th, .angel-table td {
  border: 1px solid #050505;
  padding: 10px;
  text-align: left;
}

.angel-table th {
  background: #e5f2f2;
  font-weight: 600;
}

.angel-table tr:nth-child(even) {
  background: #e5f2f2;
}

.links li {
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  .angel-table td, .angel-table th {
    font-size: 0.85rem;
    padding: 8px;
  }
}
/* Hero Image Section */
.hero-image {
  text-align: center;
  margin: 20px 0;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* smooth edges, optional */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* subtle shadow */
}
/* General button styling */
#notify-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #003366;
  background: transparent;
  border: 2px solid #003366;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  /* ✨ Flashing glow animation */
  animation: glowPulse 2s infinite;
}

/* Hover & focus for desktop */
#notify-btn:hover,
#notify-btn:focus {
  background-color: #003366;   /* fill background */
  color: #ffffff;              /* invert text color */
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 51, 102, 0.6);
}

/* Active (when clicked) */
#notify-btn:active {
  transform: translateY(0);
  background-color: #002244;
  border-color: #002244;
}

/* Make it responsive */
@media (max-width: 600px) {
  #notify-btn {
    width: 100%;
    padding: 14px;
    font-size: 18px;  /* slightly larger for touch devices */
  }
}

/* 🔥 Glowing border pulse */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 51, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 12px 4px rgba(0, 51, 102, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 51, 102, 0.4);
  }
}

/* Responsive image styling for Goa travel guide */
.goa-article img {
  display: block;
  max-width: 100%;   /* Image will never overflow container */
  height: auto;      /* Keeps correct aspect ratio */
  border-radius: 8px; /* Soft rounded corners */
  margin: 1rem auto; /* Center images with spacing */
  object-fit: cover;  /* Keeps images neat even if container resizes */
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* Light shadow for depth */
}

/* Desktop optimization */
@media (min-width: 1024px) {
  .goa-article img {
    max-width: 800px;   /* Limit image width for readability */
  }
}

/* Tablet optimization */
@media (min-width: 600px) and (max-width: 1023px) {
  .goa-article img {
    max-width: 90%;   /* Slightly smaller than container */
  }
}

/* Mobile optimization */
@media (max-width: 599px) {
  .goa-article img {
    max-width: 100%;  /* Full width on mobile */
    border-radius: 6px;
  }
}


/* Pune Property Tax Styles - Safe Custom Namespace */
.pune-tax-main {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.pune-tax-main h1,
.pune-tax-main h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.pune-tax-main p {
  margin-bottom: 15px;
}

.pune-tax-main ul,
.pune-tax-main ol {
  margin: 15px 0;
  padding-left: 20px;
}

.pune-tax-main ul li,
.pune-tax-main ol li {
  margin-bottom: 8px;
}

.pune-tax-formula {
  font-size: 1.1em;
  color: #000;
  background: #f5f5f5;
  padding: 8px 12px;
  border-left: 4px solid #007acc;
  margin: 15px 0;
}

.pune-tax-faq dt {
  font-weight: bold;
  margin-top: 15px;
  color: #007acc;
}

.pune-tax-faq dd {
  margin: 5px 0 15px 15px;
}

/* Links */
.pune-tax-main a {
  color: #007acc;
  text-decoration: none;
}
.pune-tax-main a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pune-tax-main {
    padding: 15px;
  }
  .pune-tax-main h1 {
    font-size: 1.6em;
  }
  .pune-tax-main h2 {
    font-size: 1.3em;
  }
}

/* Calculator Container */
#calculator {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin: 30px auto;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: "Arial", sans-serif;
}

/* Heading */
#calculator h2 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
}

/* Description */
#calculator p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Form Groups */
.form-group {
  margin-bottom: 18px;
}

/* Labels */
#calculator label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

/* Inputs and Selects */
#calculator input,
#calculator select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border 0.3s;
}

#calculator input:focus,
#calculator select:focus {
  border-color: #16a085;
  outline: none;
}

/* Button */
#calculator button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  background: #16a085;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#calculator button:hover {
  background: #138d75;
}

/* Result */
#result {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #16a085;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  #calculator {
    padding: 20px;
    margin: 20px;
  }
  #calculator h2 {
    font-size: 1.3rem;
  }
  #calculator p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #calculator {
    padding: 15px;
  }
  #calculator h2 {
    font-size: 1.1rem;
  }
  #calculator button {
    font-size: 0.9rem;
    padding: 12px;
  }
  #result {
    font-size: 1rem;
  }
}

.pune-tax-intro {
  max-width: 1280px;   /* keeps content centered on large screens */
  margin: 0 auto;
  padding: 16px;
}

.pune-tax-intro img {
  display: block;      /* removes bottom inline gap */
  max-width: 100%;     /* scales image fluidly */
  height: auto;        /* keeps aspect ratio */
  border-radius: 8px;  /* optional: rounded corners */
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.compare-table thead {
  background: #f5f5f5;
}

.compare-table th,
.compare-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.compare-table th {
  font-weight: bold;
  color: #333;
}

.compare-table tr:hover {
  background-color: #fafafa;
}

/* Desktop / default table */
.waterfall-guide .comparison .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  table-layout: auto;
}

.waterfall-guide .comparison .compare-table thead {
  background: #f5f5f5;
}

.waterfall-guide .comparison .compare-table th,
.waterfall-guide .comparison .compare-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.waterfall-guide .comparison .compare-table th {
  font-weight: 600;
  color: #333;
}

.waterfall-guide .comparison .compare-table tr:hover {
  background-color: #fafafa;
}

/* Mobile / small screens */
@media (max-width: 768px) {
  /* hide header row */
  .waterfall-guide .comparison .compare-table thead {
    display: none;
  }

  /* make rows stack */
  .waterfall-guide .comparison .compare-table,
  .waterfall-guide .comparison .compare-table tbody,
  .waterfall-guide .comparison .compare-table tr {
    display: block;
    width: 100%;
  }

  /* card style for each row */
  .waterfall-guide .comparison .compare-table tr {
    margin: 12px 0;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    padding: 8px 0;
    overflow: visible;
  }

  /* each cell becomes a horizontal flex item:
     label (pseudo) + value (wrapped in .cell-value) */
  .waterfall-guide .comparison .compare-table td {
    display: flex !important;
    align-items: flex-start;
    padding: 10px 14px;
    border: none;
    min-height: 1px;
  }

  /* label using ::before - fixed width portion */
  .waterfall-guide .comparison .compare-table td::before {
    content: attr(data-label);
    flex: 0 0 38%;          /* label column width */
    max-width: 42%;
    font-weight: 700;
    color: #3a3a3a;
    padding-right: 12px;
    box-sizing: border-box;
    white-space: normal;
  }

  /* value area - allow wrapping and shrinking */
  .waterfall-guide .comparison .compare-table td .cell-value {
    flex: 1 1 0;
    min-width: 0;           /* CRUCIAL: lets the value shrink/wrap inside flex */
    word-break: break-word;
    overflow-wrap: anywhere;
    color: #222;
  }

  /* slight typography/padding tweaks for small phones */
  @media (max-width: 420px) {
    .waterfall-guide .comparison .compare-table {
      font-size: 14px;
    }
    .waterfall-guide .comparison .compare-table td::before {
      flex: 0 0 42%;
      font-size: 14px;
    }
    .waterfall-guide .comparison .compare-table td {
      padding: 8px 12px;
    }
  }
}
.view-all-btn {
    display: inline-block;
    background: #0a7b64; /* soft green primary button */
    color: #fff;
    text-decoration: none;
    padding: 12px 26px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    margin: 25px auto 40px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Hover (Desktop) */
.view-all-btn:hover {
    background: #096b56;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* Ensures the button stays centered */
.view-all-btn {
    display: block;
    width: fit-content;
}

/* Mobile Optimisation */
@media (max-width: 600px) {
    .view-all-btn {
        width: 100%;
        font-size: 15px;
        padding: 14px;
        margin: 20px 0 35px;
        border-radius: 10px;
    }
}

.blog-card {
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
}

.blog-card img {
    border-radius: 12px;
}
.view-all-btn {
    display: inline-block;
    padding: 12px 22px;
    background-color: #0a7c6d;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    width: 90%;
    max-width: 310px;
    margin: 15px auto;
}
