:root {
  --accent-color: rgba(0, 102, 204, 0.9);
  --bg-color: #ffffff;
  --text-color: #000000;
  --subtext-color: #666;
}

body {
  background-color: rgb(255, 255, 255); /* light blue with 15% opacity */
  color: rgb(0, 0, 0); /* white text for good contrast */
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  min-height: 100vh;
  padding-top: 76px; /* header + nav */
}

@media (max-width: 768px) {
  body {
    padding-top: 46px; /* only header on mobile */
  }
}

html {
  /* scroll offset based on header height */
  scroll-padding-top: clamp(46px, 8vw, 92px);
  scroll-behavior: smooth;
}


/* Hero Section */
.tech-hero-section {
  
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
}
.tech-hero-bg,
.tech-hero-bg2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: brightness(0.4);
  background-size: cover;
  background-position: center;
}
.tech-hero-bg2 {
  object-fit: cover;
}
.tech-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 700px;
  color: #fff;
}
.tech-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: left;
}
.tech-description {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #dcdcdc;
}

/* ===== Responsive Font Sizes ===== */
@media (max-width: 1024px) {
  .tech-title {
    font-size: 2.5rem;
  }
  .tech-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .tech-title {
    font-size: 2rem;
  }
  .tech-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .tech-title {
    font-size: 1.5rem;
  }
  .tech-description {
    font-size: 0.9rem;
  }
}













/* Trending Section */
.trending-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

.trending-title {
  margin: 0 0 20px;
  font-size: 2rem;
  color: var(--text-color);
  text-align: left;
}

.trending-wrapper {
  position: relative;
}
.trending-scroll-container {
  display: flex;
  gap: 40px;                     /* spacing between cards */
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* snap to cards */
  padding: 10px 0;
  scrollbar-width: none;         /* hide scrollbar (Firefox) */
  -ms-overflow-style: none;      /* hide scrollbar (IE/Edge) */
}
.trending-scroll-container::-webkit-scrollbar {
  display: none;                 /* hide scrollbar (Chrome/Safari) */
}

.trending-item {
  flex: 0 0 calc(25% - 30px);    /* 4 cards per screen */
  scroll-snap-align: start;      /* snap each card to start */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.trending-item img {
  width: 100%;
  aspect-ratio: 3/4;             /* keep portrait ratio */
  object-fit: cover;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(77, 157, 255, 0.7);
  z-index: 2;
}

/* Responsive layout */
@media (max-width: 1200px) {
  .trending-item {
    flex: 0 0 calc(33.333% - 30px); /* 3 per row */
  }
}
@media (max-width: 900px) {
  .trending-item {
    flex: 0 0 calc(50% - 30px);     /* 2 per row */
  }
}
@media (max-width: 600px) {
  .trending-item {
    flex: 0 0 100%;                 /* 1 per row */
  }
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
  transition: background 0.3s ease;
}
.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}
.scroll-btn.left { left: 0; }
.scroll-btn.right { right: 0; }


/* Scroll Buttons */
.scroll-btn {
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
  transition: background 0.3s ease;
}
.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}
.scroll-btn.left { left: 0; }
.scroll-btn.right { right: 0; }

/* Modal */
.image-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.2s ease, visibility 0s 0.1s;
  z-index: 2000;
}
.image-modal.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.modal-content {
  display: flex;
  max-width: 900px;
  width: 90vw;
  background: #252525;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.modal-content img {
  height: 80vh;
  max-width: 70vw;
  object-fit: contain;
  background: #000;
}

.modal-info {
  background: #1a1a1a;
  color: #fff;
  display: table;
  width: 100%;
  padding: 30px 25px;
  table-layout: fixed;
}

.modal-info-row { display: table-row; }
.modal-info-label,
.modal-info-value {
  display: table-cell;
  padding: 6px 12px;
  vertical-align: top;
}
.modal-info-label {
  font-weight: bold;
  color: #5fa6ff;
  width: 130px;
  white-space: nowrap;
}
.modal-info-value {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.art-details-table td {
  padding: 6px 10px;
  font-size: 1.08rem;
  color: #fff;
  text-align: left;
  vertical-align: top;
}
.art-details-table tr td:first-child {
  font-weight: bold;
  text-align: right;
  width: 130px;
  color: #adcfff;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 38px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  padding: 0 0.3em;
  transition: background 0.18s;
  z-index: 10000;
}
.modal-close:hover { background: #474747; }

/* Responsive Modal */
@media (max-width: 968px), (min-width: 968px) and (max-height: 600px) {
  .modal-content {
    flex-direction: column;
    align-items: center;
  }
  .modal-content img {
    max-width: 100%;
    max-height: 50vh;
  }
  .modal-info {
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
  }
}

/* Logo */
.logo-wrapper-2 {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.logo-2 {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 33px;
  color: #fff;
  background: rgba(0, 102, 204, 0.75);
  padding: 0 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: scaleY(1.5);
}

/* Hide elements on mobile */
@media (max-width: 850px) {
  .logo-wrapper-2, 
  .hide-on-mobile {
    display: none;
  }
}











.d3-vfx-projects {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}




.vfx-coming-soon {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.vfx-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
}

.vfx-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5);
}

.vfx-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
}

.vfx-overlay h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.vfx-overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
}


