@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;
}

/* PAGE TITLE */
.page-title {
  width: fit-content;
  margin: 30px auto;
  padding: 12px 30px;
  background: #0f2038;
  border-radius: 10px;
  font-size: 32px;
}

/* MAIN CONTENT */
.about-wrapper {
  width: 90%;
  margin: auto;
  display: flex;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.left-box img {
  width: 340px;
  border-radius: 12px;
  box-shadow: 0 0 10px #00000060;
}

.right-box {
  font-size: 15px;
  line-height: 1.8;
}

.contact-title {
  margin-top: 25px;
  margin-bottom: 10px;
}

.email {
  color: #4fa3ff;
  text-decoration: none;
}

/* SOCIAL ICONS */
.social {
  width: 200px;
}
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  width: 30px;
  opacity: 0.9;
  cursor: pointer;
  transition: 0.2s;
}
.footer .social img {
  width: 22px;
  height: 22px;
}

/* CTA BUTTON */
.cta {
  width: 90%;
  text-align: left;
  margin: 15px auto 10px;
}

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

.btn:hover {
  background: #004887;
}

.btn.big {
  padding: 10px 30px;
  font-size: 17px;
}

/* ================= 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-right,
.social,
.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);
}

/* ================= CTA BUTTON ================= */
.cta {
  width: 90%;
  text-align: left;
  margin: 15px auto 12px;
}
.see-portfolio {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

/* Tablets */
@media (max-width: 900px) {
  .portfolio-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .header {
    padding: 14px 20px;
  }

  .nav {
    display: none;
  }

  .portfolio-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    text-align: center;
  }

  .footer {
    justify-content: center;
    padding: 20px;
  }

  .icon-box {
    width: 34px;
    height: 34px;
  }

  .icon-box img {
    width: 18px;
  }
}
/* --------------- MOBILE BOTTOM 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;
}

@media (max-width: 768px) {
  .nav {
    display: none; 
  }

  .mobile-nav {
    display: flex;
  }
  .footer {
    display: none;
  }
  body {
    padding-bottom: 70px; 
  }
}


/* ====== RESPONSIVE FIX FOR CONTACT PAGE ====== */

@media (max-width: 900px) {
  .about-wrapper {
    gap: 25px;
  }

  .left-box img {
    width: 280px;
  }
}

@media (max-width: 768px) {

  .about-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .left-box img {
    width: 220px;
  }

  .right-box {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }

}
