:root {
    --primary-color:  #007BFF;
    --text-color: #1F2937;
    --bg-color: #ffffff;
    --hover-color: #f3f4f6;
    --active-color: #004AAD;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --white: #ffffff;
    --black: #1F2937;
    --primary: #007BFF;
    --secondary: #E7F0FF;
    --fade-black: #495057;
    --gray-color: #3f3d3d;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-family:  "Kumbh Sans", serif;
}

.dropdown img{
    height: 25px !important;
    width: 25px !important;
    margin: auto 0px;
    margin-top: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.user-logo {
    height: 25px !important;
    width: 25px !important;
    margin: auto 0px;
    margin-top: 5px;
}


.dropdown-content {
    display: none;
    position: absolute;
    right: 0; 
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1000;
    min-width: 150px;
    padding: 10px 0;
}

.dropdown-content a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown.active .dropdown-content {
    display: block;
}


.btns {
    padding: 0.625rem 1.25rem;
    border: none !important;
    border-radius: 0.5rem;
    font-weight: 500 ;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
}

.login-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.theme-toggle {
    background-color: transparent;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
}

.theme-toggle:hover {
    background-color: var(--hover-color);
}

.theme-icon {
    font-size: 1.25rem;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.hamburger-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hamburger-menu span {
    width: 1.5rem;
    height: 0.125rem;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    padding: 1rem;
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    animation: slideDown 0.3s ease;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 0.5rem;
}

.mobile-menu a:hover {
    background-color: var(--hover-color);
}

.mobile-login {
    width: 100%;
    margin-top: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

    .hero-container {
       
        padding: 4rem 2rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-title {
        margin-bottom: 2.5rem;
    }
    
    .hero-title .highlight {
        display: block;
        font-size: 2.5rem;
        color: #1e293b;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .hero-title .subtitle {
        display: block;
        font-size: 1.8rem;
        color: #2563eb;
        font-weight: 600;
    }
    
    .search-container {
        max-width: 600px;
        margin: 0 auto 3rem;
        color: var(--text-color);
    }
    
    .search-box {
        display: flex;
        background: var(--bg-color);
        border-radius: 1rem;
        padding: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                    0 2px 4px -1px rgba(0, 0, 0, 0.06);
        color: var(--text-color);
    }
    
    .search-input {
        flex: 1;
        border: none;
        padding: 1rem;
        font-size: 1rem;
        outline: none;
        color: var(--bg-color);
        margin: 0px;
        color: var(--text-color);
    }
    
    .search-input::placeholder {
        color: #94a3b8;
    }
    input.search-input.ui-autocomplete-input{
        color: var(--text-color) !important;
    }
    
    .search-button {
        background: #2563eb;
        border: none;
        border-radius: 0.75rem;
        padding: 0.75rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .search-button:hover {
        background: #1d4ed8;
    }
    
    .search-icon {
        width: 1.5rem;
        height: 1.5rem;
        color: white;
    }
    
    .indices-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .index-card {
        background: white;
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                    0 2px 4px -1px rgba(0, 0, 0, 0.06);
        transition: transform 0.3s ease;
    }
    
    .index-card:hover {
        transform: translateY(-4px);
    }
    
    .index-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.5rem;
    }
    
    .index-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0.5rem;
    }
    
    .index-change {
        font-size: 1rem;
        font-weight: 500;
        display: flex;
        gap: 0.25rem;
        justify-content: center;
        align-items: center;
    }
    
    .index-change.positive {
        color: #16a34a;
    }
    
    .index-change.negative {
        color: #dc2626;
    }
    
    

    .carousel-container {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        overflow: hidden;
        background-color: var(--bg-color);
        position: relative;
        box-shadow: 0 4px 6px var(--shadow-color);
        border-radius: 1rem;
        max-width: 100%;
      }
      
      .arrow-btn {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 0.75rem;
        font-size: 1.5rem;
        border-radius: 50%;
        cursor: pointer;
        transition: transform 0.2s ease;
        box-shadow: 0 2px 6px var(--shadow-color);
      }
      
      .arrow-btn:hover {
        transform: scale(1.1);
      }
      
      .left-arrow {
        position: absolute;
        left: 0.5rem;
        z-index: 100;
        width: 50px;
      }
      
      .right-arrow {
        position: absolute;
        right: 0.5rem;
        z-index: 100;
        width: 50px;
      }
      
      .carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 1rem 0;
        width: 100%;
      }
      
      .carousel::-webkit-scrollbar {
        display: none;
      }
      
      .card {
        background-color: var(--bg-color);
        border-radius: 1rem;
        box-shadow: 0 4px 6px var(--shadow-color);
        min-width: 280px;
        max-width: 300px;
        overflow: hidden;
        transition: transform 0.3s ease;
      }
      
      .card:hover {
        transform: translateY(-0.5rem);
      }
      
      .card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
      }
      
      .card-content {
        padding: 1rem;
      }
      
      .card-content .time {
        font-size: 0.75rem;
        color: #6b7280;
        margin-bottom: 0.5rem;
      }
      
      .card-content h3 {
        font-size: 1rem;
        color: var(--text-color);
        font-weight: 600;
        margin-bottom: 0.5rem;
      }
      
      .card-content .description {
        font-size: 0.875rem;
        color: #4b5563;
        margin-bottom: 1rem;
        line-height: 1.5;
      }
      
      .card-content .read-more {
        color: var(--primary-color);
        font-weight: 500;
        text-decoration: none;
      }
      
      .card-content .read-more:hover {
        text-decoration: underline;
      }
      
      


      
    
   
    .mover{
        height: max-content;
        width: 96%;
        margin-top: 20px;
        padding: 0px 2%;
        display: flex;
        gap:40px;
        flex-direction: column;
        justify-content: space-between;
        
    }
    .mleft{
        height: max-content;
        width: 100%;
        background-color: var(--bg-color);

        box-shadow: 0 4px 6px var(--shadow-color);
        border-radius: 20px;
    }
    .mright{
        height: 580px;
        width: 100%;
        background-color: var(--bg-color);
        overflow: scroll;
        box-shadow: 0 4px 6px var(--shadow-color);
        border-radius: 20px;
    }
    .mright::-webkit-scrollbar{
        display: none;
    }
    .Mheading{
        height: 60px;
        
        width: 94%;
        display: flex;
        align-items:center;
        justify-content: space-between;
        padding: 0px 20px;
    }
    .mh>p,.Mheading>p{
        position: relative;
        font-weight: 600;
        font-size: 20px;
        
        top: 10px;
    
    }
    .mh>p{
        top: 0px;
    }
    .md{
        margin-top: 20px;
    }
    .mb>div{
        height: 40px;
        width: 210px;
        border-radius: 15px;
        
        display: flex;
        border: 1px solid var(--active-color);
        justify-content: space-between;
    }
    .mb>div>button{
        width: 70px;
       
        background-color:var(--bg-color);
        color: var(--text-color);
        border: none;
        height: auto;
    }
    .active-btn {
        background-color: var(--active-color) !important;
        color: var(--bg-color) !important;
      }
      .mb > div > button:last-child {
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .mrd{
        height: 500px;
        width: 100%;
        margin-top: 20px;
    }

    #table1 {
        display: block;
    }
    
.divtgldata{
    height: 500px;
    width: 100%;    
    border-radius: 5px;

}
.table{
    height: 450px;
    width: 100%;
    overflow: scroll;
    
}
.button-container>button{
    border: none;
}
.table::-webkit-scrollbar{
    display: none;
}

.button-container {
    display: flex;
    border-bottom: 1px solid var(--active-color);
    border-top: 1px solid var(--active-color);
   
}
.highlight-red{
    color: rgb(247, 0, 0);
}
.highlight-green {
    
    color: green; 
}
.button-container button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: var(--bg-color);
    color: var(--text-color);
 
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}
.button-container button.active-btn {
    background-color: var(--active-color);
 
     font-weight: 500;
     transform: scale(1); 
     box-shadow: 0px 4px 8px var(--shadow-color); 
     color: var(--bg-color) !important;
 
 }

 .button-container button {
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid;
    font-weight: 500;
}
th ,.gainer, .loser {
    background-color: var(--bg-color);
}
#table1 {
    display: table;
}
tbody{
    height: 400px;
    overflow: auto;
}

