/* FONTS */
@font-face {
  font-family: 'Ethnocentric';
  src: url('https://cdn.jsdelivr.net/gh/chrlnhndrckx/webalu/ethnocentric-it.woff2') format('opentype');
  font-style: italic;
  font-weight: normal;
}

@font-face {
  font-family: 'Anton';
  src: url('https://cdn.jsdelivr.net/gh/chrlnhndrckx/webalu/anton.woff2') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Antoncapital';
  src: url('https://cdn.jsdelivr.net/gh/chrlnhndrckx/webalu/antoncapital.woff2') format('truetype');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: 'Antonregular';
  src: url('https://cdn.jsdelivr.net/gh/chrlnhndrckx/webalu/antonio-regular.woff2') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('https://cdn.jsdelivr.net/gh/chrlnhndrckx/webalu/inter-regular.woff2') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('https://cdn.jsdelivr.net/gh/chrlnhndrckx/webalu/inter-light.woff2') format('truetype');
  font-weight: 300;
  font-style: normal;
}

h1 {
  font-family: 'Antoncapital', sans-serif;
  letter-spacing: 1px;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

h2 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.8px;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

h3 {
  font-family: 'Antonregular', sans-serif;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

h4 {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

p {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  text-decoration: none !important;
  font-weight: 300;
}

.alucad-style {
  font-size: clamp(3rem, 10vw, 8rem);
  font-family: 'Ethnocentric', sans-serif !important;
  font-style: italic;
  letter-spacing: 2px;
  animation: alucadColorChange 3s ease-in-out forwards;
  color: #005f75;
  text-align: center;
}

@keyframes alucadColorChange {
  0% {
    color: #ffffff;
    text-shadow: none;
  }
  100% {
    color: #005f75;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.6),
      0 0 20px rgba(255, 255, 255, 0.8),
      0 0 30px rgba(255, 255, 255, 1);
  }
}

@media (max-width: 768px) {
  .alucad-style {
    text-shadow:
      0 0 5px rgba(255, 255, 255, 0.4),
      0 0 10px rgba(255, 255, 255, 0.6);
  }
}

@media (max-width: 768px) {
  @keyframes alucadColorChange {
    0% {
      color: #cccccc; /* softer than pure white */
      text-shadow: none;
    }
    100% {
      color: #005f75;
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.5),
        0 0 16px rgba(255, 255, 255, 0.7);
    }
  }
}

/* LAYOUT */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 40px 1px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.nav-item {
  position: relative;
  display: block;
}

.nav-item img {
  height: 30px;
}

.nav-item > a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #262c37;
  text-decoration: none;
  font-size: 1em;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.nav-item > a:hover {
  color: #00a6c3;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-direction: column;
  min-width: 200px;
}

.nav-item:hover .dropdown {
  display: flex;
}

.dropdown a {
  font-family: 'Inter';
  font-weight: 300;
  color: #262c37;
  padding: 4px 0;
  font-size: 1em;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown a:hover {
  color: #00a6c3;
}

.has-dropdown > a::after {
  content: "⌄";
  font-size: 1em;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
  transform: translateY(-5px);
  color: inherit;
}

.menu-toggle {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: #262c37;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 99;
    padding: 20px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .nav-item > a {
    font-size: 1em;
    padding: 10px 0;
  }

  .dropdown {
    display: none !important; /* hide dropdown in mobile */
  }

  .production-subnav {
    display: none;
    flex-direction: column;
    gap: 15px;
  }
  
  .production-subnav a {
    font-family: 'Inter';
    font-weight: 300;
    line-height: 1;
    padding: 5px 10px;
    color: #262c37 !important;
    text-decoration: none !important;
    display: block;
    transition: color 0.3s ease;
  }

  .production-subnav a:hover {
    color: #00a6c3 !important;
    text-decoration: none !important;
  }
  
  .back-button {
    font-size: 1em;
    padding: 10px 0;
    background: none;
    border: none;
    color: #262c37;
    text-align: left;
    cursor: pointer;
  }
  
  .back-button:hover {
    color: #00a6c3 !important;
    text-decoration: none !important;
  }
}

@media (min-width: 769px) {
  .production-subnav {
    display: none !important;
  }
}

/* FOOTER */
.footer {
  background-color: #272832;
  color: #fff;
  padding: 5vh 3vw;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
  box-sizing: border-box;
  text-align: center;
}

.footer-column h3,
.footer-column h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.footer-column p {
  margin: 8px 0;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.contact address {
  margin: 8px 0;
  color: #ccc;
  font-size: 0.9rem;
  font-style: normal;
}

.socials {
  margin-top: 15px;
}

.socials p {
  margin: 0 0 5px;
  font-style: italic;
}

.socials a {
  margin-right: 10px;
  display: inline-block;
}

.socials img {
  width: 24px;
  height: 24px;
}

/* HOME PAGE: HERO */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.hero-text-box {
  position: relative;
  margin: 0 auto;
  width: min(80%, 800px);
  padding: 3vh 3vw;
  background: linear-gradient(to bottom right, rgba(0, 95, 117, 0.8), rgba(0, 166, 195, 0.8));
  backdrop-filter: blur(4px);
  border-radius: 20px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-tagline {
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  margin: 0.7em 0 0.7em;
  line-height: 1.2;
}

.hero-button {
  position: relative; 
  display: inline-block;
  z-index: 3;
  padding: 0.8em 2em;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 500;
  text-decoration: none !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  color: #ffffff !important;
  background: transparent;
  transition: all 0.8s ease;
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff !important;
  transition: left 0.8s ease;
  z-index: 3;
}

.hero-button:hover::before {
  left: 0;
}

.hero-button span {
  position: relative;
  z-index: 3;
  transition: color 0.8s ease;
}

.hero-button:hover span {
  color: #005f75 !important;
  text-decoration: none !important;
}

/* HOME PAGE: PROCESS CAROUSEL */
.our-process {
  padding: 6vh 5vw;
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.process-title {
  color: #005f75;
  text-align: center;
  margin-bottom: 40px;
}

.process-title h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.process-title h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 2rem 1rem 3rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 auto;
  width: clamp(260px, 80vw, 600px);
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  background: linear-gradient(to bottom right, #005f75, #00a6c3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.carousel-slide:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.carousel-content {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  max-width: 60%;
}

.carousel-content h3 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  margin: 0;
}

.carousel-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0;
  line-height: 1.4;
}

.carousel-image {
  height: 100%;
  width: 40%;
  object-fit: cover;
  border-radius: 0 15px 15px 0;
}

.carousel-button {
  margin-top: 1rem;
  padding: 0.5rem 1.4rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  font-weight: 300;
  text-decoration: none !important;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  color: white !important;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  overflow: hidden;                
  border-radius: 999px;
}

.carousel-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: white !important;
  transition: left 0.8s ease;
  z-index: 1;
}

.carousel-button:hover::before {
  left: 0;
}

.carousel-button span {
  position: relative;
  z-index: 2;
  transition: color 0.8s ease;
}

.carousel-button:hover span {
  color: #005f75 !important;
  text-decoration: none !important;
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
}

.carousel-arrow {
  border: 2px solid #005f75;
  color: #005f75;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background-color: #005f75;
  color: white;
}

/* HOME PAGE: USPs */
.usp-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(to bottom right, rgba(0, 95, 117, 0.8), rgba(0, 166, 195, 0.8));
  backdrop-filter: blur(6px);
  color: white;
}

.usp-title-wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.usp-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin-bottom: 3rem;
}

.usp-item {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.usp-item h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.usp-item p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

.usp-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

.usp-item.reveal:hover {
  transform: translateY(0) scale(1.05);
}

.usp-years {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.usp-years .count {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  margin: 0;
  animation: numberColorChange 8s ease-in-out forwards;
}

.usp-years h3 {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}

@keyframes numberColorChange {
  0% {
    color: #ffffff;
    text-shadow: none;
  }
  100% {
    color: #005f75;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.6),
      0 0 20px rgba(255, 255, 255, 0.8),
      0 0 30px rgba(255, 255, 255, 1);
  }
}

@media (max-width: 768px) {
  @keyframes numberColorChange {
    0% {
      color: #cccccc; /* softer than pure white */
      text-shadow: none;
    }
    100% {
      color: #005f75;
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.5),
        0 0 16px rgba(255, 255, 255, 0.7);
    }
  }
}

/* HOME PAGE: TESTIMONIALS */
.testimonial-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 5vw;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-align: center;
}

.testimonial-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  box-sizing: border-box;
  cursor: grab;
}

