/*
Theme Name: Astra Child
Theme URI: https://yourwebsite.com
Description: Astra Child Theme
Author: Your Name
Template: astra
Version: 1.0
*/



.site-primary-header-wrap .ast-builder-grid-row{
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.1)
    ) !important;

    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.259);
    /* border-radius: 0 0 20px 20px; */

    padding: 0 80px 0 80px !important;
}


#masthead .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}


.trending-section {
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.trend-item {
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.trend-item:last-child {
    border-bottom:none;
}
.profit-card {
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    text-align:center;
}




.stock-section {
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.stock-row {
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.stock-row:last-child {
    border-bottom:none;
}


.stock-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    max-width: 320px;
}

.stock-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.stock-row:last-child {
    border-bottom: none;
}

.stock-left small {
    display: block;
    font-size: 13px;
    color: #666;
}

.stock-right {
    font-weight: 600;
}





.active-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 330px;
}

.active-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
}

.stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stock-row:last-child {
    border-bottom: none;
}

.stock-left {
    display: flex;
    flex-direction: column;
}

.stock-name {
    font-weight: 600;
    font-size: 15px;
}

.stock-price {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

.stock-right {
    text-align: right;
}

.stock-vol-label {
    font-size: 12px;
    color: #888;
}

.stock-volume {
    font-weight: 600;
    font-size: 14px;
    margin-top: 3px;
}


/* FII/DII AJAX */
.fii-card {
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.fii-row {
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

/* stock end  */



.offfer-box{
        /* background: linear-gradient(
        135deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.1)
    ) !important; */

    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    cursor: pointer;
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.259); */
}

/* Blog layout 4 card overrides */
.ast-blog-layout-4-grid .ast-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ast-blog-layout-4-grid .ast-grid-common-col {
    width: 100%;
    margin: 0;
}

.ast-blog-layout-4-grid .blog-post-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ast-blog-layout-4-grid .blog-post-card__thumb {
    display: block;
    width: 100%;
}

.ast-blog-layout-4-grid .blog-post-card__thumb img,
.ast-blog-layout-4-grid .blog-post-card__placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.ast-blog-layout-4-grid .blog-post-card__placeholder {
    background: linear-gradient(135deg, #ececec, #dcdcdc);
}

.ast-blog-layout-4-grid .blog-post-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ast-blog-layout-4-grid .blog-post-card__meta {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.ast-blog-layout-4-grid .blog-post-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.ast-blog-layout-4-grid .blog-post-card__title a {
    color: #111;
    text-decoration: none;
}

.ast-blog-layout-4-grid .blog-post-card__excerpt {
    color: #444;
}

.ast-blog-layout-4-grid .blog-post-card__excerpt p {
    margin-bottom: 0;
}

.ast-blog-layout-4-grid .blog-post-card__readmore {
    color: #0052cc;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .ast-blog-layout-4-grid .ast-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ast-blog-layout-4-grid .ast-row {
        grid-template-columns: 1fr;
    }
}



/* Blog  */
/* HERO */
.custom-blog-hero {
    color: white;
    padding: 135px 20px 40px 20px;
    text-align: center;
    background: radial-gradient(circle at top right, #c8dceb, transparent),
                radial-gradient(circle at top left, #e9fdef, transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-blog-hero .container {
    position: relative;
    z-index: 1;
}
.custom-blog-hero .container h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.5;
    position: relative;
    z-index: 99;
}

.custom-blog-hero .container .highlight {
    color: #22c55e;
}

.custom-blog-hero .container p{
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 999;
}

/* featured post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background:  #ffffff;
    padding: 40px 80px;
    border-radius: 24px;
    box-shadow: -1px 0px 30px rgb(0 0 0 / 26%);
    align-items: center;
    margin-top: 30px;
}

.featured-post:hover .featured-title {
    color: #22c55e;
}

.featured-title {
    transition: color 0.3s ease;
}

.organic-shape {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Matches homepage style */
}

.category-tag {
    background: #f0fdf4;
    color: #22c55e;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-primary {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Animated gradient layer */
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(66deg, #3b82f6, #22c55e);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Hover effect (smooth fade) */
.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    color: #ffffff;
}



/* GRID */
.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

/* CARD */
.blog-card:hover {
    transform: translateY(-9px);
    border: 2px solid #2ec164;
    box-shadow: 0 12px 25px rgba(0 0 0 / 22%);

}
.blog-card:hover .blog-title {
        color: #22c55e;
}


.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-title {
    text-decoration: none;
    color: #111;
}

/* PAGINATION */
.custom-pagination {
    text-align: center;
    padding-bottom: 60px;
}

.custom-pagination a,
.custom-pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 4px;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
}

.custom-pagination .current {
    background: #2563eb;
    color: #fff;
}


/* Background */
.custom-blog-wrapper {
    background: #ffffff;
    overflow: hidden;
    
}
.container-card{
    max-width: 85%;
    margin: 0 auto;
}
#search-results-container{
    max-width: 85%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 40px;
}
/* Grid Layout */
.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
/* .search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
} */

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    position: relative;
    border-radius: 16px;
}


/* Image container */
.blog-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 220px; 
    overflow: visible;
}

/* Overlay layer (hidden by default) */
.blog-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    transition: height 0.4s ease;
    z-index: 1;
}
/* Animate from top to bottom on hover */
.blog-card:hover .blog-thumb::after {
    height: 100%;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.blog-plus-icon {
    position: absolute;
    left: 80%;
    bottom: -23px; 
    transform: translateX(-50%);
    font-size: 35px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: #111;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
}
.blog-card:hover .blog-plus-icon {
    transform: translateX(-50%) scale(1.15);
    background: #fff;
}

.blog-excerpt{
    font-size: 1rem;
    color: rgb(34 34 34);
}
.blog-author{
    margin-top: 20px;
    font-weight: 600;
    font-size: 13px;
    color: rgb(0, 0, 0);
}

.blog-hero-shape{
    position: absolute;
    top: 95%;
    right: 18%;
    width: 7%;
}


/* footer nav  */
.custom-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Vertical style (like your screenshot) */
.custom-nav-menu ul li {
    margin-bottom: 12px;
}

/* Link style */
.custom-nav-menu ul li a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    color: #ffffff;
}

