/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description: Astra Child Theme
 Author:      Sahil
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/


body, h1, h2, h3, h4, h5, h6, p, a {
    font-family: philosopher !important;
}

.radius_img img {
    border-radius: 25px !important;
    border: solid 4px #936d45 !important;
}


.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link {
    border-bottom: solid 3px #fff !important;
}

.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
    background: #fff;
    color: #1a2b55;
}

.rotate_img img {
  height: auto;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

ul.sub-menu a {
    color: #1A2B55 !important;
}

ul.sub-menu {
    padding: 15px;
}

ul.sub-menu li {
    margin-bottom: 10px;
}


.founder_img figcaption {
    position: absolute;
    width: 100%;
    bottom: -13px;
    background: #c98237;
    border-radius: 0 0 50px 50px;
    border-top: solid 4px #fff;
    color: #fff !important;
    padding: 10px;
}

.site-footer-primary-section-1.site-footer-section.site-footer-section-1 img {
    width: 200px;
}

.footer-social-inner-wrap {
    text-align: left !important;
    padding-left: 50px;
}

.footer-social-inner-wrap svg {
    width: 29px !important;
    height: 29px !important;
    fill: #fff;
}

.cf7-row {
  margin-bottom: 18px;
}

.cf7-row.two-col {
  display: flex;
  gap: 20px;
}

.cf7-col {
  width: 50%;
}

.cf7-row.full-width {
  width: 100%;
}

.cf7-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.cf7-row input,
.cf7-row select,
.cf7-row textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.cf7-row textarea {
  min-height: 120px;
}

.cf7-row input[type="submit"] {
  background: #1a2b55;
  color: #fff;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 6px;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .cf7-row.two-col {
    flex-direction: column;
  }

  .cf7-col {
    width: 100%;
  }
}


.cf7-col br {
    display: none;
}

.cf7-col p {
    margin-bottom: 0;
}

.cf7-row.full-width br {
    display: none;
}

div#wpcf7-f313-p5-o1 .wpcf7-form, div#wpcf7-f534-p467-o1 .wpcf7-form, div#wpcf7-f681-p682-o1 .wpcf7-form{
    padding: 30px 45px 0;
    background: #edf2ff;
    border-radius: 20px;
}

input#cf-dob {
    background: #fff;
}

.cf7-row.full-width p {
    margin-bottom: 0;
}

.wpcf7 input.wpcf7-form-control:not([type=submit]) {
    border-radius: 20px;
    border: 0;
}


div#wpcf7-f313-p5-o1.wpcf7 textarea.wpcf7-form-control {
    height: 100px;
    border-radius: 10px;
    border: 0;
}

select#cf-service {
    border: 0;
    border-radius: 40px;
}

.wpcf7 form.sent .wpcf7-response-output {
    position: relative;
    bottom: 10px;
    border-color: #1a2b55;
    background: #fff;
    color: #1a2b55;
}

.slide-hover-btn a {
  position: relative;
  overflow: hidden;
}

.slide-hover-btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #5370B6; /* light blue */
  transition: all 0.4s ease;
  z-index: 0;
}

/* Hover effect */
.slide-hover-btn a:hover::before {
  left: 0;
}

/* Button text on top */
.slide-hover-btn a span {
  position: relative;
  z-index: 1;
}

.slide-hover-btn a::before {
  transition: all 0.6s ease; /* slow */
}


.rotate_chakra {
                -webkit-animation: rotateChakra 30s normal linear infinite;
                animation: rotateChakra 30s normal linear infinite
            }

            @keyframes rotateChakra {
                0% {
                    -webkit-transform: rotate3d(0,0,1,0deg);
                    transform: rotate3d(0,0,1,0deg)
                }

                25% {
                    -webkit-transform: rotate3d(0,0,1,90deg);
                    transform: rotate3d(0,0,1,90deg)
                }

                50% {
                    -webkit-transform: rotate3d(0,0,1,180deg);
                    transform: rotate3d(0,0,1,180deg)
                }

                75% {
                    -webkit-transform: rotate3d(0,0,1,270deg);
                    transform: rotate3d(0,0,1,270deg)
                }

                100% {
                    -webkit-transform: rotate3d(0,0,1,360deg);
                    transform: rotate3d(0,0,1,360deg)
                }
            }


.pooja-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .pooja-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pooja-grid {
        grid-template-columns: 1fr;
    }
}

.pooja-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.pooja-card:hover {
    transform: translateY(-5px);
}

.pooja-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.pooja-content {
    padding: 20px;
    text-align: center;
}

.pooja-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pooja-venue {
    font-size: 14px;
    color: #1a2b55;
    margin-bottom: 12px;
	font-weight: bold;
	display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    gap: 5px;
}

.pooja-desc {
    font-size: 14px;
    color: #000;
    margin-bottom: 18px;
}

.pooja-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a2b55;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}


a.pooja-cta:hover {
    color: #fff;
}

.pooja-card:hover {
    transform: translateY(-10px);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  background-color: #25d366;
  color: #fff;

  padding: 14px 22px;
  border-radius: 50px;

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;

  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile view - sirf icon (optional) */
@media (max-width: 480px) {
  .whatsapp-float span {
    display: none;
  }
  .ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
		background: #1a2b55;
		color: #fff;
		margin: 20px 0;
	}
}


[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #fff;
    width: 50px;
    height: 50px;
}

.ast-primary-header-bar {
    border: 0;
}

footer#colophon .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
    padding: 0 20px;
}

img.attachment-full.size-full.wp-image-820, img.attachment-full.size-full.wp-image-280  {
    border-radius: 20px;
}

