
*{box-sizing:border-box;margin:0;padding:0}
/* body{font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.6;color:#123;} */
.container{max-width:1200px;margin:0 auto;padding:20px;}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;box-shadow:0 2px 10px rgba(10,10,10,0.04);background:#fff;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;text-decoration:none}
.logo{height:48px;width:48px;object-fit:contain;border-radius:8px;box-shadow:0 2px 8px rgba(11,99,165,0.12)}
.brand-text{font-weight:700;color:#05a56a;margin-left:10px;font-size:20px}
.nav-links{list-style:none;display:flex;gap:14px;align-items:center}
.nav-links a{padding:8px 10px;text-decoration:none;color:#0b63a5;border-radius:8px;transition:all .18s ease}
.nav-links a:hover{background:rgba(11,99,165,0.06);transform:translateY(-2px)}

.menu-button-container{display:none;cursor:pointer}
.menu-button, .menu-button:before, .menu-button:after{width:28px;height:3px;background:#0b63a5;display:block;border-radius:3px;transition:all .2s}
.menu-button:before,.menu-button:after{content:"";position:relative;top:-8px}
.menu-button:after{top:5px}

.dropdown{position:relative}
.dropdown-menu{position:absolute;left:0;top:100%;background:#fff;min-width:220px;list-style:none;padding:8px;border-radius:8px;box-shadow:0 8px 30px rgba(10,10,10,0.08);opacity:0;transform:translateY(-8px);pointer-events:none;transition:all .18s ease}
.dropdown:hover .dropdown-menu{opacity:1;transform:none;pointer-events:auto}
.dropdown-menu li{padding:6px 0}
.dropdown-menu a{display:block;color:#074a83;padding:8px;border-radius:6px;text-decoration:none}
.dropdown-menu a:hover{background:rgba(5,165,106,0.06)}

/* Banner slider */
.slider{position:relative; width:100%; overflow:hidden;border-radius:12px;margin:20px 0;box-shadow:0 8px 30px rgba(10,10,10,0.05)}
.slides{display:flex;transition:transform .6s cubic-bezier(.2,.8,.2,1);width:300%}
.slide{min-width:100%;display:block}
.slide img{width:100%; height:320px;object-fit:cover;display:block}
.slider-nav{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:8px}
.dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,0.8);box-shadow:0 2px 6px rgba(0,0,0,0.1);cursor:pointer;opacity:.8}
.dot.active{background:#05a56a;transform:scale(1.1)}


/* Quick Links improved styles - merge with your CSS */
.ql-title {
  margin-top: 8px;
  color: #074a83;
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
}

/* panel with background image + overlay */
.ql-panel{
  margin-top: 12px;
  border-radius: 12px;
  padding: 18px;
  background-image: url('#');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(7,40,80,0.06);
}

/* overlay so cards remain readable */
.ql-panel::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,36,63,0.06), rgba(255,255,255,0.04));
  pointer-events: none;
}

/* Card grid (keeps your responsive columns) */
.grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0; /* panel already has top margin */
  z-index: 1; /* above overlay */
}

/* Glass-like cards */
.card{
  display: block;
  background: rgba(255,255,255,0.85);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(7,74,131,0.06);
  box-shadow: 0 8px 24px rgba(11,99,165,0.04);
  transition: transform .22s cubic-bezier(.2,.9,.25,1), box-shadow .22s;
  text-decoration: none;
  color: inherit;
  min-height: 110px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

/* keyboard focus accessibility */
.card:focus{
  outline: 3px solid rgba(7,74,131,0.12);
  outline-offset: 3px;
}

/* hover uplift */
.card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(11,99,165,0.09);
}

/* card content layout */
.card-head{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  border: 1px solid rgba(7,74,131,0.06);
  flex: 0 0 46px;
}

/* headings & text */
.card h3{
  margin: 0;
  font-size: 15px;
  color: #05243b;
  font-weight: 600;
}

.card p{
  margin: 6px 0 0;
  font-size: 13px;
  color: #274a62;
  line-height: 1.3;
}