.pcr{
    width: 100%;
    height: 498px;
    overflow: scroll;
    
}
.pcr::-webkit-scrollbar{
    display: none;
}
.pcr>table{
    display: table;
    width: 100% !important;
    border-top: 1px #ccc solid;
}
.mb > div > button:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.mb > div > button:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.connect{
    height: 450px;
    width: 96%;
    margin: 2%;
    background-color: #4e78eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.connect_left,.connect_right{
    height: auto;
    width: 55%;
    text-align: justify;
}
.connect_left{
    height: auto;
    width: 43%;
    text-align: justify;
}
.connect-h{
    font-size: 2rem;
    font-weight: 600;
    width: max-content;
    color: #ffffff !important;
    margin: 10px auto;
}
.connect-c{
    font-size: 1.5rem;
    font-weight: 500;
    width: max-content;
    color: #ffffff !important;
    margin: 20px auto;
}
.button-container-gt{
    width: 400px;
    
    display: flex;
    justify-content: space-evenly;
    position: relative;
    left: 20%;
}
.button-container-gt a{
  border: 2px var(--bg-color) solid;
  color: white;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 25px; 
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.5),
              0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
    text-decoration: none;

}

  
  .button-container-gt a:hover {
    transform: scale(1.05); 
  box-shadow: 0 0 30px rgba(74, 144, 226, 0.8),
              0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--active-color);
    background-color: var(--bg-color);
  }
  


  .modal-popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 25%;
    width: 30%;
    height: 450px;
    background-color: rgba(255, 255, 255 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    border-radius: 15px;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 90%;
    box-shadow: 0 4px 8px var(--shadow-color);
    position: relative; 
}
.mclose{
    display: flex;
    justify-content: space-between;
}
.modal-close {
    position: relative;
    font-size: 50px;
    color: red;
    font-weight: 600;
    cursor: pointer;

}
.mclose>p{
    color: var(--text-color);
    font-size: 25px;
    font-weight: 500;
    position: relative;
    top: 15px;

}

