/* ===== Reset and Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
body {
  background: #f8f9fa;
  color: #333;
}
/* ===== Navigation Bar ===== */
nav {
  padding: 7px 30px; /* Reduced vertical padding */
  background: white;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
nav .logo {
  font-size: 24px;
  font-weight: bold;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  font-weight: bold;
}
nav ul li a:hover {
  color: rgb(11, 114, 233);
}
/* Industry Icon Styling */
.industry-icon {
  font-size: 48px;
  color: #0d6efd;
  transition: transform 0.3s ease;
}
.industry-icon:hover {
  transform: scale(1.2);
  color: #063d99;
}
h6 {
  font-weight: 600;
  color: #333;
}
footer .social-icons a {
  transition: color 0.3s ease, transform 0.3s ease;
}
footer .social-icons a:hover {
  color: #0d6efd;
  transform: scale(1.2);
}
/* Service Card Hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
  .service-card img {
    height: 220px;      /* fixed height */
    object-fit: cover;  /* keep image aspect ratio and crop */
  }

/* Default: Desktop and large devices */

/* ===== Mobile (≤576px) ===== */
@media (max-width: 576px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav .logo img {
    height: 40px;
  }

  .card.service-card {
    margin-bottom: 20px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
  }

  footer .row {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center !important;
    margin-top: 10px;
  }

  section h2 {
    font-size: 1.5rem;
  }
}

/* ===== Tablet (≥577px and ≤768px) ===== */
@media (min-width: 577px) and (max-width: 768px) {
  nav ul {
    gap: 20px;
    justify-content: center;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
  }

  .card.service-card {
    margin-bottom: 20px;
  }

  section h2 {
    font-size: 1.75rem;
  }
}

/* ===== Laptop (≥769px and ≤1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  nav ul {
    gap: 30px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-text {
    font-size: 1.05rem;
  }

  .btn {
    font-size: 1rem;
  }

  section h2 {
    font-size: 2rem;
  }
}

/* ===== Desktop (≥1025px) ===== */
@media (min-width: 1025px) {
  .card-title {
    font-size: 1.4rem;
  }

  .card-text {
    font-size: 1.1rem;
  }

  section h2 {
    font-size: 2.2rem;
  }
}

.about-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.2);
}


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  text-decoration: none; /* This removes the underline */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebd59;
  transform: scale(1.1);
}

.facebook i {
  color: #1877F2; /* Facebook Blue */
}

.instagram i {
  color: #E1306C; /* Instagram Pink/Red */
}

.twitter i {
  color: #1DA1F2; /* Twitter Blue */
}

.whatsapp i {
  color: #25D366; /* WhatsApp Green */
}
.social-icons a:hover i {
  opacity: 0.8;
  transform: scale(1.1);
  transition: 0.3s ease;
}

/* ===== Mobile (≤576px) ===== */
@media (max-width: 576px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav .logo img {
    height: 40px;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
  }

  footer .row {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center !important;
    margin-top: 10px;
  }

  section h2 {
    font-size: 1.5rem;
  }
}

/* ===== Tablet (≥577px and ≤768px) ===== */
@media (min-width: 577px) and (max-width: 768px) {
  nav ul {
    gap: 20px;
    justify-content: center;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
  }

  section h2 {
    font-size: 1.75rem;
  }
}

/* ===== Laptop (≥769px and ≤1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  nav ul {
    gap: 30px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-text {
    font-size: 1.05rem;
  }

  .btn {
    font-size: 1rem;
  }

  section h2 {
    font-size: 2rem;
  }
}

/* ===== Desktop (≥1025px) ===== */
@media (min-width: 1025px) {
  nav ul {
    gap: 25px;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-text {
    font-size: 1.1rem;
  }

  section h2 {
    font-size: 2.2rem;
  }
}



