/* CSS Variables */
:root {
  --primary-color: #0076b7;
  --secondary-color: #3eba79;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --gradient-primary: linear-gradient(135deg, #0076b7 0%, #005a8d 100%);
  --gradient-secondary: linear-gradient(135deg, #3eba79 0%, #2d9561 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(0, 118, 183, 0.95) 0%,
    rgba(62, 186, 121, 0.95) 100%
  );
}

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: #005a8c;
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.top-bar-item i {
  font-size: 0.875rem;
  color: var(--secondary-color);
}

.top-bar-item:hover {
  color: var(--secondary-color);
}

a.top-bar-item:hover {
  color: var(--secondary-color);
}

/* RTL Support for Top Bar */
[dir="rtl"] .top-bar-content {
  direction: rtl;
}

[dir="ltr"] .top-bar-content {
  direction: ltr;
}

/* Top Bar Responsive */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.4rem 0;
    font-size: 0.8rem;
  }

  .top-bar-content {
    gap: 0.5rem;
  }

  .top-bar-left,
  .top-bar-right {
    gap: 1rem;
  }

  .top-bar-item span {
    font-size: 0.6rem;
  }

  .top-bar-item i {
    font-size: 0.8rem;
  }
}

/* Header Component */
.header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 2rem;
}

/* Logo */
.logo {
  flex-shrink: 0;
}

.logo a {
  display: block;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.8rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: block;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(0, 118, 183, 0.05);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::before {
  width: 80%;
}

/* Language Toggle Button */
.lang-toggle {
  background: var(--white);
  color: var(--primary-color);
  border: 1px solid #005a8c;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Cairo", "Poppins", sans-serif;
  box-shadow: 0 2px 4px rgba(0, 118, 183, 0.3);
  position: relative;
  overflow: hidden;
}

.lang-toggle:hover {
  box-shadow: 0 4px 12px rgba(0, 118, 183, 0.4);
}

.lang-toggle:active {
  transform: translateY(0);
}

/* Language Toggle - Desktop/Mobile Variants */
.lang-toggle-mobile {
  display: none;
}

.lang-toggle-desktop {
  display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
  z-index: 1002;
}

.mobile-menu-toggle:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile Responsive Styles (≤768px) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 8px;
  }

  .nav {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    background: var(--white);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .nav.active {
    top: 100px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0.5rem 0 0 0;
    margin: 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: visible;
  }

  [dir="ltr"] .nav-link {
    text-align: left;
  }

  .nav-link::before {
    display: none;
  }

  .nav-link::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--text-light);
    transition: var(--transition);
  }

  [dir="ltr"] .nav-link::after {
    content: "\f054";
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(
      90deg,
      rgba(0, 118, 183, 0.1) 0%,
      transparent 100%
    );
    color: var(--primary-color);
  }

  [dir="ltr"] .nav-link:hover,
  [dir="ltr"] .nav-link.active {
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 118, 183, 0.1) 100%
    );
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    color: var(--primary-color);
    transform: translateX(-3px);
  }

  [dir="ltr"] .nav-link:hover::after,
  [dir="ltr"] .nav-link.active::after {
    transform: translateX(3px);
  }

  /* Hide desktop language toggle on mobile */
  .lang-toggle-desktop {
    display: none;
  }

  /* Show mobile language toggle inside nav */
  .lang-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem 1rem 1rem;
    font-size: 1rem;
    width: calc(100% - 2rem);
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid #005a8c;
    text-align: center;
    border: none;
    margin-top: auto;
  }

  /* Ensure touch-friendly sizes */
  .header-content {
    padding: 1rem 0;
  }

  .logo img {
    height: 40px;
  }
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("img/bg.png") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

@keyframes heroRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.hero-title img {
  max-width: 600px;
  height: auto;
  filter: brightness(0) invert(1);
  margin: 0 auto;
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.8;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Button Styles */
.hero .btn {
  width: 150px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: "Cairo", "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: none;
  border: 1px solid #fff;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #005a8d;
  background-color: #f0f8ff;
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Responsive Styles */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero-title img {
    max-width: 250px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    padding: 10px 40px;
    width: auto;
  }

  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card {
  background-color: var(--white);
  text-align: center;
  transition: var(--transition);
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card:nth-child(2) {
  transform: translateY(-10px);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 118, 183, 0.3) 100%
  );
  transition: var(--transition);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 2rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: right;
}

[dir="ltr"] .service-description {
  text-align: left;
}

/* Services CTA */
.services-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-services-more {
  background: transparent;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-services-more:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 118, 183, 0.3);
}

