@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

html,
body {
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #801313;
  color: #fff;
}

::-moz-selection {
  background: #801313;
  color: #fff;
}

.section {
  padding-top: 30px;
  margin-top: 120px;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 20px 0;
  line-height: 30px;
}

.main-button a {
  display: inline-block;
  background-color: #fff;
  color: #801313;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  border-radius: 20px;
  transition: all .3s;
}

.main-button a:hover {
  background-color: #801313;
  color: #fff;
}


.background-header {
  background-color: #801313 !important;
  border-radius: 0px 0px 25px 25px;
  height: 80px!important;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area {
  position: absolute;
  background-color: transparent;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  background: transparent;
  display: flex
}

.header-area .main-nav .logo {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: inline-block;
}

.background-header .main-nav .logo {
  margin-top: 18px;
}

.header-area .main-nav ul.nav {
  border-radius: 0px 0px 25px 25px;
  flex-basis: 100%;
  margin-right: 0px;
  justify-content: right;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li {
  padding-left: 5px;
  padding-right: 5px;
  height: 40px;
  line-height: 40px;
}

.header-area .main-nav .nav li a {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 20px;
  font-weight: 300;
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  text-transform: capitalize;
  color: #fff;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  border: transparent;
  letter-spacing: .25px;
}

.background-header .main-nav .nav {margin-top: 20px;}

.background-header .main-nav .nav li {
  height: 80px;
  line-height: 80px;
}

.header-area .main-nav .nav li:hover a {
  opacity: 0.8;
}
.header-area .main-nav .nav li a.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.10);
  opacity: 1;
}

.background-header .main-nav .nav li:hover a {
  opacity: 0.8;
}
.background-header .main-nav .nav li a.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.10);
  opacity: 1;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 20px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #fff;
}

.header-area.header-sticky .nav li a.active {
  color: #fff;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 2px;
    padding-right: 2px;
  }
  .header-area .main-nav .nav li a {
    padding-left: 10px;
    padding-right: 10px;
  }

}

@media (max-width: 767px) {
  .background-header .main-nav .nav,
  .header-area .main-nav .nav {
    background-color: #f1f0fe;
  }
  .background-header .main-nav .nav li a,
  .header-area .main-nav .nav li a {
    line-height: 50px;
    height: 50px;
    font-weight: 400;
    color: #ffffff;
    background-color: #801313;
     border-radius: 0px 0px 25px 25px;
  }
  .background-header .main-nav .nav li,
  .header-area .main-nav .nav li {
    border-top: 1px solid #ddd;
    background-color: #f1f0fe;
    height: 50px;
    border-radius: 0px 0px 25px 25px;
  }
  .background-header .main-nav .nav li:last-child,
  .header-area .main-nav .nav li:last-child {
    border-radius: 0px 0px 25px 25px;
  }
  .header-area .main-nav .nav {
    height: auto;
    flex-basis: 100%;
  }
  .header-area .main-nav .logo {
    position: absolute;
    left: 30px;
    top: 0px;
  }
  .background-header .main-nav .logo {
    top: 0px;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #801313!important;
    opacity: 1;
  }
  .header-area {
    background-color: transparent;
    padding: 0px 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 0px;
    margin-top: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 100px !important;
  }
  .background-header.header-sticky .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  
}


/* =================================================================== */
/* START: MODIFIED BANNER STYLES FOR FULL-SCREEN VIDEO BACKGROUND      */
/* =================================================================== */

.main-banner {
  position: relative;
  height: 100vh; /* يجعل البانر يملأ الشاشة بالكامل */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* يضمن عدم خروج الفيديو عن الإطار */
  padding: 0;
}

.main-banner .banner-video {
  position: absolute; /* يجعل الفيديو خلفية حقيقية */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* يضمن توسيط الفيديو تماماً */
  min-width: 100%;
  min-height: 100%;
  z-index: 0; /* يضع الفيديو في الخلف */
}

/* هذه الطبقة تضيف تعتيم خفيف فوق الفيديو لجعل النص قابلاً للقراءة */
.main-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* طبقة سوداء بشفافية 60% */
  z-index: 1; /* توضع بين الفيديو والنص */
}