/* Hover */
.custom-nav-menu ul li a:hover {
    padding-left: 6px;
}

.custom-nav-menu .current_page_item a{
    color: #22c55e;
}

.blog-hero-dot{
    position: absolute;
    top: 10%;
    left: 22%;
    width: 120px;
    height: 120px;
}



/* offer-box  */
   .badge-offer {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 9999px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
      margin: 1rem 0;
    }

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulse 1.8s infinite ease-out;
}

/* Glow animation */
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

    /* Bottom accent */
    .bottom-accent {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }

    .accent-line {
      width: 48px;
      height: 1px;
    }

    .accent-line.left {
      background: linear-gradient(to right, transparent, #cbd5e1);
    }

    .accent-line.right {
      background: linear-gradient(to left, transparent, #cbd5e1);
    }

    .accent-dots {
      display: flex;
      gap: 6px;
    }

    .accent-dot {
      width: 6px;
      height: 6px;
      background: #cbd5e1;
      border-radius: 50%;
    }



/* type writter  */
.hero-heading-parrent .hero-heading{
    line-height: 60px;
    font-size: 70px;
    font-weight: 800;
    margin: 0;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: #16a34a; 
  margin: 0px;
  vertical-align: bottom;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}


/* search bar  */
.searchBar {
    width: 30%;
    display: flex;
    margin-top: 70px;
}

#searchQueryInput {
  width: 100%;
  height: 2.8rem;
  background: #f5f5f5;
  outline: none;
  border: none;
  border-top-left-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 1rem;
  box-shadow: -7px 8px 20px 10px rgb(65 65 65 / 31%);
}

#searchQuerySubmit {
    /* width: 3.5rem; */
    height: 2.8rem;
    margin-left: -4rem;
    /* background: none; */
    border: none;
    outline: none;
    /* border-top-right-radius: 1.625rem; */
    border-bottom-right-radius: 1.625rem;
    align-items: center;
    display: flex;
    background: rgb(96 202 105 / 98%);
}

