 @import url(//fonts.googleapis.com/css?family=Montserrat:300,400,500);

#accordion .panel{
    border: none;
    box-shadow: none;
    border-radius: 30px;
    margin-bottom: 15px;
}
#accordion .panel-heading{
    padding: 0;
    border-radius: 30px;
}
#accordion .panel-title a{
    display: block;
    padding: 17px 20px 17px 70px;
    background: #f1f1e6;
    font-size: 22px;
    font-weight: 600;
    color: #f4442e;
    border: none;
    border-radius: 30px;
    position: relative;
    transition: all 0.3s ease 0s;
}
#accordion .panel-title a.collapsed{ color: #242167; }
#accordion .panel-title a:after,
#accordion .panel-title a.collapsed:after{
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50%;
    background: #f4442e;
    font-size: 25px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease 0s;
}
#accordion .panel-title a.collapsed:after{ content: "\f105"; }
#accordion .panel-body{
    padding: 20px 0 0 0;
    font-size: 16px;
    color: #242167;
    line-height: 25px;
    border-top: none;
    position: relative;
}
#accordion .panel-body p{
    padding: 10px 20px 10px;
    margin: 0;
    background: #f1f1e6;
    border-radius: 15px;
}
#accordion .panel-title a:not(.collapsed):after {
    background: #4fa21d; /* yellow-orange when active */
}
 
 /* ===== ATOZ START ===== */

.atoz{
    --box-color:#9748f7;

    border:2px solid var(--box-color) !important;
    padding:12px 10px;   /* reduced from 20px */
    text-align:center;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;

    min-height:135px;   /* reduced from 180 */

    border-radius:10px;
    transition:all .3s ease;
}

.atoz:hover{
    background:#f7f3ff !important;
    transform:translateY(-3px);
}

.atoz a{
    text-decoration:none !important;
    color:inherit !important;
    width:100%;
}

.atoz i,
.atoz a i,
.atoz .fa-solid{
    color:var(--box-color)!important;
    margin-bottom:4px;   /* was 10px */
    margin-top:0;        /* remove top gap */
}

.atoz h6,
.atoz .title,
.atoz a h6{
    color:var(--box-color)!important;
    font-weight:bold!important;

    margin-top:4px;      /* was 10px */
    margin-bottom:4px;
    line-height:1.25;
}

.atoz p.small{
    color:#666!important;
    margin-top:2px;      /* was 8px */
    margin-bottom:0;     /* remove bottom gap */
    line-height:1.3;
}

@media (min-width:992px){
    .atoz{
        min-height:135px;
    }
}

@media (max-width:767px){
    .atoz p.small{
        display:none!important;
    }

    .atoz{
        min-height:95px; /* smaller mobile cards */
        padding:10px 6px;
    }

    .atoz i{
        margin-bottom:3px;
    }

    .atoz h6{
        font-size:13px;
    }
}

/* ===== ATOZ END ===== */


.location-btn {
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            color: #333;
            text-align: left;
            padding: 12px 20px;
            margin-bottom: 10px;
            border-radius: 5px;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-decoration: none;
        }
        .location-btn:hover {
            background-color: #e9ecef;
            color: #0d6efd;
        }
        .location-btn i {
            color: #0d6efd;
        }
        .section-title {
            color: #333;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        .section-title:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: #0d6efd;
        }

        /* whatsapp floating button*/
        .whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.whatsapp-float:hover {
  background-color: #1ebe5d; /* darker green on hover */
  color: #fff;
  text-decoration: none;
}
.whatsapp-float i {
  margin: 0;
}

/* ===== Ticker ===== */

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 10px 0;
  position: relative;
}

.ticker {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 35px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.ticker-title {
  padding: 4px 10px;
  border-radius: 5px;
  margin-right: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Colors */

.nifty { background: #4a17a3; }
.banknifty { background: #9f6ff2; }
.finnifty { background: #1b3587; }
.next50 { background: #6084f7; }
.sensex { background: #386b02; }
.bankex { background: #76a148; }

@keyframes ticker {
  0% {
    transform: translate3d(0,0,0);
  }

  100% {
    transform: translate3d(-50%,0,0);
  }
}

/* MOBILE FIX */

@media screen and (max-width: 768px) {

  .ticker {
    animation-duration: 25s;
  }

  .ticker-item {
    font-size: 12px;
    margin-right: 25px;
  }

  .ticker-title {
    font-size: 10px;
    padding: 3px 8px;
  }

}