* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "open sans", sans-serif;
  font-weight: 200;
  font-style: normal;
}


body,
html {
  font-family: "open sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  height: 100%;
  background: black;
  touch-action: manipulation;
}

.video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(12, 35, 71, 0.3),
    rgba(0, 5, 15, 0.78),
    rgba(5, 17, 40, 0.52)
  );
  background-size: 100% 300%;
  background-position: top;
  animation: gradientShift 5s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.navbar {
  width: 100%;
  padding: 25px 25px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 13px;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.logo {
  display: flex;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 65px;
  font-size: 18px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  transition: 0.3s;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.nav-links .btn {
  background: #cfd8dc;
  color: black;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .logo img {
    height: 50px;
  }

  .navbar {
    display: none !important;
  }
}

.hamburger-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.7));
  position: relative; /* important */
  z-index: 20; /* above the main navbar */
  display: none;
}

.hamburger-logo img {
  height: 50px;
}

.hamburger-toggle {
  display: none; /* shown only on mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 30; /* above menu */
}

.hamburger-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease; /* smooth animation */
}

.hamburger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Links */
.hamburger-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.hamburger-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger-navbar, .hamburger-toggle {
    display: flex;
  }

  .hamburger-links {
    position: absolute;
    top: 70px; /* adjust if needed */
    left: 0;
    right: 0;
    background-color: #000;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    display: none;
    z-index: 20;
  }

  .hamburger-links.show {
    display: flex;
  }
}

.bg-image-section {
  background-image: url("../images/bg3.png"); /* replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Optional: Add overlay for readability */
.bg-image-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  z-index: -1;
}

.testimonial-bg {
  background-image: url("../images/bg2.png"); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Optional overlay for readability */
.testimonial-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); /* Adjust the opacity if needed */
  z-index: -1;
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #2772eb;
  box-shadow: 0 0 0 2px #2772eb;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #2772eb;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  background-color: #2772eb;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #2772eb;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

.animated-button2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #2772eb;
  box-shadow: 0 0 0 2px #2772eb;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button2 svg {
  position: absolute;
  width: 24px;
  fill: #2772eb;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button2 .arr-1 {
  right: 16px;
}

.animated-button2 .arr-2 {
  left: -25%;
}

.animated-button2 .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 20px;
  background-color: #2772eb;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button2 .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button2:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button2:hover .arr-1 {
  right: -25%;
}

.animated-button2:hover .arr-2 {
  left: 16px;
}

.animated-button2:hover .text {
  transform: translateX(12px);
}

.animated-button2:hover svg {
  fill: #212121;
}

.animated-button2:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #2772eb;
}

.animated-button2:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

.animated-button3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 0 0 2px #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button3 svg {
  position: absolute;
  width: 24px;
  fill: #ffffff;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button3 .arr-1 {
  right: 16px;
}

.animated-button3 .arr-2 {
  left: -25%;
}

.animated-button3 .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button3 .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button3:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #000000ff;
  border-radius: 12px;
}

.animated-button3:hover .arr-1 {
  right: -25%;
}

.animated-button3:hover .arr-2 {
  left: 16px;
}

.animated-button3:hover .text {
  transform: translateX(12px);
}

.animated-button3:hover svg {
  fill: #000000ff;
}

.animated-button3:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #ffffffff;
}

.animated-button3:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: black;
}

.hero {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 5;
}

.hero h1 {
  font-size: 58px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 60px;
  width: 1000px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 50px;
}

.hero button {
  font-size: 20px;
}

.social-icons {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.social-icons img {
  width: 30px;
  margin-left: 10px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Tablet */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
    width: 600px;
  }

  .hero p {
    font-size: 22px;
  }

  .social-icons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
    width: 350px;
  }

  .hero p {
    font-size: 20px;
  }
}

