/* Fonts */
:root {
  --default-font: "IBM Plex Sans Arabic";
  --background-color: #ffffff;
  --default-color: #444444; 
  --heading-color: #2c3182; 
  --accent-color: #22b4d5; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff; 
  scroll-behavior: smooth;
  --primary-color: #2c3182;
  --accent-hover: #1a8fa8;
  --bg-light: #f4f7fa;
  --bg-cream: #fffdf5;
  --text-dark: #0a1f44;
  --text-muted: #5a6680;
  --border-soft: rgba(0,0,0,0.06);
  --card-shadow: 0 10px 30px rgba(12, 46, 138, 0.05);
  --card-shadow-hover: 0 20px 40px rgba(12, 46, 138, 0.12);
}

body {
  scroll-behavior: smooth;
  color: var(--text-dark);
  background-color: #fff;
  font-family: var(--default-font);
  line-height: 1.6;
  position: relative;
}

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 {
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-card {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border-soft);
  position: relative;
}

.text-justify {
  text-align: justify;
}

.text-accent {
  color: var(--accent-color) !important;
}

.italic {
  font-style: italic;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: loading-dots 1.4s infinite ease-in-out both;
  animation-delay: -0.32s;
}

#preloader:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: loading-dots 1.4s infinite ease-in-out both;
  animation-delay: -0.16s;
  left: calc(50% + 30px);
}

.loading-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: loading-dots 1.4s infinite ease-in-out both;
  left: calc(50% - 30px);
}

@keyframes loading-dots {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

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

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  color: #fff;
}

.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 Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# WhatsApp Button
--------------------------------------------------------------*/
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999999;
  background-color: #14823d;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: 2px solid #ffffff;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn i {
  font-size: 24px;
  color: #ffffff;
  line-height: 0;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/*--------------------------------------------------------------
# Active Nav Link
--------------------------------------------------------------*/
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 991px) {
  .navbar-nav {
    padding: 20px 0;
  }
  .navbar-nav .nav-link {
    padding: 10px 0;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
  }
  .navbar-nav .nav-link::after {
    left: 0;
    right: 0;
    width: 30px;
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
# Sweet Footer Design
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(135deg, #1e2656 0%, #0f1a3d 50%, #0a1229 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Wave */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-99%);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.footer-wave-path {
  fill: #1e2656;
}

/* Footer Headings */
.footer-heading {
  color: #fff;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
  border-radius: 2px;
}

/* Footer Links */
.footer-links li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-links li a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.footer-links li a::before {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-links li a:hover {
  color: var(--accent-color) !important;
  padding-right: 20px;
}

.footer-links li a:hover::before {
  width: 10px;
}

/* Footer Icon Boxes */
.footer-icon-box {
  width: 40px;
  height: 40px;
  background: rgba(34, 180, 213, 0.15);
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-icon-box:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px) rotate(5deg);
}

/* Social Icon Boxes */
.social-icon-box {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(34, 180, 213, 0.3);
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.social-icon-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  z-index: 0;
}

.social-icon-box:hover::before {
  width: 100px;
  height: 100px;
}

.social-icon-box:hover {
  border-color: #1a8fa8;
  color: #fff;
  background-color: #1a8fa8;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 143, 168, 0.3);
}

.social-icon-box i {
  position: relative;
  z-index: 1;
}


/* Enhanced Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-brand > .logo {
  height: 65px; 
  width: 100px;
} 

/* Navbar Customizations */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        margin-left: 2rem;
    }
}

.collapse:not(.show) {
    display: none;
}

.navbar-collapse {
    flex-grow: 1;
    align-items: center;
} 

.hero-section {
  background: linear-gradient(135deg, rgba(44, 49, 130, 0.85) 0%, rgba(30, 35, 100, 0.9) 100%), url('/assets/img/7.jpg') center center/cover no-repeat;
  color: #fff;
  padding: 180px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--accent-color);
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.btn-primary-custom {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff !important;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary-custom:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.section-padding {
  padding: 80px 0;
}

.step-item {
  text-align: center;
}

.step-number {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 15px rgba(12, 46, 138, 0.2);
  font-size: 0.9rem;
  white-space: nowrap;
  min-width: max-content;
}

.step-connector {
  position: relative;
}

@media (min-width: 992px) {
  .step-connector::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--accent-color) 0, var(--accent-color) 5px, transparent 5px, transparent 10px);
    z-index: -1;
  }
  .step-item:last-child .step-connector::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .step-item {
    margin-bottom: 40px;
  }
}