/* Services Responsive Styles */
@media (max-width: 768px) {
  .services {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .service-image {
    height: 200px;
  }

  .service-content {
    padding: 1.75rem 1.5rem;
  }

  .service-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  .service-card:nth-child(2) {
    transform: translateY(0);
  }

  .services-cta {
    margin-top: 2rem;
  }

  .btn-services-more {
    width: 100%;
    max-width: 280px;
  }
}
/* About Preview Section */
.about-preview {
  padding: 8rem 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text-content {
  text-align: left;
}

[dir="rtl"] .about-text-content {
  text-align: right;
}

.about-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  text-align: left;
}

[dir="rtl"] .about-text {
  text-align: right;
}

.about-text:last-of-type {
  margin-bottom: 2rem;
}

.about-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  object-fit: cover;
}

.btn-about {
  background: transparent;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: none;
  padding: 0.65rem 1.5rem;
}

.btn-about:hover {
  background: #fcfcfc;
}

.btn-about:active {
  transform: translateX(3px);
}

[dir="rtl"] .btn-about:active {
  transform: translateX(-3px);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(62, 186, 121, 0.3);
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  box-shadow: 0 6px 20px rgba(0, 118, 183, 0.4);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

/* About Preview Responsive Styles */
@media (max-width: 768px) {
  .about-preview {
    padding: 3rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .about-text {
    font-size: 0.9rem;
  }

  .about-image {
    order: -1;
  }
}

/* Why Choose Us Section */
.why-choose {
  padding: 8rem 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.feature-item {
  position: relative;
  padding-left: 0;
}

[dir="rtl"] .feature-item {
  padding-right: 0;
  padding-left: 0;
}

.feature-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Why Choose Us Responsive Styles */
@media (max-width: 768px) {
  .why-choose {
    padding: 3rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
  }

  .feature-number {
    font-size: 3rem;
  }

  .feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }
}

/* Call to Action Section */
.cta {
  padding: 4rem 0;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(62, 186, 121, 0.2) 100%
  );
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.5px;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-cta {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
}

.btn-cta:hover {
  background: var(--gradient-secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta:active {
  transform: translateY(-1px);
}

/* CTA Responsive Styles */
@media (max-width: 768px) {
  .cta {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .cta-text {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .btn-cta {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
}
/* Footer Component */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
  color: var(--white);
  padding: 4rem 0 1.5rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

/* Footer About Section */
.footer-about {
  max-width: 500px;
  text-align: left;
}

[dir="rtl"] .footer-about {
  text-align: right;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer Sections */
.footer-section {
  text-align: left;
}

[dir="rtl"] .footer-section {
  text-align: right;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-secondary);
}

[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact i {
  font-size: 1rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-contact li:hover i {
  transform: scale(1.1);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-5px);
}

[dir="rtl"] .footer-links a:hover i {
  transform: translateX(-3px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-about {
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    height: 50px;
  }

  .footer-description {
    text-align: center;
  }

  .footer-title {
    text-align: center;
  }

  .footer-title::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }

  .footer-contact {
    align-items: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .copyright {
    font-size: 0.8rem;
  }
}

/* ===================================
   About Page Styles
   =================================== */

/* Page Hero Section */
.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #005a8c 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.page-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background: var(--white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: right;
}

[dir="ltr"] .about-paragraph {
  text-align: left;
}

/* Vision and Mission Section */
.vision-mission {
  padding: 60px 0;
  background: var(--bg-light);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vm-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.vm-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.vm-icon i {
  font-size: 2rem;
  color: var(--white);
}

.vm-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.vm-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  text-align: right;
}

[dir="ltr"] .vm-text {
  text-align: left;
}

/* Core Values Section */
.values-section {
  padding: 60px 0;
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--bg-light);
  padding: 1.8rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.value-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.value-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.value-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
  text-align: right;
}

[dir="ltr"] .value-description {
  text-align: left;
}

/* Team Section */
.team-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.team-content {
  max-width: 900px;
  margin: 2rem auto 0;
}

.team-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: right;
}

[dir="ltr"] .team-description {
  text-align: left;
}

/* Quality Section */
.quality-section {
  padding: 60px 0;
  background: var(--white);
}

.quality-content {
  max-width: 900px;
  margin: 2rem auto 0;
}

.quality-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: right;
}

[dir="ltr"] .quality-description {
  text-align: left;
}

.quality-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.quality-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.quality-feature:hover {
  background: var(--primary-color);
  color: var(--white);
}

.quality-feature i {
  font-size: 1.2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.quality-feature:hover i {
  color: var(--white);
}

.quality-feature span {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* About Page Responsive Styles */
@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 40px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.9rem;
  }

  .about-paragraph {
    font-size: 0.9rem;
  }

  .about-section,
  .vision-mission,
  .values-section,
  .team-section,
  .quality-section {
    padding: 40px 0;
  }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .vm-card {
    padding: 1.75rem;
  }

  .vm-icon {
    width: 60px;
    height: 60px;
  }

  .vm-icon i {
    font-size: 1.5rem;
  }

  .vm-title {
    font-size: 1.35rem;
  }

  .vm-text {
    font-size: 0.9rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .value-card {
    padding: 1.5rem;
  }

  .quality-features {
    grid-template-columns: 1fr;
  }

  .value-description {
    font-size: 0.9rem;
  }

  .team-description {
    font-size: 0.9rem;
  }

  .quality-description {
    font-size: 0.9rem;
  }

  .quality-feature span {
    font-size: 0.9rem;
  }
}

/* ===================================
   Services Page Styles
   =================================== */

/* Specializations Section */
.specializations-section {
  padding: 60px 0;
  background: var(--white);
}

.specialization-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.specialization-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-3px);
}

.spec-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.spec-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.spec-icon.secondary {
  background: var(--gradient-secondary);
}

.specialization-card:hover .spec-icon {
  transform: scale(1.05) rotate(5deg);
}

.spec-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.spec-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.spec-content {
  padding-left: 0;
}

.spec-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  text-align: right;
}

[dir="ltr"] .spec-description {
  text-align: left;
}

.spec-description:last-child {
  margin-bottom: 0;
}

/* Service Categories Section */
.service-categories {
  padding: 60px 0;
  background: var(--bg-light);
}

.services-grid-detailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-color);
}

.service-item-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-item:hover .service-item-icon {
  background: var(--gradient-secondary);
  transform: scale(1.1);
}

.service-item-icon i {
  font-size: 2rem;
  color: var(--white);
}

.service-item-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.service-item-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  text-align: right;
}

