/* ==========================================================================
   1. المتغيرات وإعدادات عامة (Variables & Reset)
   ========================================================================== */
:root {
  --primary: #1c8fbc;
  --secondary: #0e3b5f;

  --bg-page: #f5f5f5;
  --bg-white: #ffffff;

  --gray-100: #f2f2f2;
  --gray-200: #e6e6e6;
  --gray-300: #cacaca;
  --border-color: #cccccc;

  --text-dark: #121212;
  --text-light: rgba(255, 255, 255, 0.7);

  --gradient-hero: linear-gradient(289.82deg, #0e3b5f 29.71%, #1c8fbc 62.53%);

  --container-width: 1400px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   2. الهيدر (Header)
   ========================================================================== */
.header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 25px 0;
  z-index: 1000;
  background: transparent;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-menu {
  display: flex;
  gap: 60px;
}

.nav-menu li a {
  color: var(--bg-white);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.nav-menu a:hover {
  opacity: 0.7;
}

.btn-download {
  background: white;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  color: #1c8fbc;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Burger Menu */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--bg-white);
  cursor: pointer;
}

/* =========================================================
   3. HERO
========================================================= */

.hero {
  position: relative;
  background: var(--bg-page);
  padding: 160px 0 10px;
  overflow: hidden;
}
/* SVG Container */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 750px;
  z-index: 0;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}
.hero-wrapper {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left Text */
.hero-content {
  color: #1c8fbc;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content p {
  font-size: 40px;
  color: #0e3b5f;
}
/* Right Image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  transform: translateY(-100px);
}

.hero-image img {
  max-width: 850px;
  height: 700px;
  width: 100%;
}
/* =========================================================
   4. TRUSTED LOGOS
========================================================= */

.trusted {
  padding: 0px 0;
  text-align: center;
}

.trusted-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 60px;
}

.trusted-box {
  background: var(--bg-white);
  border-radius: 30px;
  padding: 50px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.trusted-box img {
  max-height: 40px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.trusted-box img:hover {
  opacity: 1;
  transform: scale(1.05);
}
/* =========================================================
   5. OUR STRENGTHS
========================================================= */

.strengths {
  padding: 120px 0;
  text-align: center;
}

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

.section-subtitle {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 22px;
  line-height: 1.7;
  color: var(--secondary);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.strength-card {
  background: #2a8cae;
  color: white;
  padding: 60px 40px;
  border-radius: 40px;
  transition: var(--transition);
}

.strength-card.active {
  background: #153e5f;
}

.strength-card h3 {
  font-size: 26px;
  margin: 30px 0 20px;
}

.strength-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.strength-icon {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.strength-icon img {
  max-width: 40px;
}

.strength-card:hover {
  transform: translateY(-10px);
}
/* =========================================================
   6. CORE SERVICES
========================================================= */

.services {
  padding: 20px 0;
}

.section-subtitle.small {
  font-size: 24px;
  margin-top: -10px;
  margin-bottom: 70px;
  opacity: 0.7;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  transition: 0.3s ease;
}

.service-row.reverse .service-image {
  order: 2;
}

.service-row.reverse .service-card {
  order: 1;
}

.service-image {
  height: 380px; /* حجم موحد */
  overflow: hidden;
  border-radius: 30px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* يمنع التشوه */

  transition: transform 0.5s ease;
}
.service-row:hover .service-image img {
  transform: scale(1.07);
}

.service-card {
  background: #dfe8ed;
  padding: 50px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3 {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card p {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #0e3b5f;
  text-decoration: none;
  transition: 0.3s ease;
}

.read-more img {
  width: 32px;
  height: 32px;
  transition: 0.3s ease;
}

.read-more:hover {
  color: #1c8fbc;
}

.read-more:hover img {
  transform: translateX(4px);
}
.services .section-title,
.services .section-subtitle {
  text-align: center;
}
/* =========================================================
   7. WHY CHOOSE US
========================================================= */

.why {
  padding: 120px 0;
}

.why .section-title,
.why .section-subtitle {
  text-align: center;
}

.why .section-subtitle {
  max-width: 650px;
  margin: 15px auto 60px;
  line-height: 1.6;
}

/* ===== Gallery ===== */

.why-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  margin-bottom: 70px;
}

.gallery-item {
  border-radius: 25px;
  overflow: hidden;
  height: 360px;
}

.gallery-item.large {
  grid-column: span 3;
  height: 360px;
}

.gallery-item:not(.large) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ===== Features ===== */

.why-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  display: flex;
  gap: 15px;
}

.feature .icon {
  background: #1c8fbc;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature h4 {
  margin-bottom: 8px;
  color: var(--secondary);
}

.feature p {
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .why-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.large {
    grid-column: span 1;
    height: 250px;
  }

  .why-features {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   8. ABOUT
========================================================= */

.about {
  padding: 80px 0;
}

.about-card {
  background: #163e5f; /* الأزرق الداكن */
  border-radius: 40px;
  padding: 80px;
  display: flex;
  align-items: center;
  gap: 50px;
  color: white;
}

.about-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-left img {
  max-width: 380px;
}

.about-divider {
  width: 1px;
  height: 300px;
  background: rgba(255, 255, 255, 0.3);
}

.about-right {
  flex: 1.5;
}

.about-right h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-right p {
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 22px;
  opacity: 0.9;
}

/* Button */

.about-btn {
  text-align: center;
  margin-top: 40px;
}

.about-btn a {
  background: #163e5f;
  color: white;
  padding: 14px 80px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
}

.about-btn a:hover {
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-divider {
    display: none;
  }
}
/* =========================================================
   9. CTA
========================================================= */

.cta {
  padding: 60px 0;
  text-align: center;
  background: #ffffff;
}

.cta-top {
  color: #1c8fbc;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-title {
  font-size: 48px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 50px;
}

/* Form */

.cta-form {
  display: flex;
  justify-content: center;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 22px 30px;
  border-radius: 25px;
  border: 1px #e4e4e4;
  background: #ffffff;
  font-size: 18px;
  outline: none;
  box-shadow: 0px 0px 6px 10px rgba(0, 0, 0, 0.025);
}
.cta-form input::placeholder {
  color: var(--primary);
  opacity: 1;
}
.cta-form input:focus::placeholder {
  color: #023b69;
}

.cta-form button {
  padding: 22px 50px;
  border-radius: 20px;
  border: none;
  background: #2b8cad;
  color: white;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-form button:hover {
  background: #1c8fbc;
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .cta-title {
    font-size: 32px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form button {
    width: 100%;
  }
}
/* =========================================================
   10. footer
========================================================= */
footer {
  background: #2c8cab;
  padding: 60px 8%;
  color: #ffffff;
}

/* Grid Layout */
.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 2fr; /* لوقو | بقية الأعمدة */
  align-items: start;
  gap: 100px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
}

/* Logo */
.footer-logo img {
  max-width: 450px;
}

/* Columns */
.footer-column h3 {
  margin-bottom: 25px;
  font-size: 22px;
}

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

.footer-column ul li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #e6f6fb;
  white-space: nowrap;
}

.footer-column ul li a {
  text-decoration: none;
  color: #e6f6fb;
  transition: 0.3s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c8cab;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #0c5b75;
  color: #ffffff;
  transform: translateY(-5px);
}
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN - TABLET
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 30px;
  }

  .hero-image img {
    max-width: 600px;
    height: auto;
  }

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    transform: none;
    margin-top: 40px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 300px;
  }

  .why-gallery {
    grid-template-columns: 1fr;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-divider {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
/* ==========================================================================
   RESPONSIVE DESIGN - MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    gap: 20px;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .btn-download {
    display: none;
  }

  .hero {
    padding: 120px 0 40px;
  }

  .hero-content h1 {
    line-height: 1.2;
  }

  .trusted-box {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .service-card {
    padding: 30px;
  }

  .service-card p {
    font-size: 18px;
  }

  .cta-form {
    flex-direction: column;
    gap: 15px;
  }

  .cta-form button {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .social-icons {
    justify-content: center;
  }
}
/* Extra Small Mobile */
@media (max-width: 480px) {
  .container {
    width: 95%;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .trusted-title {
    font-size: 22px;
  }

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

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 16px;
  }

  .cta-title {
    font-size: 26px;
  }
}
/* FIX MOBILE BREAK */
@media (max-width: 992px) {
  .phone-mockup,
  .Mask-mockup,
  .about-image {
    display: none !important;
  }

  .download-buttons,
  .mockup-col img {
    transform: none !important;
  }

  body {
    overflow-x: hidden;
  }
}
