/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap');

/* Base Typography */
body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  color: #212529;
  background-color: #fff;
  line-height: 1.6;
}

/* Flat Design Reset */
.card,
.btn,
.input-group,
.form-control,
.navbar,
.dropdown-menu {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Button Hover Effect */
.btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover {
  background-color: #198754 !important;
  color: #fff !important;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid #dee2e6;
}
.navbar-transparent {
  background-color: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand, .nav-link {
  color: #198754 !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* Sidebar */
.sidebar {
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
  transition: transform 0.3s ease;
}
.sidebar a {
  color: #212529;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
}
.sidebar a:hover {
  background-color: #e9ecef;
}

/* Collapsed Sidebar for Mobile */
.sidebar.collapsed {
  transform: translateX(-100%);
}
.sidebar.show {
  transform: translateX(0);
  z-index: 1050;
}

/* Main Content */
.main-content {
  padding: 80px 20px 20px;
  transition: margin-left 0.3s;
}
@media (min-width: 768px) {
  .main-content {
    margin-left: 220px;
  }
}
@media (max-width: 767px) {
  .main-content {
    margin-left: 0;
  }
}

/* Profile Image */
.profile-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

/* Clickable Cards */
.clickable-card {
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.clickable-card:hover {
  background-color: #e9ecef !important;
}

/* Scroll Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animations Triggered by Scroll */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Testimonials */
.testimonial-card {
  background-color: #f1f1f1;
  border-left: 4px solid #0d6efd;
  padding: 1rem;
  margin-bottom: 1rem;
}





/* Footer */
footer {
  background-color: #f8f9fa;
  padding: 40px 0;
  font-size: 0.9rem;
  border-top: 1px solid #dee2e6;
}

/* Section Padding */
.section {
  padding: 60px 0;
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Utility overrides */
.text-muted-small {
  font-size: 0.875rem;
  color: #6c757d;
}
.badge-pill {
  border-radius: 50rem !important;
}

.hero {
  background: #f0f0f0;
  padding: 80px 0 40px;
}

.icon-box {
  font-size: 2rem;
  color: rgb(25, 135, 84);
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slide[style] {
  background-image: none !important;
}

.hero-slide:nth-child(1) {
  background-image: url('../img/homepage_bg.jpg');
}
.hero-slide:nth-child(2) {
  background-image: url('../img/servicespage_bg.jpg');
}

.hero-overlay {
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

/* Login Form */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
}

.form-control {
  border-radius: 0;
  border: 1px solid #ced4da;
}

.btn-success {
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.btn-success:hover {
  background-color: #157347;
}

.form-label {
  font-weight: 600;
}

.form-text {
  font-size: 0.9rem;
}


/* Sign Up Form */
.signup-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-box {
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
}


/* Whatsapp Icon */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}