/* تزيل هذه الأكواد الخلفية والحدود من حاوية المحتوى */
.main-banner .item {
  background: transparent;
  padding: 0 30px;
  border-radius: 0;
  text-align: center;
}

.main-banner .owl-carousel {
  width: 100%; /* تأكيد أن الكاروسل يأخذ العرض الكامل */
}

/* يضمن بقاء النص فوق طبقة التعتيم */
.main-banner .header-text {
  position: relative;
  z-index: 2;
}

/* =================================================================== */
/* END: MODIFIED BANNER STYLES                                         */
/* =================================================================== */

.main-banner .item .buttons {
  display: flex;
  margin-top: 50px;
}

.main-banner .item .buttons .main-button a {
  font-size: 14px;
  color: #801313;
  background-color: #fff;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0px 25px;
  border-radius: 25px;
  font-weight: 500;
}

.main-banner .owl-nav {
  position: absolute;
  max-width: 1320px;
  bottom: 23px;
  left: 0;
  text-align: right;
}

.main-banner .owl-nav .owl-prev i,
.main-banner .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 1;
  transition: all .3s;
}

.main-banner .owl-nav .owl-prev i {
  position: absolute;
  bottom: 65px;
}

.main-banner .owl-nav .owl-prev i:hover,
.main-banner .owl-nav .owl-next i:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.5);
}


.services .service-item:hover .icon img {
  margin-top: -10px;
}

.services .service-item {
  position: relative;
  margin-top: 95px;
}

.services .service-item .icon {
  width: 190px;
  height: 190px;
  display: inline-block;
  text-align: center;
  line-height: 190px;
  background-color: #801313;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: -95px;
}

.services .service-item .icon img {
  max-width: 150px;
  transition: all .2s;
}

.services .service-item .main-content {
  border-radius: 25px;
  padding: 110px 30px 50px 30px;
  background-color: #f1f0fe;
  margin-bottom: 30px;
  margin-right: 80px;
  transition: all .4s;
}

.services .service-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 30px;
  transition: all .4s;
}

.services .service-item p {
  color: #cfcfcf;
  margin-bottom: 25px;
}


.courses {
  margin-top: 160px;
}

.events_item .thumb {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
}

.events_item .thumb img {
  margin-bottom: -5px;
}

.events_item .thumb span.category {
  position: absolute;
  left: 50%;
top: 50%;
transform: translate(-50%, -50%);
  font-size: 17px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgb(128 19 19 / 78%);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 1000;
  display: inline-block;
}
.events_item .thumb span.category {
  white-space: nowrap;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  font-size: 17px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgb(128 19 19 / 78%);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 1000;
  display: inline-block;
}

.events_item {
  background-color: #f1f0fe;
  border-radius: 25px;
  margin-bottom: 30px;
  position: relative;
  justify-content: center;
  align-items: center;
} 

.events_item .down-content {
  padding: 20px 30px 25px 30px;
}

.events_item .down-content h4 {
  font-size: 22px;
  font-weight: 600;
  transition: all .3s;
}

.events_item:hover .down-content h4 {
  color: #801313;
}


.fun-facts {
  position: relative;
  padding: 120px 0px 80px 0px;
  overflow: hidden;
}

.fun-facts:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 95%;
  height: 100%;
  background-color: #801313;
  content: '';
  border-top-right-radius: 500px;
  border-bottom-right-radius: 500px;
}

.fun-facts .counter {
  text-align: center;
  margin-bottom: 40px;
}

.fun-facts h2 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}

.fun-facts p {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-top: 15px;
}



.team {
  margin-top: 100px;
    padding-top: 40px;
}


.contact-us {
  margin-top: 80px;
  position: relative;
  padding: 50px 0px;
}

.contact-us:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 65%;
  height: 100%;
  background-color: #f1f0fe;
  content: '';
  border-top-right-radius: 500px;
  border-bottom-right-radius: 500px;
}


.contact-us  .section-heading {
  margin-right: 110px;
  margin-bottom: 0px;
}

.contact-us  .section-heading p {
  margin-top: 50px;
}

.contact-us .contact-us-content {
  border-radius: 25px;
  padding: 80px;
  background-color: #801313;
  position: relative;
  z-index: 1;
}

