* {
  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 */

.blog-hero {
  background:
    linear-gradient(rgba(3, 28, 71, 0.88), rgba(3, 28, 71, 0.88)),
    url("about-us.png") center/cover no-repeat;
  padding: 120px 0;
  text-align: center;
  color: #fff;
}

.blog-hero span {
  color: #d8a74f;
  font-size: 18px;
  font-weight: 900;
}

.blog-hero h1 {
  max-width: 850px;
  margin: 20px auto;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.5;
}

.blog-hero p {
  max-width: 720px;
  margin: auto;
  font-size: 18px;
  line-height: 2;
  color: #e9eef5;
}

/* BLOG SECTION */

.blog-section {
  padding: 85px 0;
  background: #fff;
}

.blog-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.blog-filter a {
  border: 1px solid #e1e5ea;
  background: #f4f5f7;
  color: #031c47 !important;
  padding: 13px 24px;
  border-radius: 30px;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.3s;
}

.blog-filter a.active,
.blog-filter a:hover {
  background: #031c47;
  color: #fff !important;
  border-color: #031c47;
}

/* BLOG GRID */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(3, 28, 71, 0.07);
  transition: 0.35s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(3, 28, 71, 0.14);
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: 0.5s;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 26px;
}

.blog-content span {
  display: inline-block;
  color: #d8a74f;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.blog-content h3,
.blog-content h2 {
  color: #031c47;
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 14px;
}

.blog-content h3 {
  font-size: 21px;
}

.blog-content h2 {
  font-size: 30px;
}

.blog-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.blog-content a {
  color: #031c47 !important;
  font-size: 15px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-content a:hover {
  color: #d8a74f !important;
}

/* FEATURED */

.blog-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.blog-card.featured img {
  height: 100%;
  min-height: 360px;
}

.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: 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;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .blog-hero h1 {
    font-size: 36px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .container,
  .container2 {
    width: 92%;
  }

  .blog-hero {
    padding: 80px 0;
  }

  .blog-hero h1 {
    font-size: 29px;
  }

  .blog-section {
    padding: 55px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card.featured {
    grid-column: span 1;
  }

  .blog-content h2 {
    font-size: 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    font-size: 28px;
    left: 16px;
    bottom: 16px;
  }
}
