/*
 Theme Name:   Woopy Child Theme
 Theme URI:    https://woopy.ancorathemes.com/
 Description:  Woopy Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com
 Template:     woopy
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  woopy
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */


.elementor-322 .elementor-element.elementor-element-b16f155 .elementskit-navbar-nav > li:hover > a {
    color: #FFFFFF ;
}
#woopy-newsletter-response{
  color: white;
}
#woopy-form-response{
  color: black;
}
.woopy-newsletter-form input:-webkit-autofill {
    -webkit-text-fill-color: white !important;
    transition: background-color 9999s ease-out 0s;
}
@media(min-width: 768px){
	.footer-bottom-menu .sc_layouts_menu .menu-item{
		display: flex;
		justify-content: end;
	}
	.footer-bottom-menu .sc_layouts_menu .menu-item a{
		width: max-content;
	}
}

.woopy-newsletter-form input:-moz-autofill {
    color: white !important;
}

.hamburger-nav .elementskit-submenu-panel > li.current-menu-item:hover a{
    background-color: #ffffff;
    color: #0047BB ;
}
.hamburger-nav .elementskit-menu-hamburger{
  width: 32px;
  height: 32px;
}

.hamburger-nav .elementskit-menu-hamburger svg{
  width: 32px;
  height: 32px;
}
.ekit-template-content-markup.ekit-template-content-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: white;
  transition: background-color 0.3s ease;
  z-index: 50;
}
.ekit-template-content-markup.ekit-template-content-header.scrolled {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(20px);
}

