/**
* project name: haya center
*copy version:2025
* host service:bhost
* Author: jannat rajaby
*bootstrap template: estartup

================
= brand color: =
================
#556b2f >>dark olive green
#789c3e >>olive green >اخضر زيتوني
#c89b2b >> golden
#f2ebd8 >>ivory
================
font brand:
================
tajawal,cairo
================
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/*
@import url("http://www.fontstatic.com/f=cocon-next-arabic");
@import url("http://www.fontstatic.com/f=jazeera,jazeera-light");
@import url("http://www.fontstatic.com/f=bahij");
@import url("http://www.fontstatic.com/f=jooza");
@import url("http://www.fontstatic.com/f=flat-jooza");*/
body {
  background-color: #f2ebd8;
  color: #556b2f;
  margin: 5%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h2 {
  color: #000;
  font-weight: 600;
}

h4 {
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 2;
}

h5 {
  color: #556b2f;
  font-size: 14px;
  font-weight: 500;
}

a {
  letter-spacing: 2px;
  text-decoration: none;
  color: #c89b2b;
}

a:hover {
  color: #b68e28d4;
}

ul {
  letter-spacing: 1.5px;
}

li {
  color: #c89b2b;
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 35px;
  text-transform: capitalize;
}

p {
  color: #789c3e;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 2;
  margin-bottom: 20px;
}

span {
  letter-spacing: 1px;
  color: #c89b2b;
}

.container-full {
  padding-left: 0;
  padding-right: 0;
}

.btn {
  border: 1px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 15px 40px;
  text-transform: uppercase;
  transition: all 0.5s ease-in-out 0s;
}

.btn-default:hover {
  color: #fff;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.fa {
  text-decoration: none;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background:#789c3e;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #556b2f ;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #f2ebd8;
  z-index: 997;
  transition: all 0.5s ease;
  padding: 20px 0;
}

#header #logo h1 {
  color: #c89b2b;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
}

#header #logo h1 a {
  color: #a78224d0;
  display: inline-block;
  text-decoration: none;
}

#header #logo h1 a span {
  color: #c89b2b;
}

#header #logo img {
  padding: 0;
  margin: 0;
}

#header.header-scrolled {
  background: #f2ebd8;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  /* font-family: "cocon-next-arabic"; */
  font-size: 20px;
  color: #789c3e;
  white-space: nowrap;
  transition: 0.3s;
  letter-spacing: 0;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #c89b2b;
}


