/* 
Theme Name: Skyrise
Theme URI: https://www.skyrise.engineering/
Description: skyrise is a child theme of Hello Elementor, created by Nexiby LLC
Author: Nexiby LLC
Author URI: https://www.nexiby.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: skyrise
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@media (min-width: 700px) {
	
	/* First-level menu links only */
.sky-nav-menu .elementor-nav-menu > li > a.elementor-item {
    position: relative;
}

.sky-nav-menu .elementor-nav-menu > li > a.elementor-item::after {
    content: "";
    position: absolute;
    left: 10px; 
    bottom: -6px;
    height: 1px;
    width: 0;
    background-color: #E02020;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.sky-nav-menu .elementor-nav-menu > li > a.elementor-item:hover::after
/*, .sky-nav-menu .elementor-nav-menu > li.current-menu-item > a.elementor-item::after */
   { width: calc(100% - 20px);
    opacity: 1;
}

	
	
}

.sky-button svg path {
    fill: transparent;
    color: transparent;
}

.sky-button:hover svg path{stroke:#E02020;}

.sky-button a.elementor-button {
    position: relative;
}
.sky-button a.elementor-button:after {
    content:'';
    width:0;
    height:1px;
    background-color:#E02020;
    display:block;
    position:absolute;
    left:10px;
    bottom:-5px;
       transition: width 0.3s ease, opacity 0.3s ease;
    transform: none;
}
.sky-button:hover a.elementor-button:after {
     width: calc(100% - 20px);
}


/* Marquee wrapper */
.sky-marquee{
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

/* Moving track */
.sky-marquee__track{
  display: flex;
  width: max-content;
  will-change: transform;
  animation: sky-marquee-move 18s linear infinite;
}

/* Each set of items */
.sky-marquee__content{
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding: 12px 0;
}

/* Item styling (Figma accurate) */
.sky-item{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.sky-red{ color: #E02020; }
.sky-dark{ color: #111111; }

/* Infinite smooth motion */
@keyframes sky-marquee-move{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover (optional) */
.sky-marquee:hover .sky-marquee__track{
  animation-play-state: paused;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .sky-marquee__track{ animation: none; }
}


.sky-about-icon .elementor-icon {
    border-color:#B3191940 !important;
}
.sky-about-icon:hover .elementor-icon svg path {
	fill:white;	
	transition: all ease-in 0.3s;
}
.sky-about-icon .elementor-widget-container {
    position: relative;
	transition:all ease-in-out 0.3s;
}
.sky-about-icon .elementor-widget-container:before {
    content:'';
    display:block;
    width:5px;
    height:100%;
    position:absolute;
    left:0px;
    top:0;
    bottom:0;
    background-color:#E02020;
    visibility:hidden;
    opacity:0;
     transition:all ease-in-out 0.3s;
}
.sky-about-icon:hover .elementor-widget-container:before {
    visibility:visible;
    opacity:1;
    transition:all ease-in 0.3s;	
}
.sky-about-icon:hover  .elementor-widget-container  {
	box-shadow: 0px 0px 50px -20px #e0202036;
	transition:all ease-in 0.3s;
}


/*-----------------------------
 * Our Services
 * ----------------------------*/
.sky-service-card{
  position: relative;
  border: none !important;
transition: box-shadow 0.35s ease;
}

/* Bottom full-width border */
.sky-service-card::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #E020201A;
}

/* Left & Right partial borders (80–90% height) */
.sky-service-card::before{
    content: "";
    position: absolute;
    top: unset;
    height: 84%;
    left: 0;
    right: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, #E020201A, #E020201A) left center / 1px 100% no-repeat, linear-gradient(to bottom, #E020201A, #E020201A) right center / 1px 100% no-repeat;
    bottom: 0;
	transition: all 0.35s ease;
}

/* Figma-style: left + bottom shadow */
.sky-service-card:hover{
  box-shadow:
-43px 36px 45px -50px rgba(224, 32, 32, 0.10),
    -6px 10px 18px rgba(224, 32, 32, 0.08)
}

/* Bottom line stronger on hover */
.sky-service-card:hover::after{
  height: 4px;
  background: #E02020; /* solid red like Figma */
}


/*---------------------------
 * Our Approach
 * --------------------------*/
.sky-our-appr-card-number {
    width:50px;
    height:50px;
    display: flex;
    align-self: center;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #E02020;
}
.sky-our-appr-card-number .elementor-widget-container {
    display: flex;
    align-items: center;
}
.sky-our-appro-card:hover .sky-our-appr-card-number{
	background-color:#121212;
	color:#fff !important;
	transition:all ease-in 0.3s;
}

.sky-our-appro-card:hover {
    box-shadow: 0px 0px 50px -20px #e0202036;
    transition: all ease-in 0.3s;
}

/*------------------------------
 * Projects
 * ----------------------------*/

/* Ensure the widget doesn't clip incorrectly + keep your mask */
.sky-project-img .elementor-widget-container{
  position: relative;

  -webkit-mask-image: url(https://client3.axisconsulting.io/wp-content/uploads/2025/12/Subtract-4.svg);
  -webkit-mask-size: cover;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
}

/* DEFAULT: soft black overlay (always visible) */
.sky-project-img .elementor-widget-container::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 15%, #000000 100%);
}

/* HOVER overlay: soft red slides bottom -> top */
.sky-project-img .elementor-widget-container::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(180deg, rgb(224 32 32 / 51%) 0%, #121212 100%);

  /* animation setup */
  transform: translateY(100%);
  transition: transform .45s ease;
  will-change: transform;
}

/* On hover: bring red overlay up */
.sky-project-item:hover .sky-project-img .elementor-widget-container::before{
  transform: translateY(0);
}

/* Title smooth move (don't animate bottom; use transform) */
.sky-project-title{
  transition: transform .45s ease;
  will-change: transform;
  z-index: 3; /* stay above overlays */
}

/* Adjust the distance to match your old "bottom:52%" look */
.sky-project-item:hover .sky-project-title{
  transform: translateY(-150px);
}

.sky-project-carousel .elementor-swiper-button {
    position: absolute;
    bottom: -12px;
    top: unset !important;
}

.sky-project-carousel .elementor-swiper-button.elementor-swiper-button-prev {
    left: 42% !important;
}

.sky-project-carousel .elementor-swiper-button.elementor-swiper-button-next {
    right: 42% !important;
}
.sky-project-carousel span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 16px !important;
    height: 16px !important;
}
.sky-project-carousel .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    align-items: center;
}

/*------------------------------
 * Resources
 * ----------------------------*/
/* Wrapper square */
.sky-resource-svg{
  width: var(--sky-box-size, 60px);
  height: var(--sky-box-size, 60px);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid #E02020;
  transition: background-color .3s ease, border-color .3s ease;
}

/* Optional link wrapper (no underline) */
.sky-resource-svg__link{
  display: inline-block;
  text-decoration: none;
}

/* Icon uses the SVG as a mask so we can recolor it */
.sky-resource-svg__icon{
  width: 60%;
  height: 60%;

  background-color: #E02020; /* normal icon color (red) */

  -webkit-mask-image: var(--sky-svg-url);
  mask-image: var(--sky-svg-url);

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition: background-color .3s ease, transform .3s ease;
}

/* Hover state: red box, white icon */
.sky-resource-svg:hover, .sky-resource-card:hover .sky-resource-svg{
  background: #E02020;
  border-color: #E02020;
}

.sky-resource-svg:hover .sky-resource-svg__icon, .sky-resource-card:hover .sky-resource-svg__icon{
  background-color: #ffffff;
}


.sky-resource-card {
    position: relative;
	transition:all ease-in-out 0.3s;
	border:1px solid #E020201A;
}
.sky-resource-card:before {
    content:'';
    display:block;
    width:5px;
    height:100%;
    position:absolute;
    left:0px;
    top:0;
    bottom:0;
    background-color:#E02020;
    visibility:hidden;
    opacity:0;
     transition:all ease-in-out 0.3s;
}
.sky-resource-card:hover:before {
    visibility:visible;
    opacity:1;
    transition:all ease-in 0.3s;	
}
.sky-resource-card:hover  {
	box-shadow: 0px 0px 50px -20px #e0202036;
	transition:all ease-in 0.3s;
}

/*----------------------------------
 * Credentials
 * --------------------------------*/
.sky-credent-card {
	position:relative;
	
}
.sky-credent-card:after {
content: '';
    height: 0;
    background-color: #E02020;
    width: 100%;
    bottom: 0;
    position: absolute;
    left: 0;
	transition: all ease-in-out 0.3s;
    opacity:0;
}
.sky-credent-card:hover:after {
	transition: all ease-in 0.3s;
	height:5px;
	opacity:1;
}

.sky-cred-carousel span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width:16px;
    height:16px;
}
.sky-cred-carousel .swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    align-items: center;
}

/*---------------------------
 * Contact Us
 * --------------------------*/
.sky-contact-us {}

.sky-contact-us .ginput_container.ginput_container_text input,.sky-contact-us .ginput_container.ginput_container_email input,.sky-contact-us .ginput_container.ginput_container_phone input, .sky-contact-us .ginput_container.ginput_container_textarea textarea {
    background-color: #fff !important;
    padding: 25px 15px !important;
    border: 0;
}
.sky-contact-us .gform_fields {row-gap: 20px !important;}


.sky-contact-us .gform-footer.gform_footer .gform_button{
    display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 16px 12px !important;
min-width: 165px !important;
    width:auto !important;
height: 56px !important;
background: #E02020 !important;
border: 1px solid rgba(179, 25, 25, 0.7);
    font-family: 'Inter';
font-weight: 500 !Important;
font-size: 16px !important;
line-height: 24px !important;
    color:#fff;
    border:0 !important;
    text-transform:uppercase !important;
}
.sky-contact-us .gform-footer.gform_footer .gform_button:hover {
   background: #a60d0d !important; 
}

@media (max-width: 767px)  {
	.sky-project-carousel .elementor-swiper-button.elementor-swiper-button-prev {
    left: 2% !important;
	}
.sky-project-carousel .elementor-swiper-button.elementor-swiper-button-next {
    right: 2% !important;
}
}


/*-------------------------------
 * Inner Page Hero
 * ------------------------------*/
.sky-sub-heading-shape {
	position:relative;
}
.sky-sub-heading-shape:before {
    width: 48px;
    height: 4px;
    background: #E02020;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sky-service-btn a {
    width: 100%;
}
.sky-service-btn span.elementor-button-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-content: center;
    width: 100%;
    align-items: center;
}


/*--------------------------------
 * About Us
 * -------------------------------*/
.sky-image-bottom-fade img{
  display:block;
  width:100%;
  height:auto;

  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}


.elementor-widget.sky-png-red-tint img,
img.sky-png-red-tint {
  filter:
    brightness(0)
    saturate(100%)
    invert(22%)
    sepia(88%)
    saturate(6000%)
    hue-rotate(350deg)
    brightness(93%)
    contrast(97%);
}



/*-------------------------------
 * Single Service
 * -----------------------------*/

.sky-single-service-list ul.elementor-icon-list-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sky-single-service-list li.elementor-icon-list-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px !important;
    padding-left:30px !important;
}

.sky-single-service-list span.elementor-icon-list-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4em;
    position:relative;
}
.sky-single-service-list span.elementor-icon-list-text:before{
    content:'';
    display:block;
    width: 6px;
height: 6px;
border-radius:100%;
background: #E02020;
    position:absolute;
    left:-15px;
    top:40%;
}

@media (max-width: 767px) { 
.sky-single-service-list ul.elementor-icon-list-items {
    grid-template-columns: repeat(1, 1fr);
}
}
