/* Modern Tech Style CSS for المصدر الأكيد */

/* GE SS Font - Using IBM Plex Sans Arabic as alternative */
@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

p {
  margin: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

button:focus {
  outline: none !important;
}

.btn {
  outline: none !important;
  box-shadow: none !important;
}

.rest-btn {
  background: transparent;
  border: 0;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  transition: none;
}

:root {
  --primaryColor: #0066cc;
  --primaryDark: #0052a3;
  --primaryLight: #0080ff;
  --secondaryColor: #4a90e2;
  --accentColor: #0066cc;
  --textDark: #1e293b;
  --textLight: #64748b;
  --white: #ffffff;
  --lightGray: #f1f5f9;
  --darkGray: #334155;
  --gradient1: linear-gradient(135deg, #0066cc 0%, #0080ff 100%);
  --gradient2: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
  --gradient3: linear-gradient(135deg, #4a90e2 0%, #0066cc 100%);
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1200px;
  }
}

body {
  font-family: "GE SS Two", "GESS", "GE SS", "Segoe UI", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  text-align: start;
  min-height: 100vh;
  background: var(--white);
  color: var(--textDark);
  line-height: 1.6;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

header.transparent {
  background: transparent !important;
  box-shadow: none;
}

header.sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

header .header-logo .logo-img {
  height: 50px;
  width: auto;
}

header .header-logo .logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

header.transparent .header-logo .logo-text {
  color: var(--white);
}

header.sticky .header-logo .logo-text {
  color: var(--primaryColor);
}

header .header-menu ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

header .header-menu ul li a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

header.transparent .header-menu ul li a {
  color: var(--white);
}

header.sticky .header-menu ul li a {
  color: var(--textDark);
}

header .header-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

header.sticky .header-menu ul li a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primaryColor);
}

header .header-menu ul li.active a {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

header.sticky .header-menu ul li.active a {
  background: var(--primaryColor);
  color: var(--white);
}

header .header-menu .close-menu-toggle {
  display: none;
}

header .header-inner .menu-toggle {
  display: none;
  color: var(--white);
  padding: 5px;
  min-width: auto;
  width: auto;
  height: auto;
  flex-shrink: 0;
}

header.sticky .header-inner .menu-toggle {
  color: var(--textDark);
}

@media (max-width: 991px) {
  header .header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primaryColor);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  header .header-menu.show {
    transform: translateX(0);
    background: var(--primaryColor);
  }

  header .header-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  header .header-menu ul li a {
    color: var(--white);
    font-size: 18px;
    width: 100%;
    display: block;
  }

  header .header-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  header .header-menu ul li.active a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
  }

  header .header-menu .close-menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--white);
  }

  header .header-menu .close-menu-toggle svg path,
  header .header-menu .close-menu-toggle svg line {
    stroke: var(--white);
  }

  header .header-inner .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    min-width: auto;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  header .header-inner .menu-toggle svg {
    width: 24px;
    height: 24px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient1);
  background-image: url('../img/ads.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 204, 0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  margin-bottom: 30px;
}

.hero-title .title-main {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .title-sub {
  display: block;
  font-size: 24px;
  font-weight: 400;
  opacity: 0.95;
}

.hero-description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--primaryColor);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primaryColor);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--textDark);
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient1);
  margin: 0 auto;
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .lead {
  font-size: 22px;
  font-weight: 600;
  color: var(--textDark);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p {
  font-size: 18px;
  color: var(--textLight);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Mission Section */
.mission-section {
  background: var(--lightGray);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.mission-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient1);
  border-radius: 50%;
  color: var(--white);
}

.mission-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--textDark);
  margin-bottom: 15px;
}

.mission-card p {
  font-size: 16px;
  color: var(--textLight);
  line-height: 1.7;
}

/* Vision Section */
.vision-section {
  background: var(--gradient1);
  color: var(--white);
}

.vision-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.vision-icon-large {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.vision-text .section-title {
  color: var(--white);
  margin-bottom: 25px;
}

.vision-lead {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.95;
}

.vision-text p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.9;
}

/* Products Section */
.products-section {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--lightGray);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primaryColor);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.product-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient3);
  border-radius: 50%;
  color: var(--white);
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--textDark);
  margin-bottom: 15px;
}

.product-card p {
  font-size: 16px;
  color: var(--textLight);
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.contact-item {
  text-align: center;
  padding: 30px;
  background: var(--lightGray);
  border-radius: 16px;
  transition: all 0.3s ease;
}

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

.contact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient1);
  border-radius: 50%;
  color: var(--white);
}

.contact-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--textDark);
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 16px;
  color: var(--textLight);
  margin-bottom: 8px;
}

.contact-item p.branch {
  margin-top: 10px;
  font-size: 14px;
  color: var(--textLight);
}

.contact-item a {
  color: var(--primaryColor);
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primaryDark);
  text-decoration: underline;
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--primaryColor);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.map-link:hover {
  background: var(--primaryDark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

/* Footer */
footer {
  background: var(--textDark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-logo h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 16px;
  opacity: 0.8;
}

.footer-links h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-right: 10px;
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-developer {
  margin-top: 15px;
  font-size: 13px;
  opacity: 0.7;
}

.developer-link {
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.developer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.developer-link strong {
  font-weight: 700;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--primaryColor);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title .title-main {
    font-size: 42px;
  }

  .hero-title .title-sub {
    font-size: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .vision-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .vision-icon-large {
    margin: 0 auto 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-title .title-main {
    font-size: 32px;
  }

  .hero-description {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Smooth Scroll Offset */
section {
  scroll-margin-top: 80px;
}

