:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #121218;
  --bg-tertiary: #1c1c24;
  --text-primary: #f2f2f2;
  --text-secondary: #b4b4c7;
  --accent: #9d4edd;
  --accent-light: #c77dff;
  --accent-dark: #6a17a8;
  --border: #2a2a35;

  --font-main: "Poppins", sans-serif;
  --font-heading: "Orbitron", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 15, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(10, 10, 15, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo svg {
  height: 36px;
  width: 36px;
  margin-right: 0.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--bg-primary) 0%,
    var(--bg-primary) 40%,
    rgba(10, 10, 15, 0.9) 60%,
    rgba(10, 10, 15, 0.6) 80%,
    rgba(10, 10, 15, 0.4) 100%
  );
}

.hero-bg-blur {
  position: absolute;
  top: 0;
  left: 40%;
  width: 60%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.4;
  filter: blur(50px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-title span {
  color: var(--accent);
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

@media (max-width: 768px) {
  .hero-bg-image {
    width: 100%;
    opacity: 0.2;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      to right,
      var(--bg-primary) 0%,
      rgba(10, 10, 15, 0.9) 100%
    );
  }

  .hero-bg-blur {
    left: 0;
    width: 100%;
  }

  .hero-content {
    width: 100%;
    padding: 0 1rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-primary);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3);
}

.about {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-image-container {
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    rgba(157, 78, 221, 0.3) 100%
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stats-item {
  background-color: var(--bg-tertiary);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent);
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.projects {
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

.section-description {
  font-size: 1.1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.project-card {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  top: 50px;
  opacity: 0;
}

.project-card.animate {
  top: 0;
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.project-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0) 0%,
    var(--bg-secondary) 100%
  );
  opacity: 0.8;
  z-index: 1;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.project-description {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tag {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.legal-page {
  padding-top: 120px;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.legal-page::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.legal-container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    rgba(157, 78, 221, 0.3) 100%
  );
}

.legal-content {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.legal-subheading {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.divider {
  height: 1px;
  background-color: var(--border);
  margin: 2.5rem 0;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  color: var(--accent);
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-link svg {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.back-link:hover {
  color: var(--accent-light);
}

.back-link:hover svg {
  transform: translateX(-5px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-light);
  transform: translateY(-5px);
}

.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.page-description {
  max-width: 800px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.about-story {
  position: relative;
  overflow: hidden;
}

.about-story::before {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.story-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.story-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.story-image:hover img {
  transform: scale(1.05);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--border);
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
  width: 50%;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent);
  border-radius: 50%;
  top: 2.5rem;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-content {
  background-color: var(--bg-tertiary);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.timeline-description {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.values-section {
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: var(--bg-tertiary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--accent);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background-color: var(--accent);
  color: var(--text-primary);
  border-color: var(--accent);
}

.value-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-description {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.cta-section {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 2.5rem;
}

.footer {
  background-color: var(--bg-tertiary);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer::before {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-dark) 0%,
    rgba(106, 23, 168, 0) 70%
  );
  opacity: 0.1;
  filter: blur(80px);
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-description {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.text-accent {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .about-grid,
  .contact-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding: 1.5rem 0 1.5rem 4rem;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    padding-right: 0;
    padding-left: 4rem;
  }

  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 20px;
    right: auto;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .legal-heading {
    font-size: 1.3rem;
  }

  .legal-subheading {
    font-size: 1.1rem;
  }

  .page-header {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-image {
  width: 80px;
  height: 80px;
  animation: bounce 0.8s ease infinite alternate;
}

.loader-text {
  margin-top: 20px;
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 16px;
  letter-spacing: 2px;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

@media (max-width: 480px) {
  .loader-image {
    width: 60px;
    height: 60px;
  }

  .loader-text {
    font-size: 14px;
  }
}

.hero:hover .image-disclaimer {
  opacity: 1;
}

@media (max-width: 768px) {
  .image-disclaimer {
    font-size: 0.65rem;
    padding: 3px 6px;
    bottom: 5px;
    left: 5px;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 2000;
  transition: width 0.1s ease;
}
