/* Workbench Glassmorphic Theme – main.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(145deg, #FDF1F3, #FBEFF2);
  color: #111;
  line-height: 1.6;
}

/* ========== UTILITY CLASSES ========== */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-button,
.service-btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  border-radius: 16px;
  color: #f5f5f5;
  background: linear-gradient(145deg, rgba(28, 27, 31, 0.9), rgba(44, 43, 50, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.cta-button:hover,
.service-btn:hover {
  background: linear-gradient(145deg, rgba(38, 38, 45, 0.95), rgba(22, 22, 26, 0.9));
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.logo a {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0e0e0e;
}

.logo img.logo-img {
  height: 60px;
  width: 120px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: #0e0e0e;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #4ba2f2;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* ========== VIDEO SECTION ========== */
.video-container {
  position: relative;
  width: 100%;
  height: clamp(300px, 75vh, 600px);
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay container */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

/* Overlay lines */
.overlay-line {
  font-size: 4rem;
  font-weight: 800;
  color: #f4b6c2; /* soft pink */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: parallaxFloat 3s ease forwards;
  animation-delay: var(--delay);
  position: absolute;
  transform: scale(1);
  animation-iteration-count: 1;
  text-align: center;
  padding: 0 1rem;
}

/* CTA wrapper */
.cta-wrapper {
  opacity: 0;
  animation: fadeInOut 3s ease forwards;
  animation-delay: var(--delay);
  pointer-events: auto;
  position: absolute;
  bottom: 10%;
  text-align: center;
  animation-iteration-count: 1;
}

/* CTA button */
.cta-overlay {
  background-color: #d99a1b; /* Golden ochre */
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 32px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.cta-overlay:hover {
  background-color: #bb8414;
}

/* Animations */
@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(10px); }
  10%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeMove {
  0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
  10%  { opacity: 1; transform: translateY(0) scale(1); }
  80%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-30px) scale(1); }
}
@keyframes parallaxFloat {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  20% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  80% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.02) translateY(-10px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .overlay-line {
    font-size: 1.8rem;
  }

  .cta-overlay {
    font-size: 1rem;
    padding: 0.75rem 1.4rem;
  }
}



/* ========== HERO TEXT ========== */
.hero-text {
  text-align: center;
  padding: 1rem 2rem 4rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
}

/* ========== SERVICES PREVIEW ========== */
.services-heading {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.services-heading p {
  font-size: 1.25rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.services-heading h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #111;
}

.service-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  flex: 1 1 350px;
  max-width: 400px;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.services-preview {
  padding-bottom: 3rem;
}
/* ========== HEADER DETIALED SERVICES ========== */
/* ========== HEADER DETIALED SERVICES ========== */
/* ========== HEADER DETIALED SERVICES ========== */
.hero-banner {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========== SERVICES DETAILED CARDS ========== */
.service-detail-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.service-detail-card {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 16px;
}


.card-detail-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.image-side img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.text-side {
  flex: 1;
}

.text-side h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.text-side p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

@media (max-width: 768px) {
  .card-detail-content {
    flex-direction: column;
    text-align: center;
  }

  .image-side img {
    width: 100%;
    max-width: 300px;
  }
}

/* ========== R&D CARDS ========== */
/* ========== R&D CARDS ========== */
/* ========== R&D CARDS ========== */
.rnd-card-media {
  position: relative;
  aspect-ratio: 16.5 / 8.5;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: #000;
}


.rnd-card-media iframe {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  display: block;
  border: none;
  pointer-events: none; /* Prevents interaction hover overlays */
}


.rnd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stretchs to fill entire container */
  object-position: center center; /* Keeps the main subject centered */
  display: block;
}


.rnd-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.rnd-card {
  flex: 1 1 500px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}



.rnd-card-content {
  padding: 1.5rem;
  text-align: center;
}

.rnd-card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.rnd-card-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.rnd-card-content .cta-button {
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
}


/* ========== CONTACT FORM ========== */
/* ========== CONTACT FORM ========== */
/* ========== CONTACT FORM ========== */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #111;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4BA2F2;
  box-shadow: 0 0 0 2px rgba(75, 162, 242, 0.2);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.centered-text {
  text-align: center;
  margin-top: 1rem;
}

/* ========== BUTTON RESET ========== */
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

.services-grid {
  padding: 4rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: #444;
}

.form-wrapper {
  padding: 2rem;
  margin: 0 auto;
  max-width: 800px;
}

@media (min-width: 768px) {
  .form-wrapper {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* ========== FOOTER STYLING ========== */
.site-footer {
  background-color: #b5bccd;
  color: #fff;
  padding: 3rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-img {
  width: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.site-footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #eee;
}

.footer-bottom a {
  color: #ddd;
  margin: 0 0.5rem;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.4);
    padding: 1rem;
    position: absolute;
    right: 1rem;
    top: 4.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }

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

  .hamburger {
    display: block;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .services-preview {
    padding: 2rem 1rem;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 90%;
  }
}