#searchQuerySubmit:hover {
  cursor: pointer;
}
.hidden-search {
    display: none !important;
}
.search-title {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1;
}
.search-term{
    margin: 0 !important;
}

.search-title strong {
    color: #2563eb;
}

.search-grid{
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.no-posts{
    font-size: 30px;
    font-weight: 500;
    margin-top: 1.7rem;
}
#searchQueryClear{
  cursor:pointer;
  font-size:18px;
  color:#000000;
  opacity:1;
  transition:0.2s;

    position: relative;
    right: 70px;
    top: 12px;
    display: none;
}

#searchQueryClear.active{
  opacity:1;
  pointer-events:auto;
}



.partners-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    position: relative;
}

.partners-title span {
    position: relative;
    padding: 0 25px;
}

/* .partners-title span::before,
.partners-title span::after {
    content: ":";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 800;
    color: #22c55e;
} */

.partners-title span::before {
    left: 0;
}

.partners-title span::after {
    right: 0;
}



/* Responsive */
@media (max-width: 1200px) {
    .hero-heading-parrent .hero-heading {
        text-align: center;
        margin-bottom: 20px;
    }
    .custom-blog-grid, .search-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .custom-blog-grid, .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-hero-shape{
        width: 60px;
    }
    .searchBar {
    width: 60%;
    }
}

@media (max-width: 600px) {
    .custom-blog-grid, .search-grid {
        grid-template-columns: 1fr;
    }
    .searchBar {
    width: 70%;
    }
}

@media (max-width: 470px) {
    .featured-post {
        display: flex;
        padding: 40px;
        flex-direction: column-reverse;
        gap: 19px;
    }
    .blog-hero-shape {
    top: 100%;
    right: 14%;
    width: 40px;
    }
    .blog-hero-dot {
    top: 4%;
    }
}

@media (max-width: 400px) {

}


/* cursor  */
.mouse-cursor {
    position: fixed;
    background-color: rgb(87, 2, 245);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    user-select: none;
    transform: scale(1);
}

.mouse-cursor::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(0, 200, 83, 0.6) 0%,
        rgba(0, 200, 83, 0.3) 40%,
        transparent 70%
    );

    filter: blur(8px);
    z-index: -1;
}
.mouse-cursor.active,
.mouse-cursor.menu-active {
    opacity: 1;
    transform: scale(0);
}

.mouse-cursor.hovered {
    opacity: 1;
}

.mouse-cursor-follower {
    position: fixed;
    border: 1.5px solid rgb(148, 3, 3);
    width: 30px;
    height: 30px;
    border-radius: 100%;
    z-index: 10000;
    transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
        0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) background;
    user-select: none;
    pointer-events: none;
    transform: translate(2px, 2px);
    /* //overflow: hidden; */
}

.mouse-cursor-follower.active,
.mouse-cursor-follower.menu-active {
    opacity: 1;
    transform: scale(3);
}

.mouse-cursor-follower.hovered {
    opacity: 1;
}

.float-item {
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: transform 0.1s ease-out;
}

.partner-brands-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}


/* btn hover animaiton in home  */
.market-btn .elementor-button{
    background: linear-gradient(194deg, #5AD663, #ECFEFF);
    background-size: 200% 200%;
    transition: background-position 0.4s ease, transform 0.25s ease;
}

.market-btn .elementor-button:hover{
    background-position: right center;
    transform: translateY(-2px);
}

.blog-hero-shape-top{
    position: absolute;
    bottom: 10px;
}