/*---------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------- SLIDER SECTION ------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------
SLIDER SECTION
-----------------------*/
.homepage-slider .container {
  width: 100%;
  max-width: 1440px; /* Adjust based on your design */
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin: 0 auto; /* Centers the container */
}

/* Make sure this CSS loads after other theme styles */
.homepage-slider .col-12 {
  position: absolute !important;
  bottom: 2rem !important;
  left: 0;
  right: 0;
  transform: none !important;
  margin: 0 auto !important; /* Center horizontally */
  padding-bottom: 0 !important;
  width: 80% !important; /* Set width to 80% */
  max-width: 1200px; /* Optional: prevent it from getting too wide on large screens */
  box-sizing: border-box; /* Ensure padding is included in width */
}

.homepage-slider .span-text{
    text-transform: uppercase;
    font-weight: 900;
}

.homepage-slider .span-text,
.homepage-slider .g-font-size-14--xs.g-font-size-18--sm.g-color--white-opacity {
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

/* Ensure parent has position context */
.homepage-slider .container {
  position: relative !important;
  height: 100%;
}


.homepage-slider .swiper-slide {
  text-align: center;
}

.homepage-slider .s-promo-block-v4:before{
    background-image: linear-gradient(to top, rgba(34, 35, 36, 0.1) 0%, rgba(19, 177, 205, 0.5) 100%);
}
.homepage-slider .g-font-size-50--md .span-text{
    font-size: 4rem !important;
}
.homepage-slider .s-btn--white-brd {
    color: #fff;
    background: #222324;
    border-width: 0.0625rem;
    border-style: solid;
    border-color: #222324;
    text-transform: uppercase;
}
.homepage-slider .s-btn--white-brd:focus, .s-btn--white-brd:hover {
  color: #fff;
  background: #9ACD32;
  border-color: #9ACD32;
}
.homepage-slider .s-btn {
    font-size: 1rem;
    font-weight: 500;
    padding: .5rem 1.5rem;
    color: #fff;
    letter-spacing: normal;
}

.homepage-slider .s-promo-block-v4 .g-radius--50 {
    border-radius: .5rem !important;
}

/* Default for all screen sizes */
.homepage-slider .s-promo-block-v4 {
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 85vh; /* Makes the div take the full viewport height */
}
.homepage-slider .g-font-size-50--md {
    margin-bottom: 1rem;
}
.homepage-slider p{
    line-height: normal;
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 359.98px) {
    .homepage-slider .g-margin-b-50--xs {
        margin-bottom: 1.125rem;
    }
    
    .homepage-slider .col-12 {
      position: absolute !important;
      bottom: 1.2rem !important;
      left: 0;
      right: 0;
      transform: none !important;
      margin: 0 auto !important; /* Center horizontally */
      padding-bottom: 0 !important;
      width: 90% !important; /* Set width to 80% */
      box-sizing: border-box; /* Ensure padding is included in width */
    }
    
	.homepage-slider .g-font-size-24--xs{
		font-size: 1.5rem !important;
	}
	.homepage-slider .g-font-size-14--xs{
		font-size: 0.65rem !important;
	}
    .homepage-slider .g-font-size-50--md .span-text{
		font-size: 1.2rem !important;
	}
    
    /* BUTTON */
	.homepage-slider .s-btn{
		font-size: .7rem;
	}
}

/* Extra small devices (phones, less than 576px) */
@media (min-width: 360px) and (max-width: 575.98px) {
    .homepage-slider .container {
        width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin: 0 auto;
    }
    
    .homepage-slider .g-margin-b-50--xs {
        margin-bottom: 1.125rem;
    }
    
    .homepage-slider .col-12 {
      position: absolute !important;
      bottom: 2rem !important;
      left: 0;
      right: 0;
      transform: none !important;
      margin: 0 auto !important; /* Center horizontally */
      padding-bottom: 0 !important;
      width: 90% !important; /* Set width to 80% */
      box-sizing: border-box; /* Ensure padding is included in width */
    }

    /* Font size adjustments for the headline */
    .homepage-slider .g-font-size-50--md {
        font-size: 1.1rem !important; /* Adjust headline size for smaller screens */
        margin-bottom: 0.9rem;
    }

    /* Font size adjustments for the span text */
    .homepage-slider .g-font-size-50--md .span-text {
        font-size: 2rem !important; /* Span text font size */
    }

    /* Paragraph font size adjustments */
    .homepage-slider .g-font-size-14--xs {
        font-size: 0.8rem !important; /* Reduce paragraph font size */
    }

    /* Button size adjustments */
    .homepage-slider .s-btn {
        font-size: 0.8rem; /* Button font size */
        padding: 0.5rem 1rem; /* Adjust button padding for small screens */
    }
}

@media (max-width: 575.98px){
    
}

@media (min-width: 576px){
    
}

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Font size adjustments for the headline */
    .homepage-slider .g-font-size-50--md {
        font-size: 1.3rem !important; /* Adjust headline size for smaller screens */
        margin-bottom: 0.9rem;
    }

    /* Font size adjustments for the span text */
    .homepage-slider .g-font-size-50--md .span-text {
        font-size: 2rem !important; /* Span text font size */
    }

    /* Paragraph font size adjustments */
    .homepage-slider .g-font-size-14--xs {
        font-size: 0.8rem !important; /* Reduce paragraph font size */
    }

    /* Button size adjustments */
    .homepage-slider .s-btn {
        font-size: 0.8rem; /* Button font size */
        padding: 0.5rem 1rem; /* Adjust button padding for small screens */
    }
}

