/********** Template CSS **********/
#speedcapture{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
pointer-events:none;
z-index:9999;
}

#galaxyCursor{
position:absolute;
width:120px;
height:120px;
transform:translate(-50%,-50%);
}

.planet{
width:24px;
height:24px;
background:#2196f3;   /* Blue Galaxy */

border-radius:50%;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);

/* blue glow */

box-shadow:
0 0 10px #2196f3,
0 0 20px #2196f3,
0 0 40px #1e88e5;
}

.star{
position:absolute;
width:0;
height:0;

border-left:8px solid transparent;
border-right:8px solid transparent;
border-bottom:16px solid #ffffff;

transform-origin:center;
animation:orbit 4s linear infinite;

/* visibility increase */

filter:
drop-shadow(0 0 6px #ffffff)
drop-shadow(0 0 12px #ffffff)
drop-shadow(0 0 20px #4fc3f7);
}

.star:after{
content:'';
position:absolute;
top:6px;
left:-8px;

border-left:8px solid transparent;
border-right:8px solid transparent;
border-top:16px solid #ffffff;
}

.star1{top:0;left:50%;}
.star2{top:50%;left:100%;animation-duration:5s;}
.star3{top:100%;left:50%;animation-duration:6s;}
.star4{top:50%;left:0;animation-duration:7s;}
.star5{top:20%;left:80%;animation-duration:8s;}

@keyframes orbit{
0%{transform:rotate(0deg) translateX(40px) rotate(0deg);}
100%{transform:rotate(360deg) translateX(40px) rotate(-360deg);}
}
/****** services css *******/
.ast_section {
    padding: 60px 0;
}

.ast_service_section {
    background-color: #f9f9f9; /* Light background color */
}

.ast_theme_titles {
    text-align: center;
    margin-bottom: 40px;
}

.ast_service-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd; /* Optional border */
    border-radius: 15px; /* Rounded corners */
    transition: transform 0.8s ease;
}

.ast_service-item {
    position: relative;
    overflow: hidden; /* Ensures that the hover content does not overflow */
}

.ast_service-item:hover .ast_service-hover,
.ast_service-item:focus-within .ast_service-hover
{
  transform: scaleY(1);
}

.ast_service-item .ast_service-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--eduact-soft3);
  background: #fff;
}

.ast_service-item .ast_service-icon {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  overflow: hidden;
  margin: 0 auto 15px;
}
.ast_service-item .ast_service-icon img{
  width: 50px;
  height: 50px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ast_service-item .ast_service-icon::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background-image: url(../images/service/icon-shap.png);
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  
}

.ast_service-item .ast_service-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--black-color);
  margin: 0 0 12px;
}

.ast_service-item .ast_service-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: #525252;
  margin: 0;
}

.ast_service-item .ast_service-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  transition-delay: .1s;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
  transition-property: all;
  transform-origin: top;
  transform-style: preserve-3d;
  transform: scaleY(0);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ast_service-item .ast_service-hover__thumb {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  height: 100%;
}

.ast_service-item .ast_service-hover__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.ast_service-item .ast_service-hover__thumb::after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  content: '';
  background: rgb(0 0 0 / 70%);
}

.ast_service-item .ast_service-hover__content {
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  padding:34px 26px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.ast_service-item .ast_service-hover__icon {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  margin: 0 auto 15px;
}
.ast_service-item .ast_service-hover__icon img{
  width: 50px;
  height: 50px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Keyframe animation for continuous rotation */
@keyframes continuous-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ast_service-item .ast_service-hover__icon::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(img/icon_shap.png);
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.5s ease;
    animation: none; /* No animation by default */
}

.ast_service-item:hover .ast_service-hover__icon::after {
    animation: continuous-rotate 5s linear infinite; /* Continuous rotation on hover */
}

.ast_service-item .ast_service-hover__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}

.ast_service-item .ast_service-hover__title a:hover {
  color: yellow;
}

.ast_service-item .ast_service-hover__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

  
.ast_service-wrapper {
    padding: 28px;
    text-align: center;
}


.ast_service-item .ast_service-icon::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(img/icon_shap.png);
    background-repeat: no-repeat;
    background-size: center;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    
}
.ast_service-item .ast_service-icon img {
    width: 50px;
  height: 50px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ast_service-item .ast_service-icon {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    overflow: hidden;
    margin: 0 auto 15px;
  }
.ast_service-title {
    font-size: 1.5rem;
    margin: 15px 0 10px;
}

.ast_service-text {
    font-size: 0.9rem;
    color: #666; /* Darker text color */
}

.ast_service-hover__thumb img {
    width: 100%; /* Full width for hover image */
    height: auto;
}

.ast_service-hover__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
}

