* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
  background-color: #f8f9fa;
}

/* Utilities */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.text-primary {
  color: #2C56B2 !important;
}

.bg-primary {
  background-color: #2C56B2 !important;
}

.btn-primary {
  background-color: #2C56B2;
  border-color: #2C56B2;
}

.btn-primary:hover {
  background-color: #22448D;
  border-color: #22448D;
}

.btn-outline-primary {
  color: #2C56B2;
  border-color: #2C56B2;
}

.btn-outline-primary:hover {
  background-color: #2C56B2;
  color: #fff;
}

/* Header */
.navbar-brand img {
  width: 180px; /* Desktop width */
  transition: width 0.3s ease;
}

@media (max-width: 991px) {
  .navbar-brand img {
    width: 140px; /* Mobile/Tablet width */
  }
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: #2C56B2 !important;
}

.dropdown-menu {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dropdown-item:hover {
  background-color: rgba(44, 86, 178, 0.1);
  color: #2C56B2;
}

/* Hover Dropdown for Desktop */
@media all and (min-width: 992px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeDropdown 0.3s ease forwards;
  }
}

@keyframes fadeDropdown {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Home Swiper Styles */
.HomeSwiper {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.homeSwiperSlider,
.mySwiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.slide-1 {
  background-image: url('../img/slider01.jpg');
}

.slide-2 {
  background-image: url('../img/slider02.jpg');
}

.slide-3 {
  background-image: url('../img/slider03.jpg');
}

.HomeSwiper__overlay {
  z-index: 2;
  pointer-events: none;
}

.HomeSwiper__overlay .container {
  pointer-events: auto;
}

.swiper-pagination {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Cards & Interactions */
.custom-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 1rem;
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.blog-card .card-title {
  transition: color 0.3s ease;
}

.blog-card:hover .card-title {
  color: #2C56B2 !important;
}

.hover-opacity-100 {
  transition: opacity 0.3s ease;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .HomeSwiper__overlay h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
}

/* Responsive Images */
.about-img { height: 500px; }
.service-img { height: 250px; }
.blog-img { height: 220px; }

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .HomeSwiper__overlay h1 {
    font-size: 2.5rem;
  }
  .about-img { height: 350px; }
  .service-img { height: 200px; }
  .blog-img { height: 180px; }
}

/* Pastel Background Classes */
.bg-pastel-blue { background-color: #f4f8ff !important; }
.bg-pastel-green { background-color: #f2fcf5 !important; }
.bg-pastel-orange { background-color: #fff8f0 !important; }
.bg-pastel-purple { background-color: #fcf4ff !important; }
.bg-pastel-pink { background-color: #fff4f8 !important; }
.bg-pastel-teal { background-color: #f2ffff !important; }
.bg-pastel-yellow { background-color: #fffffa !important; }
.bg-pastel-red { background-color: #fff4f4 !important; }

/* Industry Sector Cards - Trending Design */
.industry-card {
  border: 1px solid rgba(0,0,0,0.05) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 86, 178, 0.03) 0%, rgba(44, 86, 178, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-15px) scale(1.02);
  z-index: 10;
  box-shadow: 0 25px 50px rgba(44, 86, 178, 0.12) !important;
  border-color: rgba(44, 86, 178, 0.2) !important;
}

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

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(44, 86, 178, 0.1) 0%, rgba(44, 86, 178, 0.05) 100%);
  color: #2C56B2;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.industry-card:hover .icon-box {
  background: linear-gradient(135deg, #2C56B2 0%, #22448D 100%);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(44, 86, 178, 0.2);
}

/* Move to Top Button */
.move-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.move-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.move-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(44, 86, 178, 0.3) !important;
}

.whatsappConnect {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsappConnect img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsappConnect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}
