/* :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, #002244, var(--color-dark-gray));
}

/* 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;
}

/* Cursor Growing on Hover */
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 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

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

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    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;
}

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

/* About Hero Section */
.about-hero {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background: linear-gradient(45deg, #00aaff, #003366);
  ;
}

.about-header {
  margin: 0 5%;
}

.about-header h3 {
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 2s ease-out 0.5s forwards;
  animation-iteration-count: 1;
}

.about-header h1 {
  color: var(--color-white);
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 2px;
  animation: fadeInUp 2s ease-out 1s forwards;
  animation-iteration-count: 1;
}

/* About, Mission & Vision Section */
.container {
  margin: 0 15%;
  max-width: 100%;
}

.about-us,
.mission,
.vision {
  text-align: left;
  padding: 40px;
}

.about-us h2,
.mission h2,
.vision h2 {
  text-align: left;
  margin: 5px 15%;
  color: var(--color-electric-blue);
  font-size: 32px;
  font-weight: 700;
  animation: fadeInDown 2s ease-out 1.5s forwards;
  animation-iteration-count: 1;
}

.about-us p {
  font-size: 20px;
  color: var(--color-light-gray);
  line-height: 1.8;
  margin-bottom: 15px;
  animation: fadeInUp 2s ease-out 2s forwards;
  animation-iteration-count: 1;
}

.mission p,
.vision p {
  font-size: 20px;
  color: var(--color-light-gray);
  line-height: 1.8;
  animation: fadeInUp 2s ease-out 2.5s forwards;
  animation-iteration-count: 1;
}

/* Offerings Section */
.offerings .container {
  margin: 0 15%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 100%;
  padding: 0 20px;
}

.offerings {
  overflow: hidden;
  text-align: left;
  padding: 40px 20px;
  background-color: var(--color-dark-gray);
}

.offerings h2 {
  text-align: left;
  margin: 15px 16%;
  color: var(--color-electric-blue);
  font-size: 32px;
  font-weight: 700;
  animation: fadeInDown 2s ease-out 3s forwards;
  animation-iteration-count: 1;
}

.offerings .card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--color-electric-blue);
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: fadeInUp 2s ease-out 3.5s forwards;
  animation-iteration-count: 1;
}

.card:hover {
  transform: scale(1.05);
  background-color: var(--color-electric-blue);
}

.card:hover p {
  color: var(--color-white);
}

.offerings .card h3 {
  color: var(--color-electric-blue);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.container .card:hover h3 {
  color: var(--color-white);
}

.offerings .card p {
  font-size: 16px;
  color: var(--color-dark-gray);
  margin: 0 5px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.container .card:hover p {
  color: var(--color-light-gray);
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 40px;
  background: var(--gradient-primary);
}

.cta h2 {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 500;
  animation: fadeInUp 2s ease-out 5s forwards;
  animation-iteration-count: 1;
}

/* 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;
  }

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

  .about-header {
    margin: 0 15px;
  }

  .about-header h3 {
    font-size: 18px;
  }

  .about-header h1 {
    font-size: 30px;
  }

  .about-us .container,
  .mission .container,
  .vision .container,
  .offerings .container {
    margin: 0 2%;
  }

  .about-us h2,
  .mission h2,
  .vision h2 {
    margin: 10px 2%;
    ;
    text-align: left;
    font-size: 28px;
  }

  .offerings h2 {
    margin: 15px 8%;
    ;
    text-align: left;
    font-size: 28px;
  }

  .about-us p,
  .mission p,
  .vision p {
    font-size: 18px;
  }

  .offerings .card p {
    max-width: 100%;
  }

  .offerings .card {
    width: auto;
    height: auto
  }

  .cta h2 {
    font-size: 26px;
    font-weight: 500;
  }

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

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

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

}