.contact-us .contact-us-content::before {
  background: url(../images/contact-dec-01.png);
  position: absolute;
  left: 50%;
  transform: translateX(-149px);
  opacity: 0.5;
  top: 0;
  width: 318px;
  height: 119px;
  content: '';
  z-index: 2;
}

.contact-us .contact-us-content::after {
  background: url(../images/contact-dec-02.png);
  position: absolute;
  right: 0;
  bottom: 0;
  width: 183px;
  height: 149px;
  content: '';
  z-index: 2;
}

#contact-form input {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background-color: rgba(249, 235, 255, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

#contact-form input::placeholder {
  color: #fff;
}

#contact-form textarea {
  width: 100%;
  height: 120px;
  border-radius: 25px;
  background-color: rgba(249, 235, 255, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

#contact-form textarea::placeholder {
  color: #fff;
}

#contact-form button {
  border: none;
  height: 50px;
  font-size: 14px;
  font-weight: 600;
  background-color: #fff;
  padding: 0px 25px;
  border-radius: 25px;
  color: #801313;
  transition: all .4s;
  position: relative;
  z-index: 3;
}

#contact-form button:hover {
  opacity: 0.8;
}


footer {
  margin-top: 150px;
  position: relative;
  background-color: #801313;
  vertical-align: middle;
  min-height: 150px;
  border-radius: 150px 150px 0px 0px;
}

footer p {
  text-align: center;
  line-height: 150px;
  color: #fff;
  font-weight: 400;
}


body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .header-area {
    top: 0px;
  }
  .main-banner .item {
    padding: 80px 30px 120px 30px !important;
  }
  .main-banner .owl-nav {
    left: 30px !important;
  }
}

@media (max-width: 992px) {
  .header-area .main-nav .logo {
    border-right: none;
  }
  .main-banner {
    padding-top: 100px;
  }
  .main-banner .item {
    padding: 100px 60px 140px 60px;
    margin-left: 0px;
    text-align: center;
  }
  .main-banner .item h2,
  .main-banner .item p {
    width: 100%;
  }
  .main-banner .item h2 {
    font-size: 36px;
    line-height: 50px;
  }
  .main-banner .item .buttons {
    display: inline-block;
    text-align: center;
  }
  .main-banner .item .buttons .main-button {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .main-banner .owl-nav {
    left: 50% !important;
    transform: translateX(-60px) !important;
    bottom: 60px;
  }
  .main-banner .owl-nav .owl-prev i {
    bottom: 0px;
  }
  .main-banner .owl-nav .owl-next i {
    bottom: 0px;
    position: absolute;
    left: 65px;
  }
  .services {
    margin-top: 80px;
  }
  .services .service-item .icon {
    width: 170px;
    height: 170px;
    line-height: 170px;
  }
  .contact-us::before {
    display: none;
  }
  .contact-us .section-heading p {
    margin-top: 30px;
  }
  .courses {
    margin-top: 100px;
  }
  .fun-facts {
    margin-top: 70px;
  }
  .fun-facts::before {
    width: 95%;
  }
  .team {
    margin-top: 0px;
  }
  .contact-us {
    padding-top: 20px;
  }
  .contact-us .section-heading {
    margin-right: 0px;
  }
  .contact-us .contact-us-content {
    padding: 30px;
  }
  footer {
    margin-top: 30px;
  }
}

@media (max-width: 1200px) {
  .fun-facts:before {
    width: 95%;
  }
}


.scroll-animate {
  opacity: 0; 
  transition: opacity 0.5s ease-in-out; 
}

.events_item .thumb img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.events_item:hover .thumb img {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.header-area .main-nav .logo img {
  height: 60px; 

  width: auto; 
}

.main-banner .item .header-text h2,
.main-banner .item .header-text p {
  color: #801313 !important;
  text-shadow: 0px 0px 8px rgba(255, 255, 255, 1);
}

.section-heading {
  text-align: center;
}

.section-heading .category {
  background-color: #801313;
  color: #fff;
  font-size: 25px;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.services .service-item .main-content {
  text-align: center;
}


.services .row {
  display: flex !important;
  flex-wrap: wrap !important;
}
.services .row > [class*='col-'] {
  display: flex !important;
  flex-direction: column !important;
}
.services .service-item {
  flex-grow: 1 !important;
}

.services .service-item h4 {
  word-wrap: break-word;
}

.services .service-item .main-content {
  text-align: center;
  margin-right: 0; 
}

.services .service-item .icon {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}


body.dark-mode {
  background-color: #181818; 
  color: #cccccc; 
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
  color: #ffffff;
}

.dark-mode p {
    color: #cccccc;
}

.dark-mode .services .service-item .main-content,
.dark-mode .events_item,
.dark-mode .contact-us:before {
  background-color: #282828; 
}

.dark-mode .main-button a {
  background-color: #801313;
  color: #ffffff;
  border: 1px solid #444444;
}

.dark-mode .main-button a:hover {
  background-color: #801313;
  color: #fff;
}

.fun-facts h2::after {
  content: ""; 
}


.scrolling-container {
  background-color: #282828;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.scrolling-track {
  display: flex;
  width: fit-content;
}

.scrolling-container:hover .scrolling-track {
  animation-play-state: paused;
}

.scroll-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 250px;
  height: 100px;
  margin: 0 0px;
}

.scroll-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  transition: all 0.3s ease;
}

.scroll-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.section-heading {
  text-align: center;
}

.section-heading .brands {
  background-color: #801313;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 20px;
}

.services .service-item .main-content {
  text-align: center;
}


#locations .row {
  display: flex;
  flex-wrap: wrap;
}
#locations .col-lg-4 {
    margin-bottom: 30px;
    display: flex;
}

