* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #000000;
  --text-color: #fffbff;
  --primary-color: #076eff;
  --nav-solid-color: #111111;
}

body {
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: "Oswald", sans-serif;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.nav-container.solid {
  background-color: var(--nav-solid-color);
  border-bottom: 1px solid var(--primary-color);
}

.nav-container.no-border {
  border-bottom: 1px solid transparent;
}

.nav-content {
  margin: 0 3rem;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4rem;
}

.nav-links a {
  font-size: 1.6rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 1;
  color: #ffffff;
}

.nav-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-contact i {
  font-size: 1.2rem;
  color: var(--text-color);
}

.contact-link {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.contact-link:hover {
  opacity: 1;
  color: #ffffff;
}

.hero-section {
  min-height: 80vh;
  padding-top: 5rem;

  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 40%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%),
    url("../assets/hero/hero_index.webp");
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--primary-color);
}

.hero-small-section {
  min-height: 65vh;
  padding-top: 5rem;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--primary-color);
}

.about-page {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 50%
    ),
    url("../assets/hero/hero_about.webp");

  background-size: cover;
  background-position: center 60%;
  background-attachment: fixed;
}

.videos-page {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("../assets/hero/hero_works.webp");

  background-size: cover;
  background-position: center 100%;
  background-attachment: fixed;
}

