@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
@import url(https://fonts.googleapis.com/css?family=Arimo:300,400,400italic,700,700italic);
    /* Carousel Styling */
    .carousel-item {
      position: relative;
      height: 400px;
    }
    .carousel-item img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem 2rem;
  color: #fff;
  text-align: center;
  z-index: 10;
  width: auto;  /* optional: shrink wrap */
  max-width: 90%; /* prevent overflow */
}

.carousel-caption {
  padding-left: 2rem;
  padding-right: 2rem;
}
.carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 1rem 2rem;
}

    .carousel-caption h5 {
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
    }
    .carousel-caption p {
      margin-bottom: 0;
      font-size: 1rem;
    }

    /* Navbar Styling */
  body {
    margin: 0;
    padding: 0;
  font-family: 'Roboto', sans-serif;
  }

  .navbar {
    background-color: #003366;
  }

  .navbar .nav-link,
  .navbar .navbar-brand {
    color: white !important;
  }

  .navbar .dropdown-menu {
    background-color: #002855;
    margin-left: -10px; /* Shifts all dropdowns slightly to the left */
    z-index: 1050; /* Ensure dropdowns appear above other elements */
  }

  .navbar .dropdown-item {
    color: white;
  }

  .navbar .dropdown-item:hover {
    background-color: #004080;
  }

  .dropdown-submenu {
    position: relative;
  }
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
}

.dropdown-submenu.show > .dropdown-menu {
  display: block;
}

  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
  display: none;
  position: absolute;	
  }
.dropdown-submenu > .dropdown-menu.show {
  display: block;
  position: static; /* Works better for mobile inside collapsing nav */
}
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu.dropdown-left > .dropdown-menu {
    left: auto;
    right: 100%;
  }

.contact-menu.dropdown-left .dropdown-menu {
  left: auto;
  right: 0;
  margin: 0;
}
.navbar-nav {
  overflow: visible;
}

  @media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
      left: 100% !important;
      right: auto !important;
      margin-left: 0 !important;
    }

    .dropdown-submenu.dropdown-left > .dropdown-menu {
      left: auto !important;
      right: 100% !important;
    }
  }

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
  z-index: 1000;
}

.dropdown-submenu.show > .dropdown-menu {
  display: block;
}

@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    background-color: #002855; /* match your theme */
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu > a::after {
    content: " ▸";
    float: right;
  }
}

@media (max-width: 991px) {
  /* Sub-menu (first level under main menu) */
  .navbar-nav .dropdown-menu {
    margin-left: 16px; /* ≈ 2 characters */
  }

  /* Sub-sub-menu (nested inside sub-menu) */
  .navbar-nav .dropdown-menu .dropdown-menu {
    margin-left: 32px !important; /* ≈ 4 characters - further right */
    margin-top: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: auto !important;
  }
}
/* Services Section */
.features i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  color: #007bff;
}
.features h3 {
  margin-top: 10px;
  font-weight: 600;
}
.features p {
  font-size: 0.95rem;
}
.features a {
  color: inherit;
  text-decoration: none;
}
.features a:hover {
  text-decoration: none;
  color: #0056b3;
}
.service-box {
  display: block;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
  height: 100%;
}

.service-box:hover {
  background-color: #f8f9fa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-box i {
  font-size: 36px;
  margin-bottom: 10px;
  color: #007BFF;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  max-width: 900px; /* Wider than Bootstrap's default */
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}
}

.service-box {
  text-decoration: none;
  color: inherit;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background-color: orange;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  font-size: 32px;
  color: white;
}

.service-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0056d2;
  text-decoration: underline;
}

.service-link {
  font-size: 14px;
  color: #0056d2;
}

/* Hero Section CSS */
.hero-section {
  background: #2c003e; /* Navy blue - change as you like */
  min-height: 60vh;    /* Reduced height */
  padding: 40px 20px;
}

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

.hero-section p {
  font-size: 1.2rem;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* Portfolio Section */
.portfolio-section .card-img-top {
  height: 180px;
  object-fit: cover;
}

.portfolio-section .card {
  transition: transform 0.3s ease;
}

.portfolio-section .card:hover {
  transform: scale(1.03);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
}
.whatsapp-float img {
  width: 100%;
  height: auto;
}

.service-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card a {
  color: #000;
  text-decoration: none;
  display: block;
}

.service-card h4 {
  color: #007BFF;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.service-card:hover {
  background-color: #e9f3ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-indicators [data-bs-target] {
  background-color: #007BFF;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}
footer {
  padding-top: 20px;
  padding-bottom: 30px;
}

/* Force short carousel height for the services section */
/* Shrink service slider section height */
#serviceCarousel {
  max-height: 360px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border: none; /* or any visible color */
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 10px;
    
}
  
#serviceCarousel .carousel-item {
  height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border: none;  /* Make the border clearly visible */
  border-radius: 8px;
  padding: 0;
  background-color: #fff;

}

#serviceCarousel .service-card {
  border: 3px solid #007BFF; /* Or any other distinct color */
  border-radius: 8px;
  padding: 15px;
  background-color: #fff;
  height: 100%;
  box-shadow: none;
}

.service-card {
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  height: 100%;
  margin-bottom: 0;
}

.carousel-indicators {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section.container,
.container-fluid,
.row {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#webservices h2 {
  font-size: 2rem;
  font-weight: 700;
}

#webservices h5 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #6c757d;
}

#webservices p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
        /* Make all headers in this section smaller and blue */
        .blog-single h1, 
        .blog-single h2, 
        .blog-single h3, 
        .blog-single h4, 
        .blog-single h5, 
        .blog-single h6 {
            color: #0000FF !important;
            font-size: 1.25rem; /* smaller than default */
            margin-bottom: 0.75rem;
        }
        .blog-single p, .blog-single .blog-content {
            color: #0000FF;
        }
        /* Back button styling */
        .back-btn {
            background-color: #FFD700;
            color: #0000FF;
            font-weight: bold;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
        }
        .back-btn:hover { text-decoration: none; opacity: .95; }
