/* =========================================
   GLOBAL
========================================= */
body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color: #0c0c0c;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 12px 0;
  background: transparent;
  transition: all 0.4s ease;
  z-index: 999;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.logo span {
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 8px;
  color: #007bff;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: #0c0c0c;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 10px;
}

/* ===== Improved  Navbar Style ===== */
.navbar .nav-link {
  position: relative;
  color: #0c0c0c;
  font-weight: 500;
  padding: 8px 10px;
  transition: all 0.3s ease;
}

/* Gradient text and underline for active item */
.navbar .nav-link.active {
  background: linear-gradient(90deg, #007bff, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00b4d8);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Hover effect for all links */
.navbar .nav-link:hover {
  color: #007bff;
}

.navbar .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00c6ff, #007bff);
  border-radius: 2px;
}


/* =========================================
   FINAL FIX: MOBILE NAV OVERLAY (HOME PAGE)
========================================= */
@media (max-width: 991px) {

  html, body {
    overflow-x: hidden !important;
  }

  /* Lock scroll when menu open */
  body.menu-open {
    overflow: hidden !important;
    height: 100vh;
  }

  /* Fix navbar overlay alignment issue */
  .navbar-collapse {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw !important;
    height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Ensure header sits above hero video */
  .header {
    z-index: 10000 !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
  }

  /* Center menu items */
  .navbar-nav {
    width: 100%;
    text-align: center;
    align-items: center;
    gap: 15px;
  }

  .navbar-nav .nav-link {
    display: block;
    font-size: 1.3rem;
    padding: 12px 0;
    color: #0c0c0c;
  }

  /* Close button visible on overlay */
  .btn-close {
    position: absolute;
    top: 25px;
    right: 25px;
    display: block !important;
    z-index: 10001;
  }

  /* Prevent home hero section from pushing content */
  body.home #hero {
    padding-top: 0 !important;
    height: 100vh !important;
  }

  /* Ensure no unwanted scrollbars */
  #hero video, #hero {
    overflow: hidden;
  }

}


/* Mobile adjustments */
@media (max-width: 768px) {
  body.home #hero {
    padding-top: 60px;
    height: calc(100vh - 60px);
  }

  /* Center the mobile nav overlay properly */
  .navbar-collapse {
    justify-content: center !important;
    text-align: center;
  }

  .navbar-nav {
    align-items: center;
  }
}


/* =========================================
   HERO SECTION
========================================= */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Background video styling */
#heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Add a dark overlay over the video */
#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* Adjust darkness here */
  z-index: 1;
}

/* Hero content styling */
#hero .container {
  position: relative;
  z-index: 2; /* ensures text is above video and overlay */
}

#hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

#hero h2 {
  font-size: 1.3rem;
  margin-top: 15px;
  opacity: 0.85;
}

.btn-get-started {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn-get-started:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #0056b3, #0088cc);
  color: white;
}

.btn-gradient {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
}
.btn-gradient:hover {
  background: linear-gradient(90deg, #00c6ff, #007bff);
}

#hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

#hero p {
  font-size: 1.1rem;
  margin-top: 15px;
  color: #eaf9ff;
}

#hero .btn-cta {
  margin-top: 25px;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg,#007bff,#00bfff);
  border: none;
  transition: 0.3s;
}

#hero .btn-cta:hover {
  background: linear-gradient(135deg,#0056b3,#0088cc);
  transform: scale(1.05);
  color:white;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 991px) {
  #hero {
    height: 70vh; /* slightly shorter for tablets */
  }
  #hero h1 {
    font-size: 2rem;
  }
  #hero h2 {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  #hero {
    height: 60vh; /* shorter for mobile */
  }
  #hero video {
    object-fit: cover;
    filter: brightness(55%);
  }
  #hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  #hero h2 {
    font-size: 0.9rem;
  }
  #hero .btn-get-started {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

