/**
* Template Name: Bootslander
* Template URL: https://bootstrapmade.com/bootslander-free-bootstrap-landing-page-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Tajawal",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Tajawal",  sans-serif;
  --nav-font: "Tajawal",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #000000; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0c36b9; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #EFF1FF; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #0c36b9; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #EFF1FF; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #0c36b9; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #0c36b9; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0c36b9; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #ffffff;
  --surface-color: #0c36b9;
}

.dark-background {
  --background-color: #EFF1FF;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0c0091;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #10058c;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none !important;
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background: #010e2f;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;     /* hide everything below the footer’s bottom edge */

}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120%; height: 120%;
  background: radial-gradient(circle at center,
    rgba(30,60,216,0.3),
    transparent 70%),
  radial-gradient(circle at bottom right,
    rgba(0,191,255,0.3),
    transparent 70%);
  pointer-events: none;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-panel {
  flex: 1 1 300px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  color: #fff;
}

.footer-panel h2 {
  color: #1e90ff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-panel p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.social-icons i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #1e90ff;
  transition: color .3s;
}

.social-icons i:hover {
  color: #00bfff;
}

@media (max-width: 768px) {
  .footer-container {
    gap: 1rem; /* reduce space between panels */
  }
  .footer-panel {
    padding: 1rem !important;           /* tighten internal padding */
    margin-bottom: 1rem;                /* add small gap below each */
    border-radius: 12px;                /* optionally smaller radius */
  }
  .footer-panel h2 {
    font-size: 1.25rem;                 /* slightly smaller heading */
    margin-bottom: 0.5rem;
  }
  .footer-panel p,
  .footer-panel .social-icons i {
    font-size: 0.9rem;                  /* more compact text/icons */
  }
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
  text-align: right;
  direction: rtl;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
  text-align: right;
  direction: rtl;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
    text-align: right;
  direction: rtl;
}

.section-title div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* 1) Keyframes for the moving gradient */
#hero,
.hero.section.dark-background {
  /* kill the old solid background */
  background: none !important;

  /* establish a stacking context for the pseudo-element */
  position: relative;
  overflow: hidden;
}

/* 2) Bring your actual content above the gradient */
#hero > * {
  position: relative;
  z-index: 2;
}

/* 3) Define the keyframes for the animated gradient */
@keyframes gradientShift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* 4) Create the full-size gradient overlay */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0; */
  z-index: 1;                  /* sits just under your content */

  /* four-stop, moving blue gradient */
  background: linear-gradient(-45deg,
    #1e3cd8,
    #0052cc,
    #1e90ff,
    #00bfff
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  direction: rtl;
  z-index: 3;  /* keep your content above the ::before */
}

.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  direction: rtl;
}

.hero .container-fluid {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 3;
}

.hero-content-container {
  min-height: 70vh;
}

.hero-image {
  background: transparent;
  text-align: center;
}

.hero h1 {
  padding-right: 80px;
  font-size: clamp(25px, 6vw, 48px);
  font-weight: 700;
  line-height: 56px;
  color: color-mix(in srgb, #0c36b9);
  direction: rtl;
}

.hero h1 span {
  color: #ffffff;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  font-weight: 400;
  direction: rtl;
}

.contact-now {
  font-family: tajawal, sans-serif;
  color: #ffffff;
  max-width: 400px;
  padding-right: 20px;
}

.contact-now h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
}

.contact-item {
  display: flex;
  margin-bottom: 12px;
}

.contact-label {
  font-weight: bold;
  min-width: 120px;
  color: #3498db;
}

.contact-value {
  flex-grow: 1;
}

.hero .social-links {
  font-size: 0.9rem;
}

.hero .social-links a {
  padding: 15px 15px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero .social-links i {
  font-size: 1rem;
}

.hero .social-links a:hover {
  transform: translateX(-5px);
}

.hero .social-links a[href*="facebook"]:hover {
  background-color: #0c36b9;
}

.hero .social-links a[href*="client"]:hover {
  background-color: #000508;
}

.hero .social-links a[href*="instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@media (max-width: 991px) {
  .hero-content-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero .col-lg-6 {
    align-items: center !important;
    text-align: center !important;
  }

  .hero .social-links {
    align-items: center !important;
  }

  .hero h1 {
    padding-right: 0;
  }
}
.hero:before {
  content: "";
  background: color-mix(in srgb, #0c36b9, transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
  direction: rtl;
}





/*.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: #EFF1FF;
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: #EFF1FF;
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

/*.hero .btn-watch-video:hover {
  color: var(--accent-color);
}*/

/*.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}*/

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

.hero .hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.hero .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.6;
}

.hero .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.4;
}

.hero .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
/* Alternative if you prefer flexbox */


<!-- CSS (add to your main stylesheet) -->
<style>
.gallery-section {
  padding: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1/1;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}

.gallery-item p,
.gallery-item .text-muted {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .gallery-item {
    aspect-ratio: auto;
  }
}

.gallery-item {
  background: #ffffff;
  transition: all 0.3s ease-in-out;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


</style>
}
/*.gallery-item img {
  max-height: 200px;
  max-width: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center;
} */

/*.gallery-item button {
  font-size: 0.75rem;
  padding: 2px 8px;
  color: #0c36b9;
}*/

/*.gallery .gallery-item:hover img {
  transform: scale(1.1);
}
/*--------------------------------------------------------------
