* {
  padding: 0;
  margin: 0;
}

.rubik-text {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.signika-text {
  font-family: "Signika", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
}

.header {
  z-index: 2;
}

#logo-container {
  position: absolute;
  top: 5%;
  left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#logo {
  width: 157px;
  height: 50px;
}

#logo-text {
  color: #f2f2eb;
  font-weight: 600;
  font-size: 16px;
}

#navbar-big {
  position: absolute;
  width: 100%;
  margin-top: 2%;
}

#nav-list-big {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style-type: none;
  gap: 2%;
}

#nav-list-big li {
  font-weight: 600;
  font-size: 26px;
}

#nav-list-big a {
  color: #fff;
  text-decoration: none;
  transition: background-color 1s ease;
  padding: 10px 15px;
  border-radius: 5px;
}

#nav-list-big a:hover {
  background-color: #f9f9f4;
  color: #1cace3;
}

#navbar-small {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 10%;
  margin-top: 60px;
  right: 0px;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  display: none;
}

#navbar-small.transition {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#navbar-small.active {
  opacity: 1;
  visibility: visible;
}

#nav-list-small {
  list-style-type: none;
  display: block;
  height: 100%;
}

#nav-list-small li {
  font-weight: 600;
  font-size: 20px;
  height: 50px;
  display: block;
}

#nav-list-small a {
  color: #1cace3;
  text-decoration: none;
  transition: background-color 1s ease;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#nav-list-small a:hover {
  background-color: #1cace3;
  color: white;
}

#drawer-button {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  display: none;
}

#drawer-button img {
  width: 30px;
  height: 30px;
}

.first-container {
  position: relative;
  width: 100%;
  height: max(100vh, 600px);
}

.background {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

#first-flex {
  position: absolute;
  top: 25%;
  left: 5%;
  width: 90%;
  height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

#text-container {
  width: 70%;
}

#upper-title {
  font-weight: 400;
  font-size: 30px;
  color: #f9f9f4;
}

#main-title {
  color: #fafdff;
  font-weight: 500;
  font-size: 50px;
  margin-top: 5%;
}

#bottom-title {
  font-weight: 400;
  font-size: 30px;
  color: #f4f4f4;
  margin-top: 4%;
}

#link-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: end;
}

#quicard-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 20px;
}

#quicard-link-text {
  color: #ffffff;
  font-weight: 400;
  font-size: 20px;
}

#appstore-image {
  width: 40px;
  height: 40px;
}

.second-container {
  position: relative;
  width: 100%;
  height: max(100vh, 600px);
}

.second-container-background {
  display: block;
  height: 100%;
  background-color: #00b6fc;
  opacity: 0.5;
}

.second-container-flex {
  position: absolute;
  top: 2%;
  left: 5%;
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 96%;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.second-container-screenshot {
  min-width: 40%;
  height: 100%;
  object-fit: contain;
  min-height: 100px;
}

#second-container-title {
  color: #004772;
  font-weight: 500;
  font-size: 30px;
  text-align: left;
}

.second-container-subtitle {
  color: #004772;
  font-weight: 600;
  font-size: 32px;
  margin-top: 10%;
  text-align: left;
}

.second-container-list {
  color: #004772;
  font-weight: 400;
  font-size: 23px;
  margin-top: 5%;
  list-style: none;
  width: 100%;
  text-align: left;
}

.second-container-list li {
  padding-top: 5px;
}

#third-container {
  position: relative;
  width: 100%;
  height: max(100vh, 600px);
}

#third-container-background {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

#third-container-flex {
  position: absolute;
  top: 2%;
  left: 5%;
  width: 90%;
  height: 96%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#third-container-screenshot {
  min-width: 40%;
  height: 100%;
  object-fit: contain;
}

#third-container-list {
  color: #f9f9f4;
  font-weight: 600;
  font-size: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style-type: none;
  text-align: left;
}

#third-container-list li {
  padding-top: 10px;
}

#footer {
  background: linear-gradient(#f9f9f4, #00b6fc);
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 3% 5% 3% 5%;
}

#social-container {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 5px;
}

#social-stack {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
}

#social-stack li {
  width: 50px;
  height: 50px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#social-stack a {
  padding-left: 5px;
  padding-right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#social-stack a img {
  width: 30px;
  height: 30px;
}

#stack-text {
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
}

#footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

#footer-right a {
  color: #ffffff;
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
}

#privacy-terms {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.contact-us-container {
  position: relative;
  top: max(20vh, 150px);
  left: 10%;
  width: 80%;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-container {
  background-color: whitesmoke;
  border-radius: 20px;
  width: 100%;
}

#contact-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 16px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

#center-button-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#send-button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 150px;
  height: 50px;
  font-size: 16px;
}