.gallery-page {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("../assets/hero/hero_gallery.webp");

  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.contact-page {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("../assets/hero/hero_contact.webp");

  background-size: cover;
  background-position: center 150%;
  background-attachment: fixed;
}

.course-page {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("../assets/hero/hero_course.webp");

  background-size: cover;
  background-position: center 50%;
  background-attachment: fixed;
}

.hero-small-title {
  font-size: 3rem;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-slogan {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hamburger-menu {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  background-color: rgba(17, 17, 17, 0.98);
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem;
  height: 100%;
  overflow-y: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(7, 110, 255, 0.35);
}

.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.mobile-nav-contact i {
  color: var(--text-color);
  margin-right: 0.5rem;
}

.content-section {
  padding: 4rem 6rem;
  background: linear-gradient(
      to right,
      rgba(7, 110, 255, 0.08) 0%,
      transparent 10%
    ),
    linear-gradient(to left, rgba(7, 110, 255, 0.08) 0%, transparent 10%),
    transparent;
  box-shadow: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding: 0 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(7, 110, 255, 0.35);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-contact {
    display: none;
  }

  .nav-content {
    margin: 0 1rem;
    padding: 0 1rem;

    justify-content: flex-end;
  }

  .hamburger-menu {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--text-color);
    height: 5rem;
    cursor: pointer;
  }

  .hero-title {
    font-size: 4rem;
    letter-spacing: 0.15rem;
  }

  .hero-slogan {
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
  }
}

.course-paragraph {
  margin-bottom: 2rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: justify;
}

@media (max-width: 768px) {
  .course-paragraph {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
}

.about-paragraph {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-align: justify;
}

.special-header {
  font-size: 1.9rem;
  margin-bottom: 2rem;
  color: #e8f8ff;
  text-shadow: 0 0 1px #6ecbff, 0 0 2px #6ecbff, 0 0 3px #4aa6e8;
}

.header-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image {
  float: left;
  margin: 0 2.5rem 1.5rem 0;
  max-width: 320px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.5);
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.clearfix {
  clear: both;
  height: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .special-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .about-image {
    float: none;
    max-width: 100%;
    margin: 2rem auto;
    display: block;
  }

  .about-paragraph {
    margin-top: 2rem;
  }
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contact-info .slogan-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 1.5rem;
}

.contact-details p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-details i {
  color: var(--text-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.contact-details a {
  color: var(--text-color);
  text-decoration: none;
}

.contact-form-wrapper {
  background-color: var(--nav-solid-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form textarea {
  resize: vertical;
  margin-bottom: 2rem;
}

.send-btn {
  width: 100%;
  padding: 1rem 0;
  background-color: #022d68;
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send-btn:hover {
  background-color: #0450bb;
}

@media (max-width: 900px) {
  .contact-form-section {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
    gap: 2rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-info h2 {
    font-size: 2.5rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form input:not(:last-child),
  .contact-form textarea {
    margin-bottom: 1.5rem;
  }
  .form-row input:last-child {
    margin-bottom: 0;
  }
  .contact-info h2 {
    font-size: 2.5rem;
  }
}

.services-showcase {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-top: 0rem;
}

.split-card {
  display: grid;

  grid-template-columns: 0.4fr 0.6fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.split-card.wide-image {
  grid-template-columns: 0.55fr 0.45fr;
}

.split-card.narrow-image {
  grid-template-columns: 0.3fr 0.7fr;
}

.split-card.image-left {
  grid-template-areas: "image content";
}

.split-card.image-right {
  grid-template-areas: "content image";
  grid-template-columns: 0.6fr 0.4fr;
}

.split-card.image-right.wide-image {
  grid-template-columns: 0.55fr 0.55fr;
}

.split-card.image-right.narrow-image {
  grid-template-columns: 0.7fr 0.4fr;
}

.card-image-wrapper {
  grid-area: image;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);

  height: 300px;

  /* 💡 CHANGE: Intermediate opaque stop (62%) */
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 62%,
    transparent 100%
  );
}

.card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-content-box {
  grid-area: content;
  padding: 1.5rem 0;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e8f8ff;
  margin-bottom: 1rem;

  display: inline-block;
  border-bottom: 2px solid rgba(7, 110, 255, 0.4);
  padding-bottom: 0.3rem;
}

.card-text {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .split-card,
  .split-card.image-right,
  .split-card.image-left,
  .split-card.wide-image,
  .split-card.narrow-image {
    display: flex;
    flex-direction: column;

    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;

    gap: 1.5rem;
    margin-bottom: 4rem;
  }

  .card-image-wrapper {
    margin-left: -2rem;
    margin-right: -2rem;
    width: calc(100% + 4rem);

    height: 200px;

    border-radius: 0;
  }

  .card-image {
    width: 100%;
    height: 100%;
  }

  .card-content-box {
    padding: 0 0.5rem;
    text-align: center;
  }

  .card-title {
    font-size: 2rem;
  }

  .card-text {
    font-size: 1rem;
  }
}

.main-footer {
  padding: 3rem 0;
  width: 100%;
  background-color: transparent;
  background: linear-gradient(
      to right,
      rgba(7, 110, 255, 0.08) 0%,
      transparent 10%
    ),
    linear-gradient(to left, rgba(7, 110, 255, 0.08) 0%, transparent 10%),
    transparent;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-divider {
  width: 80%;
  height: 2px;
  background-color: rgba(7, 110, 255, 0.4);
  margin: 0 auto 2rem auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.social-icons a {
  font-size: 2.2rem;
  color: #e8f8ff;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

@media (max-width: 900px) {
  .main-footer {
    padding: 2rem 0;
  }
  .footer-divider {
    width: 80%;
    margin-bottom: 1.5rem;
  }
  .social-icons a {
    font-size: 1.8rem;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .videos-page {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
      ),
      url("../assets/hero/hero_works_mobile.webp");

    background-size: cover;
    background-position: center 100%;
    background-attachment: fixed;
  }
}

.centered-card-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 5rem 0;
}

.centered-text {
  text-align: center;
}

.centered-text .card-title {
  display: block;
  margin: 0 auto 1rem auto;
}

.centered-text .card-text {
  text-align: center;
}

@media (max-width: 900px) {
  .centered-card-content {
    padding: 2rem 1rem 3rem 1rem;
  }
}

.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  grid-auto-rows: 280px;
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide-tall {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
  }

  .gallery-item.span-2,
  .gallery-item.tall,
  .gallery-item.wide-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 200;

  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.gallery-item a {
  cursor: pointer;
  display: block;
  height: 100%;
}
.gallery-item img {
  user-select: none;
}

@media (max-width: 1024px) {
  .hero-section,
  .hero-small-section,
  .about-page,
  .videos-page,
  .gallery-page,
  .contact-page,
  .course-page {
    background-attachment: scroll !important;
  }
}