[dir="ltr"] .service-item-description {
  text-align: left;
}

/* Services Page Responsive Styles */
@media (max-width: 768px) {
  .specializations-section,
  .service-categories {
    padding: 40px 0;
  }

  .specialization-card {
    padding: 1.75rem;
    margin-bottom: 2rem;
  }

  .spec-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .spec-icon {
    width: 70px;
    height: 70px;
  }

  .spec-icon i {
    font-size: 2rem;
  }

  .spec-title {
    font-size: 1.5rem;
  }

  .spec-description {
    font-size: 0.95rem;
  }

  .services-grid-detailed {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .service-item {
    padding: 1.75rem;
  }

  .service-item-icon {
    width: 60px;
    height: 60px;
  }

  .service-item-icon i {
    font-size: 1.75rem;
  }

  .service-item-title {
    font-size: 1.1rem;
  }

  .service-item-description {
    font-size: 0.875rem;
  }
}

/* ===================================
   Contact Page Styles
   =================================== */

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: right;
}

[dir="ltr"] .contact-form-title {
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
}

[dir="ltr"] .form-group label {
  text-align: left;
}

.form-input {
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: "Cairo", "Poppins", sans-serif;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
  text-align: right;
}

[dir="ltr"] .form-input {
  text-align: left;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 118, 183, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Cairo", "Poppins", sans-serif;
  box-shadow: 0 4px 15px rgba(0, 118, 183, 0.3);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 118, 183, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Contact Information */
.contact-info-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: right;
}

[dir="ltr"] .contact-info-title {
  text-align: left;
}

.contact-info-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: right;
}

[dir="ltr"] .contact-info-description {
  text-align: left;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 2px solid transparent;
}

.contact-info-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  background: var(--gradient-secondary);
  transform: scale(1.1);
}

.contact-info-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.contact-info-content {
  flex: 1;
  text-align: right;
}

[dir="ltr"] .contact-info-content {
  text-align: left;
}

.contact-info-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.contact-info-value:hover {
  color: var(--secondary-color);
  transform: translateX(3px);
}

[dir="rtl"] .contact-info-value:hover {
  transform: translateX(-3px);
}

/* Contact Page Responsive Styles */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 1.5rem;
  }

  .contact-form-title,
  .contact-info-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .form-group label {
    font-size: 0.875rem;
  }

  .form-input {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  .btn-submit {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .contact-info-description {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .contact-info-items {
    gap: 1rem;
  }

  .contact-info-item {
    padding: 1rem;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
  }

  .contact-info-icon i {
    font-size: 1.1rem;
  }

  .contact-info-label {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
  }

  .contact-info-value {
    font-size: 0.8rem;
  }
}

/* ===================================
   Loading Screen
   =================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  gap: 0.75rem;
}

.loader-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: bounce 1.4s infinite ease-in-out both;
}

.loader-circle:nth-child(1) {
  animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
  animation-delay: -0.16s;
  background: var(--secondary-color);
}

.loader-circle:nth-child(3) {
  animation-delay: 0s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===================================
   Floating WhatsApp Button
   =================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
    bottom: 20px;
    right: 20px;
  }
}
