/* Add mobile-only About section padding */
@media (max-width: 768px) {
  /* Critical fix for white space - apply to everything */
  * {
    max-width: 100vw !important;
  }
  
  #company-brief .container { padding-left: 16px !important; padding-right: 16px !important }
  #company-brief .company-title { padding: 0 6px !important }
  #company-brief .company-description { padding: 0 12px !important }
  html[lang="ar"] #company-brief .company-description { padding-right: 16px !important }
  
  /* Fix horizontal overflow and white space on mobile */
  html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }
  
  .main {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Force hero section to full width */
  .hero, .hero-section, #hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
  }
  
  .hero-bg-image {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
  }
  
  .bg-image {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
}
/* Safari Mobile Viewport Fix */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific styles */
  body {
    /* Prevent Safari from adding padding for the address bar */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  /* Fix for fixed header on Safari */
  .header {
    padding-top: env(safe-area-inset-top);
  }
  
  /* Ensure content doesn't get hidden behind Safari UI */
  .main-content {
    padding-top: calc(env(safe-area-inset-top) + 88px);
  }
  
  /* Fix for mobile navigation */
  .mobile-nav-container {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Universal box-sizing and overflow control */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Century+Gothic:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dubai:wght@300;400;500;600;700&display=swap');

/* Variables and Defaults */
:root {
  /* Fonts */
  --default-font: "Century Gothic", "CenturyGothic", "AppleGothic", sans-serif;
  --heading-font: "Dubai", "Arial", sans-serif;
  --nav-font: "Dubai", "Arial", sans-serif;

  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #37517e;
  --accent-color: #222353;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Nav Menu Colors */
  --nav-color: #ffffff;
  --nav-hover-color: #d2d2d5;
  --nav-mobile-background-color: var(--dimensions-navy);
  --nav-dropdown-background-color: var(--dimensions-navy);
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #d2d2d5;

  /* Scroll Behavior */
  scroll-behavior: smooth;
}

/* Global Font Application */
* {
  font-family: var(--default-font);
}

body {
  font-family: var(--default-font);
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
}

h2 {
  font-weight: 600;
  font-size: 2rem;
}

h3 {
  font-weight: 600;
  font-size: 1.5rem;
}

.navbar, .nav, .navmenu, .header .navmenu {
  font-family: var(--nav-font);
  font-weight: 500;
}

.navbar a, .nav a, .navmenu a, .header .navmenu a {
  font-family: var(--nav-font);
  font-weight: 500;
}

/* Button and CTA fonts */
.btn, .btn-services, .cta-button {
  font-family: var(--heading-font);
  font-weight: 600;
}

/* Card titles and headings */
.card-title, .section-title, .page-title {
  font-family: var(--heading-font);
  font-weight: 600;
}

/* Project numbers and labels */
.project-number, .card-project-number, .label {
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Body text and descriptions */
p, .description, .card-description, .text-content {
  font-family: var(--default-font);
  font-weight: 400;
  line-height: 1.6;
}

/* Emphasis and highlights */
.emphasis, .highlight, .strong {
  font-family: var(--default-font);
  font-weight: 700;
}

/* Italic text for quotes and emphasis */
.quote, .italic, .emphasis-text {
  font-family: var(--default-font);
  font-style: italic;
  font-weight: 400;
}

/* Additional font applications */
.header .logo h1 {
  font-family: var(--heading-font);
  font-weight: 700;
}

.navmenu ul li a {
  font-family: var(--nav-font);
  font-weight: 500;
}

.navmenu ul li a.active {
  font-family: var(--nav-font);
  font-weight: 600;
}

/* Section headings */
.section-title, .page-header h1, .hero-section h1 {
  font-family: var(--heading-font);
  font-weight: 700;
}

.section-subtitle, .page-header p, .hero-section p {
  font-family: var(--default-font);
  font-weight: 400;
}

/* Form elements */
input, textarea, select, label {
  font-family: var(--default-font);
  font-weight: 400;
}

/* Footer text */
footer, .footer {
  font-family: var(--default-font);
  font-weight: 400;
}

footer h3, .footer h3 {
  font-family: var(--heading-font);
  font-weight: 600;
}

/* Elegant Services Button Styles */
.btn-services {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-family: var(--heading-font);
  font-weight: 600;
  color: #ffffff;
  background: #222353;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(34, 35, 83, 0.3);
  backdrop-filter: blur(10px);
}

.btn-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-services:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(55, 81, 126, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-services:hover::before {
  opacity: 1;
}

.btn-services .btn-text {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.btn-services .btn-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.btn-services:hover .btn-icon {
  transform: translateX(4px);
}

.btn-services .btn-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-services:hover .btn-shine {
  transform: translateX(100%);
}

.btn-services:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(55, 81, 126, 0.3);
}

/* Mobile responsive button styles */
@media (max-width: 768px) {
  .btn-services {
    padding: 14px 28px;
    font-size: 15px;
    gap: 10px;
  }
  
  .btn-services .btn-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .btn-services .btn-icon {
    width: 18px;
    height: 18px;
  }
}

/* Color Presets */
.light-background {
  --background-color: #f5f6f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

/* General Styling */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: sans-serif;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

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

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

/* Headjkjer */
.header {
  --background-color: #222353;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 2px 0;
  transition: all 0.5s;
  z-index: 997;
  animation: fadeSlideDown 1s ease-in-out;
}

.header .logo {
  line-height: 1;
  display: flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-decoration: none !important;
  height: 100% !important;
}

.header .logo img {
  max-height: 120px !important;
  width: auto !important;
  height: 120px !important;
  border-radius: 0 !important;
  margin-right: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  object-fit: contain !important;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: 2px;
  visibility: visible !important;
  opacity: 1 !important;
  /* text-transform: uppercase; */
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Responsive */
@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin-right: 15px;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
  
  .header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* Mobile responsive logo styles - Global */
@media (max-width: 768px) {
  .header .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 100% !important;
    width: auto !important;
    position: relative !important;
    transform: none !important;
  }
  
  .header .logo img {
    max-height: 90px !important;
    width: auto !important;
    height: 90px !important;
    border-radius: 0 !important;
    margin-right: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain !important;
    transform: none !important;
    position: relative !important;
  }
  
  .header .logo h1 {
    font-size: 24px !important;
    letter-spacing: 1px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 576px) {
  .header .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 100% !important;
    width: auto !important;
    position: relative !important;
    transform: none !important;
  }
  
  .header .logo img {
    max-height: 80px !important;
    width: auto !important;
    height: 80px !important;
    border-radius: 0 !important;
    margin-right: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain !important;
    transform: none !important;
    position: relative !important;
  }
  
  .header .logo h1 {
    font-size: 20px !important;
    letter-spacing: 0.5px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 480px) {
  .header .logo {
    display: none !important;
  }
  
  .header .logo img {
    display: none !important;
  }
  
  .header .logo h1 {
    display: none !important;
  }
  
  /* Ensure mobile navigation is properly layered */
  .header .navmenu {
    z-index: 10000 !important;
  }
  
  .header .mobile-nav-toggle {
    z-index: 10001 !important;
    position: relative !important;
  }
}

/* Index Page Header */
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  --nav-color: #ffffff;
}

.index-page.scrolled .header {
  --background-color: rgba(34, 35, 83, 0.9);
}

/* Animations */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.header .btn-getstarted:hover {
  animation: pulse 0.5s ease-in-out;
}

/* Nav Menu Hover Line */
.navmenu ul li a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.navmenu ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: var(--heading-color);
  transition: width 0.3s ease-in-out;
}

.navmenu ul li a:hover::after {
  width: 100%;
}

/*-------------------------------
# Navigation Menu (Optimized)
--------------------------------*/

/* Common transitions for nav links */
.navmenu a,
.navmenu a:focus,
.navmenu a i,
.navmenu a:focus i {
  transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a {
    color: var(--nav-color);
    padding: 18px 15px;
    font: 400 15px var(--nav-font);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    border-radius: 4px;
    margin: 2px 0;
    transition: all 0.3s ease;
  }

  .navmenu a:hover {
    color: #d2d2d5;
    background: rgba(210, 210, 213, 0.1);
    transform: translateX(5px);
  }

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

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    background: rgba(210, 210, 213, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .navmenu .active {
    background: rgba(210, 210, 213, 0.15);
    color: #d2d2d5;
    font-weight: 600;
  }

  /* Dropdown styles */
  .navmenu .dropdown ul,
  .navmenu .megamenu ul {
    background: var(--nav-dropdown-background-color);
    position: absolute;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .navmenu .dropdown ul {
    top: 130%;
    left: 14px;
  }

  .navmenu .megamenu ul {
    top: 130%;
    left: 0;
    right: 0;
    display: flex;
  }

  .navmenu .dropdown:hover > ul,
  .navmenu .megamenu:hover > ul {
    top: 100%;
    opacity: 1;
    visibility: visible;
  }

  .navmenu .dropdown ul li,
  .navmenu .megamenu ul li {
    min-width: 200px;
    flex: 1;
  }

  .navmenu .dropdown ul a,
  .navmenu .megamenu ul a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .megamenu ul a:hover,
  .navmenu .megamenu ul .active {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -100%;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile Navigation */
/* Mobile Navigation - Now handled by mobile-nav.css */
@media (max-width: 1199px) {
  .navmenu {
    display: none; /* Hide desktop navigation on mobile */
  }
}

/*-----------------------------
# CEO Section
-----------------------------*/
.ceo {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.ceo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(55, 81, 126, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 35, 83, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.ceo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.ceo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.ceo-photo-container {
  position: relative;
  display: inline-block;
}

.ceo-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.ceo-photo:hover {
  transform: scale(1.05);
}

.ceo-photo-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #37517e 0%, #222353 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ceo-photo-icon {
  color: #ffffff;
  font-size: 22px;
}

.ceo-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #222353;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.ceo-badge i {
  margin-right: 8px;
  font-size: 16px;
}

.ceo-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222353;
  margin-bottom: 6px;
  font-family: var(--heading-font);
}

.ceo-title {
  font-size: 1rem;
  color: #37517e;
  margin-bottom: 15px;
  font-weight: 500;
}

.ceo-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6c757d;
  margin-bottom: 15px;
}

.ceo-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 60px;
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #37517e;
  margin-bottom: 2px;
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.ceo-quote {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid #37517e;
  position: relative;
}

.ceo-quote i {
  font-size: 2rem;
  color: #37517e;
  position: absolute;
  top: -10px;
  left: -40px;
  background: #ffffff;
  padding: 0 10px;
}

.ceo-quote blockquote {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.4;
  padding-left: 12px;
}

/* Responsive CEO Section */
@media (max-width: 768px) {
  .ceo {
    padding: 25px 0;
  }
  
  .ceo-card {
    padding: 15px 12px;
  }
  
  .ceo-photo {
    width: 220px;
    height: 220px;
  }
  
  .ceo-name {
    font-size: 1.5rem;
  }
  
  .ceo-stats {
    gap: 12px;
    justify-content: center;
  }
  
  .stat-item {
    min-width: 55px;
  }
}

/*-----------------------------
# Newsletter Section
-----------------------------*/
.newsletter-section {
  background: linear-gradient(135deg, #5f9ea0 0%, #4682b4 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(135, 206, 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(135, 206, 235, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-form {
  position: relative;
  z-index: 2;
}

.newsletter-form .input-group {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-form .input-group-text {
  background: #ffffff;
  border: none;
  color: #2196f3;
  font-size: 18px;
  padding: 12px 15px;
}

.newsletter-form .form-control {
  border: none;
  padding: 12px 15px;
  font-size: 16px;
  background: #ffffff;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: #2196f3;
}

.newsletter-btn {
  background: linear-gradient(135deg, #2f4f4f 0%, #1a1a1a 100%);
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(70, 130, 180, 0.3);
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #2f4f4f 0%, #1a1a1a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

.newsletter-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
  transform: translateX(3px);
}

/* Responsive Newsletter */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 40px 0;
  }
  
  .newsletter-form .row {
    flex-direction: column;
  }
  
  .newsletter-form .col-md-4 {
    margin-bottom: 15px;
  }
  
  .newsletter-btn {
    width: 100%;
    padding: 15px 25px;
  }
}

/*-----------------------------
# Footer (Optimized)
-----------------------------*/
.footer {
  color: #ffffff;
  background: linear-gradient(135deg, #0a0a2e 0%, #000033 100%);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(108, 117, 125, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(108, 117, 125, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(108, 117, 125, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer .footer-top {
  padding-top: 50px;
  padding-bottom: 30px;
  position: relative;
  z-index: 2;
}

.footer .footer-about {
  margin-bottom: 30px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links h4 {
  margin-bottom: 20px;
}

.footer .footer-links ul {
  margin-bottom: 0;
}

.footer .footer-links ul li {
  margin-bottom: 15px;
}

.footer .footer-links ul li:last-child {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .copyright {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(108, 117, 125, 0.4);
  font-size: 16px;
  color: rgba(108, 117, 125, 0.9);
  margin-right: 10px;
  transition: 0.3s;
  background: rgba(108, 117, 125, 0.1);
}

.footer .social-links a:hover {
  color: #6c757d;
  border-color: #6c757d;
  background: rgba(108, 117, 125, 0.2);
  transform: translateY(-2px);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 12px;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(108, 117, 125, 0.3);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul i {
  font-size: 12px;
  margin-right: 3px;
  color: #d1d3d4;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: #d1d3d4;
}

.footer .footer-about a {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer .footer-about a:hover {
  transform: scale(1.05);
}

.footer-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo-small {
  height: 20px;
  width: auto;
  max-width: 80px;
  filter: brightness(0) invert(1);
  vertical-align: middle;
  margin: 0 5px;
}

.footer .footer-contact p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.footer .footer-contact p:last-child {
  margin-bottom: 0;
}

.footer .footer-contact p a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer .footer-contact p a:hover {
  color: #d1d3d4;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(108, 117, 125, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.footer .copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer .copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer .copyright a:hover {
  color: #d1d3d4;
}

.footer .credits {
  font-size: 13px;
  margin-top: 6px;
}

/*--------------------------------------------------------------
# Preloader (Optimized)
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999; /* تقليل الزائد عن الحاجة */
  overflow: hidden;
  background: var(--background-color);
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#preloader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 6px solid transparent;
  border-top-color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: animate-preloader 1.2s linear infinite;
}

/* تقليل مدة الأنميشن لتحسين الإحساس بالسرعة */
@keyframes animate-preloader {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button (Optimized)
--------------------------------------------------------------*/

.scroll-top {
  position: fixed;
  right: 15px;
  bottom: -15px;
  z-index: 9999; /* تقليل z-index المبالغ فيه */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, bottom 0.4s ease;
}

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

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

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


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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs (Optimized)
--------------------------------------------------------------*/

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

.page-title h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px; /* بدل من padding-left */
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
  font-size: 14px;
}

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

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

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles (Optimized)
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

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

.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  margin: auto;
}

.section-title h2::before {
  width: 160px;
  height: 1px;
  bottom: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
}

.section-title h2::after {
  width: 60px;
  height: 3px;
  bottom: 0;
  background: var(--accent-color);
}

.section-title p {
  margin: 0;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden !important;
  background: #222353;
  z-index: 0;
  margin: 0 !important;
  padding: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* Override section padding for hero */
.hero.section,
section.hero,
#hero.section {
  padding: 0 !important;
  overflow: hidden !important;
}

/* Hero Background Image */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  overflow: hidden !important;
  z-index: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.bg-image {
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.3s ease;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

/* Optional: Add a subtle zoom effect on hover */
.hero:hover .bg-image {
  transform: scale(1.05);
}

/* Responsive background image */
@media (max-width: 768px) {
  .hero {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .hero-bg-image {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  
  .bg-image {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    object-position: center center !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  
  .hero-caption {
    padding: 2rem 1rem;
  }
  
  .hero-image {
    animation: heroFloat 4s ease-in-out infinite;
  }
}

@media (max-width: 576px) {
  .hero-caption {
    padding: 1.5rem 1rem;
  }
}

/* تنسيق النص */
.hero-text-content {
  padding: 2rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 8rem;
}

/* Hero Slogan Styles */
.hero-slogan {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
  position: relative;
  padding-bottom: 1rem;
}

.hero-slogan .slogan-quote {
  color: var(--accent-color);
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(71, 178, 228, 0.6);
}

.hero-slogan .slogan-word {
  display: block;
  margin: 0.5rem 0;
  transition: all 0.3s ease;
}

.hero-slogan .slogan-word:hover {
  color: var(--accent-color);
  transform: scale(1.05);
  text-shadow: 0 6px 12px rgba(71, 178, 228, 0.8);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  padding-bottom: 1rem;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #222353 0%, #222353 100%);
  border-radius: 2px;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* تنسيق الصورة */
.hero-image-container {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.5s ease;
  animation: heroFloat 6s ease-in-out infinite;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(13,75,169,0.3) 0%, rgba(9,72,135,0.2) 100%);
}

.hero-image-container:hover .hero-image {
  transform: scale(1.03);
}

/* تأثيرات للجوال */
@media (max-width: 992px) {
  .hero-text-content {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .hero-slogan {
    font-size: 2.8rem;
  }
  
  .hero-slogan .slogan-quote {
    font-size: 3.2rem;
  }
  
  .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-image-container {
    margin-bottom: 1.5rem;
  }
  
  .hero-image {
    animation: heroFloat 4s ease-in-out infinite;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .hero-text-content {
    padding: 1.5rem;
    margin-top: 1rem;
  }
  
  .hero-slogan {
    font-size: 2.2rem;
  }
  
  .hero-slogan .slogan-quote {
    font-size: 2.6rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-image {
    max-width: 250px;
  }
}

/* تحسين حركة الجسيمات */
@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translate(50px, -30px) rotate(90deg) scale(1.1);
    opacity: 0.9;
  }
  50% {
    transform: translate(100px, 0) rotate(180deg) scale(1);
    opacity: 0.8;
  }
  75% {
    transform: translate(50px, 30px) rotate(270deg) scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
    opacity: 0.8;
  }
}

/* Hero Image Floating Animation */
@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-5px);
  }
  75% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* تحسينات إضافية للوضوح */
/* Removed duplicate hero background and animation */


/*--------------------------------------------------------------
# About Section (Optimized)
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  display: flex;
  align-items: center;
  padding-bottom: 5px;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  font-size: 16px;
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 5px;
  transition: 0.3s;
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: transform 0.3s;
}

.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .read-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# About Section Animations
--------------------------------------------------------------*/
.animated-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  animation: fadeInUp 1.2s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Hover Effect */
.card-hover:hover {
  transform: translateY(-10px) scale(1.03) rotateZ(-0.5deg);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/*--------------------------------------------------------------
# Our Services Section (Optimized)
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0 5px 90px rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  font-size: 36px;
  color: #666666;
  transition: color 0.3s ease;
}

.services .service-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.services .service-item p {
  font-size: 14px;
  line-height: 24px;
  margin: 0;
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover .icon {
  background: #f8f9fa;
  color: #333333;
}

.services .service-item:hover h4 a {
  color: #333333;
}

/*--------------------------------------------------------------
# Our Projects Section (Optimized)
--------------------------------------------------------------*/

/* Portfolio Flip Card Styles */
.portfolio-flip-card {
  background-color: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.portfolio-flip-card:hover .portfolio-flip-card-inner {
  transform: rotateY(180deg);
}

.portfolio-flip-card-front, .portfolio-flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-flip-card-front {
  background-color: #bbb;
  color: black;
}

.portfolio-flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-flip-card-back {
  background: #222353;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portfolio-back-content {
  text-align: center;
}

.portfolio-back-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-flip-card {
    height: 250px;
  }
  
  .portfolio-back-content h4 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .portfolio-flip-card {
    height: 220px;
  }
  
  .portfolio-back-content {
    padding: 15px;
  }
  
  .portfolio-back-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

/* Numbers and Experience*/
 #project-stats {
  padding: 60px 0;
}

/* Mobile: 2x2 grid for countup-item and smaller font */
@media (max-width: 768px) {
  #project-stats .row.gy-5.justify-content-center.mb-5 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    justify-items: center;
    align-items: stretch;
    margin-bottom: 18px;
  }
  #project-stats .countup-item {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding: 8px 0;
    min-width: unset;
    box-shadow: none;
    border-radius: 0;
  }
  #project-stats .countup-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
  }
  #project-stats .countup-title {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.1;
    margin-top: 2px;
  }
  #project-stats .countup-desc {
    font-size: 0.7rem;
    margin-top: 0.2em;
  }
  #project-stats .countup-icon i {
    font-size: 2rem;
    margin-bottom: 0.2em;
  }
}

.swiper {
  position: relative;
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

 /* Arrows customization */
.custom-prev, .custom-next {
  color: #374f7e;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 10;
  transform: translateY(-50%);
}

.custom-prev {
  left: -20px;
}

.custom-next {
  right: -20px;
}
 
/* Stat card animation */
.stat-card {
  background-color: #f8f9fa;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Contact Section
/* Mobile: 2x2 grid for ceo-stats and smaller font */
@media (max-width: 768px) {
  .ceo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    justify-items: center;
    align-items: center;
    margin-bottom: 18px;
  }
  .ceo-stats .stat-item {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding: 8px 0;
  }
  .ceo-stats .stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
  }
  .ceo-stats .stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.1;
    margin-top: 2px;
  }
}
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/* Hover effect for icon and text */
.social-icon {
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
  color: #E1306C; /* Instagram pink */
}

.social-icon:hover {
  transform: scale(1.2) rotate(5deg);
  color: #C13584;
}

.hover-text {
  transition: color 0.3s ease;
}

.hover-text:hover {
  color: #C13584;
}
/*linkedin effect*/
.social-icon {
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
  color: #0A66C2; /* LinkedIn blue */
}

.social-icon:hover {
  transform: scale(1.2) rotate(5deg);
  color: #004182;
}

.hover-text {
  transition: color 0.3s ease;
}

.hover-text:hover {
  color: #004182;
}
/* End hover effect */

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Services Page Specific Styles
--------------------------------------------------------------*/
.service-content {
  padding: 20px 0;
}

.service-content .service-item {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.service-content .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.service-content .service-item h4 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.service-content .service-item h4 i {
  color: var(--accent-color);
}

.service-features ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features ul li:last-child {
  border-bottom: none;
}

.service-features ul li i {
  color: var(--accent-color);
  font-size: 14px;
}

.service-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.service-image-container:hover img {
  transform: scale(1.05);
}

/* Page Title Styles */
.page-title {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  color: var(--contrast-color);
  padding: 60px 0 40px;
  margin-top: 88px;
}

.page-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title .breadcrumbs {
  margin-top: 8px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  justify-content: center;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.page-title .breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.page-title .breadcrumbs ol li a:hover {
  color: var(--contrast-color);
}

.page-title .breadcrumbs ol li:last-child {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
  .service-content .service-item {
    padding: 20px;
  }
  
  .page-title {
    padding: 40px 0 30px;
    margin-top: 66px;
  }
  
  .page-title h1 {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Parallax Effects for Services Page
--------------------------------------------------------------*/
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(135deg, #010c25, #0d4ba9, #094887, #0d4ba9, #010c25);
  background-size: 300% 300%;
  animation: bgShift 15s ease infinite;
  transform: translateY(0);
  z-index: 1;
}

.parallax-bg-light {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef, #dee2e6);
  background-size: 200% 200%;
  animation: bgShiftLight 20s ease infinite;
  transform: translateY(0);
  z-index: 1;
}

.parallax-bg-dark {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 300%;
  background: linear-gradient(135deg, #1a252f, #2c3e50, #34495e, #2c3e50, #1a252f);
  background-size: 300% 300%;
  animation: bgShiftDark 25s ease infinite;
  transform: translateY(0);
  z-index: 1;
}

.parallax-bg-cta {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background: #222353;
  z-index: 1;
}

/* Parallax animations */
@keyframes bgShiftLight {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bgShiftDark {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bgShiftCta {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Z-index utilities */
.z-2 {
  position: relative;
  z-index: 2;
}

/* Parallax scroll effect */
.parallax-section .parallax-bg,
.parallax-section .parallax-bg-light,
.parallax-section .parallax-bg-dark,
.parallax-section .parallax-bg-cta {
  will-change: transform;
}

/* Simple parallax effect for concept backgrounds */
.concept-one::before,
.concept-two::before,
.concept-three::before {
  transform: translateY(calc(var(--scroll-offset, 0) * 0.5px));
}

/* Enhanced page title for parallax */
.page-title.parallax-section {
  background: none;
  position: relative;
  padding: 100px 0 60px;
  margin-top: 88px;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-title.parallax-section h1,
.page-title.parallax-section .breadcrumbs ol li,
.page-title.parallax-section .breadcrumbs ol li a {
  color: var(--contrast-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title.parallax-section .breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
}

.page-title.parallax-section .breadcrumbs ol li a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.page-title.parallax-section .breadcrumbs ol li:last-child {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Scroll-snap parallax effect for services page */
.main-content {
  text-align: center;
  text-transform: uppercase;
  scroll-snap-type: y mandatory;
  position: relative;
}

.concept {
  position: relative;
  padding: 5em;
  height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}

.concept:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.concept:hover:before {
  opacity: 0.5;
}

/* Interactive hover effects */
.hover {
  cursor: pointer;
  transition: all 0.3s ease;
}

.hover:hover {
  transform: scale(1.05);
}

.hover,
.word,
h1 {
  cursor: pointer;
}

.concept h1 {
  position: relative;
  color: #fff;
  font: 900 60px Montserrat;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* Concept One - Interactive Grid Design */
.concept-one {
  display: grid;
  grid: repeat(3, 1fr) / repeat(3, 1fr);
  padding: 8em;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.concept-one::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(135deg, #010c25, #0d4ba9, #094887, #0d4ba9, #010c25);
  background-size: 300% 300%;
  animation: bgShift 15s ease infinite;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
}

.concept-one .page-header {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -30px;
  transition: 0.5s ease;
  z-index: 0;
  text-align: center;
}

.concept-one .page-header h1 {
  color: #fff;
  font-size: 60px;
  font-weight: 900;
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  letter-spacing: 25px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.concept-one .page-header .breadcrumbs {
  margin-top: 2em;
}

.concept-one .page-header .breadcrumbs ol {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.concept-one .page-header .breadcrumbs ol li {
  display: flex;
  align-items: center;
}

.concept-one .page-header .breadcrumbs ol li+li::before {
  content: "›";
  margin: 0 0.5em;
  color: rgba(255, 255, 255, 0.6);
}

.concept-one .page-header .breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.concept-one .page-header .breadcrumbs ol li a:hover {
  color: #fff;
}

.concept-one .page-header .breadcrumbs ol li:last-child {
  color: #fff;
  font-weight: 600;
}

/* Interactive hover grid areas for concept-one */
.concept-one .hover {
  z-index: 1;
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.concept-one .hover:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* Hover effects for different grid positions */
.concept-one .hover-1:hover ~ .page-header {
  left: 30px;
  margin-top: -10px;
}

.concept-one .hover-2:hover ~ .page-header {
  margin-top: -10px;
}

.concept-one .hover-3:hover ~ .page-header {
  right: 30px;
  margin-top: -10px;
}

.concept-one .hover-4:hover ~ .page-header {
  left: 30px;
}

.concept-one .hover-6:hover ~ .page-header {
  right: 30px;
}

.concept-one .hover-7:hover ~ .page-header {
  left: 30px;
  margin-top: -50px;
}

.concept-one .hover-8:hover ~ .page-header {
  margin-top: -50px;
}

.concept-one .hover-9:hover ~ .page-header {
  right: 30px;
  margin-top: -50px;
}

/* Concept Two - Interactive Letter Grid */
.concept-two {
  display: grid;
  grid: 100% / repeat(6, 1fr);
  padding: 5em 15em;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.concept-two::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef, #dee2e6);
  background-size: 200% 200%;
  animation: bgShiftLight 20s ease infinite;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
}

.concept-two .section-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  text-align: center;
}

.concept-two .section-header h2 {
  color: transparent;
  font-size: 48px;
  font-weight: 900;
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
  -webkit-text-stroke: 2px #fff;
  text-shadow: none;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 15px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.concept-two .section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}

/* Interactive hover areas for concept-two */
.concept-two .hover {
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.concept-two .hover:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.concept-two .hover:hover ~ .section-header h2 {
  transform: scale(1.5);
  color: #fff;
  -webkit-text-stroke: 2px transparent;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Service Category Header */
.service-category {
  position: absolute;
  top: 2em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}

.service-category h1 {
  color: #fff;
  font-size: 2.5em;
  font-weight: 900;
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 15px;
  text-transform: uppercase;
  margin: 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5em 2em;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Full-Screen Service Slide Styles */
.service-slide-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 4em 2em;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  gap: 3em;
}

.service-content-left,
.service-content-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
}

.service-image-left,
.service-image-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  position: relative;
}

.service-image-left img,
.service-image-right img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1.5em;
}

.service-image-left img:hover,
.service-image-right img:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Service title positioned at bottom of image */
.service-image-left h2,
.service-image-right h2 {
  color: #ffffff;
  font-size: 2.5em;
  font-weight: 900;
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.3);
  letter-spacing: 8px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5em 1em;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.service-slide-full .slide-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0d4ba9, #094887);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2em;
  box-shadow: 0 15px 40px rgba(13, 75, 169, 0.4);
  animation: float 3s ease-in-out infinite;
}

.service-slide-full .slide-icon i {
  font-size: 3em;
  color: #fff;
}

/* Remove the old h2 styling since titles are now under images */

.service-slide-full .service-description {
  color: #ffffff;
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 3em;
  max-width: 600px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.3);
  padding: 1em 1.5em;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-slide-full .service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  max-width: 600px;
  width: 100%;
}

.service-slide-full .feature-item {
  display: flex;
  align-items: center;
  gap: 1em;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  padding: 1.2em 1.8em;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.service-slide-full .feature-item:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.service-slide-full .feature-item i {
  color: #00ff88;
  font-size: 1.8em;
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.service-slide-full .feature-item span {
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Animation for icon floating */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.slide-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #0d4ba9, #094887);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2em;
  box-shadow: 0 10px 30px rgba(13, 75, 169, 0.3);
}

.slide-icon i {
  font-size: 2.5em;
  color: #fff;
}

.service-slide h3 {
  color: #2c3e50;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 1em;
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
}

.service-slide p {
  color: #34495e;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 2em;
  opacity: 0.9;
}

.slide-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.slide-features li {
  color: #2c3e50;
  font-size: 1em;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.slide-features li i {
  color: #27ae60;
  font-size: 1.2em;
  flex-shrink: 0;
}

/* Swiper Customization */
.swiper {
  padding: 2em 0;
}

.swiper-pagination-bullet {
  background: #0d4ba9;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #0d4ba9;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0d4ba9;
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #fff;
  color: #094887;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2em;
  font-weight: bold;
}

/* Concept Three - Manpower Services Section */
.concept-three {
  padding: 5em;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.concept-three::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 300%;
  background: linear-gradient(135deg, #1a252f, #2c3e50, #34495e, #2c3e50, #1a252f);
  background-size: 300% 300%;
  animation: bgShiftDark 25s ease infinite;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
}

.concept-three .section-header {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -30px;
  transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
  text-align: center;
}

.concept-three .section-header h2 {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  letter-spacing: 15px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.concept-three .section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

/* Interactive hover areas for concept-three */
.concept-three .word {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: auto;
}

.concept-three .hover {
  flex: 1;
  display: grid;
  height: calc(100vh - 10em);
  grid: repeat(2, 2fr) / 100%;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.concept-three .hover:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.concept-three .hover div {
  position: relative;
  z-index: 5;
}

.concept-three .hover div:nth-child(1):hover ~ .section-header {
  margin-top: -10px;
}

.concept-three .hover div:nth-child(2):hover ~ .section-header {
  margin-top: -50px;
}

/* Concept Four - Simple hover effect */
.concept-four {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2em;
  background: linear-gradient(135deg, #010c25, #0d4ba9, #094887, #0d4ba9, #010c25);
  background-size: 300% 300%;
  animation: bgShift 15s ease infinite;
}

.concept-four h1 {
  display: inline-block;
}

.concept-four:hover h1 {
  letter-spacing: 25px;
  transform: scale(1.3);
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Removed old service-content styles that were conflicting with new layout */

.concept .contact-content {
  text-align: center;
  z-index: 3;
}

.concept .contact-content .lead {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 2em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.concept .contact-content .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 1em 2em;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.concept .contact-content .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Section styling for parallax sections */
.parallax-section.section {
  padding: 100px 0;
  position: relative;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
}

/* Text colors for different background types */
.parallax-section .parallax-bg-light ~ .container h2,
.parallax-section .parallax-bg-light ~ .container h3,
.parallax-section .parallax-bg-light ~ .container h4,
.parallax-section .parallax-bg-light ~ .container p {
  color: var(--heading-color);
}

.parallax-section .parallax-bg-dark ~ .container h2,
.parallax-section .parallax-bg-dark ~ .container h3,
.parallax-section .parallax-bg-dark ~ .container h4,
.parallax-section .parallax-bg-dark ~ .container p {
  color: var(--contrast-color);
}

.parallax-section .parallax-bg-cta ~ .container h2,
.parallax-section .parallax-bg-cta ~ .container h3,
.parallax-section .parallax-bg-cta ~ .container h4,
.parallax-section .parallax-bg-cta ~ .container p {
  color: var(--contrast-color);
}

/* Dark background section specific styling */
.parallax-section.dark-background {
  background: none;
}

/* Removed conflicting dark background service-content styles */

/* Parallax responsive adjustments */
@media (max-width: 768px) {
  .parallax-bg,
  .parallax-bg-light,
  .parallax-bg-dark,
  .parallax-bg-cta {
    height: 200%;
    top: -50%;
  }
  
  /* Mobile responsive for scroll-snap concepts */
  body {
    scroll-snap-type: y proximity;
  }
  
  .concept {
    padding: 1em;
    min-height: 100vh;
  }
  
  .concept h1 {
    font-size: 32px;
  }
  
  .concept-one {
    padding: 1em;
  }
  
  .concept-one .page-header h1 {
    font-size: 32px;
    letter-spacing: 8px;
  }
  
  .concept-two {
    padding: 2em;
  }
  
  .concept-three .word {
    max-width: 100%;
    flex-wrap: wrap;
  }
  
  .concept-three .hover {
    flex: 0 0 50%;
    height: calc(50vh - 5em);
  }
  
  /* Removed old service-content mobile styles */
  
  /* Fix background text on mobile */
  .concept-one .background-text,
  .concept-two .background-text,
  .concept-three .background-text {
    font-size: 60px;
    letter-spacing: 10px;
  }
  
  .concept-two {
    padding: 2em;
  }
  
  .concept-three {
    padding: 2em;
  }
  
  .concept-two .section-header h2 {
    font-size: 36px;
    letter-spacing: 10px;
  }
  
  .concept-three .section-header h2 {
    font-size: 36px;
    letter-spacing: 10px;
  }
  
  /* Mobile full-screen slide adjustments */
  .service-category h1 {
    font-size: 1.5em;
    letter-spacing: 4px;
    padding: 0.2em 0.8em;
    top: 1em;
  }
  
  .service-slide-full {
    flex-direction: column;
    min-height: 100vh;
    padding: 1em;
    gap: 1.5em;
    justify-content: flex-start;
    padding-top: 5em;
  }
  
  .service-content-left,
  .service-content-right {
    order: 2;
    max-width: 100%;
    padding: 0 1em;
  }
  
  .service-image-left,
  .service-image-right {
    order: 1;
    max-width: 100%;
    padding: 0 1em;
  }
  
  .service-slide-full .slide-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1em;
  }
  
  .service-slide-full .slide-icon i {
    font-size: 1.5em;
  }
  
  .service-image-left h2,
  .service-image-right h2 {
    font-size: 1.4em;
    letter-spacing: 2px;
    padding: 0.2em 0.6em;
    margin-top: 0.5em;
  }
  
  .service-slide-full .service-description {
    font-size: 0.9em;
    margin-bottom: 1.5em;
    padding: 0.6em 1em;
    line-height: 1.5;
  }
  
  .service-slide-full .service-features {
    grid-template-columns: 1fr;
    gap: 0.8em;
  }
  
  .service-slide-full .feature-item {
    padding: 0.6em 0.8em;
  }
  
  .service-slide-full .feature-item i {
    font-size: 1em;
  }
  
  .service-slide-full .feature-item span {
    font-size: 0.9em;
  }
  
  .service-image-left img,
  .service-image-right img {
    max-width: 85%;
    border-radius: 12px;
  }
  
  .page-title.parallax-section {
    padding: 80px 0 50px;
  }
  
  .page-title .breadcrumbs ol {
    font-size: 10px;
  }
  
  /* Reduce particle size on mobile */
  .particle {
    opacity: 0.6;
  }
  
  .particle:nth-child(1) {
    width: 6px;
    height: 6px;
  }
  
  .particle:nth-child(2) {
    width: 8px;
    height: 8px;
  }
  
  .particle:nth-child(3) {
    width: 4px;
    height: 4px;
  }
  
  .particle:nth-child(4) {
    width: 7px;
    height: 7px;
  }
  
  .particle:nth-child(5) {
    width: 10px;
    height: 10px;
  }
  
  .particle:nth-child(6) {
    width: 3px;
    height: 3px;
  }
  
  /* Services page mobile improvements */
  .service-content .service-item {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .service-content .service-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .service-content .service-item p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .service-features ul li {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .service-image-container {
    margin-top: 30px;
    text-align: center;
  }
  
  .service-image-container img {
    max-width: 80%;
    height: auto;
  }
  
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .section-title .lead {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  /* Contact page mobile improvements */
  .contact-info .contact-item {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .contact-form-container {
    padding: 20px 15px;
  }
  
  .social-link {
    padding: 15px;
    min-width: 100px;
    margin: 0 5px;
  }
  
  .social-link i {
    font-size: 24px;
  }
  
  .social-link span {
    font-size: 12px;
  }
}

/* Extra small mobile devices */
@media (max-width: 576px) {
  .parallax-bg,
  .parallax-bg-light,
  .parallax-bg-dark,
  .parallax-bg-cta {
    height: 250%;
    top: -75%;
  }
  
  /* Fix container spacing for mobile */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Further reduce particles on small screens */
  .particle {
    opacity: 0.4;
  }
  
  .particle:nth-child(1) {
    width: 4px;
    height: 4px;
  }
  
  .particle:nth-child(2) {
    width: 6px;
    height: 6px;
  }
  
  .particle:nth-child(3) {
    width: 3px;
    height: 3px;
  }
  
  .particle:nth-child(4) {
    width: 5px;
    height: 5px;
  }
  
  .particle:nth-child(5) {
    width: 7px;
    height: 7px;
  }
  
  .particle:nth-child(6) {
    width: 2px;
    height: 2px;
  }
  
  .page-title.parallax-section {
    padding: 60px 0 40px;
  }
  
  .page-title h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .page-title .breadcrumbs ol {
    font-size: 9px;
    gap: 0 5px;
  }
  
  .service-content .service-item {
    padding: 15px 10px;
    margin-bottom: 15px;
  }
  
  .service-content .service-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .service-content .service-item h4 i {
    font-size: 16px;
  }
  
  .service-content .service-item p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .service-features ul li {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .service-features ul li i {
    font-size: 12px;
  }
  
  .service-image-container {
    margin-top: 20px;
  }
  
  .service-image-container img {
    max-width: 90%;
  }
  
  .section-title h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .section-title .lead {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .contact-info .contact-item {
    padding: 12px;
    margin-bottom: 12px;
  }
  
  .contact-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .contact-form-container {
    padding: 15px 10px;
  }
  
  .contact-form-container .form-control,
  .contact-form-container .form-select {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .social-link {
    padding: 12px;
    min-width: 80px;
    margin: 0 3px;
  }
  
  .social-link i {
    font-size: 20px;
  }
  
  .social-link span {
    font-size: 11px;
  }
  
  /* Improve spacing for mobile */
  .section.parallax-section {
    padding: 60px 0;
  }
  
  .row.gy-5 {
    --bs-gutter-y: 2rem;
  }
  
  /* Fix edge spacing for mobile */
  .social-links.d-flex.justify-content-center {
    gap: 10px !important;
    flex-wrap: wrap;
    justify-content: center !important;
  }
  
  .social-links.d-flex.justify-content-center .social-link {
    margin: 5px;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .parallax-bg,
  .parallax-bg-light,
  .parallax-bg-dark,
  .parallax-bg-cta {
    height: 300%;
    top: -100%;
  }
  
  /* Increase container spacing for very small screens */
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .page-title.parallax-section {
    padding: 50px 0 30px;
  }
  
  .section.parallax-section {
    padding: 50px 0;
  }
  
  /* Additional edge spacing fixes for very small screens */
  .social-links.d-flex.justify-content-center {
    gap: 8px !important;
  }
  
  .social-links.d-flex.justify-content-center .social-link {
    margin: 3px;
    min-width: 70px;
  }
  
  /* Fix any remaining edge elements */
  .btn {
    margin: 5px;
  }
  
  .service-features .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Contact page specific styles */
.contact-info .contact-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.contact-info .contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
}

.contact-form-container .form-control,
.contact-form-container .form-select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.contact-form-container .form-control:focus,
.contact-form-container .form-select:focus {
  background: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 75, 169, 0.25);
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
  min-width: 120px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  color: white;
  text-decoration: none;
}

.social-link i {
  font-size: 30px;
  margin-bottom: 10px;
}

.social-link span {
  font-size: 14px;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Floating Particles for Services Page
--------------------------------------------------------------*/
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-duration: 20s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 80%;
  animation-duration: 25s;
  animation-delay: 3s;
}

.particle:nth-child(3) {
  width: 6px;
  height: 6px;
  top: 40%;
  left: 30%;
  animation-duration: 18s;
  animation-delay: 6s;
}

.particle:nth-child(4) {
  width: 10px;
  height: 10px;
  top: 80%;
  left: 20%;
  animation-duration: 22s;
  animation-delay: 9s;
}

.particle:nth-child(5) {
  width: 14px;
  height: 14px;
  top: 30%;
  left: 70%;
  animation-duration: 28s;
  animation-delay: 12s;
}

.particle:nth-child(6) {
  width: 4px;
  height: 4px;
  top: 70%;
  left: 60%;
  animation-duration: 16s;
  animation-delay: 15s;
}

@keyframes float-particle {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}
/* --------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/ */
/* Clients Navigation Buttons - Side Positioned */
.clients {
  padding: 12px 0;
  background-color: #fff;
  position: relative; /* Add this for absolute positioning of buttons */
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
  padding: 0 10px;
  max-width: 180px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.clients .swiper-slide img:hover {
  transform: scale(1.5);
}

/* Side Navigation Buttons - Larger and Taller */
.clients-prev,
.clients-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  background: rgba(55, 79, 126, 0.1);
  color: #374f7e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  padding: 0;
  z-index: 10;
}

.clients-prev i,
.clients-next i {
  font-size: 28px;
  font-weight: bold;
}

.clients-prev {
  left: -60px;
}

.clients-next {
  right: -60px;
}

.clients-prev:hover,
.clients-next:hover {
  background: rgba(55, 79, 126, 0.2);
  color: #2a3f5f;
  transform: translateY(-50%) scale(1.1);
}

.clients-prev:active,
.clients-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clients-prev,
  .clients-next {
    width: 50px;
    height: 50px;
  }
  
  .clients-prev i,
  .clients-next i {
    font-size: 24px;
  }
  
  .clients-prev {
    left: -40px;
  }
  
  .clients-next {
    right: -40px;
  }
}

@media (max-width: 576px) {
  .clients-prev,
  .clients-next {
    width: 45px;
    height: 45px;
  }
  
  .clients-prev i,
  .clients-next i {
    font-size: 20px;
  }
  
  .clients-prev {
    left: 5px;
  }
  
  .clients-next {
    right: 5px;
  }
}

/*--------------------------------------------------------------
# Splash Screen
--------------------------------------------------------------*/
.intro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  background-color: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: top 1s ease-in-out;
}

/* Hide splash screen on non-home pages */
body:not(.index-page) .intro {
  display: none !important;
}

.logo-header {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  position: relative;
  display: inline-block;
  width: 750px;
  height: auto;
  opacity: 0;
  transition: opacity 0.7s ease-in, transform 0.7s ease-in;
}

.logo-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.logo-fade {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out !important;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .logo {
    width: 280px !important;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 300px !important;
  }
}

@media (max-width: 320px) {
  .logo {
    width: 220px !important;
  }
}

/*--------------------------------------------------------------
# Contact Form States
--------------------------------------------------------------*/
/* Contact Form Loading, Error, and Success States */
.php-email-form .loading {
  display: none;
  background: #f8f9fa;
  text-align: center;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  color: #222353;
  font-weight: 600;
  margin-bottom: 15px;
}

.php-email-form .loading:before {
  content: '';
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #222353;
  border-top-color: transparent;
  animation: rotate 1s linear infinite;
}

.php-email-form .error-message {
  display: none;
  color: #ed3c0d;
  background: #fdf2f2;
  text-align: center;
  padding: 15px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 15px;
  border-left: 4px solid #ed3c0d;
}

.php-email-form .sent-message {
  display: none;
  color: #18d26e;
  background: #f3f9ff;
  text-align: center;
  padding: 15px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 15px;
  border-left: 4px solid #18d26e;
}

.php-email-form button:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

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

/* =========================
   View All Projects Button
   ========================= */
.view-projects-btn {
  background: #222353 !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(34, 35, 83, 0.3);
  position: relative;
  overflow: hidden;
}

.view-projects-btn:hover {
  background: #37517e !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 35, 83, 0.5);
}

.view-projects-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(34, 35, 83, 0.3);
}

.view-projects-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s;
}

.view-projects-btn:hover::before {
  left: 0;
}

/* Hero Caption Styles */
.hero-caption {
  position: absolute;
  bottom: -4rem;
  left: 0;
  width: 100%;
  padding: 3rem 2rem;
  background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(0, 0, 0, 0.6) 50%, 
    transparent 100%);
  z-index: 2;
  text-align: center;
}

.hero-caption .hero-slogan {
  margin-bottom: 0;
  text-shadow: 0 4px 8px rgba(0,0,0,0.8);
  color: #ffffff;
}

.hero-caption .slogan-quote {
  color: var(--accent-color);
  text-shadow: 0 4px 8px rgba(71, 178, 228, 0.8);
}

.hero-caption .slogan-word {
  color: #ffffff;
}

/* Responsive background image */
@media (max-width: 768px) {
  .bg-image {
    object-position: center center;
  }
  
  .hero-caption {
    padding: 2rem 1rem;
  }
  
  .hero-image {
    animation: heroFloat 4s ease-in-out infinite;
  }
}

@media (max-width: 576px) {
  .hero-caption {
    padding: 1.5rem 1rem;
  }
}

/* RTL Text Styles for CEO Section */
.rtl-text {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

/* Arabic RTL styles with maximum specificity */
html[lang="ar"] .rtl-text,
html[lang="ar"] .ceo-content .rtl-text,
html[lang="ar"] .ceo-section .rtl-text,
html[lang="ar"] #ceo .rtl-text,
html[lang="ar"] .ceo-bio,
html[lang="ar"] p.rtl-text,
html[lang="ar"] input.rtl-text,
html[lang="ar"] textarea.rtl-text,
html[lang="ar"] select.rtl-text,
html[lang="ar"] .contact-details.rtl-text,
html[lang="ar"] .contact-details.rtl-text h2,
html[lang="ar"] .contact-details.rtl-text h3,
html[lang="ar"] .contact-details.rtl-text p,
html[lang="ar"] .contact-details.rtl-text div,
html[lang="ar"] .footer .rtl-text,
html[lang="ar"] .footer h4.rtl-text,
html[lang="ar"] .footer p.rtl-text,
html[lang="ar"] .footer ul.rtl-text,
html[lang="ar"] .footer li.rtl-text,
html[lang="ar"] .footer-contact.rtl-text,
html[lang="ar"] .footer-contact.rtl-text p,
html[lang="ar"] .footer-links.rtl-text,
html[lang="ar"] .footer-links.rtl-text h4,
html[lang="ar"] .footer-links.rtl-text ul,
html[lang="ar"] .footer-links.rtl-text li,
body.arabic .rtl-text,
.arabic .rtl-text {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext !important;
}

/* Ensure Arabic mode overrides everything */
[lang="ar"] .rtl-text,
[lang="ar"] p.rtl-text,
[lang="ar"] input.rtl-text,
[lang="ar"] textarea.rtl-text,
[lang="ar"] select.rtl-text,
[lang="ar"] .contact-details.rtl-text,
[lang="ar"] .footer .rtl-text,
[lang="ar"] .footer h4.rtl-text,
[lang="ar"] .footer p.rtl-text,
[lang="ar"] .footer ul.rtl-text,
[lang="ar"] .footer li.rtl-text,
[lang="ar"] .footer-contact.rtl-text,
[lang="ar"] .footer-contact.rtl-text p,
[lang="ar"] .footer-links.rtl-text,
[lang="ar"] .footer-links.rtl-text h4,
[lang="ar"] .footer-links.rtl-text ul,
[lang="ar"] .footer-links.rtl-text li {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext !important;
}

/* Specific rule for CEO content paragraph and quote in Arabic */
html[lang="ar"] .ceo-content p,
[lang="ar"] .ceo-content p,
html[lang="ar"] .ceo-quote blockquote,
[lang="ar"] .ceo-quote blockquote {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext !important;
}

/* Exception: Keep footer contact info (phone, WhatsApp, email) left-aligned in Arabic */
html[lang="ar"] .footer-contact.rtl-text p,
[lang="ar"] .footer-contact.rtl-text p {
  direction: ltr !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

html[lang="ar"] .footer-contact.rtl-text p i,
html[lang="ar"] .footer-contact.rtl-text p strong,
html[lang="ar"] .footer-contact.rtl-text p span,
html[lang="ar"] .footer-contact.rtl-text p a,
[lang="ar"] .footer-contact.rtl-text p i,
[lang="ar"] .footer-contact.rtl-text p strong,
[lang="ar"] .footer-contact.rtl-text p span,
[lang="ar"] .footer-contact.rtl-text p a {
  direction: ltr !important;
  text-align: left !important;
}

/* ===================================
   RTL (Arabic) Header Navigation Fixes
   =================================== */

/* Fix header container alignment for Arabic */
html[lang="ar"] .header .container-fluid,
[lang="ar"] .header .container-fluid {
  direction: ltr !important;
  justify-content: space-between !important;
  display: flex !important;
}

/* Ensure logo stays on the right in Arabic (same position as English on left) */
html[lang="ar"] .header .logo,
[lang="ar"] .header .logo {
  order: 1 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Ensure navigation menu stays on the right side in Arabic (mirrors English left position) */
html[lang="ar"] .header .navmenu,
[lang="ar"] .header .navmenu {
  order: 2 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Fix navmenu list alignment for Arabic - keep items in RTL order but right-aligned */
html[lang="ar"] .navmenu ul,
[lang="ar"] .navmenu ul {
  direction: rtl !important;
  justify-content: flex-end !important;
  display: flex !important;
}

/* Adjust individual nav items for Arabic */
html[lang="ar"] .navmenu li,
[lang="ar"] .navmenu li {
  direction: rtl !important;
}

html[lang="ar"] .navmenu a,
[lang="ar"] .navmenu a {
  direction: rtl !important;
  text-align: right !important;
}

/* Mobile navigation toggle position for Arabic */
@media (max-width: 1199px) {
  html[lang="ar"] .header .mobile-nav-toggle,
  [lang="ar"] .header .mobile-nav-toggle {
    order: 3 !important;
    margin-left: 0 !important;
    margin-right: 15px !important;
  }
}

/* Desktop navigation specific fixes for Arabic */
@media (min-width: 1200px) {
  html[lang="ar"] .header .container-fluid,
  [lang="ar"] .header .container-fluid {
    display: flex !important;
    flex-direction: row !important;
  }
  
  html[lang="ar"] .navmenu ul,
  [lang="ar"] .navmenu ul {
    flex-direction: row !important;
    justify-content: flex-end !important;
  }
  
  html[lang="ar"] .navmenu a i,
  [lang="ar"] .navmenu a i {
    margin-right: 5px !important;
    margin-left: 0 !important;
  }
}