#send-button:hover {
  background-color: #45a049;
}

input:focus,
textarea:focus {
  border-color: #4caf50;
  outline: none;
}

#alert-container {
  position: fixed;
  top: 10%;
  left: 0%;
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
}

#alert {
  width: 250px;
  height: 150px;
  border-radius: 20px;
  background-color: orange;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#alert-container.transition {
  transition: opacity 1s ease, visibility 1s ease;
}

#alert-container.show {
  opacity: 1;
  visibility: visible;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

.about-us-container {
  position: relative;
  top: 150px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding-bottom: 50px;
  width: 80%;
  left: 10%;
}

.about-us-title {
  font-size: 50px;
  color: #f9f9f4;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

.team-card {
  position: relative;
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 3px #ddd;
}

.team-grid h3 {
  font-size: 20px;
  padding-top: 10px;
}

.team-grid p {
  font-size: 16px;
  padding-top: 10px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.description-card {
  padding: 5%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card p {
  line-height: 1.6;
  color: #555;
  font-size: 20px;
}

#description-title {
  font-family: Arial, sans-serif;
  font-size: 35px;
  font-weight: bold;
  color: #f4f4f4;
  text-align: center;
}

.team-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.description-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

.blog-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-body {
  font-size: 14px;
  color: #555;
  flex: 1;
}

.read-more {
  margin-top: 15px;
  text-align: right;
}

.read-more a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.read-more a:hover {
  text-decoration: underline;
}

.blog-detail-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.blog-detail {
  max-width: 90%;
  margin: 2rem auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.blog-detail h1 {
  margin-bottom: 1rem;
}

.blog-detail .blog-image {
  max-height: 500px;
  margin: 1rem 0;
  object-fit: cover;
}

.blog-body {
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-meta {
  width: 100%;
  text-align: right;
}

.error-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.error-container {
  text-align: center;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.error-container img {
  width: 120px;
  margin-bottom: 20px;
}

.error-container h1 {
  font-size: 5rem;
  margin: 0;
  color: #ff4b5c;
}

.error-container p {
  font-size: 1.2rem;
  margin: 15px 0;
}

.error-container a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.error-container a:hover {
  background: #0056b3;
}

@media (max-width: 1000px) {
  #drawer-button {
    display: block;
  }

  #navbar-big {
    display: none;
  }

  #navbar-small {
    display: block;
  }

  #drawer-button {
    top: 5%;
  }

  #navbar-small {
    top: 5%;
  }

  #text-container {
    width: 100%;
  }

  #second-container-title {
    font-size: 25px;
  }

  .second-container-subtitle {
    font-size: 27px;
  }

  .second-container-list {
    font-size: 23px;
  }

  #third-container-list {
    font-size: 28px;
  }

  .contact-us-container {
    left: 10%;
    width: 80%;
  }
}

@media (max-width: 1100px) {
  #social-container {
    flex-direction: column;
  }

  #footer {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  #first-flex {
    text-align: center;
  }

  #upper-title {
    font-size: 28px;
  }

  #main-title {
    font-size: 45px;
  }

  #bottom-title {
    font-size: 28px;
  }

  #link-box {
    justify-content: center;
  }

  #second-container-title {
    font-size: 22px;
  }

  .second-container-subtitle {
    font-size: 24px;
  }

  .second-container-list {
    font-size: 22px;
  }

  #third-container-list {
    font-size: 26px;
  }

  .contact-us-container {
    left: 5%;
    width: 90%;
  }

  #contact-form {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  #upper-title {
    font-size: 24px;
  }

  #main-title {
    font-size: 40px;
  }

  #bottom-title {
    font-size: 24px;
  }

  .second-container-screenshot {
    width: 100%;
    min-height: 40%;
  }

  .second-container-flex {
    flex-direction: column;
  }

  #second-container-title {
    text-align: center;
    font-size: 20px;
  }

  .second-container-subtitle {
    text-align: center;
    font-size: 22px;
  }

  .second-container-list {
    text-align: center;
    font-size: 20px;
  }

  #third-container-flex {
    flex-direction: column;
  }

  #third-container-screenshot {
    width: 100%;
    min-height: 40%;
  }

  #third-container-list {
    text-align: center;
    font-size: 24px;
  }

  .description-card {
    text-align: center;
  }
}

@media (max-width: 400px) {
  #upper-title {
    font-size: 22px;
  }

  #main-title {
    font-size: 35px;
  }

  #bottom-title {
    font-size: 22px;
  }

  #second-container-title {
    font-size: 18px;
  }

  .second-container-subtitle {
    font-size: 20px;
  }

  .second-container-list {
    font-size: 18px;
  }

  #third-container-list {
    font-size: 20px;
  }
}
