/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #040200;
  color: #ececec;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  max-width: 1440px;
  padding-left: 6%;
  padding-right: 6%;
  margin-left: auto;
  margin-right: auto;
}

.container-all {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.back-vid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

@media (max-aspect-ratio: 16/9) {
  .back-vid {
    width: auto;
    height: 100%;
  }
}

@media (min-aspect-ratio: 16/9) {
  .back-vid {
    width: 100%;
    height: auto;
  }
}

h1,
h2,
h3 {
  color: #ececec;
  margin: 0 0 0 0;
}

.line {
  height: 3px;
  border-radius: 5px;
  background-color: #8e44ad;
}

.gradient {
  background: linear-gradient(
    to right,
    #8e44ad,
    #9b59b6,
    #af7ac5,
    #c39bd3,
    #d7bde2
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5 linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.highlight {
  color: #8e44ad;
}

section {
  padding: 80px 5%;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-label {
  color: #a3a3a3;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-accent {
  color: #ececec;
  font-weight: bold;
}

.section-title .accent {
  color: #8e44ad;
}

.section-subtext {
  color: #a3a3a3;
  font-size: 1rem;
  margin: 0 0 0 0;
  max-width: 600px;
}

a {
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #8e44ad;
}

@media (max-width: 768px) {
  .container {
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
  }
}

.dotted-circle {
  width: 30px;
  height: 30px;
  border: 1px dashed #8e44ad;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrowhead {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid #a3a3a3;
  border-top: 1px solid #a3a3a3;
  transform: rotate(45deg);
  margin-left: -2px;
}

.btn {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: #8e44ad;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  gap: 0.5rem;
}

.btn:hover {
  opacity: 1;
}

.btn:hover .dotted-circle {
  border: 2px dashed #8e44ad;
}

.btn:hover .arrowhead {
  border-right: 2px solid #ececec;
  border-top: 2px solid #ececec;
}

/* ===== Navbar ===== */
.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1.2rem 0;
  background: rgba(4, 2, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 30px;
  width: auto;
  transition: transform 0.3s;
  display: block;
  margin: 0;
  padding: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 60px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #ececec;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8e44ad;
}

.nav-links a.active {
  color: #8e44ad;
}

@media (max-width: 600px) {
  .navbar.scrolled::before {
    height: 56px;
  }
}

@media (max-width: 800px) {
  .nav-links {
    gap: 2rem;
    /* Reduce gap on small screens */
  }

  .nav-links .hide-on-mobile {
    display: none;
  }
}


/* ===== Footer Section ===== */
.site-footer {
  background-color: #040200;
  padding: 40px 0;
  color: #a3a3a3;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  border-top: 1px solid #1c1b33;
  padding-top: 2rem;
}

.footer-left img {
  width: 25px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}

.footer-left h3 {
  font-size: 1.2rem;
  color: #8e44ad;
  margin-bottom: 0.5rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin-bottom: 1rem;
}

.footer-nav a {
  text-decoration: none;
  color: #a3a3a3;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #9370db;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  width: 100%;
}

.footer-socials a {
  display: flex;
  align-items: center;
  margin: 0;
}

@media (max-width: 900px) {
  .footer-socials {
    justify-content: flex-start;
    gap: 1.2rem;
  }
}

.footer-socials a {
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
  font-size: 25px;
  width: 20px;
  height: 30px;
  text-decoration: none;
  color: #8e44ad;
  transition: opacity 0.3s ease;
}

.footer-socials a:hover {
  opacity: 0.7;
}

/* ===== Final Responsive & Spacing Adjustments ===== */
@media (max-width: 900px) {
  section {
    padding: 50px 3%;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .portfolio-categories {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 900px) {
  .footer-container {
    gap: 1.2rem;
  }
}

/* Animations */

html {
  scroll-behavior: smooth;
}

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

  60% {
    transform: scale(1.05);
    opacity: 1;
  }

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