/* Transparent header      */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
 background-color: rgb(0, 0, 0);

}

/* Navbar becomes solid on scroll */
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}
.log {
width: 110px;
height: 60px;
border-radius: 35%;
}

.navbar-nav .nav-link {
  color: white;
  margin-right: 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white;
  background-color: #0d6efd;
  border-radius: 20px;
  padding: 6px 15px;
  transition: 0.3s;
}

.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.8);
}

.dropdown-item {
  color: white;
}

.dropdown-item:hover {
  background-color: #0d6efd;
}

/* Carousel section */
/* Carousel background with dark overlay */
.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}



/* Slides with overlay + background */
.carousel-item.slide1 {
  background: linear-gradient(rgba(3,5,27,0.6), rgba(3,5,27,0.6)), url('../images/ser4.jpg');
}

.carousel-item.slide2 {
  background: linear-gradient(rgba(3,5,27,0.6), rgba(3,5,27,0.6)), url('../images/ser8.jpg');
}

.carousel-item.slide3 {
  background: linear-gradient(rgba(3,5,27,0.6), rgba(3,5,27,0.6)), url('../images/im9.jpg');
}

.carousel-item.slide4 {
  background: linear-gradient(rgba(3,5,27,0.6), rgba(3,5,27,0.6)), url('../images/im5.jpg');
}

.carousel-item.slide5 {
  background: linear-gradient(rgba(3,5,27,0.6), rgba(3,5,27,0.6)), url('../images/im8.jpg');
}

/* Caption styling */
.carousel-caption {
  bottom: 40%;
  margin-top: 25px;
}

