/*

Template 2106 Soft Landing

http://www.tooplate.com/view/2106-soft-landing
	
*/
 
  /* خط Cairo محلي (بدل الاعتماد على Google Fonts CDN)، منشان يدعم العربي والإنكليزي بخط واحد متناسق ويشتغل حتى لو Google محجوب */
  @font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    max-width: 100%;
    background: #f5f4dc;
  }



  /*---------------------------------------
     TYPOGRAPHY
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: normal;
  }

  h1 {
    font-size: 3em;
  }

  h2 {
    color: #353535;
    font-size: 2em;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }



  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: var(--brand-dark, #111827);
    text-decoration: none !important;
  }

  a,
  input, button,
  .form-control {
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  a:hover, a:active, a:focus {
    color: var(--brand-accent, #ffe600);
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: var(--brand-dark, #111827);
  }

  .section-title {
    padding-bottom: 40px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  }

  .service-card h3 {
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .service-card a {
    color: var(--brand-accent, #ffe600);
    font-weight: 600;
    display: inline-block;
  }

  .service-card-image {
    margin: -24px -24px 18px -24px;
    height: 170px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }

  .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .service-card:hover .service-card-image img {
    transform: scale(1.06);
  }

  section {
    position: relative;
    padding: 100px 0;
  }

  #contact,
  footer {
    background: #ffffff;
    text-align: center;
  }

  .online-form {
    position: relative;
  }

  .online-form .form-control {
    border-color: #f5f4dc;
    display: inline-block;
    vertical-align: top;
    border-radius: 50px;
    box-shadow: none;
    height: 50px;
    margin-right: 0.5em;
    padding-left: 15px;
  }

  .online-form input[type="email"] {
    width: 60%;
  }

  .online-form button {
    background: var(--brand-accent, #ffe600);
    border: 0;
    color: #ffffff;
    position: absolute;
    right: 6em;
    width: 25%;
  }

  .online-form button:hover {
    background: var(--brand-dark, #111827);
    color: #ffffff;
  }



  /*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

  .section-btn {
    display: inline-block;
    background: var(--brand-accent, #ffe600);
    border: 0;
    border-radius: 50px;
    color: var(--brand-dark, #111827);
    font-size: 16px;
    font-weight: normal;
    padding: 12px 30px;
    transition: 0.5s 0.2s;
    text-decoration: none;
  }

  .section-btn:hover,
  .section-btn:focus {
    background: var(--brand-dark, #111827);
    color: var(--brand-accent, #ffe600);
  }



  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  .custom-navbar {
    border: none;
    margin-bottom: 0;
    padding: 15px 0;
  }

  .custom-navbar .navbar-brand {
    color: #ffffff;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -1px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: auto !important;
    padding: 0 !important;
  }

  .navbar-logo {
    height: 70px;
    width: auto;
    display: block;
  }

  .top-nav-collapse {
    background: var(--brand-dark, #111827);
  }

  .custom-navbar .navbar-nav {
    margin-left: 2em;
  }

  .custom-navbar .nav li a {
    font-size: 16px;
    font-weight: normal;
    color: #f5f4dc;
    padding-right: 14px;
    padding-left: 14px;
  }

  .custom-navbar .nav li a:hover {
    background: transparent;
    color: var(--brand-accent, #ffe600);
  }

  .custom-navbar .navbar-nav > li > a:hover,
  .custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
  }

  .custom-navbar .nav li.active > a {
    background-color: transparent;
    color: var(--brand-accent, #ffe600);
  }

  .custom-navbar .navbar-toggle {
    border: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
  }

  .custom-navbar .navbar-toggle:hover,
  .custom-navbar .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, 0.16);
  }

  .custom-navbar .navbar-toggle .icon-bar {
    background: var(--brand-accent, #ffe600);
    border-color: transparent;
    width: 24px;
    height: 3px;
    border-radius: 2px;
  }

  .custom-navbar .navbar-toggle .icon-bar + .icon-bar {
    margin-top: 5px;
  }

  @media screen and (max-width: 540px) {
    .navbar-brand-text {
      font-size: 15px !important;
    }

    .navbar-brand-logo {
      height: 30px !important;
    }
  }

  @media screen and (max-width: 360px) {
    .navbar-brand-text {
      font-size: 13px !important;
    }

    .navbar-brand-logo {
      height: 26px !important;
    }
  }

  @media (max-width: 991px) {
    .services-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 767px) {
    .services-grid {
      grid-template-columns: 1fr;
    }

    .service-card {
      padding: 20px;
    }
  }

  .wide-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .page-services-heading {
    font-size: 26px;
    color: #111;
    margin-bottom: 28px;
    letter-spacing: -0.4px;
    position: relative;
    padding-left: 18px;
  }

  .page-services-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    border-radius: 4px;
    background: var(--brand-accent, #ffe600);
  }

  .services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 34px;
  }

  .service-showcase-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.14);
  }

  .service-showcase-image {
    position: relative;
    height: 240px;
    overflow: hidden;
  }

  .service-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .service-showcase-card:hover .service-showcase-image img {
    transform: scale(1.08);
  }

  .service-showcase-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 30px 30px;
  }

  .service-showcase-card h3 {
    margin-top: 0;
    font-size: 21px;
    color: #111;
    margin-bottom: 14px;
  }

  .service-showcase-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
  }

  .page-service-link {
    color: #111;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--brand-accent, #ffe600);
  }

  .page-service-link:hover {
    color: #a88f00;
  }

  @media (max-width: 767px) {
    .services-showcase-grid {
      grid-template-columns: 1fr;
    }

    .wide-container {
      padding: 0 16px;
    }
  }

  @media(min-width:768px) {
    .custom-navbar {
      border-bottom: 0;
      background: 0 0; 
    }

    .custom-navbar.top-nav-collapse {
      background: var(--brand-dark, #111827);
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
      padding: 10px 0;
    }

    .top-nav-collapse .navbar-brand {
      color: #ffffff;
    }

    .top-nav-collapse .nav li a {
      color: #f5f4dc;
    }

    .top-nav-collapse .nav .section-btn a {
      color: var(--brand-dark, #111827);
    }
  }



  /*---------------------------------------
      HOME          
  -----------------------------------------*/

  #home {
    position: relative;
    background: var(--brand-dark, #111827);
    overflow: hidden;
  }

  #home .owl-stage-outer,
  #home .owl-stage,
  #home .owl-item {
    height: 72vh;
  }

  .hero-slide {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 72vh;
  }

  .hero-slide-text {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 8%;
    text-align: left;
    min-width: 0;
    box-sizing: border-box;
    background: #536976;
    background: -webkit-linear-gradient(to right, #292E49, #536976);
    background: linear-gradient(to right, #292E49, #536976);
  }

  .hero-slide-image {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* حركة دخول بسيطة لنص السلايد الفعّال (تتكرر تلقائياً كل ما Owl Carousel ينقل كلاس active لسلايد جديد)،
     وتكبير بطيء (Ken Burns) لصورة السلايد الفعّال؛ كلاهما CSS بحت بدون أي مكتبة إضافية */
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes heroZoom {
    from { background-size: 100%; }
    to { background-size: 112%; }
  }

  .owl-item.active .hero-slide-text h3 {
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.05s;
  }

  .owl-item.active .hero-slide-text h1 {
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.2s;
  }

  .owl-item.active .hero-slide-text p {
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.35s;
  }

  .owl-item.active .hero-slide-image {
    animation: heroZoom 9s ease-in-out infinite alternate;
  }

  @media (prefers-reduced-motion: reduce) {
    .owl-item.active .hero-slide-text h3,
    .owl-item.active .hero-slide-text h1,
    .owl-item.active .hero-slide-text p,
    .owl-item.active .hero-slide-image {
      animation: none;
    }
  }

  #home h1 {
    color: #ffffff;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-slide-text h3 {
    color: var(--brand-accent, #ffe600);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-slide-text p {
    color: #d9dde2;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 14px;
    max-width: 90%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-slider.owl-theme {
    margin: 0;
    padding: 0;
  }

  .hero-slider .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0px;
    margin-bottom: -50px;
    padding: 0 !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
    line-height: 0;
    z-index: 5;
  }

  .hero-slider .owl-dots .owl-dot {
    display: inline-block;
    line-height: 0;
  }

  .hero-slider .owl-dots .owl-dot span {
    display: block;
    background: transparent;
    border: 1px solid #ffffff;
    width: 10px;
    height: 10px;
    margin: 3px;
    border-radius: 50%;
  }

  .hero-slider .owl-dots .owl-dot.active span {
    background: var(--brand-accent, #ffe600);
  }

  @media screen and (max-width: 767px) {

    .hero-slide {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
      height: auto;
      min-height: 70vh;
    }

    #home .hero-slider,
    #home .owl-stage-outer,
    #home .owl-stage,
    #home .owl-item {
      height: auto;
    }

    .hero-slide-text,
    .hero-slide-image {
      flex: 1 1 50vh;
      width: 100%;
    }

    .hero-slide-text {
      padding: 70px 7%;
      text-align: center;
    }

    #home h1 {
      font-size: 1.7em;
    }

    .hero-slide-text p {
      max-width: 100%;
    }
  }

  @media screen and (max-width: 540px) {
    .hero-slide-text {
      padding: 56px 6%;
    }

    #home h1 {
      font-size: 1.5em;
    }

    .hero-slide-text h3 {
      font-size: 12px;
      letter-spacing: 2px;
    }

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



  /*---------------------------------------
      FEATURE              
  -----------------------------------------*/

  #feature {
    background: #ffffff;
  }

  #feature .nav-tabs {
    border-bottom: 0;
  }

  #feature .nav>li>a {
    padding: 8px 0;
  }

  #feature .nav-tabs>li>a {
    color: #999999;
    font-size: 18px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    margin-right: 35px;
  }

  #feature .nav-tabs>li.active>a, 
  #feature .nav-tabs>li.active>a:focus, 
  #feature .nav-tabs>li.active>a:hover {
    background: transparent;
    color: var(--brand-dark, #111827);
    border-bottom: 3px solid var(--brand-accent, #ffe600);
  }

  #feature .nav>li>a:focus, 
  #feature .nav>li>a:hover {
    background: transparent;
    border-bottom: 3px solid var(--brand-accent, #ffe600);
    color: var(--brand-dark, #111827);
  }

  #feature .tab-content {
    margin-top: 50px;
  }

  .tab-pane-item {
    margin: 20px 0;
  }

  .tab-pane-item h2 {
    margin: 0 0 5px 0;
  }

  .feature-image {
    position: absolute;
    bottom: -27em;
  }



  /*---------------------------------------
      ABOUT / PORTFOLIO
  -----------------------------------------*/

  .portfolio-filter {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .portfolio-filter-btn {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.25s;
  }

  .portfolio-filter-btn:hover {
    border-color: var(--brand-accent, #ffe600);
    color: #222;
  }

  .portfolio-filter-btn.active {
    background: var(--brand-accent, #ffe600);
    border-color: var(--brand-accent, #ffe600);
    color: var(--brand-dark, #111827);
  }

  .portfolio-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .portfolio-row > [class*="col-"] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
  }

  .portfolio-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    transition: 0.3s;
  }

  .portfolio-card:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  }

  .portfolio-card-image {
    height: 220px;
    overflow: hidden;
  }

  .portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .portfolio-card-body {
    padding: 30px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .portfolio-card-body h2 {
    margin: 0;
    font-size: 22px;
  }

  .portfolio-card-body small {
    display: block;
    color: var(--brand-accent, #ffe600);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 8px 0 12px 0;
  }



  /*---------------------------------------
      PROJECT GALLERY (owl carousel)
  -----------------------------------------*/

  .project-gallery.owl-theme .owl-nav {
    margin-top: 0;
  }

  .project-gallery.owl-theme .owl-nav [class*="owl-"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 0;
    padding: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 18px;
    border-radius: 50%;
  }

  .project-gallery.owl-theme .owl-nav [class*="owl-"]:hover {
    background: var(--brand-accent, #ffe600);
    color: var(--brand-dark, #111827);
  }

  .project-gallery.owl-theme .owl-nav .owl-prev {
    left: 16px;
  }

  .project-gallery.owl-theme .owl-nav .owl-next {
    right: 16px;
  }

  .project-gallery.owl-theme .owl-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    margin-top: 0;
  }

  .project-gallery.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.6);
  }

  .project-gallery.owl-theme .owl-dots .owl-dot.active span,
  .project-gallery.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--brand-accent, #ffe600);
  }



  /*---------------------------------------
      CONTACT
  -----------------------------------------*/

  #contact-form .col-md-12,
  #contact-form .col-md-4 {
    padding-left: 0;
  }

  #contact-form .form-control {
    background: transparent;
    border: 0;
    border-bottom: 3px solid #f5f4dc;
    border-radius: 0;
    box-shadow: none;
    margin: 10px 0;
  }

  #contact-form .form-control:focus {
    border-bottom-color: var(--brand-dark, #111827);
  }

  #contact-form input {
    height: 50px;
  }

  #contact-form input[type='submit'] {
    background: var(--brand-dark, #111827);
    border-radius: 50px;
    border: 0;
    color: #ffffff;
  }

  #contact-form input[type='submit']:hover {
    background: var(--brand-accent, #ffe600);
    color: #ffffff;
  }
  


  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  footer {
    padding-bottom: 80px;
  }

  .copyright-text p {
    margin: 5px;
  }



  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
  }

  .social-icon li a {
    border-radius: 50px;
    color: var(--brand-dark, #111827);
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    position: relative;
    margin: 5px 5px 5px 0;
  }

  .social-icon li a:hover {
    background: #536976;
    color: #ffffff;
  }



  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

  @media only screen and (max-width: 1200px) {

    .custom-navbar .navbar-nav {
      margin-left: 3em;
    }

    .home-info {
      margin-top: 0;
    }
  }


  @media only screen and (max-width: 992px) {

    section {
      padding: 60px 0;
    }

    .custom-navbar .navbar-nav {
      margin-left: 0;
    }

    .custom-navbar .nav li a {
      font-size: 14px;
      padding-right: 15px;
      padding-left: 15px;
    }

    #feature .nav-tabs>li>a {
      font-size: 16px;
      margin-right: 20px;
    }

    .feature-image {
      bottom: -24em;
    }

    footer {
      padding-bottom: 40px;
    }
  }


  @media screen and (max-width: 767px) {

    .section-title {
      padding-bottom: 20px;
    }

    .custom-navbar {
      background: var(--brand-dark, #111827);
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .nav li a {
      line-height: normal;
      padding: 5px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: #ffffff;
      font-weight: normal;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: #f5f4dc;
    }

    .feature-image {
      position: relative;
      bottom: 0;
    }

    .testimonial-image,
    .testimonial-info {
      height: 85vh;
    }

    .testimonial-info {
      padding: 30px;
    }
  }


  @media screen and (max-width: 480px) {

    .online-form input[type="email"],
    .online-form .form-control {
      width: 85%;
    }

    .online-form .form-control {
      display: block;
      margin: 20px auto;
    }

    .online-form button {
      position: relative;
      right: 0;
    }

    .testimonial-image,
    .testimonial-info {
      height: 65vh;
    }
}

/*---------------------------------------
    RTL (ARABIC) NAVBAR MIRRORING
-----------------------------------------*/
html[dir="rtl"] .navbar-toggle {
  float: left;
  margin-left: 15px;
  margin-right: 0;
}

@media (min-width: 768px) {
  html[dir="rtl"] .navbar-header {
    float: right;
  }

  html[dir="rtl"] .navbar-brand {
    float: right;
    margin-left: 0;
  }

  html[dir="rtl"] .navbar-nav {
    float: right;
    margin-left: 0;
    margin-right: 2em;
  }

  html[dir="rtl"] .navbar-nav > li {
    float: right;
  }

  html[dir="rtl"] .navbar-nav.navbar-right {
    float: left !important;
    margin-right: 0;
    margin-left: -15px;
  }
}

/*---------------------------------------
    FADE-IN ON SCROLL
-----------------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/*---------------------------------------
    BACK TO TOP
-----------------------------------------*/
#back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-dark, #111827);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

#back-to-top:hover {
  background: var(--brand-accent, #ffe600);
}

#back-to-top:hover i {
  color: var(--brand-dark, #111827) !important;
}

@media screen and (max-width: 540px) {
  .floating-action-btn {
    width: 46px !important;
    height: 46px !important;
    bottom: 16px !important;
  }

  .floating-action-btn i {
    font-size: 22px !important;
  }

  .floating-whatsapp-btn {
    right: 16px !important;
  }

  .floating-call-btn {
    right: 70px !important;
  }

  #back-to-top {
    width: 40px;
    height: 40px;
    bottom: 70px;
    right: 16px;
  }
}
/* على الجوال: الزر عالطرف، والشعار والاسم بالنص */
@media screen and (max-width: 767px) {
    .custom-navbar .navbar-header {
        float: none !important;
        position: relative;
        text-align: center;
    }

    /* زر الهامبرغر ملزوق عالطرف */
    .custom-navbar .navbar-toggle {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
        z-index: 2;
    }

    /* الشعار والاسم بالنص */
    .custom-navbar .navbar-brand {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        float: none !important;
        margin: 0 auto !important;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .navbar-brand-text {
        font-size: 22px !important;
        margin-inline-start: 10px !important;
    }

    .navbar-brand-logo {
        height: 42px !important;
    }
}

/* الإنكليزي: الزر عاليسار */
html[dir="ltr"] .custom-navbar .navbar-toggle {
    left: 15px;
}

/* العربي: الزر عاليمين */
html[dir="rtl"] .custom-navbar .navbar-toggle {
    right: 15px;
}