/*!
Theme Name: Hostinger AI theme
Author: Hostinger
Author URI: https://hostinger.com
Details URI: https://hostinger.com
Description: Hostinger AI theme built with SEO and mobile responsiveness in mind, this theme ensures optimal performance and a better online presence.
Version: 1.0.38
Tested up to: 6.5
Requires at least: 5.6
Requires PHP: 8.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: clean-ai-theme
Tags: ai-theme
*/
body,html{
    max-width: 100vw;
    overflow-x: hidden;
    width: 100vw;
    min-width: 100vw;
	line-height: 1.5;
    --wp--style--root--padding-top: 1rem;
}
    
/* CSS للهيدر الأساسي */
header.wp-block-template-part {
  position: fixed;
  background-color: #ffffff;
  left: 0;
	top: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
z-index: 1000;
}
.has-modal-open .wp-block-navigation__responsive-container{
	
	position: fixed;
    top: 00px;
	bottom:auto;
    left: 30vw;
	right:0vw;
    width: 70vw;
    height: 100vh;
    box-shadow: -7px 5px 20px 0 #555;
}
.hostinger-ai-page-title{
	text-shadow:none !important;
}

h1, h2, h3, h4, h5, h6 {
 
    margin: 1rem 0 !important;
}

/* home page **/
.section{
    overflow-x: hidden;
margin-left:0 !important;
margin-right:0 !important;
}
a{
    text-decoration: none;
}
.entry-content{
padding:0;
}
.hero{
overflow:hidden;
}
.hero .swiper-slide{
align-items: center !important;
    margin: 0;
	 display: flex;
}

#about-us-section{
    gap: 0;
}
#about-us-section .card{
    text-align: center;
    box-shadow: 0 0 20px 0 #ccc;
    position: relative;
}
#about-us-section .card:nth-of-type(2){
     background-color: var(--wp--preset--color--color-3);
    color: #fff;
    flex-basis: 42%;
    z-index: 2;
}

/** services slider section**/
.my-slider {
  width: 100%;
}
.swiper {
  width: 100%;
}
.swiper-slide {
  position: relative;
  height: 250px !important;             
  background-size: cover;
  background-position: center;
  border-radius: 0.5rem;        /* rounded corners */
  overflow: hidden;
  display: flex !important;
  align-items: flex-end !important;        /* content at bottom */
}
.slide-content {
  background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 20%);
  padding: 1rem;
  color: #fff;
  width: 100%;
}
.slide-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.slide-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/** Gallary **/
.gallery-container{
max-width:none;}

.gallary-left,.gallary-right{
overflow:hidden;
max-width:none;

}
.gallary-left .swiper-wrapper,.gallary-right .swiper-wrapper{
    flex-wrap: nowrap;
}

.articles-slider{
overflow:hidden;
}

.articles-slider .swiper-slide {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  height: 250px; /* adjust height as needed */
}

.articles-slider .slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  color: white;
background-size: cover;
}

.articles-slider .slide-info {
    display: flex
;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    flex-direction: row-reverse;
}

.articles-slider .arrow-btn {
     background-color: var(--wp--preset--color--color-1);
    width: 75px;
    height: 65px;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.articles-slider .slide-title {
 background: rgb(0 0 0 / 81%);
    padding:1rem;
    border-radius: 10px 0;
    height: 75px;
    flex: 1;
}

.articles-slider .slide-title h3 {
  margin: 0;
  color: white;
  font-size: 1rem;
}


/** Blog **/
.blog .swiper-wrapper{
	display: flex
;
    gap: 20px;
    flex-wrap: wrap;
}
.blog .articles-slider .swiper-slide{

	    width: 48%;
}
/* single post**/
 .single-post .wp-container-core-group-is-layout-f66f9956{
	    flex-direction: column-reverse;
    align-items: center;
}
 .single-post .entry-content p,.single-post .entry-content figure{
	    background-color: #ededed;
    padding: 35px;
    border-radius: 25px;
	 margin-bottom:1rem;
	 margin-top:0rem;
}
.single-post .entry-content figure{
	 margin: 0 !important;
	 margin-bottom:1rem !important;
    width: 91% !important;
    text-align: center;
}
 .single-post .entry-content li {
    color: #7f7f7f;
    font-size: 16px;
    width: 90%;
    margin-bottom: 22px;
    position: relative;
    list-style-type: none;
}
.single-post .entry-content li::before{
	content: "\f058";
    position: absolute;
    width: 25px;
    top: 0px;
    transform: translateX(50%);
    color: var(--wp--preset--color--color-1);
    font-family: "Font Awesome 5 Free";
    right: -10px;
    font-size: 16px;
}




/* responsive **/
@media (max-width:900px){
	.single-post .wp-container-core-group-is-layout-f66f9956,
	.blog .wp-container-core-group-is-layout-f66f9956{
      flex-direction:column-reverse;
}
	.single-post .hostinger-ai-page-title{
      font-size: 18px !important;
	}	
}


@media (max-width:700px){
	.wp-container-content-dc435e0d{
display:none;
	}
	.wp-container-content-9e2f13cb{
		flex-basis:100%;
	}
	
	.wp-container-core-group-is-layout-567ff906 {

    flex-direction: column;
    width: 90%;
    margin: 0 auto;
}
.blog .articles-slider .swiper-slide{
	    width: 100%;
}
	.single-post .entry-content figure {
    padding: 10px;
	
}
	
	
	#wp-block-search__input-3{
max-width: fit-content;
}
	.wp-container-core-group-is-layout-bc8e6f51{
		width:110px;
	}
	header .wp-block-search__inside-wrapper{
		    margin-right: -30px;
    max-width: 150px;
	}
}



/** about us**/

@media (max-width:700px){
	.about-us-section {
		
		 max-width: 95%;
    margin: 30px 0 !important;
	}
	.about-us-section > div {
		flex-direction: column;
    padding: 0 20px;
    max-width: 95%;
    margin: 0 !important;
		
	}
	
}








.hts-contact-form{
    max-width: 90vw;
    width: 500px;
    margin: 0 auto;
}

.hts-contact-details form{display:flex;flex-direction:column;position:relative;width:100%}.hts-contact-details form .validate-message{left:0;position:absolute;top:95px}.hts-contact-details form label{font-size:14px;font-weight:600;line-height:160%}.hts-contact-details form input,.hts-contact-details form textarea{background-color:#fff;border:1px solid #dadce0;border-radius:8px;font-family:inherit;font-size:16px;line-height:160%;margin:16px 0 24px;padding:12px 16px}.hts-contact-details form input[type=submit]{cursor:pointer;transition:.3s}.hts-contact-details form input[type=submit]:hover{text-decoration:underline}.hts-contact-details form #contact-email.not-valid{border:1px solid red}.hts-contact-details form #contact-email.not-valid:focus{outline:none}.hts-contact-details form .hts-privacy-agree{align-items:center;display:flex;margin-top:5px}.hts-contact-details form .hts-privacy-agree input{margin:10px 0;min-width:15px}.hts-contact-details form .hts-privacy-agree span{font-weight:400;margin-left:8px}.hts-contact-details form .hts-privacy-agree span a{font-weight:600}.hts-contact-details form .validate-message{top:100%}.clean-ai-contact-form-4 .hts-contact-form{margin-bottom:2rem;max-width:600px}