.testimonial-slider {
  display: flex;
  justify-content: flex-start; 
  align-items: stretch;
  width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;                     
}

.testimonial-slide {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
  box-sizing: border-box;
  scroll-snap-align: center;
  background: white;
  border-radius: 20px;
  color: #455062;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  min-width: 0;
  scroll-snap-align: center;
}

.testimonial-slide::before,
.testimonial-slide::after {
  font-size: clamp(2rem, 6vw, 4rem);
  color: #00a6c3;
  font-family: serif;
  position: absolute;
  opacity: 0.5;
  pointer-events: none;
}

.testimonial-slide::before {
  content: '“';
  top: 10px;
  left: 20px;
}

.testimonial-slide::after {
  content: '„';
  bottom: 10px;
  right: 20px;
}

/* HOME PAGE: APPLICATIONS */
.applications {
  position: relative;
  width: 100%;
  padding: 6vh 3vw;
  background: linear-gradient(to bottom right, rgba(0, 95, 117, 0.8), rgba(0, 166, 195, 0.8));
  backdrop-filter: blur(6px);
  box-sizing: border-box; 
  overflow-x: hidden; 
  z-index: 2;
}

.applications-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.3;
  max-width: 100%;
  box-sizing: border-box;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.application-item {
  height: clamp(250px, 30vw, 400px);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.8s ease;
  width: 100%; /* ensures items never exceed column bounds */
  box-sizing: border-box;
}

