:root {
    --primary-color: #023e8a;
    --secondary-color: #8eacbe;
    --tertiary-color: rgb(188, 70, 6);
    --bg-light-grey: #f9f9f9;
    --bg-white: #ffffff;
    --bg-lt-dark: #eeede7;
    --bg-dark: #97b7cb;
    --text-white: #fff;
    --text-grey: #444;
    --btn-bg-color: #023e8a;
    --btn-bg-hover: #8eacbe;
    --link-color: #0077cc;
    --link-hover: #0077cc;
    --box-shadow: 0 1px 2px 3px rgba(0, 0, 0, 0.07);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.numbering ul, ol {
    margin: 15px 0 15px 30px;
}

h3 {
    font-size: 1.3rem;
}

/*  Header for Blog page  */
.header-for-blog {
    display: flex;
    align-items: center;
    padding: 30px 20px;
    background-color: #11264e;
}

.header-for-blog h1::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: #fff;
    margin: 10px auto;
}

.header-for-blog p {
    font-size: 1.1rem; 
    padding-top: 20px;
}

/* Mobile Toggle Sections for sidebar  */
.header-bar {
    display: none;
    background: #c6cfd1;
    color: #333;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.header-bar + .sidebar-section {
    max-height: 0;
    overflow: hidden;
    background: #f4f4f4;
    padding: 0 1rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.header-bar-icon {
    float: right;
    margin-left: 0.5rem;
}

.sidebar-section.open {
    max-height: 700px;
    padding: 1rem;
}

/*  style for container of main content and sidebar  */
.container {
    display: flex;
    flex-direction: row;
    padding: 3rem 1rem;
    max-width: 1300px;
    margin: auto;
}

/*  style for toggle language  */
.lang-toggle-container {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #f4f4f4;
}

.lang-toggle-blog{
    display: flex;
    gap: 0.75rem;
}

.lang-btn{
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
    text-decoration: none;
}

/*  style for main content  */
.main-content {
    width: 70%;
    padding-right: 1rem;
}

.main-content hr{width: 100%; margin: auto; border:0.5px solid #ddd; margin-bottom: 2rem;}

@media (max-width:768px){
    .main-content hr{display: block; width: 100px; }

}

/* style sidebar  */
.sidebar {
    width: 30%;
    border-left: 0.5px solid #bcbcbc;
    padding-left: 0.5rem;
}

/* style for related blogs blogs  */
.sidebar h3 { margin-bottom: 0.5rem; }
.sidebar ul { list-style: none; padding-left: 0; }
.sidebar li { margin-bottom: 0.8rem; border-bottom: 0.5px solid #ccc; }

/* style for affiliated hospitals  */
.hospital { margin-bottom: 1rem; border-bottom: 0.5px solid #bcbcbc; }
.hospital strong { display: block; font-weight: 600; }

/* style for explore more blogs  */
.category-group { margin-bottom: 1rem; }
.category-toggle {
    display: block;
    width: 100%;
    background: transparent;
    padding: 0rem;
    cursor: pointer;
    border: none;
    text-align: left;
    font-size: 0.9rem;
    font-weight: bold;
}

.category-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1.8rem;
}

.category-list.open {
    max-height: 700px;
    margin-top: 0.5rem;
}

.category-toggle .arrow-icon {
    /* float: right;  to set icon on right most*/
    margin-right: 0.5rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
      flex-direction: column;
      padding: 0;
    }

    .main-content {
      width: 100%;
      padding: 1rem;
    }

    .sidebar {
      display: none;
    }

    .header-bar {
      display: flex;
      border-top: 1px solid #fff;
    }
  }

  /*---Styles for main content of blogs---*/

        .tip-box {
            background-color: #f0f9ff;
            border-left: 4px solid #3182ce;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        .warning-box {
            background-color: #fff5f5;
            border-left: 4px solid #e53e3e;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        .summary {
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 20px;
            color: #4a5568;
            line-height: 1.7;
        }

        .fact {
            background-color: #e8f4ff;
            border-left: 5px solid #0077cc;
            padding: 10px 15px;
            margin: 10px 0 25px;
            border-radius: 8px;
        }

        /*---Appointment section for blog page---*/
        .cta-box {
          background-color: #046380;
          color: white;
          padding: 20px;
          border-radius: 5px;
          margin: 30px 0;
          text-align: center;
        }
        .cta-box h3 {
          color: #f0efef;
        }
        .cta-box p{
          color: #f0efef; padding: 20px;
        }
        .cta-button {
          display: inline-block;
          background-color: transparent;
          color: #f0efef;
          padding: 7px 15px;
          text-decoration: none;
          border: 2px solid #f0efef;
          border-radius: 25px;
          font-weight: bold;
          margin-top: 15px;
          transition: all 3sec ease;
        }
        .cta-button:hover {
          background-color: #f0efef;
          text-decoration: none;
        }

        .share{
          box-shadow: var(--box-shadow);
        }

        .share a{
          transition: all 3sec ease;
        }

        .share a:hover{
          transform: translateY(-3px);
        }

        /*----Style for Go the top of the page----*/
        .end-sec p{
          text-align: right;
        }

        /* --------------------------
        Featured Image Container 
        ----------------------------*/
        /* Container for the whole image section */
        .featured-image-container {
          text-align: center;
          margin-bottom: 30px;
          width: 100%;
          position: relative;
        }

        /* Wrapper to maintain aspect ratio and hold overlay */
        .featured-image-wrapper {
          width: 50%;
          position: relative;
          padding-top: 37.5%; /* 4:3 Aspect Ratio */
          margin: 0 auto;
          overflow: hidden;
          border-radius: 8px;
          display: flex;
          align-items: stretch;
          justify-content: center;
        }

        /* Overlay 
        .featured-image-wrapper::before {
          content: "";
          position: absolute;
          top: 0; left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(54, 131, 159, 0.4);
          z-index: 1;
          border-radius: 8px;
        }
        */

        /* Image itself */
        .featured-image-wrapper img {
          position: absolute;
          top: 0; left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 8px;
          z-index: 0;
          display: block;
          max-width: 100%;
        }

        /* Optional full-width image with max size */
        .blog-featured-image {
          width: 100%;
          height: auto;
          border-radius: 8px;
          margin: 0 auto 30px;
          display: block;
          max-width: 80%;
        }

        /* Image caption */
        .featured-image-container .image-caption {
          text-align: left;
          margin-top: 10px;
          margin-left: auto;
          margin-right: auto;
          max-width: 50%;
          font-size: 0.95rem;
          color: #444;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
          .featured-image-wrapper {
            width: 90%;
            padding-top: 67.5%; /* maintain 4:3 */
          }

          .featured-image-container .image-caption {
            max-width: 90%;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
          }
        }

        /*-  Styles for blog page   */
        
        .info-box {
            background-color: #e9f5f9;
            border-left: 5px solid #046380;
            padding: 15px;
            margin: 20px 0;
            border-radius: 0 8px 8px 0;
        }
        .warning-box {
            background-color: #fff4e5;
            border-left: 5px solid #ff9800;
            padding: 15px;
            margin: 20px 0;
            border-radius: 0 8px 8px 0;
        }
        
        .timeline {
            margin: 30px 0;
            position: relative;
        }
        .timeline-item {
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            border-left: 4px solid #046380;
        }
        .timeline-title {
            font-size: 1.3rem;
            font-weight: bold;
            text-align: center;
            color: #046380;
            margin-bottom: 10px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        th {
            background-color: #046380;
            color: white;
        }
        tr:nth-child(even) {
            background-color: #f2f2f2;
        }
  