.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  
  /* Default desktop styling */
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto; /* Center container */
    padding: 0 20px;
    width: 100%;
  }
  /* Simple Policy Section Styles */
  .simple-policy {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    border: 1px solid #e9ecef;
    margin: 10px 0 20px 0;
  }

  .simple-policy h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .policy-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .policy-links {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
  }

  .policy-links a {
    color: #4a68f7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }

  .policy-links a:hover {
    color: #2d3748;
    text-decoration: underline;
  }
  .left-content {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 60px;
    width: auto;
    margin-right: 10px;
  }
  
  .brand-name {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    letter-spacing: 1px;
    line-height: 1.2;
  }
  
  .brand-name span {
    font-size: 18px;
    opacity: 0.5;
  }
  .register-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 20px;
    text-decoration: none;
    color: #222;
    font-family: 'Arial', sans-serif;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft black shadow */
    background-color: transparent;
  }
  
  .register-btn .btn-icon {
    height: 48px;
    width: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  /* On hover: deepen the black shadow */
  .register-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); /* Deep rich black shadow */
    color: #000;
  }
  
  .register-btn:hover .btn-icon {
    transform: scale(1.08);
  }
  
  
  
  /* ✅ Responsive behavior for small screens */
  @media (max-width: 768px) {
    .navbar-container {
      margin: 0;            /* Remove center alignment */
      max-width: 100%;      /* Full width on mobile */
      padding: 0 15px;      /* Slight padding for mobile */
    }
  
    .brand-name {
      font-size: 14px;
    }
  
    .brand-name span {
      font-size: 14px;
    }
  
    .register-btn .btn-icon {
    height: 30px;
    width: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
    .register-btn {
      font-size: 12px;
    }
  }
  
  
  
  
  
  
  
  /* Add a subtle animation to the logo */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .logo img:hover {
    animation: pulse 1s infinite;
  }
      .download-section {
          padding: 20px;
          font-family: 'Arial', sans-serif;
      }
  
      .download-container {
          max-width: 600px;
          margin: 0 auto;
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          justify-content: center;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          border-radius: 10px;
          padding: 20px;
      }
  
      .app-icon {
      width: 80px;
      height: 80px;
      border-radius: 20px;
      margin-right: 20px;
      border: 2px solid #ccc; 
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  }
  
      .app-info {
          flex: 1;
          min-width: 200px;
      }
  
      .app-name {
          font-size: 1.5em;
          margin: 0 0 10px 0;
      }
  
      .app-description {
          font-size: 0.9em;
          margin: 0 0 15px 0;
          color: #666;
      }
  
      .download-btn {
          background-color: #4CAF50;
          color: white;
          padding: 10px 15px;
          text-decoration: none;
          border-radius: 5px;
          font-size: 0.9em;
          display: inline-block;
          transition: background-color 0.3s;
      }
  
      .download-btn:hover {
          background-color: #45a049;
      }
  
      .download-btn i{
          margin-right: 5px;
          color: white;
          font-size: 15px;
      }
      p1{
          color: white;
          font-size: 15px;
      }
      .feature-list {
          display: flex;
          justify-content: space-around;
          width: 100%;
          margin-top: 20px;
      }
  
      .feature-item {
          text-align: center;
          margin: 0 10px;
      }
  
      .feature-icon {
          font-size: 1.5em;
          margin-bottom: 5px;
      }
  
      .feature-item p {
          font-size: 0.8em;
          margin: 0;
          color: #666;
      }
  
      @media (max-width: 480px) {
          .download-container {
              flex-direction: column;
              text-align: center;
          }
  
          .app-icon {
              margin: 0 0 15px 0;
          }
  
          .feature-list {
              flex-wrap: wrap;
          }
  
          .feature-item {
              flex-basis: 33.33%;
              margin-bottom: 15px;
          }
      }
  
      body {
      background-color: #ffffff; /* White background */
      font-family: 'Montserrat', sans-serif;
      color: #2c3e50; /* Deep Blue for text */
      background-size: cover;
      background-attachment: fixed;
  }
  
  h1 {
      color: #e74c3c; /* Bold Red */
      font-size: 3rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 50px;
  }
  
  .rules-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
  }
  
  .rule-item {
      background: rgba(255, 255, 255, 0.8); /* Transparent white background */
      border-radius: 15px;
      padding: 30px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
      transition: transform 0.5s, background 0.5s, box-shadow 0.5s;
      border: 2px solid transparent;
      background-clip: padding-box;
  }
  
  .rule-item:hover {
      transform: translateY(-10px);
      background: rgba(255, 255, 255, 1); /* Full opacity on hover */
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
      border-image: linear-gradient(45deg, #3498db, #e74c3c);
      border-image-slice: 1;
  }
  
  .rule-content {
      position: relative;
      z-index: 2;
  }
  
  .rule-number {
      font-size: 4rem;
      font-weight: 700;
      color: #3498db; /* Vibrant Blue */
      margin-bottom: 20px;
      opacity: 0.8;
      position: relative;
      z-index: 2;
  }
  
  .rule-title {
      font-size: 1.5rem;
      font-weight: 900;
      background: linear-gradient(45deg, #3498db, #e74c3c);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 15px;
      position: relative;
      z-index: 2;
  }
  
  .rule-description {
      font-size: 1rem;
      color: #7f8c8d; /* Soft Gray */
      font-weight: 300;
      line-height: 1.6;
      position: relative;
      z-index: 2;
  }
  
  .rule-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(231, 76, 60, 0));
      z-index: 1;
      opacity: 0.5;
      transition: opacity 0.5s;
  }
  
  .rule-item:hover::before {
      opacity: 0.8;
  }
  
  .rule-item::after {
      content: '';
      position: absolute;
      bottom: -20px;
      right: -20px;
      width: 50px;
      height: 50px;
      background: #3498db; /* Vibrant Blue */
      border-radius: 50%;
      z-index: 1;
      transition: all 0.5s;
  }
  
  .rule-item:hover::after {
      width: 80px;
      height: 80px;
      bottom: -30px;
      right: -30px;
  }
  
  .rule-icon {
      font-size: 2rem;
      color: #e74c3c; /* Bold Red */
      position: absolute;
      top: 20px;
      right: 20px;
      opacity: 0.7;
      transition: transform 0.5s, opacity 0.5s;
  }
  
  .rule-item:hover .rule-icon {
      transform: rotate(360deg);
      opacity: 1;
  }
  #styled-footer {
    background-color: #ffffff; /* White background */
    padding: 30px 0; /* Padding on top and bottom */
    border-top: 2px solid #e0e0e0; /* Subtle border at the top */
    text-align: center; /* Center all text */
  }
  
  #footer-content {
    max-width: 900px; /* Maximum width of the footer content */
    margin: 0 auto; /* Center the container */
  }
  
  .powered-by {
    display: flex; /* Flexbox for aligning text and logo */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */
    margin-bottom: 15px; /* Space below the powered by section */
  }
  
  .powered-by span {
    font-size: 18px; /* Font size for "Powered by" text */
    color: #333; /* Dark grey text color */
    margin-right: 8px; /* Space between text and logo */
  }
  
  .footer-logo {
    width: 120px; /* Set logo width */
    height: auto; /* Maintain aspect ratio */
  }
  
  .footer-description p {
    font-size: 13px; /* Font size for the paragraph */
    color: #555; /* Dark grey text color */
    margin: 20px 0; /* Margin around paragraph */
  }
  
  .developer-credit {
    margin-top: 15px; /* Space above developer credit */
  }
  
  .developer-link {
    text-decoration: none; /* Remove underline from link */
    font-size: 15px;
  }
  
  .developer-link:hover {
    text-decoration: underline; /* Underline on hover */
  }
  
  .social-icons {
    margin-left: 10px; /* Space between developer name and social icons */
  }
  
  .social-icon img {
    width: 20px; /* Width of social media icons */
    height: auto; /* Maintain aspect ratio */
    margin-left: 5px; /* Space between each icon */
    transition: transform 0.3s; /* Smooth transition on hover */
  }
  
  .social-icon img:hover {
    transform: scale(1.1); /* Slightly enlarge icon on hover */
  }
  .ad-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .ad-slider {
    position: relative;
    width: 100%;
  }
  
  .ad-slide {
    display: none;
    width: 100%;
  }
  
  .ad-slide.active {
    display: block;
  }
  
  .ad-slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .ad-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
  }
  
  .ad-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.4);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .ad-dot.active {
    background-color: white;
    width: 16px;
    height: 16px;
    border-color: transparent;
  }
  
  @media (max-width: 768px) {
    .ad-navigation {
      bottom: 10px;
    }
  
    .ad-slide img {
      width: 100%;
      height: 25vh; /* Full height of the screen */
      object-fit: cover; /* Ensures the image covers the full space */
    }
  }
  
  
  
  
  .search-container {
    max-width: 600px;
    margin: 20px auto;
    position: relative;
  }
  
  .search-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333333;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .search-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 3px 10px rgba(66, 133, 244, 0.15);
  }
  
  .search-input::placeholder {
    color: #9aa0a6;
  }
  
  /* Simple hover state */
  .search-input:hover {
    border-color: #d1d1d1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .search-container {
      margin: 15px auto;
      max-width: 90%;
    }
  }
  
  /* Dark mode */
  @media (prefers-color-scheme: dark) {
    .search-input {
      background-color: #292929;
      border-color: #444444;
      color: #e8e8e8;
    }
    
    .search-input::placeholder {
      color: #888888;
    }
    
    .search-input:focus {
      border-color: #4285f4;
    }
    
    .search-input:hover {
      border-color: #555555;
    }
  }
              .suggestions-container {
                  position: absolute;
                  top: 100%;
                  left: 0;
                  right: 0;
                  background: white;
                  border: 1px solid #e0e0e0;
                  border-top: none;
                  border-radius: 0 0 10px 10px;
                  max-height: 300px;
                  overflow-y: auto;
                  z-index: 10;
                  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
                  display: none;
              }
  
              ..suggestion-item {
                  padding: 10px 15px;
                  cursor: pointer;
                  transition: background-color 0.3s ease;
                  display: flex;
                  align-items: center;
              }
  
              .suggestion-item:hover {
                  background-color: #f0f0f0;
              }
  
              .suggestion-item img {
                  width: 40px;
                  height: 40px;
                  margin-right: 10px;
                  border-radius: 5px;
              }
  
              .suggestion-text {
                  display: flex;
                  flex-direction: column;
              }
  
              .suggestion-text .english-name {
                  font-weight: bold;
              }
  
              .suggestion-text .bengali-name {
                  font-size: 0.8em;
                  color: #666;
              }
              
           
              
  /* Disable body scroll when popup is open */
  body.popup-open {
    overflow: hidden;
  }
  /* Overlay and body lock */
  body.popup-open {
    overflow: hidden;
  }
  .popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  /* Choice Box */
  .choice-box {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    position: relative;
    text-align: center;
    animation: scaleIn 0.4s ease;
  }
  .choice-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
  }
  .choice-btn {
    padding: 12px 20px;
    border: 2px solid #4e54c8;
    border-radius: 50px;
    font-weight: bold;
    background: #fff;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .choice-btn.filled {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
  }
  .choice-btn:hover {
    transform: scale(1.05);
  }
  
  body.popup-open {
    overflow: hidden;
  }
  .popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    justify-content: center;
    align-items: center;
  }
  
  .popup,
  .choice-box {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 460px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s ease-in-out;
  }
  
  .popup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }
  .popup-header img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
  }
  .popup-header .popup-brand {
    font-size: 20px;
    font-weight: 600;
  }
  .popup-header .popup-brand span {
    font-size: 13px;
    color: #666;
  }
  
  .close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    color: #444;
    cursor: pointer;
  }
  
  .choice-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 25px;
  }
  .choice-btn {
    padding: 12px 24px;
    border: 2px solid #4e54c8;
    border-radius: 50px;
    font-weight: bold;
    background: #fff;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .choice-btn.filled {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
  }
  .choice-btn:hover {
    transform: scale(1.05);
  }
  
  .popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .popup-form input,
  .popup-form textarea {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
  }
  .popup-form textarea {
    resize: vertical;
  }
  
  .submit-btn {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }
  .submit-btn:hover {
    background: linear-gradient(135deg, #3b3fbb, #7b81fa);
  }
  
  /* Image Preview */
  .image-preview {
    display: flex;
    justify-content: center;
  }
  .image-preview img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #4e54c8;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* Animation */
  @keyframes scaleIn {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  /* Overlay with blurred background */
  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
  }
  
  .overlay.show {
    display: block;
  }
  /* Profile popup container */
  .profile-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    animation: popupFade 0.3s ease forwards;
    transition: transform 0.3s ease;
  }
  
  .profile-popup.show {
    display: block;
    transform: translate(-50%, -50%) scale(1);
  }
  
  /* Smooth appearance animation */
  @keyframes popupFade {
    from {
      opacity: 0;
      transform: translate(-50%, -55%) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
  
  /* Close button style */
  .profile-popup .close-btn {
    text-align: right;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    margin-bottom: 10px;
    transition: color 0.3s;
  }
  
  .profile-popup .close-btn:hover {
    color: #e74c3c;
  }
  
  /* Profile details section */
  .profile-popup .profile-details {
    margin-top: 10px;
    padding-right: 5px;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  /* Scrollbar customization */
  .profile-popup .profile-details::-webkit-scrollbar {
    width: 6px;
  }
  
  .profile-popup .profile-details::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
  
  .profile-popup .profile-details div {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background-color: #f0f0f0;
    font-weight: 500;
    color: #444;
  }
  
  /* Responsive tweaks */
  @media (max-width: 480px) {
    .profile-popup {
      padding: 20px 15px;
      border-radius: 12px;
    }
  
    .profile-popup .close-btn {
      font-size: 20px;
    }
  
    .profile-popup .profile-details div {
      font-size: 14px;
      padding: 6px 8px;
    }
  }
  .logout-btn {
    display: block;
    margin: 40px auto 0 auto;
    padding: 14px 40px;
    background: #ffffff;
    color: #0d0d0d;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 2px solid #0d0d0d;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  
  /* Unique hover effect */
  .logout-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    transition: all 0.4s ease;
    z-index: 0;
  }
  
  .logout-btn:hover::before {
    left: 0;
  }
  
  .logout-btn span {
    position: relative;
    z-index: 1;
  }
  
  .logout-btn:hover {
    color: #ffffff;
    border-color: #0d0d0d;
  }
  
  /* Click animation */
  .logout-btn:active {
    transform: scale(0.97);
  }
  
  
  
  
  /* Profile avatar area */
  .profile-info {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
  }
  
  .profile-info:hover {
    background: #f0f0f0;
  }
  
  .profile-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #eee;
    object-fit: cover;
  }