.ast_service-item:hover .ast_service-hover__content {
    opacity: 1; /* Show on hover */
}

.ast_service-hover__title {
    font-size: 1.5rem;
    margin: 10px 0;
}

.ast_service-hover__text {
    font-size: 0.9rem;
    color: #666; /* Darker text color */
}
/*********** services end ******/

.choose_services_row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    justify-content: space-between; /* Distributes space between items */
}

.astro_col {
    flex: 0 0 16.66%; /* 6 items per row (100% / 6 = 16.66%) */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    padding: 10px; /* Optional: Add some padding around each item */
}
.round {
    border-radius: 25px;
}

.zodics_sign_tab {
    width: 180px;
    position:relative;
    padding:25px 12px;
    border-radius: 16px;
    border: 1px solid #06A3DA;
    text-align: center;
    overflow: hidden;
    z-index: 0;
    height: 100%;
    box-shadow: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.zodics_sign_tab.active{
    background-color: #c7af26 !important;
  }
.zodics_sign_tab:hover {
    background-color: #c7af26; /* Change to your desired background color */
}
.zodics_sign_tab:hover .zodics_icon img {
    transform: rotate(360deg); /* Rotate the image */
}
.zodics_icon img {
    width: 90px;
    height: 90px;
    margin: auto;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.clr-blue {
    color: rgb(12, 12, 116); /* Change color as needed */
}

.rotate {
    transform: rotate(180deg);
    transition: transform 0.5s ease; /* Smooth transition */
}

.carousel-item img {
    height: auto; 
    object-fit: cover; 
}
.image-container {
    position: relative; 
}


.astroheader {
    width: 100%; 
}

.wheel {
    position: absolute;
    top: 55%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 40%; 
    height: auto; 
    z-index: 10; 
    animation: rotate 15s linear infinite; 
    opacity: 0.5;
}
.thirdimg {
    position: absolute; 
    top: 55%;
    left: 75%; 
    transform: translate(-50%, -50%); 
    width: 40%; 
    height: auto; 
    z-index: 10; 
}

.overlay-text {
    position: absolute;
    top: 38%; 
    left: 30%; 
    transform: translate(-50%, -50%); 
    color: white; 
    text-align: center;
    font-size: 2rem;
    width: 40%; 
    height: auto; 
    z-index: 10;
    font-weight: bolder;
}
.overlay-text2 {
    position: absolute;
    top: 55%; 
    left: 30%; 
    transform: translate(-50%, -50%); 
    color: white; 
    text-align: center;
    font-size: 1.5rem;
    width: 40%; 
    height: auto; 
    z-index: 10;
    font-weight: bolder; 
}
.ast_slider_btn {
    position: absolute;
    top: 75%; 
    left: 30%; 
    transform: translate(-50%, -50%); 
    text-align: center;
    font-size: 1.5rem;
    width: 40%; 
    height: auto; 
    z-index: 10;
    font-weight: bolder;
  }

  .astro_btn{
    position: relative;
    border: none;
    display: inline-block;
    color: #0b2038;
    padding: 18px 25px;
    letter-spacing: 0.3px;
    overflow: hidden;
    background: #fdc533;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    z-index: 0;
    line-height: 20px;
    text-decoration: none;
    transition: 0.5s all ease;
  }
  .astro_btn::before, .astro_btn::after {
    position: absolute;
    top: 50%;
    content: "";
    width: 20px;
    height: 20px;
    z-index: -1;
    background-color:#0b2038;
    border-radius: 50%;
  }
  .astro_btn::before {
    left: -20px;
    transform: translate(-50%, -50%);
  }
  .astro_btn::after {
    right: -20px;
    transform: translate(50%, -50%);
  }
  .astro_btn:hover::before,
  .astro_btn:focus::before {
   animation: criss-cross-left 0.8s both;
   animation-direction: alternate;
  }
  .astro_btn:hover:after,
  .astro_btn:focus:after {
    animation: criss-cross-right 0.8s both;
    animation-direction: alternate;
  }
  .astro_btn:hover,
  .astro_btn:focus{
    color: var(--white-color);
  }
  .astro_btn span, .astro_btn i{
    position: relative;
    z-index: 2;
  }
  .astro_btn span {
    position: relative;
    color: inherit;
    z-index: 2;
    top: 1px;
  }
  .ast_slider_btn a {
    margin-right: 20px; /* Adjust the value as needed */
}

.ast_slider_btn a:last-child {
    margin-right: 0; /* Remove margin from the last button */
}
@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg); 
    }
}
/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}
.astroheader {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
  }


