* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  position: relative;
  max-width: 100svw;
}

/* Header */
header {
  align-items: center;
  justify-content: center;
}

.top-header {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: -20px
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #222;
}

.logo span {
  color: #4c6ef5;
  font-weight: normal;
  font-size: 18px;
  margin-left: 5px;
}

.header-info {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: flex-end;
  margin-top: -20px;
}

.header-info i {
  margin-right: 8px;
  color: #4c6ef5;
}

.btn-outline {
  border: 2px solid #4c6ef5;
  background: none;
  padding: 10px 24px;
  cursor: pointer;
  color: #4c6ef5;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #4c6ef5;
  color: white;
}

/* Navigation */
.main-nav {
  background-color: #f8f9fa;
  padding: 0 60px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.main-nav ul {
  display: flex;
  list-style: none;
  padding: 15px 0;
}

.main-nav li {
  margin-right: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #4c6ef5;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #4c6ef5;
}

/* Hero */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
    url("img/website/business-bg-BDvfmGRV.jpeg") center/cover;
  display: flex;
  align-items: center;
  padding: 60px;
}

.hero-content {
  color: white;
  max-width: 700px;
}

.hero .small-text {
  font-size: 18px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero h1 {
  font-size: 48px;
  margin: 20px 0;
  line-height: 1.2;
}

.btn {
  background: #4c6ef5;
  border: none;
  padding: 14px 32px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.btn:hover {
  background-color: #3a56d4;
}

/* Features */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service:hover {
  border-bottom: 2px solid #111827;
}


.line {
  width: 50px;
  height: 5px;
  background-color: #d1d5db;
  border-radius: 8px;
}

/* ألوان الخلفية */
.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

.bg-gray-300 {
  background-color: #d1d5db;
}

.bg-gray-400 {
  background-color: #9ca3af;
}


@media (max-width: 768px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.about {
  display: flex;
  width: 100%;
  padding: 80px 80px 80px 80px;
  gap: 100px;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about img {
  width: 45%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-text {
  width: 100%;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #222;
  position: relative;
  padding-bottom: 50px;
  justify-content: center;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #9ca3af;
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.7;
  font-size: 16px;
}

.about-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 2px solid #9ca3af;
  margin-top: 30px;
  padding-top: 30px;
  color: #0f172a;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}


.icon-box svg {
  width: 36px;
  height: 36px;
  fill: #4a4c51;
  transition: all 0.3s ease;
}

.icon-box h3 {
  font-size: 18px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about {
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
    max-width: 700px;
  }

  .about img {
    width: 100%;
    max-width: 600px;
  }

  .about-text {
    width: 100%;
  }

  .about-icons {
    gap: 30px;
  }
}


@media (max-width: 480px) {
  body {
    padding: 30px 15px;
  }

  .about {
    padding: 40px 25px;
    gap: 30px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 15px;
  }

  .about-icons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .icon-box {
    width: 100%;
    max-width: 250px;
  }
}


.cta {
  background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)),
    url("img/website/blue-bg-xVWGj1H-.webp") center/cover;
  color: white;
  padding: 100px 60px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* Services */
/* ===== Services Section ===== */
.services-section {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.services-section h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.section-line {
  width: 30px;
  height: 5px;
  background-color: #d1d5db;
  border-radius: 8px;
}

.section-desc {
  text-align: center;
  color: #1f2937;
  max-width: 600px;
  font-size: 15px;
}

/* ===== Grid ===== */
.services-list {
  margin-top: 30px;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ===== Card ===== */
.service-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Image */
.service-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

/* Text */
.card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #1f2937;
}

.card-text p {
  font-size: 14px;
  color: #374151;
  margin-top: 4px;
}

/* Link */
.card-text a {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1e3a8a;
  text-decoration: none;
}

.card-text a svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.card-text a:hover svg {
  transform: translateX(4px);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-list {
    grid-template-columns: 1fr;
  }

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

  .service-card img {
    width: 100%;
    height: 160px;
  }
}

/* Contact Info */
.contact-info {
  padding: 80px 60px;
  background-color: #4c6ef5;
  color: white;
  text-align: center;
}

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

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 30px;
  line-height: 1.4;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  font-size: 20px;
}

.contact-details i {
  margin-right: 10px;
}

/* Team */
.team {
  padding: 100px 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px;
}

.team-card {
  text-align: center;
  /* width: 500px; */
  height: 300px;
  background-color: #9ca3af;
  border-radius: 40% 40% 0 0;
}

.team-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  padding: 20px;
}

.team-card h3 {
  margin-bottom: 8px;
  color: #222;
}

.position {
  color: #4c6ef5;
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: #1f2937;
  /* gray-800 */
  color: #fff;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-contact h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-contact p,
.footer-social p {
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #d1d5db;
  /* light gray */
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: fill 0.3s;
}

.social-icons a:hover svg {
  fill: #9ca3af;
  /* gray-400 */
}

.footer-bottom {
  border-top: 1px solid #374151;
  /* gray-700 */
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

@media(min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}