.application-item:hover {
  transform: scale(1.03);
}

.application-label {
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  color: #455062;
  padding: 0.7rem 0;
  box-sizing: border-box;
}

.application-label p {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin: 0;
}

/* CTA */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5vh 3vw;
  margin: 50px auto;
  width: 100%;
  box-sizing: border-box;
}

.cta-box {
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.6);
  color: #005f75;
  text-align: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 8vw, 8rem);
  border-radius: 20px;
  border: 2px solid #005f75;
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
}

.cta-box h3 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.cta-button {
  position: relative; 
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #005f75;
  border-radius: 999px;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 500;
  text-decoration: none !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  color: #005f75 !important;
  transition: all 0.8s ease;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #005f75;
  z-index: 1;
  transition: left 0.8s ease;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button span {
  position: relative;
  z-index: 2;
  transition: color 0.8s ease;
}

.cta-button:hover span {
  color: #ffffff;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.gradient-button {
  margin-top: clamp(0.3rem, 1.2vw, 0.8rem); 
  margin-right: clamp(0.4rem, 2vw, 1rem); 
  padding: clamp(0.35rem, 0.8vw, 0.6rem) clamp(0.6rem, 1.5vw, 1.2rem); 
  background: linear-gradient(270deg, #005f75, #00a6c3, #005f75);
  background-size: 400% 400%;
  color: white !important;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block; 
  text-align: center;
  position: relative;
  text-decoration: none !important;
  font-size: clamp(0.75rem, 1.8vw, 1rem); 
}

.gradient-button:hover {
  animation: gradientMove 2s linear infinite alternate;
}

/* ALL PAGES */
.bg-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  z-index: -1;
}

.bg-container h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  text-align: center;
  font-weight: 800;
  color: #005f75;
  margin-top: clamp(50px, 10vh, 100px);
}

.bg-img {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.intro-box {
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.8);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #005f75;
  text-align: center;
  margin: clamp(6rem, 14vh, 8rem) auto clamp(3rem, 8vw, 6rem) auto;
  width: clamp(300px, 80%, 1300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.intro-box h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  text-align: center;
  font-weight: 800;
  color: #005f75;
  margin: 0;
  line-height: 1;
}

.intro-box h4 {
  font-size: clamp(1rem, 1.2vw, 2rem);
  color: #005f75;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

/* ABOUT US PAGE */
.about-section {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 6vw, 4rem);
  gap: clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(
    to bottom,
    rgba(0, 95, 117, 0.8),
    rgba(0, 166, 195, 0.8)
  );
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

.about-copy {
  flex: 1 1 clamp(280px, 50%, 600px); 
  max-width: 100%; 
  padding: clamp(1rem, 3vw, 2rem);
  color: white;
  text-align: left; 
  box-sizing: border-box;
}

.about-image {
  flex: 1 1 clamp(280px, 50%, 600px); 
  max-width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(1.5rem, 4vw, 3rem); 
  margin-bottom: clamp(0.8rem, 2vw, 1.2rem);
}

.about-copy p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: clamp(0.6rem, 1.5vw, 1rem);
  font-weight: 400;
}

.values-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 4vw, 2rem);
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.value-box {
  text-align: center;
  flex: 1 1 clamp(220px, 22%, 280px);
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(60px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.value-box.reveal {
  opacity: 1;
  transform: translateY(0);
}

.value-box.reveal:hover {
  transform: translateY(0) scale(1.05);
}

.value-icon img {
  width: clamp(50px, 8vw, 80px);
  height: clamp(50px, 8vw, 80px);
  margin-bottom: clamp(0.8rem, 2vw, 1.25rem);
}

.value-box h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 10px;
  color: #005f75;
}

.value-box p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #455062;
  font-weight: 400;
}