/* Professional Colorful Pricing Cards */
.pricing-card {
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: right;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 25px 20px;
  }
}

.pricing-card:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-hover);
}


.pricing-card .card-header-simple {
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 20px;
  padding-bottom: 5px;
  text-align: center;
}

.pricing-card h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 8px;
  text-align: center;
}

.pricing-card .display-6 {
  color: #1a8fa8;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 10px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 6px;
}

.pricing-card .display-6 .text-muted {
  font-size: 0.8rem;
  font-weight: 400;
}

.pricing-card p.text-muted {
  color: #777 !important;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 15px;
  min-height: auto;
}

.pricing-card ul {
  text-align: right;
  padding-right: 0;
  margin-bottom: 25px !important;
  list-style: none;
}

.pricing-card ul li {
  padding: 6px 0;
  color: #555;
  font-size: 0.88rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 8px;
}

.pricing-card ul li i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 1px;
}

.btn-pricing {
  background-color: transparent;
  border: 1.5px solid #eee;
  color: #444;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pricing:hover {
  background-color: #1a8fa8;
  border-color: #1a8fa8;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(26, 143, 168, 0.2);
}

.pricing-card.featured .btn-pricing:hover {
  background-color: #157a91;
  border-color: #157a91;
}

.pricing-card .badge {
  background: linear-gradient(90deg, #1a8fa8, #22b4d5) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  margin-bottom: 15px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(26, 143, 168, 0.2);
}

.pricing-card .text-primary {
  color: #000 !important;
}

.text-accent {
  color: var(--accent-color)
}

.bg-accent {
  background-color: #f5f5f5 !important;
}

/* Contact Form Card */
.contact-form-card {
  border: 1px solid #e5e5e5;
  background: #fafafa;
  padding: 40px;
  border-radius: 12px;
}

.contact-form-card h3 {
  color: #222;
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1px solid #ddd;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: #999;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05);
}

.contact-form-card .form-label {
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.service-card {
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: #fff;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  box-shadow: var(--card-shadow);
}

.service-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-color);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--accent-color);
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Footer Logo Container
--------------------------------------------------------------*/
.footer-logo-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 25px;
  border-radius: 15px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-logo-container img {
  display: block;
}

/*--------------------------------------------------------------
# Workflow Section
--------------------------------------------------------------*/
#workflow {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*--------------------------------------------------------------
# About Us Section Visuals
--------------------------------------------------------------*/
#about {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #f8fbff;
}

/* SVG Background Pattern */
#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322b4d5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

/* Decorative Blobs */
.about-blob {
  position: absolute;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.6;
}

.about-blob-1 {
  top: -10%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(34, 180, 213, 0.2);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob-float 8s infinite alternate;
}

.about-blob-2 {
  bottom: -10%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: rgba(44, 49, 130, 0.15);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blob-float 10s infinite alternate-reverse;
}

@keyframes blob-float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(20px, 30px) rotate(10deg); }
}

/* Text Container Enhancement */
#about .container {
  position: relative;
  z-index: 2;
}

#about h2 {
  position: relative;
  display: inline-block;
  color: var(--heading-color);
}

#about h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

#about p {
  color: #555;
  line-height: 1.8;
}

/* About Us Glass Card */
.about-glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  position: relative;
  overflow: hidden;
}

.about-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), var(--heading-color));
}

/*--------------------------------------------------------------
# Mobile Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .navbar {
    padding: 8px 0;
  }
 .navbar-brand > .logo {
    height: 50px !important;
    width: 60px !important;
  }
  .hero-section h1 {
    font-size: 2.2rem !important;
  }
  .hero-section p.lead {
    font-size: 1.2rem !important;
    margin-bottom: 30px !important;
  }
  .hero-section .btn-lg {
    width: 100%;
    margin-bottom: 10px;
    padding: 15px 30px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .step-item {
    margin-bottom: 40px;
  }
  .pricing-card {
    margin-bottom: 30px;
    padding: 30px 20px;
  }
}