@media (max-width:768px){
    .homepage-slider .s-promo-block-v4 {
        height: 50vh; /* 50% of viewport height */
    }
}

@media (min-width: 768px){
    
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 769px) and (max-width: 899.98px) {
    /* Styles for medium devices */
    .homepage-slider .s-promo-block-v4 {
        height: 80vh; /* 50% of viewport height */
        min-height: 400px; /* Ensure a minimum height */
    }
    .homepage-slider .g-margin-b-50--xs {
/*        max-width: 80%;*/
    }
    .homepage-slider .g-font-size-50--md{
        font-size: 2rem !important;
        margin-bottom: .9rem;
    }
    .homepage-slider .g-font-size-50--md .span-text{
        font-size: 3.5rem !important;
    }
    .homepage-slider .g-font-size-14--xs{
        font-size: .9rem !important;
    }
    /* BUTTON */
	.homepage-slider .s-btn{
		font-size: .9rem;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 900px) and (max-width: 991.98px) {
    /* Styles for large devices */
    .homepage-slider .s-promo-block-v4 {
        height: 80vh; /* Full height of the viewport on small screens */
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .homepage-slider .s-promo-block-v4 {
        height: 83vh; /* 40% of viewport height */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    /* Styles for extra large devices */
    .homepage-slider .s-promo-block-v4 {
        height: 83vh; /* 80% of viewport height */
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1440px) {
    /* Styles for extra extra large devices */
    .homepage-slider .s-promo-block-v4 {
        height: 83vh; /* 80% of viewport height */
    }
}

/*---------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------- WHY CHOOSE US SECTION --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------*/
/* Default: normal row layout */
.why-choose-us-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spacing between items */
}

.why-choose-us .g-bg-color--primary-ltr {
    background-image: linear-gradient(145deg, rgba(154, 205, 50, 0.8) 0%, #9ACD32 100%);
    background-repeat: repeat-x;
}
.why-choose-us .g-padding-y-125--sm{
    padding-top: 5.8125rem;
    padding-bottom: 4.8125rem;
}
.why-choose-us .g-margin-b-100--xs {
    margin-bottom: 5.25rem;
}
.why-choose-us .list-inline.g-margin-b-100--xs{
    margin-bottom: .25rem;
}
.why-choose-us .g-font-size-36--md{
	font-size: 2rem !important;
    font-weight: 600;
    color: #fff;
}
.why-choose-us .g-font-size-38--xs{
    font-weight: 500;
}
.why-choose-us h3{
    font-size: 1rem !important;
    font-weight: 600;
	margin-bottom: 1rem;
}
.why-choose-us p{
	font-size: 0.9rem;
    line-height: 1.4;
}

.why-choose-us .s-process-v1 .g-radius--circle {
    display: flex;                /* Enable flexbox */
    align-items: center;          /* Vertically center the content */
    justify-content: center;      /* Horizontally center the content */
    text-align: center;           /* Ensure text is centered (if needed) */
}
.why-choose-us .s-process-v1 .g-margin-b-30--xs {
    display: flex;                /* Enable flexbox on the parent container */
    justify-content: center;      /* Horizontally center the child (the white circle) */
    align-items: center;          /* Vertically center the child if needed */
    text-align: center;           /* Ensure text within is centered */
}
.why-choose-us .s-process-v1 .g-margin-b-30--xs .g-margin-b-30--xs{
    margin-bottom: 0rem;
}






.why-choose-us-swiper {
    cursor: grab;
    overflow: hidden;
    padding-bottom: 20px;
}

.why-choose-us-swiper:active {
    cursor: grabbing;
}

.swiper-slide {
    width: auto; /* keep original width */
    flex-shrink: 0;
    list-style: none;
}

.slide-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #007bff;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.slide-icon:hover {
    transform: scale(1.1);
}

/* Adjust text width inside slide */
.swiper-slide h3, .swiper-slide p {
/*    text-align: center;*/
}



@media (max-width: 359.98px) {
	.why-choose-us .g-font-size-36--md{
		font-size: 1.2rem !important;
	}
	.why-choose-us .g-margin-b-25--xs{
		margin-bottom: .7rem;
	}
	.why-choose-us .g-margin-b-60--xs{
		margin-bottom: 1.5rem;
	}

	.why-choose-us{
        background-size: 500% !important;
    }
	.why-choose-us .g-font-size-14--xs{
		font-size: 0.6rem !important;
	}

	.why-choose-us .g-font-size-18--xs{
		font-size: 1rem !important;
	}
	.why-choose-us p{
		font-size: .8rem;
	}
	.why-choose-us .g-padding-y-125--sm{
		padding-bottom: 2rem;
	}
}

@media (min-width: 360px) and (max-width: 575.98px) {
    .why-choose-us{
        background-size: 480% !important;
    }
    .why-choose-us .g-margin-b-100--xs{
        margin-bottom: 3.25rem;
    }
    .why-choose-us .g-padding-y-125--sm{
        padding-top: 3.8125rem;
        padding-bottom: 3.8125rem;
    }
    .why-choose-us .g-font-size-14--xs {
        font-size: 0.75rem !important;
    }
    .why-choose-us .g-font-size-36--md{
        font-size: 1.5rem !important;
    }
    .why-choose-us .g-font-size-38--xs{
        font-size: 1.35rem !important;
    }
    .why-choose-us .g-height-100--xs{
        height: 4.25rem;
        width: 4.25rem;
    }
    .why-choose-us .g-margin-b-60--xs{
        margin-bottom: 1.75rem;
    }
    .why-choose-us p{
        line-height: 1.3;
    }
}

/* 3. Small tablets (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* Mobile: make it horizontally scrollable */
@media (max-width: 767.98px) {
  .why-choose-us-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    padding-bottom: 15px; /* space under items */
  }

  .why-choose-us-list li {
    flex: 0 0 80%;   /* each card takes 80% of screen width */
    max-width: 80%;  /* prevents shrinking */
    margin-right: 15px;
  }
}

@media (min-width: 768px) and (max-width: 899.98px) {
	.why-choose-us{
        background-size: 300% !important;
    }
}

/* 5. Large tablets / small laptops (900px - 991px) */
@media (min-width: 900px) and (max-width: 991.98px) {
	.why-choose-us{
        background-size: 300% !important;
    }
}

/* 6. Small desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {}

/* 7. Large desktops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439.98px) {}

/* 8. Extra large desktops (1440px and up) */
@media (min-width: 1440px) {}


/*---------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------ PORTFOLIO SECTION ----------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------*/
.homepage-portfolio .g-font-size-36--md {
    font-size: 2.5rem !important;
	font-weight: 800;
	color: #9ACD32;
}
.homepage-portfolio .cbp-l-filters-text .s-portfolio__filter-v1-item{
	text-transform: none;
}
.g-padding-y-80--xs.homepage-portfolio {
    padding-bottom: 3rem;
}



/* Extra small devices (phones, less than 576px) */
@media screen and (max-width: 364.98px) {
    /* Styles for extra small devices */
    
	/*-----------------------
    SEARCH SECTION
    -----------------------*/
	.g-padding-y-80--xs.products{
		padding-top: 3rem;
	}
	.products .g-font-size-14--xs{
		font-size: 0.6rem !important;
	}
	.products .g-font-size-32--xs{
		font-size: 1.1rem !important;
	}
	.products .g-margin-b-100--xs{
		margin-bottom: 2rem;
	}
	.products .search .s-btn-icon--md{
		font-size: .7rem;
		padding: 0.6rem 1.25rem 0.75rem;
	}
	.products .s-form-v5__input{
		font-size: 0.7rem;
    	padding: 0.6rem 1.25rem;
		height: 2.5rem;
	}
	.products .g-font-size-22--xs{
		font-size: 1rem !important;
	}
}


/* Extra small devices (phones, less than 576px) */
@media screen and (min-width: 365px) and (max-width: 575.98px) {
    /* Styles for extra small devices */
    
	
    /*-----------------------
    SEARCH SECTION
    -----------------------*/
    .products .g-font-size-32--xs{
        font-size: 1.5rem !important;
    }
    .products .g-margin-b-25--xs{
        margin-bottom: 1rem;
    }
    .products .g-font-size-14--xs{
        font-size: 0.75rem !important;
    }
    .products .g-margin-b-100--xs{
        margin-bottom: 4rem;
    }
    
    /*-----------------------
    PORTFOLIO SECTION
    -----------------------*/
    .homepage-portfolio .g-font-size-32--xs{
        font-size: 1.5rem !important;
    }
    /*-----------------------
    SEARCH SECTION
    -----------------------*/
    .products .search{
        padding-top: 2rem;
    }
    .products .s-form-v5__input{
        height: 3rem;
        letter-spacing: normal;
        font-size: 0.8rem;
        padding: 0.425rem 1rem;
    }
    .products .search .s-btn-icon--md{
        font-size: .9rem;
        padding: 0.68rem 1.5625rem 0.75rem;
    }
}

/* Small devices (phones, 576px and up) */
@media screen and (min-width: 576px) and (max-width: 767.98px) {
    /* Styles for small devices */
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    /* Styles for medium devices */
    
}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    /* Styles for large devices */
}

/* Extra large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) and (max-width: 1399.98px) {
    /* Styles for extra large devices */
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media screen and (min-width: 1400px) {
    /* Styles for extra extra large devices */
}


/*----------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------- END HOMEPAGE -------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------*/