.location-card-vertical {
  background-color: #801313;
  border-radius: 25px;
  padding: 25px;
  text-align: center;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.location-card-vertical .card-image img {
  border-radius: 20px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.location-card-vertical .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.location-card-vertical .card-content h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}
.location-card-vertical .card-content .address {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 20px;
}
.location-card-vertical .card-content hr {
  border-color: rgba(255, 255, 255, 0.2);
}

.location-card-vertical .info-list {
  margin: 20px 0;
  text-align: left;
  display: inline-block;
}
.location-card-vertical .info-list p {
  color: #fff;
  margin-bottom: 10px;
}
.location-card-vertical .info-list i {
  width: 25px;
  margin-right: 8px;
  opacity: 0.8;
}

.location-card-vertical .white-pill-button {
  margin-top: auto; 
}
.white-pill-button {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  color: #801313;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  text-align: center;
  justify-content: center;
}
.white-pill-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

footer {
  margin-top: 100px;
  background-color: #801313;
  border-radius: 120px 120px 0 0;
  padding: 80px 0 0 0;
  min-height: auto;
}


.footer-widget {
  margin-bottom: 40px;
  text-align: center; 
}

.footer-widget h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 26px;
  margin-bottom: 25px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  margin: 0 4px; 
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #fff;
  color: #801313;
  transform: translateY(-3px);
}

.contact-list,
.locations-list {
  list-style: none;
  padding: 0;
  display: inline-block; 
  text-align: left; 
}

.contact-list li,
.locations-list li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.contact-list li i,
.locations-list li i {
  color: #fff;
  width: 25px;
  margin-right: 10px;
  font-size: 16px;
}

.copyright-text {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.copyright-text p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  line-height: normal;
  margin: 0;
}


.floating-btn {
  position: fixed;  
  bottom: 25px;     
  z-index: 1000;   
  width: 60px;
  height: 60px;
  background-color: #801313; 
  color: #fff;        
  border-radius: 50%;  
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;     
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 3px solid #ffffff; 
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float {
  right: 25px;
}

.call-float {
  left: 25px;
}

@media (max-width: 767px) {

  .main-banner .item h2 {
    font-size: 26px; 
    line-height: 38px; 
    margin-bottom: 20px; 
  }

  .main-banner .item p {
    font-size: 14px; 
    line-height: 24px; 
  }

  .main-banner .item {
    padding: 80px 25px 100px 25px !important; 
  }

  .main-banner .item .buttons .main-button a {
    height: 44px;
    line-height: 44px;
    padding: 0px 20px;
  }

}

@media (max-width: 480px) {
  
  .main-banner .item h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
  }
  .whatsapp-float {
    right: 15px;
  }
  .call-float {
    left: 15px;
  }
}

