/*
Theme Name: Astra Child
Theme URI: http://localhost/dental_care/
Author: Your Name
Author URI: http://localhost/dental_care/
Description: Child theme for the Astra WordPress theme. Customize your site safely here.
Template: astra
Version: 1.0.0
*/


@import url("../astra/style.css");





html 
{
    margin-top: 0px !important;
}



.wp-block-media-text>.wp-block-media-text__content 
{

    padding: 0%;

}

.wp-block-media-text__content p 
{

    text-align: left;

}

.wp-block-buttons .wp-block-button__link 
{
   margin-left:20px;
}

.wp-block-media-text__media img, .wp-block-media-text__media video 
{

    width: 90%;
}
.widget {margin-bottom:0px !important;
}

.wp-block-media-text__content p  {margin-bottom:0px !important;
}

.video-container
 {
  position: relative;
  width: 100%; 
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/9;
  height: auto;
}

.video-container video
 {
  width: 100%; 
  height: auto;
  display: block;
}

.video-container::after 
{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); 
  z-index: 1;
  pointer-events: none;
}
.overlay-content 
{
  position: absolute;
  top: 32%;
  bottom:25%;
  left: 10%;
  transform: translateY(-30%);
  text-align: left;
  color: white;
  z-index: 2;

  width: 80%;    
  box-sizing: border-box;
}

.overlay-content h2
 {
  font-size: 75px;
  margin-bottom: 10px;
 font-family: 'Pacifico', cursive !important;
  font-weight:400;
line-height:75px;
  color: #fff;
}

.overlay-content h3 
{
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif !important;
    text-transform: uppercase;
    font-size: 30px;
    padding-bottom: 20px;
    color: #FFFFFF!important;
    line-height: 1.1em;
}

.contact-info 

{

line-height: 1.7em;
  margin-top: 40px;
  font-size: 1.2rem;
  display: flex;
  justify-content: start;
  gap: 20px;
  flex-wrap: wrap;
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
}


.contact-info a 
{
text-decoration:none !important;
color:#fff;
}

.cta-button 
{
  display:inline-block;
  margin-top: 30px;
  padding: 12px 42px 13px 42px !important;
  background-color: #d89b37;
  color: white;
  text-decoration: none !important;
  font-size: 20px;
  border-radius: 60px;
font-weight:600;

}

.cta-button:hover 
{
  background-color: #1b8b8d;
color:#fff;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) 
{
    text-decoration: none !important;
}



.elementor-377 .elementor-element.elementor-element-f60af75
 {
    margin: 0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
}


.image-container
 {
  position: relative;
  overflow: hidden;
}

.image-hover 
{
  position: absolute;
  transform: translateY(10%); /* start slightly lower INSIDE */
  opacity: 0;
  transition: all 0.3s ease;
}

.image-container:hover .image-hover 
{
  transform: translateY(0);
  opacity: 1;

}


.elementor-377 .elementor-element.elementor-element-8de182c 
{
    --display: flex;
    justify-content: center;
}


.elementor-377 .elementor-element.elementor-element-9ef929f 
{
    margin-top: 10px !important;
 
}


/*template*/
.elementor-1337 .elementor-element.elementor-element-8057515:not(.elementor-motion-effects-element-type-background), 
.elementor-1337 .elementor-element.elementor-element-8057515 > .elementor-motion-effects-container > .elementor-motion-effects-layer 
{
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%) !important;
}


.elementor-1337 .elementor-element.elementor-element-0fa0c94:not(.elementor-motion-effects-element-type-background), 
.elementor-1337 .elementor-element.elementor-element-0fa0c94 > .elementor-motion-effects-container > .elementor-motion-effects-layer
 {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%) !important;
}

.elementor-1337 .elementor-element.elementor-element-3b65c5f:not(.elementor-motion-effects-element-type-background),
 .elementor-1337 .elementor-element.elementor-element-3b65c5f > .elementor-motion-effects-container > .elementor-motion-effects-layer
 {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%) !important;
}


/*image carouse height*/

.elementor-1410 .elementor-element.elementor-element-c20c0f3 
{

    height: 490px;
}

.elementor-1410 .elementor-element.elementor-element-c20c0f3 .elementor-image-carousel-wrapper .elementor-image-carousel .swiper-slide-image
 {

    height: 450px;
}

.image-carousel{cursor:pointer;}

