/*
 Theme Name: Astra Child
 Description: Child theme for Astra
 Template: astra
 Version: 1.0.0
*/

body {
  background: #e2f2fc;
}

.hovercard {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.topheader img { width:80px; }
.hovercard:hover {
  filter: grayscale(0%);
}
.hover-overlay {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;
}

.hovercard:hover .hover-overlay {
  opacity: 1;
  transform: translateY(0);
}
.cal-header {
        color: #c3c2c2;
}
#ast-scroll-top { display:none; }
.btnai a { padding: 15px 50px 15px 50px !important; }
.biobtn a { padding: 10px 30px !important;
    font-size: 0.8vw !important;
    background: transparent !important;
    border: 1px solid #000 !important; }
.bioposition p { color: #000;
    font-size: 1vw; }
.bioname p {     font-weight: 600;
    color: #000; }
    
#menu-primary li > a { color:#000; }
body.home #menu-primary li > a { font-weight:600; }

.servcont { font-size:0.8vw; }

.convai-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    
    height: 150px;
}

/* Make video section relative */

.voiceagent .elementor-widget-html1 {
    position: absolute;
    top: 50%;
    left: 50%;
}
.voiceagent .elementor-widget-html {
    top: 10px;
}

/*.page-id-880 .topheader .topmenu { display:none; }*/
.page-id-880 .ekit-template-content-footer { display:none; } 
.page-id-880 #content { 
    background: #0a193c; }
#colophon { display:none; }

#menu-footer-menu1 li { line-height:50px; width:100%; }
#menu-footer-menu-2 li { line-height:50px; width:100%; }

.footermenu ul { list-style:none; }
.footermenu ul li a {  color: #000;
    font-size: 15px;
    line-height: 50px}
.footermenu ul li a:hover { color:#000;; }

.team-bio {
  display: none;
}
.team-bio.active {
  display: block;
}
/* Backdrop */
.team-bio-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

.team-bio-backdrop.active {
  opacity: 1;
  visibility: visible;
}
/* Modal container – NO SCROLL */
.team-bio-modal {
    position: fixed;
    left: 50%;
    width: 90%;
    max-height: 85%;
    height: 550px;

    overflow: hidden; /* IMPORTANT */

    opacity: 0;
    border-radius: 10px;

    transform: translate(-50%, 100%);
    transition: transform 0.45s ease, opacity 0.45s ease;

    z-index: 9999;
    pointer-events: none;
}

/* Inner content area – SCROLLS */
.team-bio-modal .e-grid {
    height: 100%;
    overflow-y: auto;

}

/* Chrome / Edge / Safari */
.team-bio-modal .e-grid::-webkit-scrollbar {
    width: 6px;
}

.team-bio-modal .e-grid::-webkit-scrollbar-track {
    background: transparent;
}

.team-bio-modal .e-grid::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.25);
    border-radius: 10px;
}

.team-bio-modal .e-grid::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.4);
}

.biolinkedin a img {
  position: absolute;
    top: 13px;
    right: 0 !important;
}
.biolinkedin a {
  position: absolute;
  position: absolute;
  z-index: 999;
  width: 35px;
  right: 0;
}
.meeting-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.meeting-modal.active {
  display: block;
}

.meeting-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.meeting-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 80vh;
  margin: 5vh auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.meeting-content iframe {
  width: 100%;
  height: 100%;
}

.meeting-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.team-bio-modal.active {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

/* Optional: slower close */
.team-bio-modal:not(.active) {
transition: transform 0.7s ease, opacity 0.7s ease;
}

.team-bio-header { height:100px; padding-top:50px; }

.team-bio-modal .e-con-inner { max-width:90%; }

/* Actual popup box (visual container) */
.team-bio-modal > .elementor-container {
  width: 90%;
  background: #eaf4fb;
  border-radius: 14px;
  overflow-y: auto;

  height: auto;
  max-height: 85vh;

  position: relative;
}

/* Close button */
.bio-close {
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 10;
}

.team-bio-modal:not(.active) {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.herobutton a { padding: 15px 30px !important; }
.ekit-template-content-header { position:sticky; top:0; z-index:999; }

/* Contact Modal */
/* Modal Base */
.cb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow-y: auto; /* ✅ enable vertical scroll */
-webkit-overflow-scrolling: touch; /* ✅ smooth iOS scroll */
}

.cb-modal.active {
  display: block;
}

.cb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* Modal Box */
.cb-modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  margin: 5vh auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  animation: slideUp 0.35s ease;
}

/* Close */
.cb-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Grid */
.cb-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}

/* Left */
.cb-left {
  background: #eaf6ff;
  padding: 40px;
}

