body {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  height: 50px;
  width: 50px;
  padding: 6px;
  background: white;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.1);
}

/* Navbar */
.custom-nav {
  background: rgba(56, 58, 81, 0.85); /* semi-transparent for a modern feel */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.custom-nav .nav-link {
  color: #f8f9fa !important;
  font-weight: 500;
  transition: color 0.3s;
}

.custom-nav .nav-link:hover {
  color: #0d6efd !important;
}

.custom-nav .btn-outline-light {
  border: 2px solid #f8f9fa;
  color: #f8f9fa;
  transition: all 0.3s ease;
}

.custom-nav .btn-outline-light:hover {
  background: #0c4e9a;
  border-color: #0c4e9a;
  color: #fff;
}

/* Hero */
.hero-section {
  background: linear-gradient(120deg, #0f172a, #0c4e9a);
  padding-top: 10em; 
  padding-bottom: 14em;
}

.hero-section .btn {
  padding: 0.5rem 1.5rem; 
  font-size: 0.9rem;
  min-width: 120px; 
  white-space: nowrap; 
}

/* Flex layout for mobile */
.hero-section .d-flex {
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 0.5rem;
}

/* On larger screens, keep original bigger buttons */
@media (min-width: 768px) {
  .hero-section .btn {
    padding: 0.75rem 2.5rem; 
    font-size: 1rem;
    min-width: auto; 
  }

  .hero-section .d-flex {
    justify-content: flex-start; 
    gap: 1rem;
  }
}

/* Optional animation */
.hero-img {
  animation: float 6s ease-in-out infinite;
  max-height: 350px;
  width: auto;
  border-radius: 15px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  max-width: 700px;
  margin: auto;
  color: #555;
  font-size: 1.1rem;
}

/* Services */
.service-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

/* Team */
.team-card {
  background: #e9ecef;
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.contact-info-card,
.contact-form-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  height: 100%;
}

.contact-info-card i {
  color: #0d6efd;
  margin-right: 8px;
}

.map-box iframe {
  border-radius: 12px;
}

.input-group-text {
  background: #0d6efd;
  color: #fff;
  border: none;
}

.form-control,
.form-select {
  border-left: none;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

/* Footer */
.footer {
  background: #383a51;
  color: #ccc;
  text-align: center;
  padding: 25px 0;
}

.btn-primary {
  background: #0c4e9a;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #1e6fd6; 
}

.about-card {
  background: #e9ecef;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  transition: 0.3s ease;
  height: 100%;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-card i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
  display: inline-block;
}

.about-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Center About section content on small screens */
@media (max-width: 991px) {

  .about-section {
    text-align: center;
  }

  .about-section .btn {
    display: inline-block;
  }

  .about-card {
    text-align: center;
  }

  .about-card i {
    display: block;
    margin: 0 auto 10px;
  }
}

.c-text {
  color: #0c4e9a;
}

.co-text {
  color: #4a4c5f;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.bg-shape {
  z-index: 0;
}
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
}
.team-img {
  object-fit: cover;
}

.text-primary {
  color: #0e3261!important;
}