header.header {
      padding: 6px 0 !important; /* Reduced vertical padding */
    }

    .header .logo img {
      height: 32px !important; /* Smaller logo */
      transition: 0.3s ease;
    }

    .navbar-nav .nav-link {
      padding: 6px 10px !important; /* Reduced nav link spacing */
      font-size: 15px !important;
      font-weight: 500;
    }

    .navbar {
      min-height: 50px !important;
    }

    @media (max-width: 992px) {
      header.header {
        padding: 10px 0 !important;
      }
      .header .logo img {
        height: 34px !important;
      }
      .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 12px !important;
      }
    }

/* Gradient text effect */
.text-gradient {
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating decorative elements */
.shape-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}
.shape-1 { width: 140px; height: 140px; top: 15%; left: 10%; background: #0077b6; animation-delay: 0s; }
.shape-2 { width: 100px; height: 100px; bottom: 15%; right: 10%; background: #00b4d8; animation-delay: 2s; }
.shape-line {
  position: absolute;
  width: 2px;
  height: 150px;
  background: linear-gradient(180deg, #0077b6, transparent);
  top: 25%;
  right: 25%;
  opacity: 0.2;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

/* Gradient progress bars */
.bg-gradient {
  background: linear-gradient(90deg, #00b4d8, #0077b6);
}


/* Team card hover */
.team-card {
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Client logos */
.client-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* =========================================
   SECTIONS TITLE
========================================= */
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-title p {
  color: #6c757d;
}

/* =========================================
   SERVICES
========================================= */
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

}

.service-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

/* =========================================
   TEAM
========================================= */
.team .member {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  width: 100%;
}

.team .member:hover {
  transform: translateY(-6px);
}

.team .member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Centering all team cards */
.team .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* =========================================
   SKILLS - IMPROVED VISUAL & PERCENTAGE
========================================= */
.skill-item {
  margin-bottom: 25px;
}

.skill-item .d-flex span:last-child {
  font-weight: 600;
  color: #00b4d8;  /* bright blue to make % visible */
}

.skill-item .progress {
  height: 12px;
  border-radius: 50px;
  background: #e9ecef;
  overflow: hidden;
  position: relative;
}

.skill-item .progress-bar {
  background: linear-gradient(90deg, #00b4d8, #0077b6);
  width: 0;
  height: 100%;
  transition: width 1.6s ease-in-out;
  border-radius: 50px;
  position: relative;
}

/* Optional glowing edge effect */
.skill-item .progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 8px;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(4px);
}

/* Make % always visible and aligned */
.skill-item .progress-text {
  position: absolute;
  right: 10px;
  top: -25px;
  font-size: 0.9rem;
  color: #0077b6;
  font-weight: 600;
}

.portfolio-wrap {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.portfolio-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.portfolio-wrap img:hover {
  transform: scale(1.05);
}

.portfolio-info h6 {
  font-size: 0.95rem;
}

.portfolio-info p {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .portfolio-wrap {
    height: 260px;
  }
  .portfolio-wrap img {
    height: 150px;
  }
}

/* Active filter background color */
  #portfolio-flters li {
    padding: 6px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
  }

  #portfolio-flters li.filter-active {
    background: linear-gradient(90deg, #00c6ff, #007bff);

    color: #fff;
  }

  #portfolio-flters li:hover:not(.filter-active) {
    background-color: rgba(0,123,255,0.1);
  }

  
/* =========================================
   CLIENTS / TESTIMONIALS
========================================= */
.testimonial-item,
.clients .swiper-slide {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontal centering */
  justify-content: center; /* optional: vertical centering if height set */
}

.testimonial-item:hover,
.clients .swiper-slide:hover {
  transform: translateY(-6px);
}

.testimonial-item p {
  color: #555;
}

.testimonial-item strong {
  display: block;
  margin-top: 10px;
}

.clients img {
  max-height: 50px;
  object-fit: contain;
}


/* =========================================
   MAP SECTION
========================================= */
.map-section {
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 40px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* ===== CLIENTS SWIPER TIGHTENING ===== */

/* container spacing */
.clients {
  margin-top: 40px;
  margin-bottom: 60px !important; 
  padding-top: 28px !important;   /* reduce vertical space above */
  padding-bottom: 28px !important;/* reduce vertical space below */
}

/* reduce gap under section title */
.section-title {
  margin-bottom: 100px !important;
}

/* ensure the swiper wrapper doesn't stretch slides to full height */
.clients .swiper,
.clients .swiper-wrapper {
  height: auto !important;
  align-items: center; /* keep contents vertically centered */
}

/* make slides size to content (not full viewport) */
.clients .swiper-slide {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  margin: 0 6px; /* slight horizontal spacing between slides */
}

/* constrain images so slides don't become tall */
.clients .swiper-slide img {
  max-height: 70px;          /* tweak: set desired max height of logos */
  width: auto;
  display: block;
  object-fit: contain;
}

/* responsive: smaller logos on small screens */
@media (max-width: 768px) {
  .clients .swiper-slide img {
    max-height: 48px;
  }
 
  .clients 
  { 
    margin-top: 40px;
    margin-bottom: 40px !important; /* smaller gap on mobile */
    padding-top: 18px !important; 
    padding-bottom: 18px !important; 
  }
}

/* if some other rule sets slides or wrapper to height:100% (defensive) */
.swiper, .swiper-wrapper, .swiper-slide {
  min-height: 0 !important;
  max-height: none !important;
}


/* =========================================
   CONTACT INFO
========================================= */
.contact .info-wrap {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  transition: all 0.3s ease;
}

.contact .info i {
  font-size: 2.2rem;
  color: #007bff;
  margin-bottom: 12px;
}

.contact .info h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.contact .info p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* =========================================
   CONTACT FORM
========================================= */
.contact form {
  width: 100%;
}

.contact form .form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 12px 15px;
  font-size: 0.95rem;
  margin-bottom: 15px;
  transition: border 0.3s;
}

.contact form .form-control:focus {
  border-color: #007bff;
  box-shadow: none;
}

.contact form button {
  background: #007bff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.contact form button:hover {
  background: #0056b3;
  transform: scale(1.05);
  color:white;
}

/* =========================================
   THANK YOU POPUP
========================================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.4s ease;
  max-width: 400px;
  width: 90%;
}

.popup.show {
  transform: scale(1);
  opacity: 1;
}

.popup h3 {
  margin: 15px 0 10px;
  color: #28a745;
}

.popup p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.popup button {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup button:hover {
  background: #218838;
}

/* SVG checkmark style */
.popup .checkmark svg {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: block;
}

.checkmark-circle {
  stroke: #28a745;
  stroke-width: 4;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  fill: none;
  animation: stroke 0.6s forwards ease-in-out 0.2s;
}

.checkmark-check {
  stroke: #28a745;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s forwards ease-in-out 0.8s;
}

@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
  .contact .info {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .breadcrumbs h2 {
    font-size: 1.4rem;
  }

  .contact .info h5 {
    font-size: 0.9rem;
  }

  .contact .info p {
    font-size: 0.85rem;
  }

  .contact form button {
    width: 100%;
  }
}

/* ===== Pricing Cards ===== */
.pricing-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

/* === Featured Cards === */

.pricing-card.featured {
  box-shadow: 0 10px 35px rgba(13,110,253,0.25);
}

/* === Text Styles === */
.pricing-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0d6efd;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card .price-text {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

.text-gradient {
  background: linear-gradient(90deg, #0d6efd, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient color for icons */
.icon-gradient {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* =========================================
   FOOTER
========================================= */
/* Footer Styling */
.footer a {
  color: #007bff;
  text-decoration: none;
}

.footer a:hover {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline;
}

.footer h5 {
  font-size: 1rem;
  letter-spacing: 0.8px;
}

.footer .social-links a:hover {
  color: #0d6efd;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.footer hr {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer .form-control::placeholder {
  color: #ccc;
  font-size: 0.9rem;
}

/* =========================================
   BACK TO TOP
========================================= */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  z-index: 999;
}

.back-to-top:hover {
  background: #0056b3;
  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1200px) {
  #hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  #hero h1 {
    font-size: 2.3rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

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

  .service-card {
    padding: 1.5rem;
  }

  .team .member {
    padding: 15px;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  .service-card {
    padding: 1rem;
  }

  .testimonial-item {
    padding: 1rem;
  }

  .team .member {
    padding: 12px;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer .social-links {
    margin-top: 15px;
  }
}