.carousel-caption h2 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.carousel-caption p {
  font-size: 1.3rem;
  margin-top: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.btn {
  margin-top: 15px;
  border-radius: 30px;
  padding: 10px 25px;
}

/* Scrollable content section */
.content {
  height: 100vh;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #333;
}
.carousel-caption {
  
  border-radius: 10px;
  padding: 15px 20px;
  display: inline-block;
}



/* -----------------------------------------------------
 


/* About Section Styling */
.about-section {
  background-color: #f8f9fa; /* light background */
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  color: #03051b;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Video styling */
.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
}

/* Flip Card Section */
.flip-card-section {
  background: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #03051b;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

/* Flip Card Container */
.flip-card {
  background: transparent;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  overflow: hidden;
}

/* Front Side */
.flip-card-front {
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-front .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Back Side */
.flip-card-back {
  background: linear-gradient(135deg, #03051b, #2a2d6a);
  color: #fff;
  transform: rotateY(180deg);
  padding: 30px 15px;
}

.flip-card-back h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.flip-card-back ul li {
  margin-bottom: 8px;
  font-size: 1rem;
 text-align: left;
}

/* ---------- About Section ---------- */
.about-section {
  background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
  color: #333;
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: #222;
}

.section-title span {
  color: #0d6efd;
}

.section-subtitle {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

/* Feature Boxes */
.features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.feature-box .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 15px;
}

.feature-box h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-box p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}
.ani{
  border-radius:50%;
  margin-top: 20%;
  margin-left: 30%;
  width:60%;
  height:70%;
}

/* ---------- Our Process Section ---------- */
/* ---------- Our Process Section ---------- */
.process-section {
  position: relative;
  color: #0b0808;
  
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #03051b;
  margin-bottom: 30px;
}

.process-section .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0a0909;
}
.orp{
  color:white;
}

.process-card {
  background: rgba(19, 16, 7, 0.08);
  border: solid 2px white;
  border-radius: 15px;
  padding: 30px 15px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(152, 146, 190, 0.2);
  position: relative;
  overflow: hidden;
  width:100%;
  height:100%;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(45deg, #0d6efd, #00d4ff);
  opacity: 0.1;
  transition: width 0.4s ease;
}

.process-card:hover::after {
  width: 100%;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(158, 27, 27, 0.3);
}

.icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #00d4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  transition: transform 0.4s ease;
}

.process-card:hover .icon-box {
  transform: rotate(360deg) scale(1.1);
}

.process-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
}

.process-card p {
  font-size: 0.9rem;
  color: #dfe4ea;
  margin: 0;
}

/* Fade-in animation on scroll */
.process-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.process-card.show {
  opacity: 1;
  transform: translateY(0);
}

.flip-btn:hover {
  border-radius: 20px;
  background: linear-gradient(135deg, #ae0a61a4, #000000);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 91, 255, 0.4);
  color: #fff;
  padding:5px;
}
/* ---------- Clients Section ---------- */
/* ---------- Clients Section (Isolated) ---------- */
.clients-section {
  background: linear-gradient(rgba(3,5,27,0.7), rgba(3,5,27,0.7)),
            url("../images/ani2.gif") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

/* Scoped title style */
.clients-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

/* Logo Slider (scoped) */
.clients-section .client-slider {
  position: relative;
  overflow: hidden;
  height: 120px;
}

/* Use unique class names to prevent conflicts */
.clients-section .client-slide-track {
  display: flex;
  width: calc(250px * 20); /* width = logo width * number of slides */
  animation: clients-scroll 25s linear infinite;
}

.clients-section .client-slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-section .client-slide img {
  width: 140px;
  height: 80px;
  opacity: 1;
  transition: all 0.3s ease;
}

.clients-section .client-slide img:hover {
  transform: scale(1.05);
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
              url("../images/im10.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
}

.contact-form, .contact-info {
  background:#03051b;
  border-radius: 15px;
  backdrop-filter: blur(8px);
}

.form-control {
  background: rgba(255, 255, 255, 0.973);
  border: none;
  color: #140c44;
}

.form-control::placeholder {
  color: #ddd;
}

.form-control:focus {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.invalid-feedback {
  color: #ffb3b3;
  font-size: 0.85rem;
  display: none;
}

.is-invalid + .invalid-feedback {
  display: block;
}

.btn-primary {
  background: linear-gradient(45deg, #0d6efd, #00d4ff);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #00d4ff, #0d6efd);
  transform: translateY(-2px);
}

.contact-info i {
  color: #00d4ff;
}

/* ---------- Footer Section ---------- */
.footer-section {
  background: linear-gradient(rgba(3,5,27,0.9), rgba(3,5,27,0.9)),
              url("../images/im8.jpg") center/cover no-repeat;
  position: relative;
  color: #fff;
  font-size: 0.95rem;
}

.footer-section .footer-logo {
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  
}

.footer-section .footer-links li {
  margin-bottom: 8px;
}

.footer-section .footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section .footer-links a:hover {
  color: #00d4ff;
  padding-left: 4px;
}

.footer-section .social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #00d4ff;
  line-height: 35px;
  text-align: center;
  margin-right: 8px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
  background: #00d4ff;
  color: #fff;
  transform: translateY(-3px);
}

.footer-section hr {
  border-color: rgba(255,255,255,0.2);
}
.fimg{
border-radius: 30px;
  }

  /* ---------- Flip Card Button (Fixed Bottom) ---------- */
.flip-card-back {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.flip-card-back .flip-btn {
  position: absolute;
  bottom: 15px;             /* keeps same bottom position for all cards */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #2a2d6a;
  text-decoration: none;
  padding: 8px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.flip-card-back .flip-btn:hover {
  background: linear-gradient(135deg, #2a2d6a, #03051b);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}




/* === FIX HEADER OVERLAP === */
body {
  padding-top: 85px !important; /* match your header height exactly */
}

/* Adjust banner if needed */
.services-banner {
  margin-top: 0 !important;
}

/* Smooth scroll fix */
:target {
  scroll-margin-top: 90px;
}

/* Unique animation keyframes */
@keyframes clients-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}






/* Medium devices (tablets, landscape phones, 768px and up) */
@media (max-width: 991px) {
  .carousel-item {
    height: 80vh;
  }

  .carousel-caption {
    bottom: 25%;
    padding: 0 20px;
  }

  .carousel-caption h2 {
    font-size: 2.2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Small devices (portrait tablets and large phones, 600px and down) */
@media (max-width: 767px) {
  .carousel-item {
    height: 70vh;
  }

  .carousel-caption {
    bottom: 20%;
    text-align: center;
    padding: 0 15px;
  }

  .carousel-caption h2 {
    font-size: 1.8rem;
  }

  .carousel-caption p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

/* Extra small devices (phones < 480px) */
@media (max-width: 480px) {
  .carousel-item {
    height: 60vh;
  }

  .carousel-caption {
    bottom: 15%;
    padding: 0 10px;
  }

  .carousel-caption h2 {
    font-size: 1.4rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 6px 15px;
    font-size: 0.85rem;
  }
}