.factory-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem);
  background: linear-gradient(to top, rgba(0, 95, 117, 0.8), rgba(0, 166, 195, 0.8));
  backdrop-filter: blur(6px);
}

.factory-text {
  max-width: 900px;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem);
  color: white;
}

.factory-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.factory-text p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 15px;
  font-weight: 400;
}

/* BLOG PAGE */
.blog-container {
  box-sizing: border-box; 
  max-width: 1400px;
  width: 100%;
  margin: 90px auto 20px;
  padding: clamp(0.3rem, 2vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.blog-grid-wrapper {
  width: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr)); 
  gap: clamp(0.8rem, 2vw, 1.5rem);
  justify-content: center;
  max-width: 1300px; 
  margin: 0 auto;
}

.blog-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  transition: transform 0.8s ease, box-shadow 0.8s ease;
  width: 100%;
  max-width: 420px; 
}

.blog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(0.8rem, 2vw, 1.2rem);
}

.blog-card-content small p {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  color: #455062;
  margin: 0 0 0.5rem;
}

.blog-card-content h4 {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: #005f75;
}

.blog-card-content a {
  margin-top: auto; 
  padding-top: 1rem; 
  display: inline-block;
  font-weight: bold;
  font-family: 'Inter';
  color: #b0bfc5;
  text-decoration: none;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  transition: color 0.3s ease;
}

.blog-card-content a:hover {
  color: #00a6c3;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    display: flex;              
    flex-direction: column;
    align-items: center;       
  }

  .blog-card {
    max-width: 90%; 
    width: 100%;
  }
}

.article-post-section {
  width: 100%;
  background-color: white;
}

.article-post-container {
  box-sizing: border-box;
  max-width: 900px;
  width: 100%;
  margin: 50px auto 0 auto;
  color: #003d4c;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) 0 clamp(1rem, 4vw, 2rem);
}

.article-category {
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: #00a6c3;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.article-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem); 
  color: #005f75;
  margin: clamp(0.5rem, 2vw, 1rem) 0 clamp(1rem, 3vw, 2rem);
  line-height: 1.2;
}

.article-feature-image img {
  width: 100%;
  max-height: clamp(250px, 50vw, 600px); 
  border-radius: 10px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  object-fit: cover;
  display: block;
}

.article-content {
  padding: 0 clamp(0.8rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
}

.article-content h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.5rem, 2vw, 1rem);
  color: #005f75;
}

.article-content p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  color: #455062;
  line-height: 1.3;
}

.article-button-wrapper {
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.light-blue {
  color: #00a6c3 !important;
  text-decoration: none !important;
}

.light-blue:hover {
  color: #005f75 !important; 
  text-decoration: none !important;
}

/* LIBRARIES */
.library-background {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 4rem);
  gap: clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(
    to bottom,
    rgba(0, 95, 117, 0.8),
    rgba(0, 166, 195, 0.8)
  );
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.library-background p {
  font-size: clamp(0.8rem, 1.5vw, 1.5rem);
  color: #ffffff;
  font-weight: 400;
  text-align: center;
}

.library-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 0 clamp(10px, 3vw, 40px);
}

.library-carousel {
  display: flex;
  overflow-x: auto;
  gap: clamp(10px, 4vw, 40px);
  scroll-behavior: smooth;
  padding: clamp(20px, 5vw, 40px) 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  cursor: grab;
}

.library-carousel.dragging {
  cursor: grabbing;
  user-select: none;
}

.library-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.library-card {
  flex: 0 0 auto;
  width: clamp(150px, 25vw, 250px);
  background-color: #ffffff;
  border-radius: 10px;
  padding: clamp(10px, 2vw, 20px);
  text-align: center;
  color: #005f75;
  transition: transform 0.3s ease;
}

.library-card h3 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 10px;
  font-weight: bold;
}

.library-card hr {
  width: 80%;
  margin: 0 auto 20px auto;
  border: 1px solid #005f75;
}

.library-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.library-arrow {
  background: none;
  border: none;
  color: white;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  cursor: pointer;
  z-index: 2;
  padding: 10px;
  transition: transform 0.2s ease;
}

.library-arrow:hover {
  transform: scale(1.2);
}

.library-arrow.left {
  position: absolute;
  left: clamp(-10px, -2vw, -20px);
}

