
/*==================================================================== Home Page ====================================================================*/

* {
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: 'TT Hoves Pro Trial Regular', sans-serif;
  padding:0px;
  margin: 0px;
  color: white;
}

@font-face {
  font-family: 'TT Hoves Pro Trial Black';
  src: url('font/TT Hoves Pro Trial Black.ttf') format('truetype');
}

@font-face {
  font-family: 'TT Hoves Pro Trial Bold';
  src: url('font/TT Hoves Pro Trial Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'TT Hoves Pro Trial Medium';
  src: url('font/TT Hoves Pro Trial Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'TT Hoves Pro Trial Regular';
  src: url('font/TT Hoves Pro Trial Regular.ttf') format('truetype');
}

h1 {
  font-family: "TT Hoves Pro Trial Black", sans-serif;
  font-weight: 900;
}

h2 {
  font-family: "TT Hoves Pro Trial Bold", sans-serif;
  font-weight: 700;
}

h3, h4 {
  font-family: "TT Hoves Pro Trial Medium", sans-serif;
  font-weight: 500;
}

p {
  font-family: "TT Hoves Pro Trial Regular", sans-serif;
  font-weight: 400; 
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  padding: 0px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

#navbar.scrolled,
  #navbar:hover {
    background: black;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }


  .nav-links a.active {
    color: #0554F2; /* highlight color */
    font-weight: 600;
    position: relative;
  }
  
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #0554F2;
    border-radius: 2px;
    transition: 0.3s;
  }

  .nav-links a:hover {
    color: #0554F2;
  }
  
  /* Add padding to body to account for fixed navbar */
  body {
    padding-top: 80px;
  }

.logo {
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.logo span {
  color: #0554F2;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: -40px;
  gap: 0px; /* space between image and text */
  font-weight: 600;
  color: white;
  cursor: pointer;
}

.logo img {
  height: 40px;   /* adjust to fit header */
  width: auto;
  margin-top: 6px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo span {
  color: #0554F2; /* keep your highlight color */
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin-right: -30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0554F2;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #0554F2;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: -30px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(5, 84, 242, 0.1);
  border: 2px solid #0554F2;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #0554F2;
}

.language-toggle:hover {
  background: #0554F2;
  color: white;
  transform: translateY(-2px);
}

.language-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .language-toggle {
    margin: 10px 0;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .language-toggle svg {
    width: 30px;
    height: 30px;
  }

  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    margin-left: -50px;
    gap: 0px; /* space between image and text */
    font-weight: 600;
    color: white;
    cursor: pointer;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute; /* Changed from fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Changed from -1 */
  background: black;
}

.overlay {
  position: relative;
  z-index: 1; /* Ensures content stays above video */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 100px;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* Optional: adds slight darkening for better text readability */
}

.overlay h1 {
  font-size: 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fbffff; 
  
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 1s ease forwards;
}

.overlay h1 span {
  color: #fbffff;
}

/* Smooth entrance */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {
  .overlay {
    padding-right: 30px;
    justify-content: center;
    text-align: center;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-top: 20px;
  color: white;
  max-width: 500px;
  text-align: left;
  opacity: 0.9;
  animation: fadeInRight 1s ease 0.3s both;
}

.cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  animation: fadeInRight 1s ease 0.6s both;
}

.cta-btn {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-primary {
  background: #0554F2;
  color: white;
  box-shadow: 0 5px 20px rgba(5, 84, 242, 0.4);
}

.cta-primary:hover {
  background: linear-gradient(90deg, #0554F2, #330F59, #74064D, #40032C);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 84, 242, 0.6);
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
}

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

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: linear-gradient(90deg, #0554F2, #330F59, #74064D, #40032C);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 84, 242, 0.6);
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
}

/* Floating frames */
.frame {
  position: absolute;
  border: 2px solid #0554F2;
  border-radius: 8px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(5, 84, 242, 0.8);
  animation: floatFade 6s infinite ease-in-out;
  z-index: 2; /* Added to ensure frames appear above overlay */
}

.frame img {
  display: block;
  width: 300px;
  height: auto;
  border-radius: 6px;
}

@keyframes floatFade {
  0% { 
    transform: translateY(0);
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  50% { 
    transform: translateY(-20px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.frame1 { 
  top: 15%; 
  left: 10%; 
  animation-delay: 0s;
}
.frame2 { 
  top: 63%; 
  left: 13%; 
  animation-delay: 2s;
}
.frame3 { 
  top: 27%; 
  left: 33%; 
  animation-delay: 4s;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0px;
  position: relative;
}

.section-title span {
  color: #0554F2;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: #0554F2;
  margin: 20px auto;
}

p {
  color: #555;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Our Core Section */
.our-core {
  padding: 100px 1%;
  margin: 0 auto;
  position: relative;
  background: white;
}

.our-core::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 84, 242, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.core-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.core-title {
  text-align: center;
  font-size: 3rem;
  color: #0554F2;
  margin-top: -40px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.core-subtitle {
  font-size: 1.2rem;
  color: rgba(26, 31, 58, 0.7);
  max-width: 700px;
  margin: auto;
  text-align: center;
  line-height: 1.6;
}

.core-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
  padding-left: 100px;
  padding-right: 100px;
}

.core-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.core-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 84, 242, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.core-card:hover {
  transform: translateY(-10px);
  border-color: #0554F2;
  box-shadow: 0 20px 60px rgba(5, 84, 242, 0.2);
}

.core-card:hover::before {
  opacity: 1;
}

.core-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.core-card:hover .core-image {
  transform: scale(1.1);
}

.core-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.core-card:hover .core-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(5, 84, 242, 0.5) 0%, rgba(0, 212, 255, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.core-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1a1f3a;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.core-card:hover h3 {
  color: #0554F2;
}

.core-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  color: rgba(26, 31, 58, 0.75);
}

.core-card:hover .accent-line {
  width: 100%;
}

.core-button-container {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: -65px;
  padding-bottom: 2rem;
}

.core-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #0554F2;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(5, 84, 242, 0.3);
}

.core-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(5, 84, 242, 0.4);
  background: #0440c4;
}

.core-btn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .our-core {
    padding: 70px 30px;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .core-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0%;
  }

  .core-image {
    height: 200px;
  }

  .core-content {
    padding: 25px;
  }

  .core-number {
    font-size: 3rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .core-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-section {
  position: relative;
  padding-bottom: 100px;
  background: linear-gradient(to bottom, #2e2a8a 0%, #1b1663 40%, #0C1A4C 70%, #080625 100%);
  overflow: hidden;
  height: auto;
  margin: 0 auto;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('vnp/website\ element-01.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.3; 
  z-index: 1;
  pointer-events: none;
}

.gallery-section > * {
  position: relative;
  z-index: 2; 
}

/* ================================ Infinite Slider Gallery 1 ================================ */
.gallery-slider {
  padding: 100px 0;
  position: relative;
  transform: rotate(-5deg);
  display: flex;
}

.gallery-slider::before,
.gallery-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gallery-slider::before {
  left: 0;
}

.gallery-slider::after {
  right: 0;
}

.slider-track {
  display: flex;
  gap: 30px;
  animation: scroll-left 40s linear infinite;
  width: fit-content;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slide {
  flex-shrink: 0;
  width: 400px;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s;
}

.slide:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(5, 84, 242, 0.4);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s;
}

.slide:hover img {
  transform: scale(1.1);
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 84, 242, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}

.slide:hover::before {
  opacity: 1;
}

/* ================================ Infinite Slider Gallery 2 ================================ */
.gallery-sliders {
  padding: 0px 0;
  position: relative;
  transform: rotate(5deg);
  margin-top: 80px;
}

.gallery-sliders::before,
.gallery-sliders::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gallery-sliders::before {
  left: 0;
}

.gallery-sliders::after {
  right: 0;
}

.slider-tracks {
  display: flex;
  gap: 30px;
  animation: scroll-right 40s linear infinite;
  width: fit-content;
}

.slider-tracks:hover {
  animation-play-state: paused;
}

.slides {
  flex-shrink: 0;
  width: 400px;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s;
}

.slides:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(5, 84, 242, 0.4);
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s;
}

.slides:hover img {
  transform: scale(1.1);
}

.slides::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 84, 242, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}

.slides:hover::before {
  opacity: 1;
}

/* ================================ Title Box Section ================================ */
.title-box {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;
  padding-left: 200px;
  margin-left: auto;
  margin-right: 5vw;
}

.gallery-title {
  font-size: 4rem;
  font-weight: 600;
  margin: 0px;
}

.gallery-sub {
  color: white;
  font-size: 1.5rem;
  display: inline-block;
  position: relative;
  text-align: left;
  margin-top: -10px;
  line-height: 1.3;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ================================ Responsive Adjustments ================================ */
@media (max-width: 768px) {
  .gallery-sub {
    font-size: 1.2rem;
  }

  .title-box {
    align-items: left;
    text-align: left;
    padding-right: 5px;
  }

  .gallery-title {
    font-size: 3rem;
  }
}


/* ========================= REVIEW SLIDER SECTION ========================= */
.reviews-section {
  background: #ffffff;
  padding: 100px 20px;
  text-align: center;
  color: #1a1a2e;
  position: relative;
  overflow: hidden;
}

.reviews-header h2 {
  font-size: 3rem;
  color: #1a1a2e;
  margin-bottom: 10px;
  font-weight: 700;
}

.reviews-sub {
  color: #6b7280;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  gap: 10px;
}

.review-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  min-width: calc(100% - 10px); 
}

.review-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 1;
}

.review-content {
  max-width: 600px;
  z-index: 1;
}

.quote {
  font-size: 1.4rem;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.7;
}

.who {
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 1.25rem;
}

/* * The Star Rating Container */
.star-rating {
    display: flex; 
    gap: 4px; 
    font-size: 2rem; 
    color: #ccc; 
    margin-bottom: 1.5rem;
    justify-content: center;
}

/* * Class for a "filled" star  */
.star-rating .filled {
    color: #ffc107; 
}

/* * Class for a "half" star */
.star-rating .half {
  background: linear-gradient(90deg, #ffc107 50%, #ccc 50%);
  -webkit-background-clip: text; 
  background-clip: text;
  color: transparent; 
}

.meta {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.review-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.review-btn {
  background: #f3f4f6;
  border: none;
  color: #1a1a2e;
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-btn:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.review-dots {
  display: flex;
  gap: 12px;
}

.review-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dots button.active {
  background: #1e3a8a;
  width: 32px;
  border-radius: 6px;
}

.review-dots button:hover {
  background: #9ca3af;
}

.floating-buttons {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e3a8a;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.5);
}

@media (max-width: 768px) {
  .reviews-header h2 {
    font-size: 2rem;
  }

  .review-slide {
    padding: 40px 30px;
  }

  .quote {
    font-size: 1.1rem;
  }
}

/* Container Styling */
.container {
  background: linear-gradient(0deg, #000000 0%, #1b203b 50%, #050418 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  max-width: 3000px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  margin: 0 auto;
  border-radius: 0px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.divider {
  width: 2px;
  height: 400px;
  background: rgba(255, 255, 255, 0.2);
}

.left-section {
  text-align: center;
  padding: 0 40px;
}

.left-section h1 {
  font-size: 3rem;
  font-weight: 700;
  padding-bottom: 5px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.left-section p {
  font-size: 1.2rem;
  color: #b8c5d6;
  margin-bottom: 50px;
  padding-bottom: 10px;
}

.stat-label {
  color: #a0a0c0;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.stat-value {
  color: #8bb4d9;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(139, 180, 217, 0.3);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.right-section {
  text-align: center;
  padding: 0 40px;
}

.right-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.right-section p {
  font-size: 1.2rem;
  color: #b8c5d6;
  margin-bottom: 50px;
}

.button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.feedback-btn {
  background: #0554F2;
  color: #fff;
  padding: 20px 45px;
  border-radius: 50px;
  box-shadow: 0 15px 40px rgba(5, 84, 242, 0.3);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.feedback-btn:hover {
  background: #0440c4;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(5, 84, 242, 0.4);
}

@media (max-width: 968px) {
  .container {
      grid-template-columns: 1fr;
      gap: 60px;
  }

  .divider {
      width: 80%;
      height: 2px;
      justify-self: center;
  }

  .left-section h1 {
      font-size: 2.5rem;
  }

  .counter {
      font-size: 5rem;
  }

  .right-section h2 {
      font-size: 2rem;
  }

  .feedback-box {
      padding: 40px 60px; 
      font-size: 1.5rem;
  }
}

/*===================================================== About Us Page ====================================================================*/


/* === Global Styles === */
body {
  padding-top: 0 !important;
}
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-top: 0;
}

.about-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: black;
  z-index: 1;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.about-hero-content {
  position: absolute;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
}

.about-hero-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  line-height: 1.3;
  animation: fadeInUp 1s ease;
  text-align: center;
  margin: 0;
}

.about-hero-content h2 .highlight-blue {
  color: #0554F2;
}

.about-hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: white;
  animation: fadeInUp 1s ease;
  max-width: 900px;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
  margin: 0;
}

/* === Mission & Vision Section === */
.mission-vision-section {
  min-height: 100vh;
  width: 100%;  
  padding-top: 5px;
  padding-bottom: 100px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;               
  flex-direction: column;      
  justify-content: center;     
  align-items: center;
}

.mission-vision-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 84, 242, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-vision-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.mission-vision-header {
  margin-bottom: 3rem;
}

.mission-vision-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
  background: #0554F2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.mission-vision-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 15px;
  color: rgba(26, 31, 58, 0.7);
  text-align: center;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

.mission-vision-card {
  background: linear-gradient(#ffffff);
  padding: 0;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.mission-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #0554F2, #4281ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-vision-card:hover::before {
  transform: scaleX(1);
}

.mission-vision-card:hover {
  transform: translateY(-15px);
  border-color: #0554F2;
  box-shadow: 0 20px 60px rgba(5, 84, 242, 0.2);
}

.mv-icon {
  width: 100%;
  height: clamp(150px, 30vw, 250px);
  margin: 0;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  flex-shrink: 0;
  transition: transform 0.5s;
}

.mv-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s;
  display: block;
}

.mission-vision-card:hover {
  transform: translateY(-10px);
}

.mission-vision-card h3 {
  margin-top: 2rem;
  margin-bottom: 0rem;
  font-size: 2.5rem;
  color: #0554F2;
  font-weight: 700;
  text-align: center;
}

.mission-vision-card p {
  padding: 0 clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgb(0, 0, 0);
  text-align: center
}

/* === Company History Section === */
.history-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to bottom, #2e2a8a 0%, #1b1663 40%, #0C1A4C 70%, #080625 100%);
}

.history-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('vnp/website\ element-03.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.3; 
  z-index: 1;
  pointer-events: none;
}

.history-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.history-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.history-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(15px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 60px);
  width: 100%;
}

.history-text-wrapper {
  width: 100%;
}

.history-text-wrapper h2 {
  color: rgb(255, 255, 255);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.history-text-wrapper {
  color: #ffffff;
}

 .highlight-blue {
  color: #0554F2;
}


.history-content-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

/* ===== TIMELINE STYLES ===== */
.timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 500px;
  padding: 20px 0;
}

.timeline-main-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ffffff 0%, #0554F2 25%, #ffffff 50%, #0554F2 100%);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 2fr auto 2fr;
  gap: clamp(15px, 3vw, 40px);
  align-items: center;
  min-height: 80px;
  z-index: 2;
  margin-bottom: 20px;
}

.timeline-item.left .info-section {
  grid-column: 1;
  text-align: left;
}

.timeline-item.left .year-section {
  grid-column: 3;
  text-align: left;
}

.timeline-item.right .info-section {
  grid-column: 3;
  text-align: right;
}

.timeline-item.right .year-section {
  grid-column: 1;
  text-align: right;
}

.circle-section {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.timeline-circle {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 3px solid white;
  position: absolute;
}

.timeline-item.left .timeline-dot {
  left: -28px;
}

.timeline-item.right .timeline-dot {
  right: -28px;
}

.info-section,
.year-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-year {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.timeline-title {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin: 4px 0 0 0;
}

.timeline-code {
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 600;
  margin: 2px 0;
}

.timeline-description {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  color: #ffffff;
  line-height: 1.4;
  margin-top: 4px;
  max-width: 300px;
  text-align: inherit;
}

/* Video Wrapper */
.history-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-preview-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-preview-container:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.video-preview-container:hover .watch-full-video-btn {
  transform: scale(1.02) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25) !important;
  background: linear-gradient(135deg, #0441c4 0%, #032d8a 100%) !important;
}

.history-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.watch-full-video-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #0554F2 0%, #0441c4 100%);
  color: white;
  padding: clamp(10px, 2vw, 16px) clamp(20px, 3vw, 32px);
  border-radius: 0 24px 0 24px;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: auto;
  box-shadow: 0 4px 15px rgba(5, 84, 242, 0.4);
  letter-spacing: 0.5px;
}

.watch-full-video-btn:hover {
  background: linear-gradient(135deg, #0441c4 0%, #032d8a 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(5, 84, 242, 0.6);
}

.video-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 2vw, 24px);
  border-radius: 30px;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 9;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* === Video Shorts Section === */
.vidcontainer {
  position: relative;
  width: 100%;
  padding: clamp(30px, 5vw, 60px) clamp(20px, 3vw, 40px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: white;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(20px, 4vw, 40px);
  width: 100%;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  background: #0554F2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: #555;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.2em;;
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(15px, 3vw, 25px);
  width: 100%;
  max-width: 1400px;
  padding: 0 clamp(15px, 3vw, 50px);
}

.reel-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
  aspect-ratio: 9/16;
  width: 100%;
}

.reel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.reel-thumbnail,
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-thumbnail {
  transition: transform 0.3s ease;
  display: block;
}

.reel-video {
  display: none;
}

.reel-card.playing .reel-thumbnail {
  display: none;
}

.reel-card.playing .reel-video {
  display: block;
}

.reel-duration {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.reel-card.playing .reel-duration {
  display: none;
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 8px solid white;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.reel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.reel-card:hover .reel-info {
  transform: translateY(0);
}

.reel-title {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: white;
}

.reel-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.75rem, 1.3vw, 0.85rem);
  color: white;
}

.tiktok-icon-small {
  width: 16px;
  height: 16px;
}

/* Continue watching overlay */
.continue-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 10;
  animation: fadeIn 0.3s ease;
}

.continue-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.continue-overlay svg {
  width: 80px;
  height: 80px;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.continue-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.continue-overlay:hover svg {
  transform: scale(1.1);
  animation: none;
}

@media (max-width: 768px) {
  .section-header h2 {
      font-size: 2rem;
  }

  .reels-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
  }
}

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

/* === Team Section === */
.team-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 50px);
  background: linear-gradient(to top, #000 0%, #0f183d 25%, #1a2a6c 50%, #0f183d 75%, #000 100%);
  position: relative;
  overflow: hidden;
}

/* Add halftone pattern behind the team chart */
.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('vnp/ELEMENT\ WEBSITE-02.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2; /* Adjust opacity to make it subtle */
  z-index: 1;
  pointer-events: none;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Ensure all content is above the background */
}

.team-container h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
}

.team-container h2 span {
  color: #ffffff;
}

.team-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #d0d0d0;
  margin-bottom: clamp(40px, 6vw, 60px);
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.team-picture-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding: 0 20px;
  position: relative;
  z-index: 2; /* Ensure wrapper and image are above background */
}

.team-picture {
  width: 100%;
  max-width: 1200px; /* Adjust based on your needs */
  height: auto;
  border-radius: 0px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-picture:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(5, 84, 242, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .team-picture {
    max-width: 100%;
    border-radius: 0px;
  }
  
  .team-picture-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .team-picture {
    border-radius: 0px;
  }
  
  .team-picture-wrapper {
    margin-top: 20px;
    padding: 0 10px;
  }
}

/* ===================================================================== 
   ABOUT US PAGE - ALL RESPONSIVE BREAKPOINTS
===================================================================== */

/* === Very Wide Screens === */
@media (min-width: 1920px) {
  .mission-vision-container,
  .history-container,
  .team-container {
    max-width: 1600px;
  }

  .reels-grid {
    max-width: 1800px;
    margin: 0 auto;
  }
}

@media (min-width: 1600px) {
  .history-container,
  .vidcontainer {
    max-width: 1600px;
    margin: 0 auto;
  }
}

@media (min-width: 1400px) {
  .mission-vision-container,
  .team-container {
    max-width: 1400px;
  }
}

/* === Large Tablets and Small Desktops === */
@media (max-width: 1024px) {
  .about-hero {
    min-height: 500px;
  }

  .history-content-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-wrapper {
    min-height: 450px;
  }

  .reels-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }
}

/* === iPad Landscape === */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) {
  
  .mission-vision-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-content-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .reels-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === Tablets === */
@media (max-width: 768px) {
  .about-hero {
    min-height: 400px;
  }

  .mission-vision-container {
    grid-template-columns: 1fr;
  }

  .mv-icon {
    height: 180px;
  }

  .history-section {
    padding: 3rem 10px;
  }

  .timeline-wrapper {
    padding: 20px 10px;
    min-height: 450px;
  }

  .timeline-item {
    grid-template-columns: 1.5fr auto 1.5fr;
    gap: clamp(8px, 2vw, 15px);
    margin-bottom: 15px;
    min-height: 60px;
  }

  .timeline-main-line {
    width: 2px;
  }

  .timeline-circle {
    width: 16px;
    height: 16px;
    border: 2px solid white;
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    border: 2px solid white;
  }

  .timeline-item.left .timeline-dot {
    left: -22px;
  }

  .timeline-item.right .timeline-dot {
    right: -22px;
  }

  .timeline-year {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  }

  .timeline-title {
    font-size: clamp(0.65rem, 1.3vw, 0.85rem);
  }

  .timeline-code {
    font-size: clamp(0.6rem, 1.1vw, 0.75rem);
  }

  .timeline-description {
    font-size: clamp(0.65rem, 1.3vw, 0.85rem);
    max-width: 100%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .reels-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0 20px;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block;
  }
}

/* === iPad Portrait === */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) {
  
  .mission-vision-container {
    grid-template-columns: 1fr;
  }

  .history-content-wrapper {
    grid-template-columns: 1fr;
  }

  .reels-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid-static {
    justify-content: space-evenly;
  }
}

/* === Mobile Devices === */
@media (max-width: 640px) {
  .about-hero {
    min-height: 350px;
  }

  .mv-icon {
    height: 150px;
    border-radius: 20px 20px 0 0;
  }

  .mission-vision-card {
    border-radius: 20px;
  }

  .timeline-item {
    gap: 12px;
  }

  .timeline-description {
    max-width: 180px;
  }

  .video-preview-container {
    border-radius: 16px;
  }

  .watch-full-video-btn {
    border-radius: 0 16px 0 16px;
  }

  .reels-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
}

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

/* === Small Mobile Devices === */
@media (max-width: 480px) {
  .about-hero {
    min-height: 300px;
  }

  .mission-vision-section,
  .vidcontainer,
  .team-section {
    padding: 2rem 30px;
  }

  .mission-vision-card h3 {
    font-size: 1.3rem;
  }

  .mission-vision-card p {
    font-size: 0.85rem;
  }

  .mv-icon {
    height: 120px;
    border-radius: 15px 15px 0 0;
  }

  .mission-vision-card {
    border-radius: 15px;
  }

  .history-container {
    padding: 20px 15px;
  }

  .timeline-wrapper {
    padding: 15px 5px;
    min-height: 400px;
  }

  .timeline-item {
    grid-template-columns: 1.2fr auto 1.2fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .timeline-main-line {
    width: 2px;
  }

  .timeline-circle {
    width: 14px;
    height: 14px;
    border: 2px solid white;
  }

  .timeline-dot {
    width: 10px;
    height: 10px;
    border: 2px solid white;
  }

  .timeline-item.left .timeline-dot {
    left: -20px;
  }

  .timeline-item.right .timeline-dot {
    right: -20px;
  }

  .timeline-year {
    font-size: 1rem;
  }

  .timeline-title {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .timeline-code {
    font-size: 0.55rem;
  }

  .timeline-description {
    font-size: 0.6rem;
    line-height: 1.3;
    max-width: 100%;
  }
}

  .video-preview-container {
    border-radius: 12px;
  }

  .watch-full-video-btn {
    border-radius: 0 12px 0 12px;
    padding: 8px 16px;
  }

  .video-label {
    bottom: 10px;
    padding: 6px 12px;
  }

  .team-image {
    height: 200px;
  }


/* === Extra Small Devices === */
@media (max-width: 360px) {
  .mission-vision-card h3 {
    font-size: 1.3rem;
  }

  .mission-vision-card p {
    font-size: 0.85rem;
  }

  .timeline-item {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
  }

  .timeline-year {
    font-size: 0.9rem;
  }

  .timeline-title {
    font-size: 0.55rem;
  }

  .timeline-code {
    font-size: 0.5rem;
  }

  .timeline-description {
    font-size: 0.55rem;
  }

  .team-image {
    height: 180px;
  }
}


/* === Landscape Orientation === */
@media (max-height: 600px) and (orientation: landscape) {
  .about-hero {
    height: 100vh;
    min-height: 100vh;
  }

  .mission-vision-section,
  .team-section {
    padding: 50px 30px;
  }
}

/* === Touch Device Optimizations === */
@media (hover: none) and (pointer: coarse) {
  .mission-vision-card:hover{
    transform: none;
  }

  .mission-vision-card:active{
    transform: translateY(-5px);
  }
}

/* === Performance Optimizations === */
@media (prefers-reduced-motion: no-preference) {
  .mission-vision-card,
  .reel-card {
    will-change: transform;
  }

  .mv-icon img {
    will-change: transform;
  }
}

/* === Reduced Motion Preference === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === Smooth Scrolling === */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* === Print Styles === */
@media print {
  .about-hero-video,
  .video-preview-container,
  .watch-full-video-btn,
  .reel-card,
  .continue-overlay {
    display: none !important;
  }

  .about-hero,
  .history-section,
  .mission-vision-section,
  .team-section {
    height: auto;
    min-height: auto;
    page-break-inside: avoid;
  }

  .mission-vision-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* === High DPI Displays === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .about-hero-video,
  .history-video,
  .team-image img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* === Focus Styles for Accessibility === */
.watch-full-video-btn:focus-visible,
.reel-card:focus-visible,
.team-card:focus-visible {
  outline: 3px solid #0554F2;
  outline-offset: 3px;
}

/* === Loading States === */
.team-image img[loading="lazy"],
.mv-icon img[loading="lazy"],
.reel-thumbnail[loading="lazy"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === Fallback for Older Browsers === */
@supports not (display: grid) {
  .mission-vision-container,
  .history-content-wrapper,
  .reels-grid,
  .team-grid-static {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mission-vision-card,
  .reel-card,
  .team-card {
    flex: 1 1 100%;
    max-width: 400px;
    margin: 15px;
  }

  @media (min-width: 768px) {
    .mission-vision-card,
    .reel-card {
      flex: 1 1 45%;
    }
  }
}



/* ===================================================================== 
   END OF ABOUT US PAGE RESPONSIVE STYLES
===================================================================== */



/*==================================================================== Service Page ====================================================================*/
.service-sec {
  text-align: center;
  position: relative;
  overflow: hidden;
}  

.service-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('vnp/ELEMENT\ WEBSITE-02.png');
  background-size: cover;        
  background-position: center;   
  background-repeat: no-repeat;  
  opacity: 0.5;
  z-index: 0;
}

.services {
  text-align: center; 
  padding: 100px 50px;
  background: white;
  position: relative;
}

.services-section {
  padding-top: 30px; 
  padding-bottom: 60px; 
  padding-left: 200px; 
  padding-right: 200px;
}

/* Intro Section */
.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.services-intro h2 {
  font-size: 3.5rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.services-intro h2 span {
  color: #0554F2;
}

.services-intro p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
}

/* Service Cards */
.services-container {
  max-width: 2000px;
  margin: 0 auto;
  width: 100%;
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.services-grid img {
  filter: brightness(60%);
}

.service-card {
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.10s, box-shadow 0.10s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Adjust for darkness */
  z-index: 1; /* overlay above image but below text */
  transition: background 0.3s ease;
}

.service-card:hover::before {
  background: rgba(0, 0, 0, 0.1); /* lighter on hover */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* behind overlay */
}

.service-content {
  position: relative;
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  text-align: left;
  z-index: 2;
}

.service-details p {
  text-align: left;
}

.service-subtitle {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

.extra-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease-out;
}

.extra-content.expanded {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
}

.extra-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.read-more-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  margin-top: 1rem;
  align-self: flex-start;
}

.read-more-btn:hover {
  background: white;
  color: #1a1a1a;
  transform: scale(1.05);
}

/* === Video Hero Section === */
.svideo-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.sbackground-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background: black;
}

.shero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.shero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.shero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
  color: white;
}

/* Learn More Section */
.learn-more-section {
  background: linear-gradient(to bottom, #2e2a8a 0%, #1b1663 40%, #0C1A4C 70%, #080625 100%);
  backdrop-filter: blur(10px);
  padding: 100px 50px;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
  margin: 0;
  border: none;
}

.lsection-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
}

.lsection-description {
  font-size: 1.2rem;
  color: white;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lcta-button {
  background: #0554F2;
  color: white;
  border: none;
  padding: 16px 48px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.lcta-button:hover {
  background: #0440c4;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 84, 242, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .learn-more-section {
    padding: 80px 40px;
  }
  
  .lsection-title {
    font-size: 2.2rem;
  }
  
  .lsection-description {
    font-size: 1.05rem;
    margin-bottom: 35px;
  }
  
  .lcta-button {
    padding: 15px 42px;
    font-size: 1.05rem;
  }
}

@media screen and (max-width: 768px) {
  .learn-more-section {
    padding: 70px 30px;
  }
  
  .lsection-title {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  
  .lsection-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    padding: 0 10px;
  }
  
  .lcta-button {
    padding: 14px 38px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .learn-more-section {
    padding: 60px 20px;
  }
  
  .lsection-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .lsection-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 5px;
  }
  
  .lcta-button {
    padding: 14px 36px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }
  
  .icon {
    margin-left: 6px;
  }
}

@media screen and (max-width: 360px) {
  .learn-more-section {
    padding: 50px 15px;
  }
  
  .lsection-title {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }
  
  .lsection-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
  
  .lcta-button {
    padding: 12px 32px;
    font-size: 0.9rem;
  }
}

/* ============================== RESPONSIVE MEDIA QUERIES ============================== */

/* Tablets */
@media (max-width: 1024px) {
  .services-section {
    padding: 60px 30px;
  }

  .service-content {
    padding: 30px;
  }

  .shero-content h2 {
    font-size: 2.8rem;
  }

  .services-grid {
    gap: 1.5rem;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .services {
    padding: 60px 20px;
  }

  .services-intro h2 {
    font-size: 2rem;
  }

  .services-intro p {
    font-size: 1rem;
  }

  .service-subtitle {
    font-size: 1.5rem;
  }

  .service-content {
    padding: 20px;
    text-align: center;
  }

  .read-more-btn {
    align-self: center;
  }

  .shero-content h2 {
    font-size: 2rem;
  }

  .shero-content p {
    font-size: 1.2rem;
  }

  .learn-more-section {
    padding: 50px 20px;
  }

  .lsection-title {
    font-size: 2rem;
  }

  .lcta-button {
    padding: 14px 36px;
    font-size: 1rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .shero-content h2 {
    font-size: 1.8rem;
  }

  .services-intro h2 {
    font-size: 1.8rem;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .lsection-title {
    font-size: 1.8rem;
  }
}

/*==================================================================== System Page ====================================================================*/
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.video-hero video {
  position: absolute; /* Changed from fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Changed from -1 */
  background-color: black;
}

.video-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Changed from 0 */
  background: rgba(0, 0, 0, 0.3); /* Optional: for better text readability */
}

.video-hero .hero-content {
  position: relative; /* Added to ensure proper stacking */
  z-index: 2; /* Changed from 1 */
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.video-hero .hero-content h2 {
  font-size: 3.5rem;
  letter-spacing: 1px;
  color: #fff;
}

.video-hero .hero-content span {
  color: #ffffff; /* highlight color */
}

.video-hero .hero-content p {
  font-size: 1.2rem;
  margin-top: 15px;
  color: white;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Make navbar overlay video */
#navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 100; 
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.video-hero .hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background: #0554F2;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(5, 84, 242, 0.4);
}

.video-hero .hero-btn:hover {
  background: #0440c4;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 84, 242, 0.6);
}

/* Systems Section Styling */
.systems-section {
  padding: 50px 50px;
  background: white
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.section-intro h2 {
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.section-intro h2 span {
  color: #0554F2;
}

.section-intro p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.system-badge {
  background: #e8edff;
  color: #0554F2;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  max-width: fit-content;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* ensures it stretches evenly */
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(5, 84, 242, 0.2);
  border-color: #0554F2;
}

.product-image {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #151a30 0%, #180f21 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-content {
  flex: 1; /* fills remaining vertical space */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  background: linear-gradient(
    135deg,
    rgba(5, 84, 242, 0.1),
    rgba(42, 63, 105, 0.418)
  );
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0554F2;
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.4;
}

.checkmark {
  color: #0554F2;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.system-card-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.system-card-body {
  padding: 30px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0554F2;
}

.system-card-body h3{
  text-align: center;
}

.system-card-body span{
  text-align: left;
}

.system-features {
  list-style: none;
  margin-bottom: 20px;
}

.system-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #555;
  font-size: 1rem;
}

.system-features li:last-child {
  border-bottom: none;
}

.system-features li::before {
  content: '✓';
  color: #0554F2;
  font-weight: 200;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.system-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(5, 84, 242, 0.1);
  color: #0554F2;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .products-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
  }
  
  .product-image {
      height: 160px;
  }
}

@media (max-width: 768px) {
  h1 {
      font-size: 2rem;
  }

  .products-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .product-content {
      padding: 20px;
  }

  .product-title {
      font-size: 1.25rem;
  }

  .features-list li {
      font-size: 0.85rem;
      margin-bottom: 10px;
  }
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 100px 50px;
  color: white;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-header {
  text-align: center;
  margin-bottom: 60px;
}

.benefits-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #0554F2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid rgba(5, 84, 242, 0.2);
  transition: all 0.3s;
  text-align: center;
}

.benefit-card:hover {
  background: rgba(5, 84, 242, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(5, 84, 242, 0.3);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(5, 84, 242, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  stroke: #0554F2;
}

.benefit-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #0554F2;
}

.benefit-card p {
  color: #d0d0d0;
  line-height: 1.6;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  background: white;
  padding: 80px 50px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.cta-content h2 span {
  color: #0554F2;
}

.cta-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: #0554F2;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(5, 84, 242, 0.4);
}

.cta-button:hover {
  background: #0440c4;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 84, 242, 0.6);
}

/* Book Now Button */
.book-now-btn {
  position: static;
  bottom: 26px;
  right: 90px;
  background: #0554F2; /* theme blue */
  color: white;
  text-decoration: none;
  font-weight: 300;
  padding: 6px 18px;
  max-width: fit-content;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(5, 84, 242, 0.3);
  transition: all 0.3s ease;
  margin-left: 5px;
  margin-top: 15px;
}

.book-now-btn:hover {
  background: #0440c4;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 84, 242, 0.5);
}

/* Ensure cards allow button positioning */
.product-card {
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  .video-hero .hero-content h2 {
    font-size: 2rem;
  }
  
  .video-hero .hero-content p {
    font-size: 1.2rem;
  }

  .systems-section {
    padding: 50px 10px;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .section-intro h2 {
    font-size: 2rem;
  }

  .benefits-section {
    padding: 50px 30px;
  }

  .cta-section {
    padding: 50px 50px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(1, 1fr); 
  }
}

@media (max-width: 768px) {
  .book-now-btn {
    position: static;
    display: inline-block;
    margin-top: 15px;
  }
}


/*==================================================================== Contact Us Page ====================================================================*/
.contact {
  min-height: 100vh;
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: flex-start;
  color: #fff;
  background: transparent;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* spacing between cards */
}

.contact-containers {
  max-width: 1700px;
  margin: 0 auto;
  width: 100%;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.contact-contents {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

/* === Contact Details Grid === */
.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px 40px;
  max-width: fit-content; 
  margin: 0 auto;
}

.contact-detailss {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px;
  margin-top: 20px;
}

/* === Contact Item === */
.contact-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.315);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(5, 84, 242, 0.4), 0 6px 20px rgba(0,0,0,0.1);
}

.contact-items {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.315);
}

.contact-items:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(5, 84, 242, 0.4), 0 6px 20px rgba(0,0,0,0.1);
}

/* Icon + glow hover */
.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0554F2 0%, #043cab 100%);
  border-radius: 50%;
  margin-right: 15px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.contact-item:hover .contact-icon {
  box-shadow: 0 0 12px rgba(5, 84, 242, 0.6);
  background: rgba(5, 84, 242, 0.15);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

/* === Contact Text === */
.contact-text h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 5px;
  margin-top: 5px;
}

.contact-text p {
  margin: 3px 0;
}

.contact-text p,
.contact-text a {
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  text-align: left;
}

.contact-text a:hover {
  color: #0554F2;
}

.contact-icons {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0554F2 0%, #043cab 100%);
  border-radius: 50%;
  margin-right: 15px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.contact-items:hover .contact-icons {
  box-shadow: 0 0 12px rgba(5, 84, 242, 0.6);
  background: rgba(5, 84, 242, 0.15);
}

.contact-icons svg {
  width: 24px;
  height: 24px;
}

/* === Contact Text === */
.contact-texts h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 5px;
  margin-top: 5px;
}

.contact-texts p {
  margin: 3px 0;
}

.contact-texts p,
.contact-texts a {
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  text-align: left;
}

/* === Glow text together with box on hover === */
.contact-items:hover .contact-texts a {
  color: #0554F2; /* glowing blue color */
  transition: color 0.3s ease;
}

/* === Contact Section Layout === */
.contact {
  min-height: 100vh;
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: right;
}

/* Top Centered Title */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.chero-content p {
  color: #ffffff;
  font-size: 1.2rem;
}

/* Map */
.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding-top: 50px;
}

.map-container iframe {
  max-width: 90%;
  width: 2000px; /* optional fixed width */
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: none;
}

/* Responsive */
@media (max-width: 1500px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on medium screens */
  }
}

@media (max-width: 768px) {
  .contact-details {
    grid-template-columns: 1fr; /* 1 per row on small screens */
    gap: 20px;
  }
  
  .contact {
    padding: 80px 30px;
  }

  .contact-header h2 {
    font-size: 2.4rem;
  }
}

/* === Background Video + Overlay === */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(100%);
  background-color: black;
}

#bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* === Text Utilities === */
.white-text {
  color: white;
}

.highlight-text {
  color: #0554F2;
}

/* === Responsive === */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-contents {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-detailss {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === HERO SECTION (Responsive) === */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Background video covers the full area */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  z-index: -2;
}

/* Optional overlay for better text contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* dark overlay for visibility */
  z-index: -1;
}

/* Hero text container */
.chero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 900px;
}

.chero-content h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease;
}

.chero-content p {
  font-size: 1.2rem;
  color: #f1f1f1;
  margin-top: 15px;
  animation: fadeInUp 1s ease;
}

/* Text color utilities */
.white-text {
  color: #ffffff;
}

.highlight-text {
  color: #0554F2;
}

/* Entrance animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVENESS === */

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .chero-content {
    padding: 0 50px;
  }

  .chero-content h2 {
    font-size: 2rem;
  }

  .chero-content p {
    font-size: 1.2rem;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .hero-section {
    height: 100vh; /* slightly shorter for mobile */
  }

  #bg-video {
    object-fit: cover; /* ensures video fills space nicely */
  }

  .chero-content h2 {
    font-size: 2.2rem;
  }

  .chero-content p {
    font-size: 1rem;
  }
}

/*==================================================================== Blog Page ====================================================================*/
.blog-section {
  background: linear-gradient(to bottom, #0A0E1A 0%, #1b1663 40%, #0C1A4C 70%, black 100%);
  padding: 4rem 5%;
  min-height: 100vh;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  background: transparent;
}

.blog-header p {
  color: #bbb;
  font-size: 1.1rem;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.blog-image {
  width: 100%;
  height: 220px;              
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;           
  display: block;
}

.blog-content {
  padding: 20px;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.blog-category {
  background: #0066ff;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 20px;
}

.add-blog-container {
  text-align: right;
  margin: 20px 0;
}

.add-blog-btn {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.add-blog-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 83, 164, 0.4);
}

.blog-actions {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-header h2 {
    font-size: 2rem;
  }
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.category-btn {
  padding: 8px 18px;
  border: 2px solid #0066ff; 
  background: #1b1663; 
  color: #E0E0E0; 
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.category-btn.active,
.category-btn:hover {
  background: #0066ff; 
  color: white;
  border-color: #0066ff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-header h2 {
    font-size: 2rem;
  }
}

/* Footer */
footer {
  background: black;
  color: white;
  padding: 3rem 5%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-info p {
  margin: 0.5rem 0;
  color: white;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 15px;
}
.footer-bottom p2 {
  color: #666;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #0554F2;
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* WS Button */
.ws-btn {
  position: fixed;
  bottom: 30px;
  right: 90px; 
  width: 50px;
  height: 50px;
  background: #0554F2;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(5, 84, 242, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-btn.visible {
  opacity: 1;
  visibility: visible;
}

.ws-btn:hover {
  background: #0440c4;
  transform: translateY(-5px);
}

.ws-btn svg {
  color: white;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0554F2;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(5, 84, 242, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #0440c4;
  transform: translateY(-5px);
}

.close-btn {
  display: none; /* hide by default (desktop view) */
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 106.3vw;
    height: 109.111vh;
    margin-top: -100px;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 150px 15px;
    transition: right 0.3s;
  }

  .nav-links.active {
    right: 2.7%;
  }

  .close-btn {
    display: block; /* only show in mobile view */
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    z-index: 1001;
  }

  .close-btn:hover {
    color: #1ca7ec;
    transform: scale(1.1);
  }
  

  .menu-toggle {
    display: flex;
  }

  .overlay {
    padding: 20px;
    justify-content: center;
    text-align: center;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .frame {
    display: none;
  }

  .about-container,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .core-container {
    grid-template-columns: 1fr;
  }

  .slide {
    width: 300px;
    height: 220px;
  }

  .slides {
    width: 300px;
    height: 220px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}