@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
        background-color: black;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
    .overlay-text{
        font-size: 1rem;
    }
    .overlay-text2{
        font-size: 0.5rem;
        top: 70%;
    }
    .astro_btn {
        font-size: 0.5rem;
        top: 95%;
        padding: 2px 10px;
    }
    .ast_slider_btn {
        top: 92%;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}
.knowmore {
  width: 100%;
  background-color: #ffffff;
  border-radius: 15px;
  z-index: 1;
  position: relative;
  -webkit-box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}
.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/breadcrumbs-bg.png) center center no-repeat;
    background-size: cover; object-fit: cover;width: 100%;
    height: 100%;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

/* ===== MOBILE RESPONSIVE FIX ===== */

@media (max-width: 768px){

/* Zodiac services grid */
.astro_col{
    flex: 0 0 50%;
    max-width: 50%;
}

/* Zodiac card width */
.zodics_sign_tab{
    width:100%;
}

/* Service cards spacing */
.ast_service-item{
    margin-bottom:20px;
}

/* Slider wheel image */
.wheel{
    width:70%;
    top:55%;
}

/* Third image */
.thirdimg{
    width:60%;
    left:80%;
}

/* Slider text */
.overlay-text{
    font-size:18px;
    width:80%;
    left:50%;
}

.overlay-text2{
    font-size:14px;
    width:80%;
    left:50%;
}

/* Slider buttons */
.ast_slider_btn{
    width:80%;
    left:50%;
}

.ast_slider_btn a{
    margin-right:10px;
}

/* Buttons */
.astro_btn{
    padding:10px 15px;
    font-size:12px;
}

/* Form responsive */
.row.g-3 > div{
    flex:0 0 100%;
    max-width:100%;
}

/* Contact section spacing */
.ps-4 h4{
    font-size:16px;
}

/* Vendor slider images */
.vendor-carousel img{
    width:100%;
}

/* Navbar menu spacing */
.navbar-dark .navbar-nav .nav-link{
    margin-left:0;
}

}

/* Extra small devices */

@media (max-width:480px){

.overlay-text{
    font-size:16px;
}

.overlay-text2{
    font-size:12px;
}

.ast_slider_btn{
    top:85%;
}

.wheel{
    width:80%;
}

}
.product-card {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    transition: 0.3s;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* IMAGE FIX */
.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: #f8f8f8;
}

/* OPTIONAL: SAME HEIGHT CARDS */
.product-card .card-body {
    min-height: 160px;
}
.dropdown-menu {
    border-radius: 10px;
}

.dropdown-item:hover {
    background: #f1f1f1;
}
@media (max-width: 991px){
    .navbar-collapse{
        background: #091e3e;
        padding: 15px;
        border-radius: 10px;
    }
    
    .navbar-nav .nav-link{
        padding: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu{
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 10px;
    }
}
.navbar {
    z-index: 9999;
}

.dropdown-menu {
    z-index: 99999;
}
 .form-control {
            border-radius: 10px; /* Input fields ka border radius */
}
.btn-custom {
    border-radius: 10px; /* Button ka border radius */
}
.cart-popup{
    position: fixed;
    top: 160px;
    right: 20px;
    background: #fff;
    border-left: 5px solid green;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 9999;
    min-width: 250px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.d-none{
    display: none;
}
.cart-popup{
    position: fixed;
    top: 160px;
    right: 20px;
    background: #fff;
    border-left: 5px solid green;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 9999;
    min-width: 250px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.d-none{
    display: none;
}
.offcanvas {
    width: 260px;
    background: #091e3e;
    color: #fff;
}

.offcanvas .nav-link {
    color: #fff;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.offcanvas .nav-link:hover {
    background: rgba(255,255,255,0.1);
}
.scroll-box {
    max-height: 485px;
    overflow-y: auto;
}
.product-scroll {
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
}

.product-scroll::-webkit-scrollbar {
    height: 6px;
}

.product-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.product-item {
    min-width: 220px;
    flex: 0 0 auto;
}

.product-img {
    height: 180px;
    object-fit: cover;
}