.imground img {
    border-radius: 20px !important;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
    color: #fff !important;
}

.site-footer-primary-section-5.site-footer-section.site-footer-section-5 {
}

.footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element {
    text-align: left;
}

.footer-social-inner-wrap {
    padding-left: 0;
}


.panchang-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: inherit;
}

.panchang-table th,
.panchang-table td {
  padding: 12px 15px;
  border: 1px solid #d6d9e5;
}

.panchang-table th {
  background: #1a2b55;
  color: #fff;
  text-align: left;
  width: 35%;
}

.panchang-table tr:nth-child(even) td {
  background: #f1f3fa;
}

.panchang-table tr:nth-child(odd) td {
  background: #e6e9f5;
}

.panchang-table tr:hover td {
  background: #dbe0f2;
}

#bgwhiteround img {
    background: #ffffff61;
    border-radius: 114px;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.pooja-box {
  border: 1px solid #e6c27a;
  padding: 20px;
  margin: 25px 0;
  background: #fffaf0;
  border-radius: 10px;
}

.pooja-option {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 6px;
}

.pooja-option input {
  margin-right: 8px;
}

.pooja-option .free {
  color: green;
  font-weight: bold;
}

.pooja-option .price {
  color: #b12704;
  font-weight: 600;
}

#pooja-form input,
#pooja-form select {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
}


.flex-control-thumbs {
  display: flex;
}

.flex-control-thumbs img {
  width: 70px;
  border: 1px solid #ddd;
  margin-bottom: 8px;
}


/* .flex-viewport {
    height: 400px !important;
}

.flex-viewport img {
    height: 400px !important;
    object-fit: cover;
} */

.flex-control-thumbs {
    gap: 10px !important;
}

.woocommerce-js div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    margin: 0;
}

.woocommerce-js div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    margin: 0;
}

img.flex-active {
    border: solid 3px #1a2b55;
}


.pooja-box select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #cfa84a;
  font-weight: 600;
  background: #fff;
  margin-bottom: 15px;
}

#pooja-form {
  margin-top: 15px;
}

#pooja-form input,
#pooja-form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}



.select-weight-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.woocommerce-js div.product .product_title {
    font-size: 34px;
}

.single-product div#content {
    background: #ebf1ff;
}


.category-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.category-banner img {
    width: 100%;
    display: block;
	height: auto;
}

.banner-mobile {
    display: none !important;
}

@media (max-width: 767px) {
    .banner-desktop {
        display: none !important;
    }
    .banner-mobile {
        display: block !important;
    }
	.ast-woocommerce-container {
		padding-top: 20px;
	}
}

.ast-woo-shop-archive .site-content > .ast-container {
    flex-direction: column;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
    color: #000 !important;
}


.ast-grid-common-col {
    border: solid 1px #00000030 !important;
    padding: 12px !important;
    border-radius: 10px;
}

.products .review-rating {
    display: none;
}


.products span.ast-woo-product-category {
    background: #5e7cc6 !important;
    opacity: 1 !important;
    color: #fff !important;
    width: max-content;
    padding: 5px 10px;
    border-radius: 34px;
}

.woocommerce-tabs {
  margin-top: 30px;
}


section.related.products {
    float: left;
    width: 100%;
    margin-top: 40px;
    border-top: solid 2px #00000038;
    padding-top: 30px;
}

.products li.ast-article-single {
    border: solid 1px #00000030 !important;
    padding: 12px !important;
    border-radius: 10px;
}

/* Rashifal Table Fix */
.rashifal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* IMPORTANT */
}

.rashifal-table th,
.rashifal-table td {
  padding: 12px 14px;
  border: 1px solid #ddd;
  vertical-align: top;
  text-align: left;
}

/* First column (Rashi name) */
.rashifal-table th {
  width: 200px;          /* FIXED WIDTH */
  min-width: 180px;
  white-space: nowrap;  /* DO NOT WRAP */
  font-weight: 700;
  background: #f7f7f7;
}

/* Content column */
.rashifal-table td {
  white-space: normal;      /* allow wrapping */
  word-break: break-word;  /* Hindi safe */
  overflow-wrap: anywhere; /* EXTRA safety */
  line-height: 1.7;
}

/* Mobile friendly */
@media (max-width: 768px) {
  .rashifal-table th {
    width: 140px;
    min-width: 120px;
    font-size: 14px;
  }
}





















.rashi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.rashi-tab {
  text-align: center;
  cursor: pointer;
  padding: 15px;
  border-radius: 12px;
  transition: 0.3s;
}

.rashi-tab img {
  width: 48px;
  margin-bottom: 8px;
}

.rashi-tab.active,
.rashi-tab:hover {
  background: #fff2e6;
}

.rashi-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.rashi-content.active {
  display: block;
}

.wpr-grid-image-wrap img {
    height: 100px;
    object-fit: contain;
}

.wpr-grid-item-title .inner-block a {
    font-size: 16px;
}

.wpr-woo-rating {
    display: none;
}

@media (max-width: 768px) {
  .rashi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.rashi-content {
    font-size: 20px;
}

li.menu-item.menu-item-gtranslate span {
    color: #fff;
}

li.menu-item.menu-item-gtranslate-child span {
    color: #000;
}

@media (min-width: 922px) {
    .ast-container {
        max-width: 1440px;
    }
}

.content-align-flex-start .ast-builder-layout-element {
    justify-content: center;
    margin-bottom: 20px;
}





@media (max-width:667px){
	.rashi-tab {
		padding: 0;
	}
}

