/* ============================================================
   ABOUT PAGE — QAS MODERN STYLES
   ============================================================ */

/* ── VIDEO SLIDER SECTION (text on LEFT side of video) ── */
.video-slider-section {
  padding: 80px 0;
  background: var(--off-white);
}
.video-slider-container {
  margin-top: 50px;
  position: relative;
}
.video-slider {
  margin: 0 -15px;
}
.video-item {
  padding: 0 15px;
}
.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: #0a0f1c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle dark overlay over full video */
.video-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

/* ── LEFT-SIDE CAPTION (hero style, like reference image) ── */
.video-caption-on-video {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 48%;
  display: flex;
  align-items: center;
  padding: 40px 50px 40px 45px;
  z-index: 2;
  /* Gradient fades from dark on left to transparent on right */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.50) 60%,
    transparent 100%
  );
  border-left: 5px solid var(--red);
  transition: background 0.3s ease;
}
.video-wrapper:hover .video-caption-on-video {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.60) 60%,
    transparent 100%
  );
}
.caption-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.caption-text p {
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.6;
}

/* Navigation buttons */
.video-slider-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}
.video-slider-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-glass);
  border: 1px solid rgba(31,66,138,0.2);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.video-slider-nav button:hover {
  background: var(--red-dark) !important;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* Responsive — hide caption on mobile */
@media (max-width: 768px) {
  .video-caption-on-video {
    display: none;
  }
  .video-slider-nav button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* ── CEO SECTION ── */
.ceo-section {
  padding: 80px 0 40px;
  background: var(--off-white);
}
.ceo-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(31,66,138,0.06);
  position: relative;
  overflow: hidden;
}
.ceo-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy-light));
}
.ceo-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.ceo-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s;
}
.ceo-image-wrapper:hover img {
  transform: scale(1.03);
}
.ceo-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.ceo-name {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.ceo-title {
  font-size: 16px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 25px;
}
.ceo-message {
  font-size: 16px;
  color: #000;
  line-height: 1.8;
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 20px;
  margin-bottom: 25px;
}
.ceo-signature {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* ── WHO WE ARE & GENERAL TEXT ── */
.about-section {
  padding: 80px 0;
  position: relative;
}
.about-section.bg-light {
  background: var(--off-white);
}
.who-we-are-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.who-we-are-image img {
  width: 100%;
  height: auto;
  transition: transform 0.6s;
}
.who-we-are-image:hover img {
  transform: scale(1.03);
}
.section-title-left {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
}
.section-title-left::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  border-radius: 2px;
}
.company-description,
.company-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}
.feature-item i {
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
}

/* ── COMPANY SLIDER ── */
.company-slider-container {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  max-width: 1200px;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.slider-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.slider-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-glass);
  border: 1px solid rgba(31,66,138,0.2);
  color: var(--navy);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 10px;
}
.slider-nav button:hover {
  background: var(--navy);
  color: white;
}
.company-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  margin: 0 10px;
  cursor: pointer;
  transition: transform 0.3s;
}
.company-card:hover {
  transform: translateY(-5px);
}
.company-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.company-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,30,66,0.9), transparent);
  padding: 20px;
  color: white;
}
.company-card-overlay h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: white;
  background: var(--red);
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s;
}
.view-btn:hover {
  background: var(--red-dark);
}
.slider-progress {
  height: 4px;
  background: var(--light-gray);
  border-radius: 2px;
  margin-top: 30px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--red));
  border-radius: 2px;
  width: 0;
  transition: width 0.4s;
}

/* ── VISION & MISSION (dark theme) ── */
.vision-box,
.mission-box {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 40px;
  color: white;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.vision-box:hover,
.mission-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}
.vision-box::before,
.mission-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 2px 0 0 2px;
}
.vision-box::before { background: linear-gradient(to bottom, var(--navy-light), transparent); }
.mission-box::before { background: linear-gradient(to bottom, var(--red), transparent); }
.vision-box .icon,
.mission-box .icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.vision-box .icon { background: rgba(42,86,181,0.18); color: var(--navy-light); }
.mission-box .icon { background: rgba(220,23,31,0.15); color: var(--red-light); }
.vision-box h3,
.mission-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}
.vision-box p,
.mission-box p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

/* ── CORE VALUES / PRODUCT CATEGORIES (cards) ── */
.value-item,
.about-section .info-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,66,138,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.value-item:hover,
.about-section .info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.value-icon,
.about-section .info-card .icon {
  width: 70px; height: 70px;
  border-radius: var(--radius-md);
  background: var(--navy-glass);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: 0.3s;
}
.value-item:hover .value-icon,
.about-section .info-card:hover .icon {
  background: var(--red);
  color: white;
}
.value-item h4,
.about-section .info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.value-item p,
.about-section .info-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ── EVENTS GALLERY ── */
.events-gallery {
  padding: 80px 0;
  background: var(--off-white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,30,66,0.9), transparent);
  padding: 15px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .overlay {
  opacity: 1;
}
.gallery-item .overlay h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}
.cta-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 30px;
}
.cta-section .btn {
  background: var(--red);
  color: white;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding: 14px 35px;
  border-radius: 999px;
  transition: 0.3s;
}
.cta-section .btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* ── MANUFACTURING FEATURE ITEMS ── */
.manufacturing .feature-item {
  font-size: 18px;
  margin-bottom: 20px;
}

/* ── TEAM CARDS ── */
.team-card-simple {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.team-card-simple:hover {
  transform: translateY(-5px);
}
.team-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ceo-card .row {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .company-slider-container {
    padding: 20px;
  }
}