@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {

  color: #222;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(34, 34, 34, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  /* font-family: "cocon-next-arabic"; */
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 6px;
  background-color: #f2ebd8;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #556b2f;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #789c3e;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

/*--------------------------------------------------------------
# Hero Section (Enhanced with Animations)
--------------------------------------------------------------*/

.hero {
  box-sizing: border-box;
  margin-top: 10%;
  padding: 20px;
  font-family: 'Tajawal', sans-serif;
  background-color: #f2ebd8;
  margin: 40px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  overflow: hidden;
}

.hero img {
  margin-top: 5%;
  max-width: 100%;
  height: auto;
  flex: 1 1 400px;
  opacity: 0;
  animation: fadeInRight 1.2s ease forwards;
  animation-delay: 0.8s;
}

.hero .content {
  text-align: center;
  flex: 1 1 400px;
}

.hero .content h1 {
  color: #789c3e;
  font-size: 40px;
  font-weight: 300;
  margin-top: 60px;
  margin-bottom: 5px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero .content h5 {
  color: #789c3e;
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 5px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero .content p {
  color: #556b2f;
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.btn-get-started {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 18px;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #556b2f;
  background: #f2ebd8;
  color: #556b2f;
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

.btn-get-started:hover {
  background: #789c3e;
  color: #fff;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive adjustments (نفس الموجودة عندك) */
@media (max-width: 884px) {
  .hero {
    flex-direction: column;
    margin-top: 10%;
    padding: 20px 10px;
    gap: 20px;
  }

  .hero img {
    margin-top: 18%;
    max-width: 100%;
    height: 300px;
    flex: 1 1 400px;
  }

  .hero .content h1 {
    font-size: 30px;
  }

  .hero .content h5 {
    font-size: 22px;
  }

  .hero .content p {
    font-size: 16px;
  }

  .btn-get-started {
    font-size: 16px;
    padding: 8px 24px;
  }
}

@media (max-width: 678px) {
  
  .hero img {
    margin-top: 18%;
    max-width: 100%;
    height: 300px;
    flex: 1 1 400px;
  }

  .hero .content h1 {
    font-size: 26px;
  }

  .hero .content h5 {
    font-size: 20px;
  }

  .hero .content p {
    font-size: 14px;
  }
}

@media (max-width: 428px) {
  .hero {
        margin-top: 15%;
    flex-direction: column;

    padding: 20px 10px;
    gap: 20px;
  }

  .hero img {
    margin-top: 18%;
    max-width: 100%;
    height: 300px;
    flex: 1 1 400px;
  }

  .hero .content h1 {
    font-size: 30px;
  }

  .hero .content p {
    font-size: 14px;
  }
}

/*------------------------------*
*----------about-------------*
--------------------------------*/

    .about-section {
       
      margin-top: 10px;
      padding-top: 20px;
      /* background-color: #fdfcf5; */
      font-family: 'Tajawal', sans-serif;
      padding: 40px 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      align-items: center;
      justify-content: center;
      max-width: 1200px;
      margin: auto;
    }

    .about-image, .about-text {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s ease forwards;
    }

    .about-image {
      flex: 1 1 300px;
      max-width: 500px;
      animation-delay: 0.2s;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      border-radius: 15px;
      overflow: hidden;
    }

    .about-image img {
      width: 100%;
      display: block;
      border-radius: 15px;
    }

    .about-text {
      flex: 1 1 300px;
      color: #556b2f ;
      text-align: right;
      animation-delay: 0.4s;
    }

    .about-text h2 {
      color: #88a63c;
      font-size: 28px;
      margin-bottom: 20px;
    }

    .about-text p, .about-text ul {
      font-size: 17px;
      line-height: 1.8;

    }

    .about-text ul {
      color: #556b2f ;
      padding-right: 20px;
      font-size: 12px;
    }

    .about-text p.final {
      font-size: 19px;
      font-weight: bold;
      color: #88a63c;
      margin-top: 20px;
    }

    @media (max-width: 768px) {
      .about-section {
        flex-direction: column;
        text-align: right;
        padding: 30px 15px;
      }
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
/* -----------------------------
       Features Section
--------------------------------*/
#features {
  padding-top: 30px;
  /* margin-top: 10px; */
  margin-bottom: 30px;
  display: inline-block;
  height: 100%;
  width: 100%;
}
#features .section-title h2 {
  font-size: 50px;
  color:#c89b2b
  /* font-family: "rabar"; */
}
#features .section-title p {
  letter-spacing: 0px;
  font-size:25PX;
  color: #556b2f;
  /* font-family: 'flat-jooza'; */
}
#features .feature-block {
  background: #fff none repeat scroll 0 0;
  padding: 30px 20px;
  margin-bottom: 30px;
  transition: all 0.5s ease-in-out 0s;
}

#features .feature-block img {
  height: 60px;
  margin-bottom: 30px;
  width: 60px;
}

#features .feature-block:hover {
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-in-out 0s;
}

#features .feature-block h4 {
  margin-bottom: 20px;
  letter-spacing: 0;
  /* font-family: "rabar"; */
  font-size: 20px;
}

#features .feature-block p {
  margin-bottom: 0;
  letter-spacing: 0px;
  /*font-family: 'flat-jooza';*/
  font-size: 18px;
  color: #c89b2b;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: #556b2f;
  margin-top: 30px;
  padding-top: 50px;
  direction: rtl;
}

.footer .footer-logo .navbar-brand {
  color: #fff;
  display: inline-block;
  float: none;
  font-family: "Philosopher", sans-serif;
  font-size: 24px;
  font-weight: 500;
  height: 100%;
  letter-spacing: 0.2em;
  padding-left: 0;
  padding-top: 0;
  letter-spacing: 0px;
}

.footer .footer-logo p {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0px;
}

.footer .list-menu > h4 {
  color: #fff;
  padding-bottom: 20px;
}

.footer .list-menu ul li a {
  color: #fff;
  font-size: 12px;
  padding-left: 5px;
  text-decoration: none;
  letter-spacing: 0;
}

.footer .copyrights {
  background-color: #f2ebd8;
  margin-top: 50px;
  text-align: center;
  padding: 25px;
}

.footer .copyrights p,
.footer .copyrights .credits {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0;
}

.footer .copyrights p a,
.footer .copyrights .credits a {
  letter-spacing: 0;
  color: #71c55d;
}