.trx_addons_scroll_to_top{
  display: none !important;
}
.footer-bottom-menu ul{
  gap: 16px;
  display: flex !important;
  flex-direction: column;
}
.footer-bottom-menu li a{
  margin: 0 !important;
  padding: 0 !important;
}
.footer-bottom-menu li span{
  border-radius: 8px 0px;
  background: var(--secondary-brand-3, #E6E7E8);
  backdrop-filter: blur(2px);
  padding: 4px 10px;
  color: var(--primary-brand-1, #0047BB);
  /* Body/Smalls/400 */
  font-family: "onset", Sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}
.footer-bottom-menu li:hover span{
  background: linear-gradient(90deg, #F70 0%, #FF0700 100%), #FFF;
  color: white;
}

.scroll-button-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.elementskit-nav-identity-panel .elementskit-menu-close.elementskit-menu-toggler{
  font-size: 0 !important;
  width: 20px;
  height: 20px;
}
.scroll-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.scroll-circle {
  width: 40px;
  height: 40px;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media(min-width: 1024px){
  .hamburger-nav .elementskit-navbar-nav .menu-item ul{
    width: max-content;
  }


}
.scroll-arrow {
  animation: moveDownUp 1s linear infinite;
}

@keyframes moveDownUp {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  30% {
    transform: translateY(0px);
    opacity: 1;
  }
  70% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

.scroll-arrow svg {
  width: 24px;
  height: 40px;
}

.scroll-text {
  margin-top: 6px;
  color: var(--White, #FFF);
  /* Subheading/03 */
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: -0.192px;
}





.newsletter-form {
  display: flex;
  align-items: center;
  background-color: #0047ba; /* Blue background */
  padding: 10px 15px;
  max-width: 400px;
  border-radius: 4px;
  position: relative;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="submit"] {
  background: none;
  border: none;
  color: orange;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  padding-left: 15px;
  transition: color 0.3s;
}

.newsletter-form input[type="submit"]:hover {
  color: #ffcc00;
}





/* GRID */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 40px;
}

.center-last-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  max-width: 966px;
  margin: 0 auto;
  column-gap: 24px;
  margin-top: 40px;
}


.home-services-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* SERVICE CARD */
.home-services-wrapper .home-service-card {
  background-color: #E6E7E8;
  overflow: hidden;
  border-radius: 32px 0 32px 0;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px; /* to keep size consistent */
}

/* IMAGE */
.home-services-wrapper .home-service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.home-services-wrapper .home-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.home-services-wrapper .home-service-card:hover .home-service-image img {
  transform: scale(1.1); /* You can adjust the zoom level */
}
/* VIDEO AS IMAGE STYLE */
.home-services-wrapper .home-service-video-bg video {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover;
  border-radius: 0px;
  display: block;
  pointer-events: none; /* Prevent controls via right-click etc */
}

/* Remove mediaelement controls if JS injects them */
.home-services-wrapper .home-service-video-bg .mejs-controls {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
}

/* Ensure the container behaves like the image container */
.home-services-wrapper .home-service-video-bg {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 0px;
}

/* Optional: On hover zoom effect similar to image */
.home-services-wrapper .home-service-card:hover .home-service-video-bg video {
  transform: scale(1.1);
  transition: transform 0.4s ease;
}

/* CONTENT */
.home-services-wrapper .home-service-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

/* TITLE */
.home-services-wrapper .home-service-title {
  color: var(--primary-brand-1, #0047BB);
  margin: 0;
  font-family: "onset", Sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.24px;
}

/* DESCRIPTION */
.home-services-wrapper .home-service-description {
  color: var(--Black, #000);
  margin: 0;
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.home-services-wrapper .learn-more-button{
  display: none;
}
.main-navbar .elementor-322{
  display: none;
}

/* RESPONSIVE - TABLET AND BELOW */
@media (max-width: 1024px) {
    .ekit-template-content-markup.ekit-template-content-header{
    position: relative;
  } 
    #ekit-megamenu-header_menu{
      height: 100vh !important;
  }
  .main-navbar .elementor-322{
  display: block;
}
  .home-services-wrapper .home-services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet/mobile */
    column-gap: 8px;
    row-gap: 16px;
    justify-content: center;
  }
  .home-services-wrapper .center-last-three {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet/mobile */
    column-gap: 8px;
    row-gap: 16px;
    margin-top: 16px;
    justify-content: center;
  }
  .home-services-wrapper .center-last-three .home-service-card:last-child{
    grid-column: span 2;
    height: 120px !important;
  }
  .service-page .home-services-wrapper .center-last-three .home-service-card:last-child{
    grid-column: span 2;
    height: 115px !important;
  }
  .service-page  .home-services-wrapper .home-service-card {
    max-width: 100%;
    border-radius: 0px 0px 32px 0px;
    height: 115px;
    gap: 8px;
  }
  .home-services-wrapper .home-service-card {
    max-width: 100%;
    border-radius: 0px 0px 32px 0px;
    height: 220px;
    gap: 8px;
  }
  .home-services-wrapper .home-service-title{
    color: var(--primary-brand-1, #0047BB);
    /* Subheading/04 */
    font-family: "onset", Sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.168px;
  }
  .service-page .home-services-wrapper .home-service-description{
    display: none;
  }
  .home-services-wrapper .home-service-description{
    color: var(--Black, #000);
    /* Body/Smalls/400 */
    font-family: "onset", Sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
  }
  .home-services-wrapper .home-service-image {
    display: none;
  }
  .home-services-wrapper .home-service-video-bg {
    display: none;
  }
  .service-page .home-services-wrapper .learn-more-button{
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--Black, #000);
    /* Button/02 */
    font-family: "onset", Sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 35px; /* 250% */
    text-transform: capitalize;
  }
  .home-services-wrapper .home-service-content{
    height: 100%;
  }
}

/* VERY SMALL DEVICES (optional if you want single column on very small screens) */
@media (max-width: 400px) {
  .home-services-wrapper .home-services-grid {
    grid-template-columns: 1fr; /* 1 column on very small phones */
  }
  .home-services-wrapper .center-last-three {
    grid-template-columns: 1fr; /* 1 column on very small phones */
  }
  .home-services-wrapper .center-last-three .home-service-card:last-child{
    grid-column: span 1;
    height: 120px !important;
  }
  .service-page .home-services-wrapper .center-last-three .home-service-card:last-child{
    grid-column: span 1;
    height: 115px !important;
  }
}
/* Popup Base */
.service-popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.service-popup-overlay.visible {
  display: flex;
}

.service-popup-content {
    background: white;
    max-width: 345px;
    width: 100%;
    border-radius: 32px 0px 32px 0px;
    position: relative;
    animation: popupFadeIn 0.3s ease-in-out;
}

.service-popup-content .popup-content {
  gap: 8px;
  padding: 16px 16px 40px 16px;
  display: flex;
  flex-direction: column;
}
.service-popup-content h3 {
color: var(--primary-brand-1, #0047BB);
/* Subheading/04 */
font-family: "onset", Sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 20px; /* 142.857% */
letter-spacing: -0.168px;
margin: 0;
}

.service-popup-content p {
color: var(--Black, #000);
/* Body/Smalls/400 */
font-family: "onset", Sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
margin: 0;
}

.service-popup-content img,
.service-popup-content video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 32px 0px 0px 0px;
  margin: 0;
}

.close-popup {
  position: absolute;
  top: 4px;
  right: 4px;
  cursor: pointer;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


  

  .onlypdfdownloadbtn .elementor-button-icon{
    display: flex;
  }
  .onlypdfdownloadbtn .elementor-button-text {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .onlypdfdownloadbtn .elementor-button-text:hover {
    animation: moveUpDown 0.5s ease-in-out forwards;
  }
  @keyframes moveUpDown {
    0%,
    100% {
      transform: translateY(0);
      opacity: 1;
    }
    50% {
      transform: translateY(-20px);
      opacity: 0;
    }
    75% {
      transform: translateY(20px);
      opacity: 0;
    }
  }  

.team-our-bg{
  background: linear-gradient(101deg, #0047BB 48.47%, #032967 100%), #0047BB;
}



.woopy-news-grid-wrapper .woopy-news-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.woopy-news-grid-wrapper .woopy-news-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.woopy-news-grid-wrapper .woopy-news-image {
  overflow: hidden;
  border-radius: 16px 0px;
  width: 300px;
  height: 300px;
  flex-shrink: 0; /* optional: to prevent squashing in flex layouts */
}

.woopy-news-grid-wrapper .woopy-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.woopy-news-item:hover .woopy-news-image img {
  transform: scale(1.1);
}


.woopy-news-grid-wrapper .woopy-news-content {
  display: flex;
  height: 100%;
  justify-content: center;
  flex-direction: column;
}

.woopy-news-grid-wrapper .woopy-news-post-title {
  color: #000;
  font-family: "onset", Sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; /* 133.333% */
  letter-spacing: -0.288px;
  margin-bottom: 16px;
}

.woopy-news-grid-wrapper .woopy-news-meta {
  font-size: 14px;
  margin-bottom: 8px;
  color: #6b7280;
}

.woopy-news-grid-wrapper .woopy-news-category {
  color: var(--primary-brand-1, #0047BB);
  /* Subheading/04 */
  font-family: "onset", Sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: -0.168px;
}

.woopy-news-grid-wrapper .woopy-news-date {
  color: #000;
  font-family: "onset", Sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}

.woopy-news-grid-wrapper .woopy-news-excerpt {
  color: #000;

  /* Body/Medium/400 */
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}
@media (max-width: 1024px) {
  .woopy-news-grid-wrapper .woopy-news-image {
    width: 100%;
    max-width: 100% !important;
  }
  .woopy-news-grid-wrapper .woopy-news-grid {
    grid-template-columns: repeat(1,1fr);
  }
  .woopy-news-item:nth-child(4) {
    display: none;
  }
  .woopy-news-grid-wrapper .woopy-news-item {
    flex-direction: column;
    margin: auto;
  }
  .woopy-news-grid-wrapper .woopy-news-post-title {
    color: #000;
    font-family: "onset", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 140% */
    letter-spacing: -0.24px;
  }
}



.woopy-contact-form .woopy-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.woopy-contact-form .woopy-form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.woopy-contact-form .woopy-form-group-full {
  margin-top: 76px;
  flex: 1 1 100%;
}

/* Removed label styling */

.woopy-contact-form .woopy-form-group input,
.woopy-contact-form .woopy-form-group textarea {
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 0 !important;
  padding: 10px 0px;
  font-size: 16px;
  background: transparent !important;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
  color: #000000 !important; /* Soft gray color */
}

.woopy-contact-form .woopy-form-group input::placeholder,
.woopy-contact-form .woopy-form-group textarea::placeholder {
  color: #000000; /* Soft gray color */
  font-family: "onset", sans-serif; /* Same font as your form */
  font-size: 14px; /* Smaller than input text */
  font-weight: 400;
  opacity: 1; /* Full opacity */
}

.woopy-contact-form .woopy-form-submit {
  margin-top: 40px;
}

.woopy-contact-form .woopy-form-submit button {
  width: 100%;
  border-radius: 8px 0px;
  padding: 0 !important;
  background: linear-gradient(90deg, #F70 0%, #FF0700 100%), #FFF;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.woopy-contact-form .woopy-form-submit button span{
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
  color: var(--White, #FFF);
  font-family:  "onset", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 35px; /* 250% */
  text-transform: uppercase;
}

.woopy-contact-form .woopy-form-submit button:hover span{
    animation: moveUpDown 0.5s ease-in-out forwards;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .woopy-contact-form .woopy-form-row {
    flex-direction: column;
  }

  .woopy-contact-form .woopy-form-group {
    flex: 1 1 100%;
  }

}




/* Grid */
.team-grid-wrapper .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  row-gap: 24px;
}

/* Team Card */
.team-grid-wrapper .team-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 421.33px;
}
.team-grid-wrapper .team-grid .team-card:first-child{
  border-radius: 20px 0 0 0;
}
.team-grid-wrapper .team-grid .team-card:nth-child(5) {
  border-radius: 0 20px 0 0;
}

/* Team Card Image */
/* Ensure image container hides overflow */
.team-grid-wrapper .team-card-image {
  overflow: hidden;
  height: 300px;
  border-radius: 0; /* Optional: match your card corners */
}

/* Image zoom on hover */
.team-grid-wrapper .team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

/* Zoom effect on card hover */
.team-grid-wrapper .team-card:hover .team-card-image img {
  transform: scale(1.1);
}


/* Card Info */
.team-grid-wrapper .team-card-info {
  padding-top: 24px;
}

.team-grid-wrapper .team-card-name {
  color: #fff;
  padding: 4px 10px;
  margin: 0;
  border-radius: 8px 0px;
  width: max-content;
  background: var(--White, #FFF);
  backdrop-filter: blur(2px);
  font-family: "onset", Sans-serif;
  color: var(--Black, #000);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: -0.192px;
}

.team-grid-wrapper .team-card-position {
  color: #c8d4f0;
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 16px;
}

/* View Profile Button */
.team-grid-wrapper .team-card-button {
  background: none;
  border: none;
  color: var(--White, #FFF);
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 250% */
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.team-grid-wrapper .team-card-button svg {
  width: 24px;
  height: 24px;
}

.team-grid-wrapper .team-card-button:hover {
  color: #ffa94d;
  background: transparent !important;
}

/* Popup Background */
.team-grid-wrapper .team-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

/* Popup */
.team-grid-wrapper .team-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 48px 0px;
  width: 90%;
  max-width: 920px;
  z-index: 9999;
  overflow: hidden;
}

.team-grid-wrapper .team-popup-content {
  position: relative;
}
.team-grid-wrapper .team-popup-content .popup-content{
  padding: 32px 64px 48px 64px;
}

@media(max-width: 768px){
  .team-grid-wrapper .team-grid .team-card .team-card-image{
    display: none;
  }
  .team-grid-wrapper .team-popup-content .popup-content{
    padding: 32px 32px 48px;
    text-align: start;
    max-height: max-content; /* Adjust height as needed */
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }
  .team-grid-wrapper .team-popup-image img{
    width: 100% !important;
    height: 200px !important;
    object-position: center;
  }
  .team-grid-wrapper .team-popup{
    overflow: auto;
    height: max-content;
    max-height: 90%;
  }

  .team-grid-wrapper .team-popup-overlay {
    overflow: auto;
  }

}

.team-grid-wrapper .team-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: #000;
  cursor: pointer;
}

/* Popup Image */
.team-grid-wrapper .team-popup-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Popup Name */
.team-grid-wrapper .team-popup-name {
  color: var(--primary-brand-1, #0047BB);
  text-align: center;
  /* Subheading/01 */
  font-family: "onset", Sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; /* 133.333% */
  letter-spacing: -0.288px;
  margin: 0px;
}

/* Popup Position */
.team-grid-wrapper .team-popup-position {
  color: var(--Black, #000);
  text-align: center;
  /* Body/Medium/400 */
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  margin-bottom: 40px;
}

.team-grid-wrapper .team-popup-bio {
  color: var(--Black, #000);
  font-family: "onset", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hamburger-nav .elementskit-menu-close{
    margin: 60px 15px 0px 0px !important;
  }
}
@media (min-width: 1024px) {
  .hamburger-nav .elementskit-navbar-nav > li:last-of-type {
    display: none !important;
  }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .team-grid-wrapper .team-grid {
    grid-template-columns: repeat(2, 1fr);
    
  }
  
}

@media (max-width: 575px) {
  .team-grid-wrapper .team-grid {
    grid-template-columns: 1fr;
  }
}



/* Newsletter Form */
.woopy-newsletter-form {
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
}

.woopy-newsletter-row {
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.50) !important; /* Adjust background color as per your design */
  padding: 10px 0px !important;
  border-radius: 0px !important;
  position: relative !important;
}

.woopy-newsletter-row input[type="email"] {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 16px !important;
  width: 250px !important;
  padding: 0px !important;
  outline: none !important;
}

.woopy-newsletter-row input::placeholder {
  color: rgba(255, 255, 255, 0.50) !important;
  
  /* Body/Smalls/400 */
  font-family: "onset", Sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important; /* 142.857% */
}

.woopy-newsletter-row button {
  background: none !important;
  padding: 0px !important;
  border: none !important;
  color: var(--secondary-brand-1, #F70) !important;
  /* Subheading/04 */
  font-family: "onset", Sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 20px !important; /* 142.857% */
  letter-spacing: -0.168px !important;
  cursor: pointer !important;
  transition: color 0.3s !important;
}



.woopy-newsletter-row #woopy-newsletter-response {
  margin-top: 10px !important;
  text-align: center !important;
}

.woopy-newsletter-row .woopy-form-success {
  color: #28a745 !important;
}

.woopy-newsletter-row .woopy-form-error {
  color: #dc3545 !important;
}

@media (max-width: 1024px) {
  .woopy-newsletter-form {
    max-width: 100%;
  }
  .woopy-newsletter-row input[type="email"] {
    width: 100% !important;
  }
}

/*About us*/
.team-our-bg-about .team-grid-wrapper .team-card-name{
  background: rgba(0, 71, 187, 1);
  color: #ffffff;
}
.team-our-bg-about .team-grid-wrapper .team-card-position{
  color: black;
}
.team-our-bg-about .team-grid-wrapper .team-card-button{
  color: black;
}
.team-our-bg-about .team-grid-wrapper .team-card-button:hover {
    color: #ffa94d;
    background: transparent !important;
}
.team-our-bg-about .team-grid-wrapper .team-grid .team-card:hover .team-card-button{
    color: #ffa94d;
    background: transparent !important;
}
.elementor-widget-image a img[src$=".svg"]{
  width: auto !important;
}

.icon-box-title .elementor-icon-box-title{
      width: 175px;
}





.custom-post-grid-wrapper .custom-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.custom-post-grid-wrapper .custom-card {
  border-radius: 32px 0px 32px 0px !important;
  overflow: hidden !important;
  background: #fff !important;
  overflow: hidden;
}

.custom-post-grid-wrapper .custom-thumb img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 32px 0px 0px 0px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease;
}

.custom-post-grid-wrapper .custom-card:hover .custom-title {
  color: #0047BB !important; 
}
.custom-post-grid-wrapper .custom-thumb{
  overflow: hidden;
  height: 200px;
}
.custom-post-grid-wrapper .custom-card:hover .custom-thumb img {
  transform: scale(1.2);
}

.custom-post-grid-wrapper .custom-content {
  background: #E6E7E8 !important;
  display: flex !important;
  padding: 16px !important;
  gap: 16px !important;
  flex-direction: column !important;
  height: 183px !important;
  border-radius: 0px 0px 32px 0px !important;
}

.custom-post-grid-wrapper .custom-meta .custom-category,
.custom-post-grid-wrapper .custom-meta .custom-date {
  color: var(--primary-brand-1, #0047BB) !important;
  font-family: "onset", Sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

.custom-post-grid-wrapper .custom-title {
  color: #000 !important;
  font-family: "onset", Sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  letter-spacing: -0.192px !important;
  margin: 0 !important;
}

.custom-post-grid-wrapper .custom-excerpt {
  color: #000 !important;
  font-family: "onset", Sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

.custom-post-grid-wrapper .custom-pagination {
  margin-top: 40px !important;
  display: flex !important;
  justify-content: center !important;
}

.custom-post-grid-wrapper .pagination-nav {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.custom-post-grid-wrapper .page-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: 0.2s ease-in-out !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--primary-brand-1, #0047BB) !important;
  font-family: "onset", Sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 40px !important;
}

.custom-post-grid-wrapper .page-btn:hover,
.custom-post-grid-wrapper .page-btn.active {
  text-decoration-line: underline !important;
  text-underline-offset: auto !important;
  text-decoration-style: solid !important;
  background-color: transparent !important;
  background: transparent !important;
  text-decoration-thickness: auto !important;
  text-transform: capitalize !important;
}

.custom-post-grid-wrapper .page-btn .arrow {
  display: flex !important;
  justify-content:  center !important;
  padding: 0 24px !important;
  align-items: center !important;
  border-radius: 8px 0px !important;
  border: 1px solid var(--primary-brand-1, #0047BB) !important;
  backdrop-filter: blur(2px) !important;
  fill: currentColor !important;
}
.custom-post-grid-wrapper .page-btn svg {
  width: 24px !important;
  height: 24px !important;
}

/* Responsive grid fallback */
@media screen and (max-width: 768px) {
  .custom-post-grid-wrapper .custom-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 500px) {
  .custom-post-grid-wrapper .custom-grid {
    grid-template-columns: 1fr !important;
  }
}

/* mobile sldier services  */
/* Outer Wrapper */
.mobileslider_wrapper {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Track */
.mobileslider_track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
		padding-left: 16px;
    	padding-right: 32px;
	box-sizing: border-box;
}

/* Slide */
.mobileslider_slide {
    flex: 0 0 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 32px 0 0 32px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    scroll-snap-align: center;
}
@media(min-width: 768px){
	.mobileslider_slide {
		flex: 0 0 40%;
    	max-width: 40%;
	}
	.mobileslider_track {	
		padding-left: 16px;
    	padding-right: 32px;
	}
}
/* Media Section */
.mobileslider_media {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.mobileslider_media img,
.mobileslider_media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* disable clicks/taps */
}

/* Text Content */
.mobileslider_content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #E6E7E8;
}

.mobileslider_content h3 {
    font-size: 20px;
    font-weight: 500;
    font-family: "onset", Sans-serif;
    color: #0047BB;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 28px;
    letter-spacing: -1.2%;
}

.mobileslider_content p {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    font-family: "onset", Sans-serif;
    line-height: 24px;
    margin: 0;
}

/* Progress Bar */
.mobileslider_progress_wrapper {
    height: 4px;
    background: #eee;
    border-radius: 4px;
    margin: 18px 16px 32px;
    overflow: hidden;
}

.mobileslider_progress_bar {
    height: 100%;
    background-color: #0047BB;
    width: 0;
    transition: width 0.3s ease;
}
/* Hide all MediaElement.js UI */
.mobileslider_media .mejs-controls,
.mobileslider_media .mejs-overlay,
.mobileslider_media .mejs-button,
.mobileslider_media .mejs-time,
.mobileslider_media .mejs-time-rail,
.mobileslider_media .mejs-duration-container {
    display: none !important;
}

/* Force video to fill container */
.mobileslider_media .mejs-container,
.mobileslider_media .mejs-mediaelement,
.mobileslider_media video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Prevent clicks or taps from pausing video */
.mobileslider_media video {
    pointer-events: none !important;
}