.elementor-image-carousel 
{
  padding: 0 25%;
}


.elementor-775 .elementor-element.elementor-element-6996fea.e-con 
{

    padding: 0px !important;
}



#wpadminbar 
{
    display: none !important;
}
body
 {
    margin-top: 0 !important;
}



/*header*/

/* Sticky header */
#page {
    display: block !important;
}
/* Sticky Header */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #fff !important;
}

.ast-desktop-header,
.main-header-bar-wrap,
.main-header-bar {
    overflow: visible !important;
}

.site-above-header-wrap {
    background: #fff !important;
}



/* Animate only the HEADER builder rows */
#ast-desktop-header .ast-builder-grid-row,
#ast-desktop-header .custom-logo,
#ast-desktop-header .ast-header-contact-info {
  transition: transform 0.3s ease;
  transform-origin: top center;
}

body.scrolled #ast-desktop-header .ast-builder-grid-row,
body.scrolled #ast-desktop-header .custom-logo,
body.scrolled #ast-desktop-header .ast-header-contact-info {
  transform: scale(0.9);
}




/*submenu*/
.ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu, .ast-builder-menu-1 .main-header-menu > .menu-item > .astra-full-megamenu-wrapper 
{
    margin-top: 20px;
    font-weight: 500;
    font-family: raleway !important;
    font-size: 18px;
}

.wp-block-media-text__media img, .wp-block-media-text__media video 
{

    height: 25px;
    width: 25px;
}

/* Increase right column width */
.ast-builder-grid-row.ast-grid-center-col-layout
 {
  display: grid;
  grid-template-columns: 2fr 1fr 3fr !important; /* make right column wider */

}


.main-navigation ul
 {
font-weight:500; 
font-family:raleway !important;
    margin-top: 9px;
}

/*footer*/

