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

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Oxanium", sans-serif;
  background-color: #ffffff;
  font-weight: 400;
}

h1,
h2,
h3 {
  font-weight: 700;
}

.navbar {
  background-color: #2e2e2e80;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #81a4a9;
}
.navbar-nav .nav-link {
  color: #81a4a9 !important;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 1rem;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
  color: #000000 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active:hover {
  color: #ff6600 !important;
}

.navbar-brand:hover {
  color: #30304c !important;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.bg {
  margin-top: -76px;
  padding-top: 70px;
  height: calc(100vh + 70px);
  background-image: url("./images/server.png");
  background-color: #2e2e2e;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: #977c7c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.721),
    rgba(0, 0, 0, 0.2)
  );
}

.bg {
  background-attachment: fixed;
  animation: fadeBackground 5s infinite alternate;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
}
.hero-text p {
  font-size: 1.25rem;
}

.btn-outline-light {
  border-color: #b0b0b0;
  color: #ffffff;
}
.btn-outline-light:hover {
  background-color: #ff6600;
  border-color: #ff6600;
}

.section-title {
  margin-bottom: 50px;
  text-align: left;
}
.section-title h2 {
  font-size: 36px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
  color: #2e2e2e;
}
.section-title h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #ff6600;
  bottom: 0;
  left: 0;
}

.service-box {
  text-align: center;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s;
  background-color: #ffffff;
}

.service-box:hover {
  box-shadow: 0 0 30px #81a4a9;
}

.service-box .icon {
  font-size: 50px;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.service-box:hover .icon {
  color: #ff6600;
}

.service-box h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2e2e2e;
}
.service-box p {
  font-size: 14px;
  color: #b0b0b0;
}

.main-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #2e2e2e;
}
.sub-heading {
  font-size: 1rem;
  color: #2e2e2e;
}
.list-item {
  font-size: 1rem;
  color: #2e2e2e;
}
.list-item i {
  color: #ff6600;
}

.img-fluid-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.fa-arrow-up {
  padding: 5px !important;
}

.service-icon {
  font-size: 48px;
  color: #b0b0b0;
}

.service-icon:hover {
  color: #ff6600;
}
.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #b0b0b0;
  margin-top: 15px;
}
.service-description {
  font-size: 14px;
  color: #b0b0b0;
  margin-top: 10px;
}
.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: #2e2e2e;
}

.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: #ffffff;
  border: 0px solid #b0b0b0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  color: #2e2e2e;
  font-weight: 600;
}

.accordion-button:hover {
  background-color: #f5f5f5;
  color: #81a4a9;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 10px;
}

.accordion-button:not(.collapsed) {
  color: #ffffff;
  background-color: #1d2a34;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-color: #ffffff00;
}

.accordion-body {
  background-color: #ffffff;
  border: 0px solid #b0b0b0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 1px;
  padding: 20px;
}

.accordion-button:not(.collapsed)::after {
  filter: hue-rotate(30deg) brightness(2);
}

.faq-answer {
  font-size: 1rem;
  color: #2e2e2e;
  font-weight: 500;
  line-height: 1.5;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 0.5rem;
  cursor: pointer;
}

#contact-section {
  padding: 50px 75px;
}

#specialties-section {
  max-width: 1350px;
  margin: 0 auto;
  padding: 50px 75px;
  color: #181818;
  border-radius: 20px;
  background: radial-gradient(black 10%, transparent 11%) 0px 0px / 10px 10px,
    #1d2a34;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about-section {
  padding: 50px 50px;
}
.contact-header {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}
.contact-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: #2e2e2e;
}
.contact-header p {
  font-size: 14px;
  color: #b0b0b0;
}
.contact-info .info-box {
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}
.info-box:hover {
  box-shadow: 0 0 30px #81a4a9;
}
.contact-info .info-box i {
  font-size: 32px;
  color: #ff6600;
  margin-bottom: 10px;
}
.contact-info .info-box:hover i {
  color: #30304c;
}
.contact-info .info-box h3 {
  font-size: 20px;
  font-weight: bold;
  color: #2e2e2e;
}
.contact-info .info-box p {
  font-size: 14px;
  color: #b0b0b0;
}
.footer {
  padding-top: 100px;
  padding-left: 50px;
  padding-right: 30px;
  background-color: #2e2e2e;
  color: #ffffff;
}
.footer h5 {
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}
.footer p,
.footer a {
  color: #ffffff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .social-icons a {
  color: #ffffff;
  margin-right: 10px;
  font-size: 20px;
}
.footer .social-icons a:hover {
  color: #e0e0e0;
}
.footer .contact-info i {
  margin-right: 10px;
}
.footer .contact-info li {
  margin-bottom: 10px;
}
.footer .copyright {
  text-align: center;
  margin-top: 100px;
  font-size: 14px;
  color: #ffffff;
}

#typewriter {
  display: inline;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 600;
  position: relative;
}

#typewriter::after {
  content: "|";
  animation: blink-caret 0.8s steps(1) infinite;
  position: absolute;
  right: -10px;
  color: #ff6600;
}

@keyframes blink-caret {
  0%, 100% { opacity: 0 }
  50% { opacity: 1 }
}


.hero-text {
  z-index: 1;
  color: #ffffff8c;
  text-align: center;
  padding: 0 1rem;
  max-width: 100%;
}

@keyframes fadeBackground {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(0.8);
  }
}

@media (max-width: 768px) {

  .hero-text {
    padding: 1rem;
    max-width: 100%;
  }
  
  .faq-section {
    padding: 0 10px;
  }

  .accordion-button {
    font-size: 0.9rem;
  }

  .accordion-body {
    font-size: 0.85rem;
  }

  .contact-header h2 {
    font-size: 28px;
  }

  .contact-header p {
    font-size: 12px;
  }

  .info-box {
    padding: 15px;
  }

  .service-item {
    text-align: center;
    padding: 20px;
  }

  #typewriter {
    font-size: 1rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .navbar-collapse {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background-color: #2e2e2e80 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 15px;
  }

  .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
    font-size: 1.2rem;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .bg {
    background-image: url("./images/server-mobile.png");
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
    min-height: 100vh;
    padding-top: 70px;
  }
}
