/* Mahmoud, you can make ANY changes you want to the styles.css file. */
/* You can create new classes, override existing ones, or add new styles to the existing ones. */
/* For example sections and img gallery are both in poor shape right now, you can fix that. */
@font-face {
  font-family: "Monster";
  src: url("../font/MontserratAlternates-Bold.otf");
}

@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins-Black.ttf");
  font-weight: 900;
}

.monster__font {
  font-family: "Monster", sans-serif;
}

.poppins__font {
  font-family: "Poppins", sans-serif;
}

.custom-navbar {
  position: sticky !important;
  z-index: 1000;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.custom-navbar:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-weight: 700;
  color: #000 !important; /* Black text */
  position: relative;
  transition: all 0.3s ease;
}

.navbar-brand span {
  color: #f75340; /* Red accent */
}

.nav-link {
  color: #000 !important; /* Black text */
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: all 0.3s ease;
}
.navbar-toggler {
  background-color: #f75340 !important;
  color: white !important;
  border: none !important ;
  border-radius: 5px !important;
  font-weight: 500 !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    #f75340,
    #ffd700
  ); /* Gradient with red and gold */
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover {
  color: #f75340 !important; /* Red hover text */
}

.active-nav {
  color: #f75340 !important; /* Red active text */
}

.active-nav::after {
  transform: scaleX(1) !important;
}

@media (max-width: 1200px) {
  .custom-navbar {
    max-width: 100%; /* Full width on mobile */
    border-radius: 0; /* No rounded corners on mobile */
    margin: 0 !important;
  }

  .nav-link::after {
    display: none;
  }
}
@media (min-width: 1200px) {
  .custom-navbar {
    margin-top: 20px;
    top: 20px;
  }
}

/* Optional: Add some padding to the first section to prevent content from being hidden behind the navbar */
section {
  padding-top: 80px; /* Adjust based on your navbar height */
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #0d1b2a;
  color: #e0e1dd;
  margin: 0;
  padding: 0;
}
.orange__text {
  color: #f75340;
}
/* Hero Section */
.hero {
  background-color: white;
  text-align: center;
  padding: 50px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  color: black;
}
.hero h2 {
  font-size: 1.5rem;
  margin: 10px 0;
}
.hero-links {
  margin-top: 15px;
}
.hero-links .btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background-color: #f75340;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}
.hero-links .btn:hover {
  background-color: black;
  color: white !important;
}

/* Sections */
.section {
  padding: 60px 20px;
  text-align: center;
}
.alt-bg {
  background-color: #1b263b;
}

/* Infographic */
.infographic {
  font-size: 1.2rem;
  margin-top: 20px;
}

/* Image Gallery */
.image-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.screenshot {
  width: 45%;
  border-radius: 10px;
  border: 2px solid #a8dadc;
}

/* Contact Form */
form {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 20px;
  border-radius: 8px;
}
input,
textarea {
  margin: 10px 0;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #e0e1dd;
  color: #0d1b2a;
}
textarea {
  min-height: 200px;
}
button {
  padding: 10px;
  color: white !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  background-color: #f75340 !important;
  width: 70px;
}
button:hover {
    background-color: black !important;
    color: white !important;
}
.img-container {
  width: 300px;
  border: 4px black solid;
  border-radius: 26px;
  padding: 13px;
  background-color: white;
}
.img-container img {
  width: 100%;
  border-radius: 20px;
}
@media (min-width: 768px) {
  .expand-text p {
    width: 75%;
  }
}
.expand_cards {
  background-color: #f7f5f5;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.data_section {
  background-color: #f7f5f5 !important;
}

/* Add this to ensure the first section is not hidden behind the navbar */
#About {
  padding-top: 100px !important; /* Adjust based on your navbar height */
}
.backlog_section {
  background-color: #f7f5f5 !important;
}
