/* :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 top, #003366, var(--color-dark-gray));
  --gradient-accent: linear-gradient(to right, var(--color-neon-purple), var(--color-cyan));
}

/* 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 scaleUp {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-white);
  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;
  animation: fadeIn 2s ease-out 0.5s forwards;
  animation-iteration-count: 1;
}

.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;
  animation-iteration-count: 1;
}

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

/* Solutions Hero Section */
.solutions-hero {
  background: linear-gradient(45deg, #00aaff, #003366);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-top: 60px;
  animation: fadeIn 2s ease-out 0.5s forwards;
  animation-iteration-count: 1;
}

.solutions-header h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
}

.solutions-header h1 {
  font-size: 48px;
  font-weight: 600;
}

/* Solutions Overview Section */
.solutions-overview {
  padding: 60px 0;
  background: var(--color-dark-gray);
  text-align: center;
  color: var(--color-dark-gray);
  animation: fadeIn 2s ease-out 1.0s forwards;
  animation-iteration-count: 1;
}

.solutions-overview h2 {
  color: #00aaff;
  font-size: 36px;
  margin-bottom: 20px;
}

.solutions-overview p {
  text-align: center;
  margin: auto;
  font-size: 1.1em;
  max-width: 800px;
  line-height: 1.6;
}

/* Solutions List Section */
.solutions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  background: var(--color-dark-gray);
  animation: fadeIn 2s ease-out 1.5s forwards;
  animation-iteration-count: 1;
}

.solution-card {
  background: linear-gradient(45deg, #003366, #002244);
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.solution-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #00aaff;
  display: flex;
  align-items: center;
}

.solution-card h3 i {
  margin-right: 10px;
  font-size: 1.2em;
}

.solution-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #ddd;
}

/* CTA Section */
.cta {
  background: var(--gradient-primary);
  color: white;
  padding: 40px;
  text-align: center;
  animation: fadeIn 2s ease-out 0.5s forwards;
  animation-iteration-count: 1;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cta p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 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);
  text-transform: none;
}

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

  .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: 56px;
    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;
  }

  .solutions-header h3 {
    font-size: 27px;
  }

  .solutions-header h1 {
    font-size: 45px;
  }

  .solutions-overview {
    margin: 15px;
  }

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

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

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

}