.ast-builder-grid-row-5-equal .ast-builder-grid-row {
  grid-template-columns: 0.9fr 0.8fr 1.0fr 0.9fr 1.5fr !important;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row 
{
    grid-column-gap: 65px;
 }
    
 h2.widget-title {
    font-weight: 500;
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
margin-bottom:20px;
}

.footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element 
{
    color: var(--ast-global-color-4);
margin-bottom:15px;
}
	
.widget_nav_menu li 
{
 
    padding-bottom: 10px;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row 
{

    max-width: 85%;

}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner
 {
 
    margin-left: 40px;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner 
{
  margin-left: 40px;
font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
font-size: 18px !important;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-4"].footer-widget-area-inner 
{
      margin-left: 40px;
font-size:18px !important;
font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-inline .site-footer-section 
{
    display: flex;
    flex-direction: column;
}


.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner a 
{

  font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 18px !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner a 
{

    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
font-size: 18px !important;
}


/*family image hover*/

.family-img-container
 {
  position: relative;
  overflow: hidden;
 }

.family-img-hover 
{
  position: absolute;
  transform: translateY(10%); /* start slightly lower INSIDE */
  opacity: 0;
  transition: all 0.3s ease;
}

.family-img-container:hover .family-img-hover 
{
  transform: translateY(0);
  opacity: 1;

}

.family-img-hover 
{

 mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0),
 rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 1) 100%) !important;

}




/*FAQ*/

.faq-item 
{
  background:#1B898B;
  padding: 10px 0;
margin-bottom:10px;
}

.faq-question 
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color:#fff;
  transition: color 0.3s ease;
  font-size:20px;
  padding:10px 20px 0px 20px;
font-family:'raleway';
}

.faq-question:hover 
{
  color: #fff; /* Change to your site’s accent color */
}

.faq-toggle 
{
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-answer 
{
  display: none;
  padding-top: 8px;
  color: #fff;
  padding:20px 20px 0px 20px;
  font-size:17px;
font-family:'raleway';
}

.faq-item.active .faq-answer 
{
  display: block;
}

.faq-item.active .faq-toggle 
{
  transform: rotate(45deg);
}




/*media query for phone for footer*/


/* Stack Astra footer columns vertically on mobile */
@media (max-width: 768px)
 {
  .ast-builder-grid-row-5-equal .ast-builder-grid-row 
{
    display: grid !important; 
   grid-template-columns: 1fr !important;     
    row-gap: 20px;              
  }

.ast-builder-grid-row.ast-grid-center-col-layout 
{
    display: grid;
    grid-template-columns: 2fr 1fr 3fr !important;
}

.ast-builder-grid-row.ast-grid-center-col-layout 
{
    display: grid;
    grid-template-columns: 3fr 3fr 2fr !important;
}

  .site-above-footer-wrap[data-section="section-above-footer-builder"] 
{
  

    padding-left: 0px;
    padding-right: 0px;
    justify-content: center;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row
{
   
    grid-row-gap: 0px;
}

.ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-2"]
 {
    display: flex;
}

h2.widget-title
 {

    text-align: center;
font-size:26px !important;
font-weight:600;
margin-top:20px;
}

.widget ul
 {

    text-align: center;
}
.widget_block a

{

    font-size: 15px;
    

}

#block-39 {margin-left:30px;}

.site-header-section>*
 {
    padding: 0 0px;
}

.ast-header-break-point .ast-builder-menu-1 .menu-item.menu-item-has-children > .ast-menu-toggle 
{
    top: 0;
    color: #fff !important;
}

.widget-title 
{

    line-height: 2.0;
}

.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar
 {
    margin-bottom: 20px;
    margin-top: -35px;
    margin-right: 0px;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"]
 {
    height: 1000px;
padding-top: 100px;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner 
{
   margin-left: 0px;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner 
{
    margin-left: 0px;
   
}


.footer-widget-area[data-section="sidebar-widgets-footer-widget-4"].footer-widget-area-inner
 {
    margin-left: 0px;
 }

.ast-builder-html-element h3{
text-align:center !important;

}

.site-primary-footer-wrap
 {
    padding-top: 0px;

}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] 
{
    padding-top: 0px;
}

.overlay-content h2 
{
    font-size: 36px;
    margin-bottom: 10px;
    font-family: 'Pacifico', cursive !important;
    font-weight: 400;
    line-height: 40px;
    color: #fff;
}

.video-container video.bg-video 
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container 
{
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.overlay-content 
{

    top: 38%;
 
}


.site-above-footer-wrap[data-section="section-above-footer-builder"] 
{

    height: 1000px;
}

.ast-footer-copyright 
{

    padding: 30px 0px;
}


/*header*/

.ast-builder-grid-row.ast-grid-center-col-layout 
{
    display: grid;
    grid-template-columns: 3fr 1fr 1fr ;
    padding: 0px 20px;
}



.elementor-image-carousel 
{
    padding: 0 0%;
}



.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button 
{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size:9px;

 }

.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section
 {
    
    margin-bottom: 0px;
 }

} 
@media (min-width: 768px) and (max-width: 1024px)
{


.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button 
{
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 15px;
}

.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar 
{
    margin-top: 0px;
    margin-bottom: 30px;

}

.ast-builder-grid-row.ast-grid-center-col-layout 
{
    display: grid;
    grid-template-columns: 1.5fr 5fr 0.5fr !important;
 
}

.site-header-section>* 
{
    padding: 15px 10px;
}

.ast-builder-grid-row-container-inner
{
line-height:2.2;
}


.ast-builder-grid-row-container-inner 
{
    line-height: 1.5;
}

.ast-footer-copyright {
    padding: 30px 0px;
}

}


@media(min-width:1025px)
{


.ast-builder-grid-row.ast-grid-center-col-layout 
{
    display: grid;
    grid-template-columns: 2fr 1fr 3fr;
 
}

.ast-builder-html-element a
{

font-size:1.125rem !important;

}

}

/*form
.wpcf7 input.wpcf7-form-control:not([type=submit]), .wpcf7 textarea.wpcf7-form-control
{

    border: 2px solid #000;
    border-radius: 0;
}
*/
.wpcf7-form-control-wrap
{
    border: 2px solid #000;
    border-radius: 0;
}

.wpcf7 textarea.no-shadow 

{
  box-shadow: none;
}

input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], textarea 
{

    border: 0px;
    box-shadow:none;
}



.wpcf7 .my-submit 

{
  display: block;           
  margin: 20px auto 0;      
  background-color:#1B898B;
  color: #fff;              
  padding: 14px 32px;       
  border: none;             
  border-radius:8px;  
  cursor: pointer;
  font-size: 16px;
  font-family:Raleway;
}

.wpcf7 .my-submit:hover 

{
  background-color: #D89B37;
}
