* {
  box-sizing: border-box;
  -mox-box-sizing: border-box;
}
html, body {
  height: 100%;
}

body {
            font-family: 'Cairo', sans-serif;   
          } 
 h1 {
         
         margin: 20px 0;
         color: #505050;
      }
p {
     font-weight: 650; /* عادي */
     word-spacing:8px ;
     line-height:30px;
    }

section {
  height: 100%;
  min-height: 250px;
}


#homesec {
  background-image: url('picture/irth_home.PNG');
  background-size: cover;
  background-position: center;
  height: 130vh;
  width: 100%;
  display: flex; 
}

#nav_wrap {
  background: white;
  width: 100%;
  height: 65px;
  position: absolute;
  bottom: 0;
  overflow: hidden;
  z-index: 100;
  opacity: .9;
  box-shadow: 0px 1px 4px #343434;
}

nav { 
  width: 100%;
  margin: 0 auto;
  transition: .5s;
}

.nav_animate {
  width: 70%;
  transition: .5s;
}

nav a {
  display: inline-block;
  font-size: 18px;
  text-decoration: none;
  color: #120c02;
  width: 24%;
  text-align: center;
  line-height: 60px;
}

nav a:nth-child(1) {
  border-top: 5px solid #80BB80;
}
nav a:nth-child(2) {
  border-top: 5px solid #9B5E5E;
}
nav a:nth-child(3) {
  border-top: 5px solid #5656B3;
}
nav a:nth-child(4) {
  border-top: 5px solid #aaa;
}

nav a:hover {
  border-top: 5px solid #4a4a4a;
  transition: .4s;
}

#test {
  z-index: 99;
  background: white;
  position: fixed;
  top: 0;
}

.sticky {
  position: fixed !important;
  top: 0;
}

#logo, #social {
  position: absolute;
  color: black;
  z-index: 100;
  transition: 1s;
  line-height: 80px;
}

#logo {
  left: -150px;
  font-size: 25px;
  background: #120c02;
  height: 65px;
  line-height: 65px;
  padding: 0 10px;
  margin: 0;
  color: #f1c270;
  cursor: pointer;
  font-weight: bolder;
}

#social {
  top: -7px;
  right: -150px;
  font-size: 35px;
  z-index: 100; 
  color: #120c02;
}


#mainsocial {
  font-size: 35px;
  line-height: 80px;
}

.right {
  position: relative;
  float: right;
}

img.right {
  margin: 0 0 0 40px;
  border-radius: 200px;
} 

#copy {
  padding: 20px 80px;
  font-size: 24px;
  text-align: justify;
}

#iconrow {
  font-size: 130px;
  text-align: justify;
  margin-top: 50px;
  color: #505050;
}

#iconrow::after {
  content:'';
  display: inline-block;
  width: 100%;
}

.center {
  text-align: center;
}

.large {
  font-size: 45px;
}

.hoverblk {
  transition: .3;
}

.hoverblk:hover {
  color: #5656B3;
  transition: .3s;
}

.icon-instagram-sign:before {
  content: "\f16d";  /* Instagram */
  font-family: FontAwesome;
}
.icon-twitter-sign:before {
  content: "\f081";  /* Twitter */
  font-family: FontAwesome;
}

#social div {
  display: inline-block;  /* أو inline */
  margin-right: 10px;     /* مسافة بين الأيقونات */
}



    /* تنسيق الحاوية الرئيسية لترتيب الكروت بجانب بعضها */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 50px;
  background-color: #fdf7ed
;
}

/* تنسيق أبعاد الكرت */
.card {
  background-color: transparent;
  width: 400px;
  height: 500px;
  perspective: 1000px; /* لإعطاء تأثير ثلاثي الأبعاد عند القلب */
  border: transparent;
}

/* الحاوية الداخلية المسؤولة عن الدوران */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 15px;
}

/* دوران الكرت عند المرور عليه بالماوس */
.card:hover .card-inner {
  transform: rotateY(180deg);
}

/* تنسيق الوجهين الأمامي والخلفي */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* إخفاء الوجه الخلفي أثناء الدوران */
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* الوجه الأمامي (الألوان الأساسية) */
.card-front {
  background-color: #120c02;
  color: #f1c270;
}

/* الوجه الخلفي (الذي يظهر عند المرور بالماوس) */
.card-back {
  background-color: #120c02;
  color: #f1c270;
  transform: rotateY(180deg); /* قلب الوجه الخلفي مسبقاً ليظهر معتدلاً */
}

/*accordion card*/

