@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Rubik, sans-serif;
}

body {
  background: #0b0f16;
  color: #fff;
  direction: ltr;
  text-align: left;
  padding-bottom: 120px;
}

/* ================= HEADER ================= */

.header {
  background: #0f1826;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.logo:hover {
  color: #004887;
}

.nav a {
  color: #c4ccda;
  margin-left: 25px;
  text-decoration: none;
  transition: 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #004887;
}

/* ================= HERO ================= */

.hero {
  width: 95%;
  margin: 20px auto;
}

.hero-img {
  width: 100%;
  border-radius: 14px;
}

/* ================= GALLERY ================= */

.gallery {
  display: none;
}

/* ================= CTA BUTTON ================= */

.cta {
  width: 90%;
  text-align: left;
  margin: 15px auto 12px;
}

.btn {
  background: #00294d;
  padding: 11px 20px;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  background: #004887;
}

.see-portfolio {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drive-icon {
  width: 18px;
  height: 18px;
}

/* ================= FOOTER ================= */

.footer {
  width: 100%;
  padding: 7px 25px;
  background: #0d1421;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.footer .social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer .social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00294d;
  transition: all 0.3s ease;
}

.footer .social img {
  width: 22px;
  height: 22px;
}

.footer .social a:hover {
  background: #004887;
  transform: translateY(-4px);
}

/* ================= MOBILE NAV ================= */

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0f1826;
  display: none;
  justify-content: space-around;
  padding: 10px 0 8px;
  border-top: 1px solid #1d2636;
  z-index: 999;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav a.active,
.mobile-nav a:hover {
  color: #004887;
}

.mobile-nav img {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  opacity: 0.9;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .footer {
    display: none;
  }

  body {
    padding-bottom: 70px;
  }

  .gallery {
    display: grid;
    width: 95%;
    margin: 20px auto;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }

  .gallery img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1/1.2;
    background: #111;
  }
}