* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0061ff;
  --secondary: #0f172a;
  --accent: #00c897;
  --background: #f8fafc;
  --text: #1e293b;
  --white: #ffffff;
  --gray-light: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;

  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  padding: 0 25px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-icon img {
  width: 92px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0 auto;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--white);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 10px 20px var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-menu.active {
  max-height: 400px;
  padding: 20px 0;
}

.mobile-link {
  color: var(--text);
  text-decoration: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-link:hover {
  background-color: var(--background);
  border-left-color: var(--primary);
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 28px;

  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 9px rgba(0, 97, 255, 0.3);
}

.btn-primary:hover {
  background-color: #0052d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 97, 255, 0.4);
}

.mobile-menu div {
  padding: 12px 0 0 32px;
}
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85),
    rgba(0, 97, 255, 0.6)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.95;
}

.btn-hero {
  background-color: var(--accent);
  color: var(--white);
  padding: 16px 40px;
  border: none;
  /* border-radius: 10px; */
  border-radius: 50px;

  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 200, 151, 0.4);
}

.btn-hero:hover {
  background-color: #00b386;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 200, 151, 0.5);
}

.badges {
  padding: 80px 0;
  background-color: var(--white);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.badge-card {
  background-color: var(--background);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;

  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.badge-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.badge-icon {
  color: var(--primary);
  margin-bottom: 20px;
}
.badge-icon img {
  width: 190px;
}

.badge-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.badge-text {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.8;
}

.why-work {
  padding: 100px 0;
  background-color: var(--background);
  overflow: hidden;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.why-illustration.animate {
  opacity: 1;
  transform: translateX(0);
}

.animated-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.svg-circle {
  animation: pulse-circle 3s ease-in-out infinite;
}

.svg-circle-small {
  animation: float 4s ease-in-out infinite;
}

.people-group {
  animation: bounce 2s ease-in-out infinite;
}

.arrow-path,
.arrow-head {
  animation: fadeInOut 2s ease-in-out infinite;
}

.chart-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 3s ease forwards;
}

.chart-dot {
  animation: popIn 0.5s ease forwards;
  opacity: 0;
}

.chart-dot:nth-child(7) {
  animation-delay: 0.5s;
}
.chart-dot:nth-child(8) {
  animation-delay: 0.8s;
}
.chart-dot:nth-child(9) {
  animation-delay: 1.1s;
}
.chart-dot:nth-child(10) {
  animation-delay: 1.4s;
}
.chart-dot:nth-child(11) {
  animation-delay: 1.7s;
}
.chart-dot:nth-child(12) {
  animation-delay: 2s;
}

.star-path {
  animation: rotate 10s linear infinite;
  transform-origin: 400px 131px;
}

@keyframes pulse-circle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
  from {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.why-cards.animate {
  opacity: 1;
  transform: translateX(0);
}

.why-card {
  background-color: var(--white);
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--shadow-lg);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: var(--white);
}

.why-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
}

.why-text {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.85;
  line-height: 1.7;
}

.services {
  padding: 100px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 50px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 97, 255, 0.3);
}

.service-icon {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 20px;
}

.service-title {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}

.testimonials {
  padding: 100px 0;
  background-color: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #ffb800;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}
/**/
.contact {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 50px;
  opacity: 0.8;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  color: var(--text);
  transition: all 0.3s ease;
  background-color: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-box {
  background-color: var(--background);
  padding: 30px 50px;
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 250px;
  width: 300px;
  height: 160px;
}

.contact-box:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.contact-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text);
}

.contact-box a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-box a:hover {
  text-decoration: none;
}

.footer {
  background-color: var(--secondary);
  padding: 30px 0;
  text-align: center;
}

.footer-text {
  color: var(--white);
  font-size: 1rem;
  opacity: 0.9;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
/**/
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  .nav-right a {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}
/**/
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .nav-content {
    padding: 1rem 0;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .mobile-menu div {
    padding: 12px 0 0 32px;
  }

  .badges-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-illustration {
    order: 2;
  }

  .why-cards {
    order: 1;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-hero {
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.8rem;
  }

  .logo-icon img {
    width: 70px;
  }

  .btn-primary {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