.acc {
	
	background: #f0f2f5;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.slider-container {
	width: 100%;
	max-width: 100%;
	height: 100vh;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.now-showing {
	position: absolute;
	top: 120px;
	left: 50%;
  transform: translate(-50%, -50%);
	color: #f1c270;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 10;
}

.oval-divider {
        position: absolute;
	    top: 10px;
	    left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        color: #ffffff;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin: 40px 0;
        z-index: 10;
    }
   
    .oval-divider .line {
        width: 55px;
        height: 2px;
        background: linear-gradient(to right, transparent, #120c02);
        border-radius: 2px;
        box-shadow: 0 4px 20px rgba(61, 56, 56, 0.8)
    }

    .oval-divider .line:last-child {
        background: linear-gradient(to left, transparent, #120c02);
        box-shadow: 0 4px 20px rgba(61, 56, 56, 0.8)
    }

    .oval-divider .oval {
        background:#120c02;
        color: #f1c270;
        padding: 12px 40px;
        border-radius: 60px;
        font-size: 17px;
        
        display: inline-block;
        white-space: nowrap;
        box-shadow: 0 4px 20px rgba(61, 56, 56, 0.3);
    }




 .line-after {
        position: absolute;
	    top: 160px;
	    left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
	   align-items: center;
	   gap: 8px;
	    z-index: 10;
        width: 80px;  /* Short line */
        height: 7px;
        background: #120c02;
        border-radius: 2px;
        box-shadow: 0 4px 20px rgba(61, 56, 56, 0.5)
    }

.accordion-slider {
	display: flex;
	height: 100%;
	position: relative;
}

.slide {
	flex: 1;
	position: relative;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;

}

.slide:hover {
	filter: grayscale(0);
}

.slide.active {
	flex: 2.5;
	filter: grayscale(0);
}

.slide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 80%);
}

.slide-content {
	position: absolute;
	bottom: 30px;
	left: 30px;
	right: 30px;
	color: white;
	z-index: 2;
}

.slide.active .slide-content {
	bottom: 80px;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}


.car-brand {
	font-size: 30px;
	font-weight: 600;
	color: #f1c270;
	margin-bottom: 5px;
	transform: rotate(-90deg);
	transform-origin: left bottom;
	position: absolute;
	bottom: 100px;
	left: 30px;
	white-space: nowrap;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .car-brand {
	transform: rotate(0deg);
	position: static;
	transform-origin: unset;
}

.car-name {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 8px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0s;
}

.slide.active .car-name {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}

.car-subtitle {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0s;
}

.slide.active .car-subtitle {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.4s;
    display: block;
}


@media screen and (min-width: 320px) and (max-width: 942px) {
    /* 
    - iPhone 6/7/8 (375px)
    - iPhone X/11/12 (390px)
    - معظم هواتف Android
    */
    .h1{
      font-size: 30px;
    }
    #social
    {
      display: none;
    }
    #logo
    {
      display: none;
    }
    .nav_animate{
      width: 100%;
    }
    .navigation a {
      font-size: 14px;   }
}

@media (max-width: 768px) {
	.accordion-slider {
		flex-direction: column;
	}

	.slide {
		flex: 1;
		min-height: 80px;
	}

	.slide.active {
		flex: 2;
	}

	.slide-number {
		font-size: 32px;
	}

	.car-brand {
		transform: none;
		position: static;
	}
  
}

@media (max-width: 771px) {
    .now-showing {
        visibility: hidden;
    }
    .oval-divider{
        visibility: hidden;
    }
    .line-after{
        visibility: hidden;
    }
   .car-subtitle{
    display: none;
   }
   h2{
     font-size: 19px;
    }
    p{line-height: 20px;
      font-weight: 100; 
    }
}
  @media (max-width: 679px){
    p{
      font-weight: 100; 
      line-height: 20px;
    }

    h2{
     font-size: 19px;
    }

  }

  @media (max-width: 608px){/*nave bar a beside each other */

 nav  a{
    display: inline-table;
    font-size: 12px;
  }
  }


/* contact page section start here*/
  .contact-page-section li,ul{
    list-style:none;padding:0;margin:0;
  }

  .contact-page-section  .sec-title{position:relative;padding-bottom:40px}

  .contact-page-section .sec-title .title{position:relative;color:#120c02;font-size:20px;font-weight:900;padding-right:50px;margin-bottom:15px;display:inline-block;}

  .contact-page-section .sec-title h2{position:relative;color:#120c02;font-size:36px;font-weight:400;line-height:1.5em;display:block}

  .contact-page-section .sec-title.light h2{color:#fff}

  .contact-page-section{position:relative;padding-top:110px; padding-bottom: 110px;height: initial;background-color: #fdf7ed;}

  .contact-page-section .inner-container{position:relative;z-index:1;background-color:#120c02;border-radius: 10px  10px 10px 10px;box-shadow:0 0 15px 5px rgba(0,0,0,.1)}

  .contact-page-section .form-column{position:relative;padding:0 0 0 15px}

  .contact-page-section .form-column .inner-column{position:relative;padding:60px 45px 30px;background-color:#fff}

 .contact-page-section .info-column{position:relative; }

 .contact-page-section .info-column .inner-column{position:relative;padding:60px 35px}

 .contact-page-section .info-column h2{position:relative;color:#f1c270;font-size:30px;font-weight:700;line-height:1.4em;margin-bottom:45px}

 .contact-page-section .info-column .list-info{position:relative;margin-bottom:60px}

 .contact-page-section .info-column .list-info li{position:relative;margin-bottom:25px;font-size:18px;color:#f1c270;line-height:1.8em;padding-left:45px}

 .contact-page-section .info-column .list-info li:last-child{margin-bottom:0}

 .contact-page-section .info-column .list-info li i{position:absolute;left:0;top:8px;color:#f1c270;font-size:30px}

 .contact-page-section .contact-form{position:relative}

 .contact-page-section .contact-form .form-group{position:relative;margin-bottom:20px}

 .contact-page-section .contact-form input[type=text],.contact-form input[type=email],.contact-form textarea{position:relative;display:block;width:100%;height:60px;color:#222;font-size:14px;line-height:38px;padding:10px 30px;border:1px solid #ddd;background-color:#fff;transition:all .3s ease;-ms-transition:all .3s ease;-webkit-transition:all .3s ease}

 .contact-page-section .contact-form input[type=text]:focus,.contact-form input[type=email]:focus,.contact-form textarea:focus{border-color:#00b8ca}

 .contact-page-section .contact-form  textarea{height:250px;resize:none}

 .contact-page-section .contact-form .theme-btn{font-size:18px;border-radius: 10px 10px 10px 10px;font-weight:500;margin-top:10px;text-transform:capitalize;padding:16px 39px;border:2px solid #ffff;font-family:Arimo,sans-serif;background:#120c02;display:inline-block;position:relative;line-height:24px;cursor:pointer;color:#f1c270;-webkit-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease}

 .contact-page-section .contact-form .theme-btn:hover{color:#120c02;border-color:#cbbcbc;background:#fdf7ed}

 .contact-page-section .contact-form input.error, .contact-form select.error, .contact-form textarea.error{border-color:red!important}

 .contact-page-section .contact-form label.error{display:block;line-height:24px;padding:5px 0 0;margin:0;text-transform:uppercase;font-size:12px;color:red;font-weight:500}

 .contact-page-section .social-icon-four{position:relative}

 .contact-page-section .social-icon-four li{position:relative;margin-right:18px;display:inline-block}

 .contact-page-section .social-icon-four li.follow{color:#f1c270;font-weight:600;font-size:24px;display:block;margin-bottom:20px}

 .contact-page-section .social-icon-four li a{position:relative;font-size:20px;color:#f1c270;-webkit-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease}
 .contact-page-section .social-icon-four li a:hover{color:#fdf7ed}


  /* contact page section end*/

    @media (max-width: 1200px){/*cont act font  changeing*/

 .contact-page-section .info-column .list-info li{
    font-size: 12px;
  }
 .contact-page-section .social-icon-four li.follow{
    font-size: 20px;}
.contact-page-section .social-icon-four li a{
    font-size: 18px;

  }
.contact-page-section .info-column .list-info li i{
    font-size: 26px;
  }

  .contact-page-section .info-column .inner-column{
    padding: 30px 20px;
  }
}

#content p{
  font-size: 18px;
  line-height: 40px;
  color: #000000;
  margin-bottom: 20px;
  margin-top: 20px;
}

footer p {
    padding: 20px 0;
    text-align: center;
}

footer img {
    width: 33px;
}



/* تحسينات للفورم */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f1c270;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 194, 112, 0.2);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .btn-style-one {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.contact-form .btn-style-one:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.contact-form .btn-style-one:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#statusMessage {
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}
/* حقل مكافحة الرسائل الآلية: مخفي بصريًا ولا يؤثر في التخطيط */
.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
