  /* Reset and Base Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Liberation Serif", "Times New Roman", serif;
      font-size: 14px;
      line-height: 1.6;
      color: #000;
      background: #fff;
    }
    
    /* Navbar */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #8B0000;
      color: white;
      padding: 12px 20px;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }

    .navbar img { height: 50px; }

  

    /* Hamburger */
    .hamburger {
      width: 30px;
      height: 20px;
      position: relative;
      cursor: pointer;
      background: none;
      border: none;
      z-index: 1001;
    }

    .hamburger span,
    .hamburger::before,
    .hamburger::after {
      content: '';
      position: absolute;
      left: 0;
      height: 3px;
      width: 100%;
      background-color: white;
      transition: 0.3s ease;
    }

    .hamburger span { top: 50%; transform: translateY(-50%); }
    .hamburger::before { top: 0; }
    .hamburger::after { bottom: 0; }

    .hamburger.open span { background: transparent; }
    .hamburger.open::before { transform: rotate(45deg); top: 9px; }
    .hamburger.open::after { transform: rotate(-45deg); bottom: 8px; }
    
      /* Language Toggle */
    .language-toggle {
      background: none;
      border: 2px solid white;
      color: white;
      padding: 8px 16px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 12px;
      font-weight: bold;
      transition: all 0.3s ease;
      margin: 0 10px;
    }

    .language-toggle:hover {
      background: white;
      color: #8B0000;
    }

    /* Side Menu */
    .side-menu {
      position: fixed;
      top: 80px;
      right: -100%;
      width: 100%;
      height: calc(100% - 80px);
      background: #f6f6f6;
      transition: right 0.3s ease;
      z-index: 999;
      padding: 15px;
      overflow-y: auto;
    }
    
    /* Side Menu - Desktop wider */
@media (min-width: 992px) {
  .side-menu {
    width: 400px; /* increase width for desktop */
    right: -400px; /* match the hidden position */
  }

  .side-menu.open {
    right: 0; /* slide in fully */
  }
}

    .side-menu.open { right: 0; }

    .menu-section { 
      margin-bottom: 12px; 
      border-bottom: 1px dotted #a2a9b1; 
      padding-bottom: 8px; 
    }
    
    .menu-link { 
      display: block; 
      font-size: 16px; 
      color: #0645ad; 
      text-decoration: underline; 
      padding: 4px 0; 
    }
    
    .menu-link:hover { 
      color: blue; 
      background: rgba(6,69,173,0.05); 
    }
    
    .menu-desc { 
      font-size: 13px; 
      color: #555; 
      margin-top: 3px; 
      font-style: italic; 
    }

    .dropdown-content {
      display: flex;
      flex-direction: column;
      padding-left: 15px;
      margin-top: 5px;
      border-left: 2px solid #eee;
    }

    .dropdown-content a {
      font-size: 15px;
      text-decoration: underline;
      color: #0645ad;
      margin-bottom: 3px;
      padding: 2px 0;
    }

    .dropdown-content a:hover { 
      color: #0b0080; 
      background: rgba(6,69,173,0.05); 
    }

    /* Main wrapper */
    .main-wrapper {
      padding-top: 80px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Navigation */
    .nav-tabs {
      background: #f8f9fa;
      border-bottom: 1px solid #a2a9b1;
      padding: 0;
    }

    .nav-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 12px;
      
    }

    .nav-list {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
      
    }

    .nav-item {
      margin-right: 1px;
      margin-bottom: 1px;
      
    }
   

    .nav-link {
      display: block;
      padding: 8px 12px;
      color: #0645ad;
      text-decoration: none;
      background: #fff;
      border: 1px solid #a2a9b1;
      border-bottom: none;
      font-size: 13px;
    }

    .nav-link:hover {
      background: #eaecf0;
    }

    .nav-link.active {
      background: #fff;
      font-weight: bold;
      color: #000;
    }

    /* Main Content Layout */
    .main-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      padding: 12px;
      gap: 20px;
      
    }

    .content {
      flex: 1;
      background: #fff;
      min-width: 0
    }

    .sidebar {
      width: 250px;
      flex-shrink: 0;
    }

    /* Page Title */
    .page-title {
      font-size: 30px;
      font-weight: normal;
      border-bottom: 3px solid #a2a9b1;
      padding-bottom: 8px;
      margin-bottom: 16px;
      font-family: "Liberation Serif", serif;
    }
    
  



    

    /* Infobox - Fixed positioning for desktop */
    .infobox {
      width: 300px;
      border: 1px solid #a2a9b1;
      background: #f8f9fa;
      margin: 0 0 16px 16px;
      font-size: 13px;
      float: right;
      clear: right;
      
      
    }

    .infobox-title {
      background: #ccccff;
      text-align: center;
      font-weight: bold;
      padding: 8px;
      border-bottom: 1px solid #a2a9b1;
    }

    .infobox-image {
     position: relative;
      text-align: center;
      padding: 4px;
      
    }

    .infobox-image img {
      max-width: 100%;
      height: auto;
    }
    
    .flag-counter {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0,0,0,0.6); 
      color: white;
      font-size: 12px;
      padding: 3px 8px;
      border-radius: 4px; 
      backdrop-filter: blur(2px); 
    }
    

 
/* === IMAGE TEXT SWITCHER === */

.info-switcher {
  display: flex;
  width: 100%;
  height: 80px;
  border: 1px solid #a2a9b1;
  background: #fff;
}

.info-images {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #a2a9b1;
  position: relative;
}

/* Hide all images */
.info-images img {
  display: none;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: pointer;
}

/* Show only active image */
.info-images img.active {
  display: block;
}

.info-text {
  flex: 1;
  padding: 8px 40px 8px 8px;
  font-size: 12px;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;      
}