#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #181818; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-logo {
  width: 120px;
  height: auto;
  animation: fadeInOut 1.5s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* --- إعدادات أساسية وخطوط --- */
:root {
    --primary-color: #801313; /* لون ذهبي مميز، يمكنك تغييره */
    --white-color: #ffffff;
    --dark-color: #ffffff
    ;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--dark-color);
    color: var(--white-color);
    overflow-x: hidden;
}

/* =================================================================================
   CUSTOM STYLES FOR ANIMATED BANNER TEXT - By Gemini
   ================================================================================= */

/* --- 1. تصميم العنوان الرئيسي داخل البانر --- */
.header-text .headline {
    font-family: 'Poppins', sans-serif; /* استخدام خط القالب لتوحيد الشكل */
    font-size: 3.8rem; /* حجم خط كبير ومناسب */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* ظل للنص لتحسين الوضوح فوق الفيديو */
    
    /* إعدادات الحركة (الترانزيشن) */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* --- 2. تصميم العنوان الفرعي داخل البانر --- */
.header-text .subheadline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    
    /* إعدادات الحركة (الترانزيشن) */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* --- 3. حاوية الأزرار الجديدة --- */
.header-text .cta-buttons {
    /* إعدادات الحركة (الترانزيشن) */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

/* --- 4. تصميم الأزرار الجديدة (أساسي وثانوي) --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 25px; /* نفس شكل الأزرار في القالب */
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #ffffff; /* زر أبيض مثل زر القالب */
    color: #801313; /* لون أحمر القالب */
    border-color: #ffffff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #801313;
}

/* --- 5. تعريف حركة الظهور (الترانزيشن) --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- 6. تعديلات للشاشات الصغيرة --- */
@media (max-width: 767px) {
    .header-text .headline {
        font-size: 2rem; /* تصغير الخط للجوال */
        line-height: 1.3;
    }
    .header-text .subheadline {
        font-size: 0.7rem;
    }
    .btn {
        margin-bottom: 10px; /* لتجنب تلاصق الأزرار فوق بعضها */
    }
}

.hero {
    position: relative;
    height: 100vh; /* يجعل القسم يملأ الشاشة بالكامل */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* يضمن أن الفيديو يغطي المساحة بدون تشويه */
    transform: translate(-50%, -50%);
    z-index: -1; /* يضع الفيديو في الخلف */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* طبقة سوداء شبه شفافة */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

/* --- الترانزيشنات والنصوص --- */
.headline, .subheadline, .cta-buttons {
    opacity: 0; /* يبدأ شفافاً */
    transform: translateY(30px); /* يبدأ من الأسفل قليلاً */
    animation: fadeInUp 0.8s ease-out forwards;
}

.headline {
    font-size: 4.5rem; /* حجم خط كبير جداً */
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation-delay: 0.2s; /* تأخير ظهور العنوان الرئيسي */
}

.subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    animation-delay: 0.6s; /* تأخير أطول للعنوان الفرعي */
}

.cta-buttons {
    animation-delay: 1s; /* تأخير أطول للأزرار */
}

/* --- تصميم الأزرار --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--dark-color);
}

/* --- حركة الترانزيشن الرئيسية --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- مؤشر التمرير --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -15px);
    }
    60% {
        transform: translate(-50%, -8px);
    }
}


/* --- تصميم متجاوب مع شاشات الجوال --- */
@media (max-width: 768px) {
    .headline {
        font-size: 2.8rem;
    }
    .subheadline {
        font-size: 1.1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}

.hero1 {
    position: relative;
    height: 40vh; /* يجعل القسم يملأ الشاشة بالكامل */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero1-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* يضمن أن الفيديو يغطي المساحة بدون تشويه */
    transform: translate(-50%, -50%);
    z-index: -1; /* يضع الفيديو في الخلف */
}

.hero1-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* طبقة سوداء شبه شفافة */
    z-index: 0;
}

.hero-content1 {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