.library-arrow.right {
  position: absolute;
  right: clamp(-10px, -2vw, -20px);
}

/* Gallery layout */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3; /* Keeps uniform height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 15px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.gallery-card:hover .overlay {
    opacity: 0;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* PRODUCTION PAGES */
.production-cards-container {
  display: flex;
  flex-wrap: wrap; 
  gap: clamp(15px, 2vw, 30px);
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
  box-sizing: border-box;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 95, 117, 0.8), rgba(0, 166, 195, 0.8));
  backdrop-filter: blur(6px);
}

.production-card {
  flex: 1 1 clamp(300px, 30%, 600px); 
  max-width: 600px; 
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  min-height: clamp(300px, 50vh, 500px);
}

.production-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  transition: height 1s ease;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 clamp(10px, 3vw, 20px);
  box-sizing: border-box;
}

.card-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #455062;
  transform: translateY(35%); 
  transition: transform 0.6s ease;
  max-width: 90%;
}

.card-overlay-content h3 {
  color: #005f75;
  font-size: clamp(1.2rem, 2vw, 2rem);
  margin: 0;
}

.card-overlay-content p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-top: 15px;
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
  transform: translateY(10px);
}

.production-card:hover .card-overlay {
  height: 100%;
}

.production-card:hover .card-overlay-content {
  transform: translateY(0); 
}

.production-card:hover .card-overlay-content p {
  opacity: 1;
  max-height: 1000px;
  transform: translateY(0);
}

.production-benefits {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  padding: 80px 20px;
  box-sizing: border-box;
}

.benefits-header {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.benefits-header h2 {
  color: #005f75;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 5px;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0px, 2vw, 40px);
  max-width: 1000px; 
  margin: 0 auto;
}

.benefit-box {
  flex: 1 1 clamp(280px, 18%, 350px); 
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.benefit-box.reveal {
  opacity: 1;
  transform: translateY(0);
}

.benefit-box:hover {
  transform: scale(1.05);
}

.benefit-box p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #455062;
  font-weight: 400;
}

.related-reads-section {
  width: 100%;
  height: auto; 
  background: linear-gradient(to top, rgba(0, 95, 117, 0.8), rgba(0, 166, 195, 0.8));
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  box-sizing: border-box;
}

.related-reads-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  gap: 2rem;
  text-align: center;
  margin: 0 auto; /* <-- ensures horizontal centering */
}

.related-reads-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.related-reads-card .blog-card {
  flex: 1 1 clamp(280px, 30%, 350px);
  max-width: 350px;
}

.related-reads-text {
  color: white;
  text-align: center;
  max-width: 800px;
  white-space: nowrap;
}

.related-reads-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 0;
}

/* GET IN TOUCH */
.form-intro {
  max-width: 500px;
  margin: 90px auto 20px; 
  text-align: center;
  padding: 0 clamp(0.8rem, 4vw, 1.5rem); 
}

.form-intro h3 {
  color: #005f75;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: clamp(6rem, 8vh, 6rem);
}

.form-intro p {
  color: #455062;
  font-size: clamp(0.95rem, 3vw, 1.1rem); 
  font-weight: bold;
}

.form {
  max-width: 500px;
  width: 90%; 
  margin: 20px auto;
  padding: clamp(20px, 5vw, 30px); 
  background-color: #dfe3e6;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-label {
  display: block;
  margin: 2px 0 5px 0;
  font-weight: bold;
  color: #455062;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.form-label p {
  color: #455062;
  font-size: clamp(0.8rem, 3vw, 1rem); 
  font-weight: bold;
}

.form-input[type="text"],
.form-input[type="email"],
.form-input[type="text"],
.form-input[type="text"],
.form-input[type="tel"],
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem; 
  background-color: #fff;
}

@media (max-width: 480px) {
  .form-intro {
    margin-top: 40px;
  }
  .form {
    padding: 20px;
  }
}

/* THANK YOU */
.thank-you-box {
  max-width: 500px;
  margin: clamp(4rem, 10vh, 8rem) auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #005f75;
  font-family: inherit;
}

.thank-you-box h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.thank-you-box p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* PRIVACY POLICIES */
.privacy-container {
    display: flex;
    justify-content: center;
    padding: clamp(1rem, 3vw, 3rem);
    margin: clamp(4rem, 10vh, 8rem) auto; 
    box-sizing: border-box;
}

.privacy-policy {
    max-width: 1200px;
    width: 100%;
    background: #fff; 
    padding: clamp(1.5rem, 2vw, 3rem);
    line-height: 1.6;
    border-radius: 8px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); 
}