.next-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);

  width: 28px;
  height: 24px;
  background: #f8f9fa;        
  border: 1px solid #a2a9b1;     
  border-radius: 2px;          
  color: #202122;                
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

/* Hide all text */
.info-content {
  display: none;
  line-height: 1.2;
  overflow: hidden;
}

.info-content.active {
  display: block;
}

/* Show active text */
.info-content.active {
  display: block;
}

@media (min-width: 992px) { /* desktop only */
  .info-text {
    font-size: 11px; /* smaller text */
  }

  .next-btn {
    width: 24px;
    height: 20px;
    font-size: 14px;
  }
}


    .infobox-caption {
      font-size: 11px;
      margin-top: 4px;
      color: #54595d;
      font-style: italic;
    }

    .infobox-table {
      width: 100%;
      border-collapse: collapse;
    }
    
    .infobox-table th {
      background: #eaecf0;
      font-weight: bold;
      padding: 4px 8px;
      border: 1px solid #a2a9b1;
      text-align: left;
      vertical-align: top;
      width: 35%;
    }

    .infobox-table td {
      padding: 4px 8px;
      border: 1px solid #a2a9b1;
      vertical-align: top;
      background: #ffffff;
    }
    
    .scrollable-text {
      max-height: 60px;
      overflow-y: auto;
      overflow-x: hidden;
      white-space: normal;
      word-wrap: break-word;
      font-size: 12px;
      line-height: 1.4;
      padding: 0px;
      
      background: #fafafa;
      border-radius: 3px;
    }

    .scrollable-text:hover {
      background: #f0f0f0;
    }

    .scrollable-text::-webkit-scrollbar {
      width: 3px;
    }

    .scrollable-text::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 3px;
    }

    .scrollable-text::-webkit-scrollbar-thumb {
      background: #888;
      border-radius: 3px;
    }

    .scrollable-text::-webkit-scrollbar-thumb:hover {
      background: #555;
    }
    
    .infobox-section-header {
      background: #ccccff;
      font-weight: bold;
      text-align: center;
      padding: 6px;
      border: 1px solid #a2a9b1;
      font-size: 14px;
    }
    
      
    .center-svg {
  display: block;        /* important */
  margin: 0 auto;        /* centers horizontally */
  max-width: 100%;       /* responsive */
  height: auto;
}
    
 /* Voice Note Section */
.voice-note-section {
  margin: 10px auto;
  padding: 0px;
  max-width: 530px;   /* desktop width, adjust as needed */
  max-height: 85px;
  background: #f8f9fa;
  border:none;
  border-radius: 6px;
  overflow: hidden;
}

/* Iframe */
.voice-note-iframe {
  border: none;
  width: 100%;
  height: 74px;  /* desktop height, edit as needed */
  display: block;
  border-radius: 4px;
}

/* Mobile */
@media (max-width: 768px) {
  .voice-note-section {
    max-width: 100%;
    padding: 4px;
  }

  .voice-note-iframe {
    height: 74px;  /* smaller height for phones */
  }
}




   
    /* Content Sections */
    .content-section {
      margin-top:20px;
      margin-bottom: 24px;
      padding: 0 12px;
    }

    .section-title {
      font-size: 20px;
      font-weight: bold;
      border-bottom: 1px solid #a2a9b1;
      padding-bottom: 4px;
      margin-bottom: 12px;
    }

    .content p {
      margin-bottom: 12px;
      text-align: left;
    }

    .content ul {
      margin: 12px 0 12px 32px;
    }

    .content li {
      margin-bottom: 4px;
    }

    /* Links */
    a {
      color: #0645AD;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    a:visited {
      color: #0645AD;
    }

    .external-link {
      position: relative;
      display: inline-block;
      text-decoration: none;
      padding-right: 0.5em;
    }

    .external-link::after {
      content: "↗";
      font-size: 0.1em;
      font-weight: bold;
      position: absolute;
      top: -0.5em;
      right: 0.1em;
    }

    /* Sidebar */
    .sidebar-section {
      margin-bottom: 20px;
      border: 1px solid #a2a9b1;
      background: #f8f9fa;
    }

    .sidebar-title {
      background: #ccccff;
      padding: 8px;
      font-weight: bold;
      text-align: center;
      border-bottom: 1px solid #a2a9b1;
    }

    .sidebar-content {
      padding: 8px;
    }

    .sidebar-content ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .sidebar-content li {
      margin-bottom: 4px;
    }

    .sidebar-content a {
      display: block;
      padding: 2px 0;
      font-size: 13px;
    }
    
    

  

    
    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .main-container {
        flex-direction: column;
        padding: 8px;
        gap: 10px;
      }
      
      .sidebar {
        width: 100%;
        order: 2;
      }
      
      .infobox {
        float: none;
        width: 100%;
        margin: 2px 0;
        clear: none;
      }

      
     
      .content-section {
        padding: 0 4px;
      }

      .page-title {
        font-size: 24px;
      }

      .language-toggle {
        padding: 6px 12px;
        font-size: 11px;
        text-color: pink;        
        margin: 0 5px;
      
    }
       /* Fix language toggle link color */
.language-toggle,
.language-toggle:visited,
.language-toggle:active,
.language-toggle:focus {
  color: white !important;
  text-decoration: none;
}
}

    /* Large Desktop Responsiveness */
    @media (min-width: 1200px) {
        
       
        .content p {
       max-width: 500px;
       }
       
        .content-section {
        max-width: 600px;
        }
      
      .infobox {
        width: 320px;
        }
      }
    
        


  /* Footer */
    .footer {
      border-top: 1px solid #a2a9b1;
      
      padding: 16px 0;
      margin-top: 32px;
      
      color: #666;
      clear: both;
    }