.modal-close:hover {
    color: red;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input, form textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--active-color);
    background-color: var(--bg-color);
    color: var(--text-color);
}
.modal-content > form{
    text-align: end;
}
.modal-content > form > button,.modal-content>button{
    height: 35px;
    width: 90px;
    border: 1px var(--bg-color) solid;
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: -webkit-center;
    border: 1px solid var(--active-color);
}
.ms-w{
    color: var(--text-color);
}


  .autocomplete-items {
    border: 1px solid #ddd;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    position: absolute;
    background-color: white;
  }
  .autocomplete-active {
    background-color: #ddd;
  }
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
  }

 
.recommendations-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--text-color);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    border-radius: 5px;
}

.recommendation-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.recommendation-item:hover {
    background-color: var(--hover-color);
}
 
@media only screen and (min-width: 100px) and (max-width: 321px) {
    
    .hamburger-menu {
        display: flex; 
    }

    .mobile-menu.open {
        display: block;
    }

   
    .hero-container {
        padding: 2rem 1rem;
    }

    .hero-title .highlight {
        font-size: 1.5rem;
    }

    .hero-title .subtitle {
        font-size: 1rem;
    }

    .search-box {
        flex-direction: column; 
        padding: 0.25rem;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .search-button {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.5rem;
    }

    .indices-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .carousel-container {
        padding: 0.5rem;
    }

    .arrow-btn {
        padding: 0.5rem;
        font-size: 1.2rem;
    }

    .carousel {
        gap: 0.5rem;
    }

    .card {
        min-width: 200px;
        max-width: 220px;
    }

    .card img {
        height: 100px;
    }

    .card-content h3 {
        font-size: 0.9rem;
    }

    .card-content .description {
        font-size: 0.75rem;
    }
    .mover {
        flex-direction: column;
        height: max-content;
  
        padding: 5px;
  
    }
    .mleft{
        width: 100%;
        overflow-x: scroll;

    }
    .mleft::-webkit-scrollbar{
        display: none;
    }
    .divtgldata{
        width: max-content;
    }
    .mright{
        width: 100%;
        overflow-x: scroll;
        margin-top: 35px;
    }
    .mright::-webkit-scrollbar{
      display: none;
    }
    .connect{
        flex-direction: column;
        height: max-content;
    }
    .connect_left , .connect_right{
        width: 100%;
    }
    
    .connect_left img{
        height: auto;
        width: 50%;
        margin-left: 25%;
    }
    .connect-h, .connect-c{
        font-size: 0.8rem;
    }
    .button-container-gt{
        width: 80%;
        left: 0px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .button-container-gt a{
        padding: 10px 15px;
    }
    .modal-popup {
        display: none;
        position: fixed;
        top: 20%;
        
        left: 8% !important;
        width: 80% !important;
        height: 390px;
        background-color: rgba(255, 255, 255 0.7);
        justify-content: center;
        align-items: center;
        z-index: 9999;
        border-radius: 15px;
    }
  }
  
@media only screen and (min-width: 322px) and (max-width: 375px) {
    
    .hero-container {
        padding: 2.5rem 1.5rem;
    }

    .hero-title .highlight {
        font-size: 1.75rem;
    }

    .hero-title .subtitle {
        font-size: 1.2rem;
    }

    .search-box {
        flex-direction: column;
        padding: 0.5rem;
    }

    .search-input {
        font-size: 1rem;
    }

    .indices-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .carousel-container {
        padding: 0.75rem;
    }

    .arrow-btn {
        padding: 0.6rem;
        font-size: 1.4rem;
    }

    .card {
        min-width: 240px;
        max-width: 260px;
    }

    .card img {
        height: 120px;
    }

    .card-content h3 {
        font-size: 1rem;
    }
    .mover {
        flex-direction: column;
        height: max-content;
  
        padding: 5px;
  
      }
      .mleft{
          width: 100%;
          overflow-x: scroll;
  
      }
      .mleft::-webkit-scrollbar{
          display: none;
      }
      .divtgldata{
          width: max-content;
      }
      .mright{
          width: 100%;
          overflow-x: scroll;
          margin-top: 35px;
      }
      .mright::-webkit-scrollbar{
        display: none;
    }
    .connect{
        flex-direction: column;
        height: max-content;
    }
    .connect_left , .connect_right{
        width: 100%;
    }
    .connect_left img{
        height: auto;
        width: 50%;
        margin-left: 25%;
    }
    .connect-h, .connect-c{
        font-size: 1rem;
    }
    .button-container-gt{
        width: 80%;
        left: 0px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .button-container-gt a{
        padding: 10px 15px;
    }
    .modal-popup {
        display: none;
        position: fixed;
        top: 20%;
        
        left: 10%;
        width: 80%;
        height: 390px;
        background-color: rgba(255, 255, 255 0.7);
        justify-content: center;
        align-items: center;
        z-index: 9999;
        border-radius: 15px;
    }
  }
  
@media only screen and (min-width: 376px) and (max-width: 425px) {

    .hero-container {
        padding: 3rem 1.5rem;
    }

    .hero-title .highlight {
        font-size: 2rem;
    }

    .hero-title .subtitle {
        font-size: 1.3rem;
    }

    .search-box {
        flex-direction: row;
        padding: 0.75rem;
    }

    .search-input {
        font-size: 1rem;
    }

    .indices-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .carousel-container {
        padding: 0.75rem;
    }

    .arrow-btn {
        padding: 0.6rem;
        font-size: 1.4rem;
    }

    .card {
        min-width: 240px;
        max-width: 260px;
    }

    .card img {
        height: 120px;
    }

    .card-content h3 {
        font-size: 1rem;
    }
    .mover {
        flex-direction: column;
        height: max-content;
  
        padding: 5px;
  
      }
      .mleft{
          width: 100%;
          overflow-x: scroll;
  
      }
      .mleft::-webkit-scrollbar{
          display: none;
      }
      .divtgldata{
          width: max-content;
      }
      .mright{
          width: 100%;
          overflow-x: scroll;
          margin-top: 35px;
      }
      .mright::-webkit-scrollbar{
        display: none;
    }
    .connect{
        flex-direction: column;
        height: max-content;
    }
    .connect_left , .connect_right{
        width: 100%;
    }
    .connect_left img{
        height: auto;
        width: 50%;
        margin-left: 25%;
    }
    .connect-h, .connect-c{
        font-size: 1.2rem;
    }
    .button-container-gt{
        width: 80%;
        left: 0px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .button-container-gt a{
        padding: 10px 15px;
    }
    .modal-popup {
        display: none;
        position: fixed;
        top: 20%;
        
        left: 10%;
        width: 80%;
        height: 390px;
        background-color: rgba(255, 255, 255 0.7);
        justify-content: center;
        align-items: center;
        z-index: 9999;
        border-radius: 15px;
    }
  }
  
@media only screen and (min-width: 426px) and (max-width: 768px) {
    
    .hero-container {
        padding: 4rem 2rem;
    }

    .hero-title .highlight {
        font-size: 2.25rem;
    }

    .hero-title .subtitle {
        font-size: 1.5rem;
    }

    .search-box {
        flex-direction: row;
        padding: 0.75rem;
    }

    .indices-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    .carousel-container {
        padding: 1rem;
    }

    .arrow-btn {
        font-size: 1.5rem;
    }

    .card {
        min-width: 260px;
        max-width: 280px;
    }

    .card img {
        height: 140px;
    }
    .mover {
        flex-direction: column;
        height: max-content;
  
        padding: 5px;
  
      }
      .mleft{
          width: 100%;
          overflow-x: scroll;
  
      }
      .mleft::-webkit-scrollbar{
          display: none;
      }
      .divtgldata{
          width: max-content;
      }
      .mright{
          width: 100%;
          overflow-x: scroll;
          margin-top: 35px;
      }
      .mright::-webkit-scrollbar{
        display: none;
    }
    .connect{
        flex-direction: column;
        height: max-content;
    }
    .connect_left , .connect_right{
        width: 100%;
    }
    .connect_left img{
        height: auto;
        width: 50%;
        margin-left: 25%;
    }
    .connect-h, .connect-c{
        font-size: 1.2rem;
    }
    .button-container-gt{
        width: 80%;
        left: 0px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .button-container-gt a{
        padding: 10px 15px;
    }
  }
  
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    
    .hamburger-menu,
    .mobile-menu {
        display: none; 
    }
    .hero-container {
        padding: 5rem 3rem;
    }

    .hero-title .highlight {
        font-size: 2.5rem;
    }

    .hero-title .subtitle {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: row;
        padding: 1rem;
    }

    .indices-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
    }
    .carousel-container {
        flex-direction: row;
        padding: 1.5rem;
    }

    .arrow-btn {
        font-size: 1.75rem;
    }

    .carousel {
        padding: 1rem;
    }

    .card {
        min-width: 280px;
        max-width: 300px;
    }

    .card img {
        height: 150px;
    }
    .mover {
      padding: 20px;
    }
    .mleft, .mright {
      width: 48%;
    }
    .mh > p {
      font-size: 20px;
    }
  }
  

@media only screen and (min-width: 100px) and (max-width: 321px) {
    .fup {
        flex-direction: column;
        padding: 10px;
    }
    
    .fup > div {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
   
    
    .followus {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .followus img {
        height: 25px;
        width: 25px;
    }
    
    .fup ul {
        padding: 0;
    }
    
    .fup li {
        margin-bottom: 5px;
    }
    
    .alphabet-links {
        font-size: 12px;
    }
    .fup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        align-items: flex-start;
        margin: 0px !important;
        flex-direction: column;
        width: 92%;
    }
    .fup > div {
        width: min-content;
       
        margin: 0px !important;
        text-align: justify;
    }
    
  
    
    .followus {
        display: flex;
        gap: 30px;
        width: max-content;
    }
    
    .followus img {
        height: 45px;
        width: 45px;
    }
    
    .fup ul {
        padding-left: 0;
    }
    
    .fup li {
        margin-bottom: 15px;
    }
    .fdn{
        flex-direction: column;
    }
}

@media only screen and (min-width: 322px) and (max-width: 375px) {
   
    .fup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        align-items: flex-start;
        margin: 0px !important;
        flex-direction: column;
        width: 92%;
    }
    .fup > div {
        width: min-content;
       
        margin: 0px !important;
        text-align: justify;
    }
    
    
    
    .followus {
        display: flex;
        gap: 30px;
        width: max-content;
    }
    
    .followus img {
        height: 45px;
        width: 45px;
    }
    
    .fup ul {
        padding-left: 0;
    }
    
    .fup li {
        margin-bottom: 15px;
    }
    .fdn{
        flex-direction: column;
    }
}

@media only screen and (min-width: 376px) and (max-width: 425px) {
    .fup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        align-items: flex-start;
        margin: 0px !important;
        flex-direction: column;
        width: 92%;
    }
    .fup > div {
        width: min-content;
      
        margin: 0px !important;
        text-align: justify;
    }
    
    
    .followus {
        display: flex;
        gap: 30px;
        width: max-content;
    }
    
    .followus img {
        height: 45px;
        width: 45px;
    }
    
    .fup ul {
        padding-left: 0;
    }
    
    .fup li {
        margin-bottom: 15px;
    }
    .fdn{
        flex-direction: column;
    }
}

@media only screen and (min-width: 426px) and (max-width: 768px) {
    .fup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        align-items: flex-start;
        margin: 0px !important;
        flex-direction: column;
    }
    .fup > div {
        width: min-content;
       
        margin: 0px !important;
        text-align: justify;
    }
    
    
    
    .followus {
        display: flex;
        gap: 30px;
        width: max-content;
    }
    
    .followus img {
        height: 45px;
        width: 45px;
    }
    
    .fup ul {
        padding-left: 0;
    }
    
    .fup li {
        margin-bottom: 15px;
    }
    .fdn{
        flex-direction: column;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1px) {
    .fup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        align-items: flex-start;
        margin: 0px !important;
        flex-direction: column;
    }
    .fup > div {
        width: min-content;
       
        margin: 0px !important;
        text-align: justify;
    }
    
   
    
    .followus {
        display: flex;
        gap: 30px;
        width: max-content;
    }
    
    .followus img {
        height: 45px;
        width: 45px;
    }
    
    .fup ul {
        padding-left: 0;
    }
    
    .fup li {
        margin-bottom: 15px;
    }
    .fdn{
        flex-direction: column;
    }
}



.admin-accounts {
    background-color: var(--primary-color);
    border-radius: 11px;
    box-shadow: 0 4px 6px var(--shadow-color);
    padding: 10px;
    margin-top: 20px;
    box-sizing: border-box;
    display: inline-block;
    line-height: 1.5;
    text-decoration: none;
    color: var(--bg-color);
}










.animate-on-leftscroll {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-leftscroll.visible {
    opacity: 1;
    transform: translateX(0); 
}

.animate-on-rightscroll {
    opacity: 0;
    transform: translateX(70px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-rightscroll.visible {
    opacity: 1;
    transform: translateX(0); 
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(70px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}












.positive {
    color: green;
}

.negative {
    color: red;
}
#one-year-performance, #three-year-performance {
  height: 530px;

  
  overflow-y: auto; 
  box-sizing: border-box; 
}

#one-year-performance::-webkit-scrollbar, #three-year-performance::-webkit-scrollbar {
  display: none; 
}

.mfptable_head {
  height: 60px;
  width: 94%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 8px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 150px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 2px solid #ddd;
  border-radius: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 0.3s ease;
  cursor: pointer;
}

select:hover {
  background-color: var(--bg-color);
  border-color: #bbb;
}

select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

select option {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 10px;
}
.tablediv-mfp{
padding: 0;
width: 100%;
overflow: scroll;
position: relative;
top: 20px;
}

.tablediv-mfp::-webkit-scrollbar{
display: none;
}
.tablediv-mfp table thead {
background-color: var(--bg-color);

}

.tablediv-mfp table thead th {

text-align: left;

font-weight: 500;


flex: 1;
padding: 10px;
font-size: 15px;
cursor: pointer;
background-color: var(--bg-color);
color: var(--text-color);
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.tablediv-mfp table tbody tr:nth-child(odd) {
background-color: var(--bg-color);
border-bottom: 1px solid black;
}

.tablediv-mfp table tbody tr:nth-child(even) {
background-color: var(--bg-color);
border-bottom: 1px solid black;
}

.tablediv-mfp table tbody tr:hover {
background-color:var(--bg-color);
transition: background-color 0.3s ease;
}

.tablediv-mfp table tbody td {
padding: 10px;
color: var(--text-color);
border-bottom: 1px solid var(--border-color);
vertical-align: middle;
font-size: 16px;
}

.tablediv-mfp table tbody tr:last-child td {
border-bottom: none;
}

@media screen and (max-width: 600px) {
.tablediv-mfp table table {
    font-size: 14px;
    
}

.tablediv-mfp table thead th, .tablediv-mfp table tbody td {
    padding: 10px 15px;
}
}

.tablediv-mfp table .table-striped tbody tr:nth-child(even) {
background-color: rgba(0, 0, 0, 0.05);
}

.tablediv-mfp table .table-bordered {
border: 1px solid #dee2e6;
}

.tablediv-mfp table .table-bordered th,
.tablediv-mfp table  .table-bordered td {
border: 1px solid #dee2e6;
}
.toggle-group {
display: flex;
border: 1px solid #4a90e2;
border-radius: 20px;
overflow: hidden;
width: fit-content;
cursor: pointer;
height: auto;
border-radius: 15px;
}

.toggle-button {
padding: 11px 20px;
font-size: 14px;
font-style: initial;
text-align: center;
background-color: var(--bg-color);
color: var(--text-color);
flex: 1;
transition: background-color 0.3s, color 0.3s;
}

.toggle-button.active {
background-color: var(--active-color);
color: var(--bg-color);
}

.toggle-button:not(.active):hover {
background-color: var(--bg-color);
}
.mright .table-container .tablediv-mfp table thead tr{
border-bottom: 1px solid black;
}
.mright .table-container .tablediv-mfp table thead tr th{
background-color: var(--bg-color);
color: var(--text-color);
border-top: 1px solid var(--primary-color);
border-bottom: 1px solid var(--active-color);
padding: 10px;
font-size: 16px;
}
.animate-on-scroll {
opacity: 0;
transform: translateY(70px);
transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.visible {
opacity: 1;
transform: translateY(0);
}
.parent{
height: auto;
width: 100%;
overflow: scroll;
}
.parent::-webkit-scrollbar{
display: block !important;
width: 10px;
color: var(--border-color);

}
.tab-buttons {
display: flex;
gap: 10px;
margin-bottom: 20px;

}

.tab-container {
    display: flex;
    position: relative;
    gap: 10px;
}

.tab-button {
    padding: 12px 24px;
    border: 2px solid var(--active-color);  
    background-color: var(--bg-color); 
    color: var(--primary-color);  
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;  
}

.tab-button.active {
    background-color: var(--active-color);  
    color: white; 
    border: 2px solid #2575fc;  
}

.tab-button:hover {
    background-color: #f1f1f1;
    border-color: #ccc;  
}

.headgl{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headgl p,.table-title{
    font-size: 1.5rem;
    color: var(--active-color);
    font-weight: 600;
}

.section-buttons {

    display: flex; 
    gap: 8px;
    margin-bottom: 15px;
    height: 40px;
    width: max-content;
    border-radius: 15px;
    border: 1px solid var(--primary-color);

}

.section-button {

    padding: 8px 16px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: max-content;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: none;
    height: auto;
}
.section-button:last-child{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.section-button:nth-child(3),.section-button:nth-child(2){
    border-radius: 0;
}

.section-button.active {
background: var(--primary-color);
color: white;
}

.tab-content {
display: none;
padding: 20px;
border: 1px solid #ddd;
border-radius: 4px;
}

.tab-content.active {
display: block;
}

.section-content {
display: none;
padding: 15px;
background: #f9f9f9;
border-radius: 4px;
}

.section-content.active {
display: block;
}

  
  @media (max-width: 768px) {
    .content-highlight {
      flex-direction: column; 
      gap: 15px;
    }
  }
.content-highlight {
    display: flex;
    flex-direction: column;
    gap: 40px;
    
    background-color: var(--bg-color);
}

.insights-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.insights-promo h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.insights-promo p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    flex: 1;
    margin-right: 20px;
}

.insights-promo a {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 20px;
    background-color:var(--active-color);
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.insights-promo a:hover {
    background-color: #1d66d2;
}

.insights-promo img {
    width: 10%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    left: -10%;
}

.mutual-funds-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mutual-funds-promo h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.mutual-funds-promo p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    flex: 1;
    margin-left: 20px;
}

.mutual-funds-promo img {
    width: 10%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    left: 10%;
}
@media screen and (max-width: 768px) {
    .section-buttons{
        width: 100%;
     flex-wrap: wrap;
     height: max-content;
     border: none;
     align-items: center;
     justify-content: center;
 }
 .headgl{
 flex-direction: column;
}
 
 .section-button{
     border: 1px solid;
     width: 50%;
     border-radius: 0px !important;
     }
     .data-grid{
         overflow: scroll;
         
        }
    .data-grid::-webkit-scrollbar{
            display: none;
        }
    .mutual-funds-promo,.insights-promo{
            flex-direction: column;
        }
    .mutual-funds-promo img,.insights-promo img{
            height: 200px;
            width: 60%;
        }
    .mfptable_head {
            flex-direction: column;
            height: max-content;
        }
}