/* ribbon for hot item */
.ribbon{
  position: absolute;
  right: -24px;
  top: 12px;
  transform: rotate(18deg);
  background: linear-gradient(90deg,#ffdd57,#ffb347);
  color: #05243b;
  padding: 6px 48px;
  font-weight: 700;
  font-size: 12px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 520px){
  .icon{width:40px;height:40px;flex:0 0 40px}
  .card{padding:14px;min-height:100px}
  .ribbon{display:none}
}


/* Footer */
 footer{margin-top:28px;padding:22px 0;text-align:center;color:rgb(255, 255, 255);background:linear-gradient(90deg,#000000,#000000);border-top:1px solid rgba(0,0,0,0.03)}

/* Responsive nav */
@media (max-width:860px){
  .nav-right{display:none}
  .menu-button-container{display:block}
  #menu-toggle{display:none}
  #menu-toggle:checked + .menu-button-container + .nav-right{display:block;position:absolute;left:0;right:0;top:68px;background:#fff;padding:18px;box-shadow:0 12px 40px rgba(10,10,10,0.08)}
  .nav-links{flex-direction:column;gap:8px}
  .logo{height:42px;width:42px}
  .slide img{height:220px}
}


/* Keep dropdown open when hovering over the menu itself */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}


body {
        font-family: 'Poppins', sans-serif;
        background: #f8f9fc;
        margin: 0;
        padding: 20px;
        color: #333;
    }
    h1 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 28px;
        color: #222;
    }
    .filters {
        text-align: center;
        margin-bottom: 20px;
        
    }
    .filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 15px;
        border-radius: 25px;
        border: none;
        cursor: pointer;
        background: linear-gradient(135deg, #4facfe, #00f2fe);
        color: white;
        font-weight: 600;
        margin: 5px;
        transition: all 0.3s ease;
    }
    .filter-btn:hover {
        transform: scale(1.05);
        box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    }
    .filter-btn.active {
        background: linear-gradient(135deg, #43e97b, #38f9d7);
    }
    .search-container {
        text-align: center;
        margin-bottom: 15px;
    }
    .search-box {
        padding: 10px 15px;
        width: 250px;
        border-radius: 25px;
        border: 1px solid #ccc;
        outline: none;
        font-size: 14px;
    }
    .clear-btn {
        padding: 8px 12px;
        margin-left: 5px;
        border-radius: 25px;
        border: none;
        background: #ff5f6d;
        color: white;
        cursor: pointer;
        font-size: 14px;
        transition: 0.3s;
    }
    .clear-btn:hover {
        background: #e63946;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
    }
    thead {
        background: #4facfe;
        color: white;
    }
    th, td {
        padding: 12px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    /* Left align only the first column in all tables */
table td:first-child,
table th:first-child {
    text-align: left !important;
}

    tr:hover {
        background: #f1f5ff;
    }
    .badge {
        padding: 5px 10px;
        border-radius: 20px;
        color: white;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .U { background: #ff9800; }
    .O { background: #4caf50; }
    .CT { background: #ff5722; }
    .C { background: #9e9e9e; }
    .L { background: #2196f3; }
    .Allotted { background: #673ab7; }
    .Fire { background: #f9dfcf; }
    .Mainboard{background: #05a56a;}
    .SME{background: #2196f3;}
--------------------------------------------------------
.iposme{
    display: flex;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap; /* allows wrapping on medium screens */
}


-----------------------

.ipo-footer {
  background: #111827;
  color: #f9fafb;
  font-family: Arial, sans-serif;
  padding: 40px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.footer-about h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 6px 0;
}

.footer-links ul li a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: #fbbf24;
}

.footer-subscribe form {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.footer-subscribe input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
}

.footer-subscribe button {
  background: #fbbf24;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.footer-subscribe button:hover {
  background: #f59e0b;
}

.footer-social a img {
  width: 28px;
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #374151;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #9ca3af;
}



/* CSS for button */
.button-73 {
  appearance: none;
  background-color: #FFFFFF;
  border-radius: 40em;
  border-style: none;
  box-shadow: #ADCFFF 0 -12px 6px inset;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-size: 1rem; /* Mobile base size */
  font-weight: 600;
  letter-spacing: -0.24px;
  margin: 0 auto; /* Center horizontally */
  outline: none;
  padding: 0.75rem 1.5rem; /* Balanced for mobile */
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap; /* Prevents text breaking into two lines */
}

.button-73:hover {
  background-color: #FFC229;
  box-shadow: #FF6314 0 -6px 8px inset;
  transform: scale(1.05);
}

.button-73:active {
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .button-73 {
    font-size: 1.2rem; /* Slightly larger on PC */
    padding: 1rem 2rem; /* More padding for desktop */
  }
}

/* Optional: Center in the page */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}


    /* ========== Mobile layout for hero sections & tables ========== */
@media (max-width: 900px) {
  /* Stack the two halves (Mainboard / SME, Upcoming / Upcoming SME) */
  .hero {
    flex-direction: column;
  }

  .flex1,
  .flex2,
  .flex3,
  .flex4 {
    width: 100%;
    margin: 10px 0;
  }

  /* Make table content more readable on small screens */
  table {
    font-size: 13px;
    display: block;          /* allow it to shrink properly */
    width: 100%;
    overflow-x: auto;        /* in case columns are still wide, enable horizontal scroll */
  }

  thead,
  tbody {
    width: 100%;
  }

  th,
  td {
    padding: 8px;
    white-space: nowrap;     /* keeps date columns in one line */
  }
}









/* ===============================
   NAVIGATION + SIDE MENU (CLEAN)
   =============================== */

/* --------- DESKTOP TOP NAV --------- */

.modern-nav {
  background: linear-gradient(135deg, #1f3c88, #27459e);
  padding: 10px 24px;
  border-radius: 40px;
  max-width: 1400px;
  margin: 12px auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 10px;
  z-index: 900;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.nav-left {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
}

/* desktop menu list */

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* --------- DESKTOP HAMBURGER BUTTON --------- */

@media (min-width: 769px) {
  .nav-hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    margin-right: 10px;
    padding: 0;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
  }

  .nav-hamburger span {
    display: block;
    width: 18px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 999px;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: none;
  }
}

/* --------- DESKTOP DROPDOWN (IPO) --------- */

.dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #ffffff;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  padding: 6px 0;
  display: none;
  z-index: 1000;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #1f2937;
  font-weight: 500;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: #eef2ff;
}

/* show dropdown on hover (desktop only) */
@media (min-width: 901px) {
  .nav-menu .dropdown:hover > .dropdown-menu,
  .nav-menu .dropdown:focus-within > .dropdown-menu,
  .nav-menu .dropdown-menu:hover {
    display: block;
  }
}

/* ===================== MOBILE TOP BAR ===================== */

.mobile-topbar,
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* hide desktop nav on mobile */
  .modern-nav {
    display: none;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: linear-gradient(135deg, #1f3c88, #27459e);
    position: sticky;
    top: 0;
    z-index: 950;
  }

  .mobile-topbar svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
  }

  .top-icon-btn {
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* small pill hamburger like reference */
  .menu-btn {
    width: 40px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
  }

  .menu-btn span {
    display: block;
    width: 16px;
    height: 2.3px;
    background: #ffffff;
    border-radius: 999px;
  }

  .top-title {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .top-title-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
  }

  .badge-new {
    background: #ffb347;
    color: #2b2830;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
  }

  .top-right-icons {
    display: flex;
    gap: 4px;
  }

  /* disable old slide-down mobile menu */
  .mobile-slide-menu {
    display: none !important;
  }
}

/* ===================== MOBILE BOTTOM NAV ===================== */

@media (max-width: 768px) {
  body {
    padding-bottom: 72px; /* space for bottom nav */
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.12);
    padding: 6px 6px 10px;
    justify-content: space-between;
    align-items: center;
    z-index: 950;
  }

  .bottom-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #4b5563;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .bi-icon svg {
    width: 20px;
    height: 20px;
    fill: #6b7280;
  }

  .bottom-item.active .bi-icon svg,
  .bottom-item.active .bi-label {
    fill: #1f3c88;
    color: #1f3c88;
  }

  /* center home big circle */
  .home-center {
    position: relative;
    margin-top: -18px;
  }

  .home-circle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f3c88, #27459e);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(31, 60, 136, 0.45);
  }

  .home-circle svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
  }

  .home-center .bi-label {
    display: none;
  }
}

/* ===================== LEFT SIDE MEGA MENU ===================== */

.mega-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;                 /* hidden by default */
  justify-content: flex-start;   /* panel on LEFT */
  align-items: stretch;
  z-index: 3000;
}

.mega-menu-overlay.open {
  display: flex;
}

.mega-menu-panel {
  width: min(420px, 100%);
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.32); /* shadow on right edge */
}

/* header */
.mega-menu-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, #1f3c88, #27459e) !important;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-menu-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

/* close button on header right edge */
.mega-close {
  background: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 0 4px 4px 0;
  font-size: 18px;
  cursor: pointer;
}

/* body */
.mega-menu-body {
  padding: 10px 8px 12px;
  overflow-y: auto;
}

/* each card row */
.mega-card {
  width: 100%;
  border: none;
  background: #ffffff;
  border-radius: 12px;
  margin: 6px 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.mega-card:hover {
  background: #f3f4ff;
}

.card-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  font-size: 18px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.card-arrow {
  font-size: 16px;
  color: #6b7280;
}

/* footer */
.mega-menu-footer {
  padding: 10px 14px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.mega-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #374151;
  font-size: 13px;
}

.mega-close-btn {
  padding: 8px 22px;
  border-radius: 6px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

/* full width on very small screens */
@media (max-width: 480px) {
  .mega-menu-panel {
    width: 100%;
    border-radius: 0;
  }
}

/* prevent page scroll when menu open */
body.mega-open {
  overflow: hidden;
}


/* === FINAL DESKTOP DROPDOWN BEHAVIOUR (STABLE HOVER) === */
@media (min-width: 901px) {

  /* Reset dropdown menu for both old (.nav) and new (.modern-nav) headers */
  .nav .dropdown-menu,
  .modern-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    padding: 6px 0;
    display: none;              /* hidden by default */
    opacity: 1 !important;      /* remove fade tricks */
    transform: none !important; /* remove translateY */
    pointer-events: auto !important;
    transition: none !important;
    z-index: 1000;
  }

  .nav .dropdown-menu li,
  .modern-nav .dropdown-menu li {
    width: 100%;
  }

  .nav .dropdown-menu a,
  .modern-nav .dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #1f2937;
    font-weight: 500;
    text-decoration: none;
  }

  .nav .dropdown-menu a:hover,
  .modern-nav .dropdown-menu a:hover {
    background: #eef2ff;
  }

  /* SHOW when hovering IPO or the menu itself */
  .nav .dropdown:hover > .dropdown-menu,
  .nav .dropdown-menu:hover,
  .modern-nav .dropdown:hover > .dropdown-menu,
  .modern-nav .dropdown-menu:hover {
    display: block;
  }
}

/* Always hide old mobile slide menu */
.mobile-slide-menu {
  display: none !important;
}

/* Soft navy-tinted background to match navigation */
body {
  background-color: #f3f5fc;  /* light blue-white background */
}


/* === FOOTER MATCHING NAVIGATION BAR === */
footer {
  background: linear-gradient(135deg, #1f3c88, #27459e);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: 26px 26px 0 0; /* soft rounded top corners like nav */
  margin-top: 40px;
  box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.2);
}

footer a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* ============================
   NAVY THEME TABLE (MATCH NAV)
   ============================ */

/* Table wrapper (optional, improves look) */
.table-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

/* TABLE ITSELF */
table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}

/* TABLE HEADER — MATCH NAV BAR COLOR */
table thead tr {
  background: linear-gradient(135deg, #1f3c88, #27459e);
  color: #ffffff;
}

table thead th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  border: none;
  font-size: 14px;
}

/* TABLE BODY ROWS */
table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

table tbody tr:nth-child(even) {
  background: #f7f9fc; /* soft blue tint matching body bg */
}

table tbody td {
  padding: 10px;
  color: #1f2937;
  font-weight: 500;
}

/* TABLE HOVER EFFECT */
table tbody tr:hover {
  background: rgba(31, 60, 136, 0.08); /* soft navy tint */
  transition: 0.15s;
}




/* ===== Mobile fixes for IPO tables (add at end of styles2.css) ===== */
@media (max-width: 900px) {
  /* Stack hero columns on small screens */
  .hero {
    flex-direction: column;
    gap: 12px;
    overflow-x: visible; /* let children show normally */
  }

  /* Make each table section full width */
  .flex1, .flex2, .flex3, .flex4 {
    width: 100%;
    min-width: 0;       /* keep the shrink behavior */
    flex: 0 0 auto;     /* avoid forcing side-by-side */
  }

  /* Allow table to scroll horizontally if still too wide */
  /* If you wrap <table> in a .table-responsive div, it will scroll smoothly */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Let table cells wrap on small screens (was nowrap before) */
  #ipoTable {
    display: table;          /* keep table semantics */
    table-layout: auto;      /* let columns size naturally on mobile */
    width: 100%;
    font-size: 14px;
  }

  #ipoTable th,
  #ipoTable td {
    white-space: normal !important;   /* allow wrapping */
    word-break: break-word;           /* break long words/links */
    padding: 8px 10px;                /* reduce padding for mobile */
    text-align: left;                 /* easier to read on small screens */
  }

  /* dates column align right a bit if you prefer */
  #ipoTable td:nth-child(2),
  #ipoTable td:nth-child(3) {
    text-align: right;
    white-space: nowrap; /* keep short dates on one line */
  }

  /* Optional: slightly smaller heading sizes */
  .flex1 h1, .flex2 h1, .flex3 h1, .flex4 h1 {
    font-size: 20px;
  }
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg {
  max-width: 100%;
  height: auto;
}