.gradient-bg {
  background: none;
  background-image: url("../images/bg4.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.gradient-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.gradient-bg2 {
  background: none;
  background-image: url("../images/bg2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.gradient-bg2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.word-row-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}

.word-row {
  display: flex;
  white-space: nowrap;
  gap: 40px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  animation: scrollRight 20s linear infinite;
}

.animate-medium {
  animation-duration: 25s;
}
.animate-slow {
  animation-duration: 35s;
}
.animate-slower {
  animation-duration: 40s;
}

.word-row span {
  flex-shrink: 0;
}

@keyframes scrollRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.socials a {
  transition: transform 0.3s ease;
}

.socials a:hover {
  transform: scale(1.2);
}

.social-icons2 {
  position: absolute;
  display: flex;
  right: 100px;
  align-items: center;
  z-index: 1;
}

.social-icons2 img {
  width: 30px;
  margin-left: 10px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.social-icons2 img:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    word-wrap: break-word; /* ensures long text wraps */
  }

  .footer p {
    margin-bottom: 10px;
    max-width: 90%; /* optional: prevents overflow */
  }

  .social-icons2 {
    justify-content: center;
    gap: 45px;
    margin-top: 70px;
  }
}

.video-section-wrapper {
  position: relative;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Wrapper for page content */
.content-wrapper {
  max-width: 1200px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-2 {
  margin-top: 0.5rem;
}

/* Headings */
h1 {
  font-weight: 600;
  color: #edf2f7;
  font-size: 1.75rem;
  line-height: 1.25;
}
@media (min-width: 1024px) {
  h1 {
    font-size: 1.875rem;
  }
}

/* Decorative underline */
.underline-group {
  display: flex;
  margin-top: 1.5rem;
  justify-content: flex-start;
  gap: 0.25rem;
}
.underline-group span {
  display: inline-block;
  border-radius: 9999px;
  background-color: #3b82f6; /* blue */
  height: 0.25rem;
}
.underline-group .long {
  width: 10rem;
}
.underline-group .medium {
  width: 0.75rem;
}
.underline-group .short {
  width: 0.25rem;
}

/* Flex container for header and arrows */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}
@media (max-width: 767px) {
  .flex-between {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Arrow buttons */
.arrow-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.arrow-btn:hover {
  background-color: #2563eb;
  color: white;
}
.arrow-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Testimonials grid */
.testimonials-grid {
  display: flex;
  overflow: hidden;
  gap: 2rem;
  margin-top: 2rem;
  scroll-behavior: smooth;
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual testimonial card */
.testimonial-card {
  background-color: #000000; /* black */
  border-radius: 0.5rem;
  padding: 1rem; /* Reduced padding */
  color: #e0e7ff; /* light text */
  border: 2px solid white; /* white border */
  box-shadow: 0 10px 15px -3px rgba(66, 153, 225, 0.2),
    0 4px 6px -4px rgba(66, 153, 225, 0.15);
  transition: border-color 0.3s ease, color 0.3s ease,
    background-color 0.3s ease;
  flex: 0 0 100%;
  max-width: 100%;
  height: 280px; /* Fixed height for uniform size */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content evenly */
}
.testimonial-card:hover {
  border-color: #2563eb; /* blue border */
  color: white;
  background-color: #2563eb; /* blue border */
}

/* Testimonial text */
.testimonial-text {
  line-height: 1.4; /* Tighter line spacing */
  font-size: 0.95rem; /* Smaller text */
  transition: color 0.3s ease;
  flex-grow: 1; /* Allow text to fill available space */
  display: flex;
  align-items: flex-start; /* Align text to top */
}
.testimonial-card:hover .testimonial-text {
  color: white;
}

/* Testimonial footer */
.testimonial-footer {
  display: flex;
  align-items: center;
  margin-top: 0.75rem; /* Reduced spacing */
  transition: color 0.3s ease;
  flex-shrink: 0; /* Prevent footer from shrinking */
}
.testimonial-footer img {
  border-radius: 9999px;
  width: 40px; /* Smaller avatar */
  height: 40px; /* Smaller avatar */
  object-fit: cover;
  margin-right: 0.5rem;
  border: 2px solid rgba(255 255 255 / 0.3); /* Thinner border */
  transition: border-color 0.3s ease;
}
.testimonial-card:hover .testimonial-footer img {
  border-color: white;
}

.testimonial-footer div {
  display: flex;
  flex-direction: column;
}
.testimonial-footer h2 {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem; /* Slightly smaller name text */
  transition: color 0.3s ease;
}
.testimonial-footer span {
  font-size: 0.8rem; /* Reduced from 0.875rem to 0.8rem */
  color: #a0aec0;
  transition: color 0.3s ease;
}
.testimonial-card:hover .testimonial-footer h2,
.testimonial-card:hover .testimonial-footer span {
  color: white;
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 4rem) / 3); /* 3 items with 2rem gaps in between */
    max-width: calc((100% - 4rem) / 3);
  }
}

.section-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background-color: #000000ff;
}

.contentWrap {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 35px;
  overflow: hidden;
  flex-wrap: wrap;
}

.image-side {
  flex: 1 1 300px;
  min-height: 300px;
  background-image: url("https://images.unsplash.com/photo-1540206235220-7590996b7a5a?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
}

.text-side {
  flex: 1 1 300px;
  padding: 40px;
  background-color: white;
}

.text-side h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1f2937;
}

.text-side h2 span {
  color: #3b82f6;
}

.text-side p {
  color: #6b7280;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1f2937;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #374151;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-side {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .section-wrapper .contentWrap {
    flex-direction: column;
  }
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 320px;
  margin: 0 auto;
}

/* Tablet */
@media (max-width: 768px) {
  .image-stack {
    left: 30px;
    bottom: 50px;
  }
}

.image-layer {
  position: absolute;
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-layer:hover img {
  transform: scale(1.05);
}

/* First image - back layer (home1.jpg) */
.image-layer:nth-child(1) {
  width: 60%;
  height: 60%;
  top: 50%;
  left: 30%;
  z-index: 1;
  opacity: 0.9;
  padding: 3px;
}

/* Second image - middle layer (home2.jpg) */
.image-layer:nth-child(2) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 0%;
  z-index: 2;
  opacity: 0.95;
  padding: 3px;
}

/* Third image - front layer (home3.jpg) */
.image-layer:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 0;
  right: 0;
  left: auto;
  z-index: 3;
  padding: 3px;
}

/* Hover effects */
.image-stack:hover .image-layer:nth-child(1) {
  transform: translate(30px, 30px) rotate(2deg);
}

.image-stack:hover .image-layer:nth-child(2) {
  transform: translate(-15px, 10px) rotate(-3deg);
}

.image-stack:hover .image-layer:nth-child(3) {
  transform: translate(52px, -12px) rotate(5deg);
}

/* Responsive design */
@media (max-width: 768px) {
  .image-stack {
    height: 250px;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .image-stack {
    height: 200px;
    max-width: 280px;
  }

  .image-layer {
    border-radius: 10px;
  }
}
