/* :root variables */
:root {
  --color-dark-gray: #232323;
  --color-light-gray: #e0dede;
  --color-white: #FFFFFF;
  --color-electric-blue: #00AEEF;
  --color-neon-purple: #8E44AD;
  --color-cyan: #1ABC9C;

  --font-primary: 'Poppins', sans-serif;

  --gradient-primary: linear-gradient(to bottom, #232323, #002244);
  --gradient-secondary: linear-gradient(to top, #232323, #002244);
}

/* Universal reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px #00AEEF;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #232323, #002244, #00AEEF);
  border-radius: 10px;
}

/* Selection styling */
::selection {
  background-color: var(--color-electric-blue);
  color: #000000;
}

/* Cursor styling */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-electric-blue);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.3s ease;
  z-index: 9999;
}

a:hover,
.btn-primary:hover,
.btn-secondary:hover {
  cursor: none;
}

a:hover~.cursor,
.btn-primary:hover~.cursor,
.btn-secondary:hover~.cursor {
  background-color: white;
  width: 30px;
  height: 30px;
}

.cursor-tail {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-electric-blue);
  border-radius: 50%;
  transition: all 0.1s ease-out;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* Keyframes Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  50% {
    opacity: 0.5;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-50%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Global Styles */
body {
  font-family: var(--font-primary);
  background: var(--gradient-primary);
  color: var(--color-light-gray);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #00AEEF;
  letter-spacing: 1px;
}

p {
  color: var(--color-light-gray);
  line-height: 1.6;
}

/* Header Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-dark-gray);
  color: var(--color-white);
  padding: 16px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: scaleUp 2s ease-out 0.5s forwards;
  animation-iteration-count: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1000;
}

.no-copy {
  -webkit-user-select: none;
  user-select: none;
}

.navbar .logo a {
  color: var(--color-white);
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a.home,
.nav-links a.about,
.nav-links a.solutions {
  color: var(--color-white);
  text-decoration: none;
  margin: 0px;
  padding: 5px;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s;
}

.get-in-touch {
  color: var(--color-white);
  text-decoration: none;
  margin: 0px;
  padding: 10px;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s;
  box-shadow: 0px 0px 0px .5px var(--color-white);
}

.nav-links a:hover {
  color: var(--color-light-gray);
  box-shadow: 0px 3px 0px 0px var(--color-electric-blue);
}

/* Hamburger Styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  animation: fadeIn 2s ease-out 0.5s forwards;
}

.hamburger span {
  background-color: var(--color-white);
  height: 4px;
  width: 100%;
}

/* Contact Section */
.contact {
  margin: 10% auto;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  background-size: cover;
  background-attachment: fixed;
  color: var(--color-light-gray);
}

.contact-form {
  position: relative;
  max-width: 550px;
  width: 100%;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  background: var(--gradient-secondary);
  color: var(--color-white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  animation: scaleUp 1.5s ease-out 0.5s forwards;
  animation-iteration-count: 1;
}

.contact-form h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-electric-blue);
}

.contact-form p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: var(--color-light-gray);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form button {
  font-size: 1.1rem;
  padding: 15px 20px;
  background: #08659b;
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-form button:hover {
  background: #003366;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.contact-form button:active {
  background: #002244;
  transform: scale(0.98);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Input Group */
.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.input-group i {
  color: var(--color-light-grey);
  font-size: 1.2rem;
  margin-right: 10px;
}

.input-group input,
.input-group select,
.input-group textarea {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-white);
  outline: none;
  font-family: var(--font-primary);
}

.input-group textarea {
  min-height: calc(3 * 1.2em);
  max-height: calc(8 * 1.2em);
  resize: vertical;
  overflow-y: auto;
}

.input-group select option {
  background: #002244;
  color: var(--color-light-gray);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-group:focus-within {
  border-color: var(--color-electric-blue);
  background: rgba(255, 255, 255, 0.2);
}

.input-group input:focus::placeholder,
.input-group textarea:focus::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ section */
.faq {
  padding: 40px 20px;
  background: var(--gradient-secondary);
  color: var(--color-light-gray);
  text-align: center;
  animation: fadeIn 1.5s ease-out forwards;
  animation-iteration-count: 1;
}

.faq-container {
  margin: 5px 12%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-electric-blue);
  text-transform: uppercase;
  animation: scaleUp 1.5s ease-out forwards;
  animation-iteration-count: 1;
}

.faq-item {
  margin-bottom: 20px;
  background: var(--gradient-primary);
  border-radius: 8px;
  padding: 25px;
  transition: background 0.3s ease;
}

.faq-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-white);
  text-transform: capitalize;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-light-gray);
  animation: slideIn 0.5s ease-out forwards;
  animation-iteration-count: 1;
}

.faq-item:hover {
  background: var(--gradient-secondary);
}

/* Footer Styling*/
.footer {
  background: var(--color-dark-gray);
  color: var(--color-light-gray);
  padding: 20px 0;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.footer-brand {
  margin-bottom: 15px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--color-white);
}

.footer-brand p {
  font-size: 1rem;
  margin-top: 5px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--color-light-gray);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-electric-blue);
}

.footer-contact {
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-electric-blue);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-light-gray);
}

/* Media queries for devices */
@media (min-width: 768px) and (max-width: 1024px) {

  .nav-links,
  .logo {
    margin: 0 5px;
  }

  .faq-container {
    grid-template-columns: 1fr 1fr;
  }

  .faq {
    padding: 20px 10px;
  }

  .faq h2 {
    font-size: 1.5rem;
  }

  .faq-item {
    padding: 8px;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }

  .faq-item p {
    font-size: 0.8rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: 10px;
  }

  .footer-nav ul {
    flex-direction: row;
    gap: 10px;
  }

}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none;
  }

  header {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
    width: 100%;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    background: var(--color-dark-gray);
    position: absolute;
    top: 48px;
    left: 0;
    padding: 16px;
  }

  .nav-links li {
    margin: 15px 0px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    cursor: pointer;
  }

  .contact {
    margin: 25% 0;
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form h1 {
    font-size: 2.0rem;
    font-weight: 400px;
  }


  .faq {
    padding: 30px 15px;
  }

  .faq-container {
    margin: 5px .5%;
  }

  .faq h2 {
    font-size: 1.8rem;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item h3 {
    font-size: 1.3rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    gap: 10px;
    margin-bottom: 15px;
  }

  .footer-copyright {
    margin-top: 10px;
  }
}

@media (min-width: 1024px) {
  .faq-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .faq-item {
    margin: 10px;
  }
}