* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background: #fff;
  color: #031c47;
  overflow-x: hidden;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

.container {
  width: 92%;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container2 {
  width: 88%;
  margin: auto;
}

/* TOP HEADER */

.top-header {
  background: #02152f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  color: #fff;
  font-size: 14px;
}

.top-header .container {
  width: 88%;
  gap: 25px;
}

.top-contact,
.top-social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-contact a,
.top-social a {
  color: #c8d2df !important;
  transition: 0.3s;
}

.top-contact a:hover,
.top-social a:hover {
  color: #d8a74f !important;
}

.top-contact i {
  color: #d8a74f;
  margin-left: 7px;
}

.top-message {
  color: #d8a74f;
  font-weight: 800;
  text-align: center;
}

.top-social {
  gap: 14px;
}

.top-social a {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.top-social a:hover {
  background: #d8a74f;
  color: #02152f !important;
}

/* HEADER */

.header {
  width: 100%;
  height: 88px;
  background: rgba(244, 245, 247, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 8px 28px rgba(3, 28, 71, 0.06);
}

.logo img {
  width: 92px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links li a {
  color: #031c47 !important;
  font-size: 16px;
  font-weight: 800;
  position: relative;
  transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #d8a74f !important;
}

.nav-links li.active a::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 0;
  width: 100%;
  height: 3px;
  background: #d8a74f;
  border-radius: 10px;
}

.consult-btn {
  width: 185px;
  height: 50px;
  background: #031c47;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  transition: 0.3s;
  box-shadow: 0 12px 28px rgba(3, 28, 71, 0.16);
}

.consult-btn:hover {
  background: #05285f;
  transform: translateY(-3px);
  color: #fff !important;
}

/* HERO */

.developers-hero {
  height: 440px;
  position: relative;
  background: url("about-us.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(3, 28, 71, 0.86), rgba(3, 28, 71, 0.86));
}

.developers-hero .container2 {
  position: relative;
  z-index: 2;
}

.developers-hero span {
  color: #d8a74f;
  font-size: 18px;
  font-weight: 900;
}

.developers-hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  margin: 20px 0;
  line-height: 1.4;
}

.developers-hero p {
  color: #e5ebf3;
  font-size: 18px;
  line-height: 2;
  max-width: 760px;
  margin: auto;
}

/* SECTION */

.developers-section {
  padding: 85px 0;
  background: #fff;
}

.developers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.small-title {
  color: #d8a74f;
  font-size: 17px;
  font-weight: 900;
}

.developers-header h2 {
  color: #031c47;
  font-size: 40px;
  font-weight: 900;
  margin-top: 10px;
}

/* SEARCH */

.search-box {
  width: 380px;
  height: 58px;
  background: #f4f5f7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e6eaf0;
}

.search-box input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 18px;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  color: #031c47;
}

.search-box button {
  width: 65px;
  height: 100%;
  border: none;
  background: #031c47;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.search-box button:hover {
  background: #d8a74f;
  color: #031c47;
}

/* GRID */

.developers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* CARD */

.developer-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 38px rgba(3, 28, 71, 0.07);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit !important;
}

.developer-card:hover {
  transform: translateY(-8px);
  border-color: #d8a74f;
  box-shadow: 0 25px 60px rgba(3, 28, 71, 0.14);
}

/* LOGO */

.developer-logo {
  width: 145px;
  height: 145px;
  background: #f4f5f7;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid #e5e5e5;
  transition: 0.35s;
}

.developer-card:hover .developer-logo {
  background: #031c47;
  border-color: #031c47;
}

.developer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.developer-logo i {
  font-size: 52px;
  color: #d8a74f;
}

/* CONTENT */

.developer-content h3 {
  color: #031c47;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.developer-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.developer-meta {
  margin-bottom: 16px;
}

.developer-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(216, 167, 79, 0.14);
  color: #031c47;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
}

.view-link {
  color: #d8a74f;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.empty-box {
  grid-column: 1 / -1;
  background: #f4f5f7;
  padding: 40px;
  border-radius: 22px;
  text-align: center;
  color: #031c47;
  font-weight: 900;
}

/* FOOTER */

.footer {
  background: #02152f;
  padding-top: 70px;
}

.footer-container {
  width: 88%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 45px;
  padding-bottom: 45px;
}

.footer-col h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 25px;
}

.footer-about img {
  width: 120px;
  margin-bottom: 20px;
}

.footer-about p {
  color: #c8d2df;
  line-height: 2;
  font-size: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 16px;
}

.footer-col ul li a {
  color: #c8d2df !important;
  font-size: 15px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #d8a74f !important;
}

.contact-info li {
  color: #c8d2df;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info li i {
  color: #d8a74f;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: 0.3s;
}

.social-links a:hover {
  background: #d8a74f;
  color: #031c47 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  text-align: center;
  color: #c8d2df;
  font-size: 14px;
}

/* WHATSAPP */

.floating-whatsapp {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
  transition: 0.3s;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .developers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .header {
    height: auto;
    padding: 18px 0;
  }

  .container {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .top-header .container {
    flex-direction: column;
    gap: 10px;
  }

  .top-contact {
    flex-wrap: wrap;
    justify-content: center;
  }

  .developers-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    width: 100%;
  }

  .developers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .developers-hero h1 {
    font-size: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .container,
  .container2 {
    width: 92%;
  }

  .developers-grid {
    grid-template-columns: 1fr;
  }

  .developers-hero {
    height: auto;
    padding: 80px 0;
  }

  .developers-hero h1 {
    font-size: 30px;
  }

  .developers-hero p {
    font-size: 16px;
  }

  .developers-header h2 {
    font-size: 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    font-size: 28px;
    left: 16px;
    bottom: 16px;
  }
}