/* Right */
.cb-right {
  background: linear-gradient(180deg, #0c1b3a, #1c2f55);
  color: #fff;
  padding: 40px;
  text-align: center;
}

/* Calendar */
.cb-calendar {
  background: #fff;
  color: #000;
  border-radius: 14px;
  padding: 20px;
}

.cb-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.cb-cal-grid span {
  padding: 6px;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
}
.cb-cal-header button {
  background: transparent;
    font-size: 30px;
    padding: 10px;
}

.cb-right h3 {
  color: #FFF;
    text-align: left;
    font-size: 24px;
    margin-top: 20px;
}
.cb-right p {
  font-size: 14px;
  text-align: left;
  }

/* CTA */
.cb-book {
  margin-top: 13px;
  padding: 20px;
  background: #fff;
  color: #0c1b3a;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

#contactBookingModal input {
  background: transparent;
    border: 1px solid #aeaaaa;
    margin-top: 20px;
}
#contactBookingModal textarea {
  background: transparent;
    border: 1px solid #aeaaaa;
    margin-top: 20px;
    height: 100px;
}
#contactBookingModal input[type="submit"] {
  background: #203354;
    color: #FFF;
    margin-top: 0;
    width: 100%;
}
.cb-close { display:none; }
#contactBookingModal h2 {
  font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
}
  .hidedesktop { display:none; }
/* .teamimg { height : 300px; } */
/* .teamimg img { height:100%; width:auto; } */

/* Animation */
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 1920px) {
    .team-bio-modal .elementor-widget-image img { width:100%; }
    .team-bio-modal {
        height: 600px;
    }
}
/* Responsive */
@media (max-width: 768px) {
  .cb-modal-grid {
    grid-template-columns: 1fr;
  }
  .cb-left {
    padding: 30px 15px;
  }
	.mmb0 p { margin-bottom:0; }
  #contactBookingModal h2 {
    font-size: 20px;
    margin-bottom: 0;
  }
  .hidedesktop { display:block; }
/*  .cb-calendar { display:none; }*/
  .cb-right { padding:30px 15px; }
  .wpcf7 form>div, .wpcf7 form>p { margin-bottom:0; }
  .team-bio-modal.active { display:flex; flex-direction:row;     height: 100%;
    max-height: 95%; } 
}
/* End contact modal */
@media (max-width: 767px) {
  .headergrid {
    display: flex;
  }
  
#ekit-megamenu-primary { background: #E2F2FC; }
  .ehc-controls {
  position: absolute;
  bottom: 115px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 10px;
}
.ehc-prev {
  padding: 15px;
}
.ehc-arrow {
  width: 6px;
  height: 6px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background-color: transparent;
  background-size: 16px;
}
.ehc-next {
  padding: 10px;
  margin-right: 10px;
  }
  .ehc-counter {
  color: #fff;
  font-size: 4vw;
}
.ehc-hero-carousel {
  height: 310px;
}
.ehc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), #000000);
  color: #fff;
  border-radius: 0 0 10px 10px;
  height: 160px;
}
.ehc-overlay h2 {
  font-size: 3.3vw;
  margin-bottom: 10px;
  color: #FFF;
}
.herobutton a {
  background: #0A193C;
  color: #FFF;
  border-radius: 20px !important;
  font-size: 3vw;
  padding: 20px 30px;
}
.hidemobile { display:none; }
.minheightauto { min-height:auto; }
.esc-card img {
  margin-top: 20px;
  width: 50px;
}
.esc-card h4 {
  color: #FFF;
  margin-top: 10px;
  font-size: 4vw;
}
.esc-card {
  padding: 24px 20px 14px 24px;
}
.esc-card p {
  font-size: 3.5vw;
    margin-bottom: 0;
}

.esc-arrow {
  width: 36px;
  height: 36px;
  padding:10px;
  background-size: 26px;
}
.headings21 h3 {
  margin-bottom: 0;
  font-size: 5vw;
}
.footermenu ul {
  margin:0;
}
.footermenu ul li a {
  color: #000;
  font-size: 3vw;
  line-height: 3vw;
  font-weight:600;
}
.bioposition p { font-size:5vw; } 
.followusmob p { font-size:3vw; font-weight:600; }
.biobtn a { font-size:4vw !important; }
.team-bio-modal .elementor-icon { font-size:24px; }
.team-bio-header {
  height: 50px;
   padding-top:50px;
}
.biolinkedin img { right:0; }
.team-bio-modal { top:10px; 
  overflow: scroll;
  padding: 0 0 30px 0; }
.team-bio-modal > .e-grid { height:85vh; overflow:scroll; }
.team-bio-modal > .e-con-inner { max-width:100%; }
.team-bio-modal p { font-size:4vw; }
.biolinkedin a img {
    right:0;
}
}