/* css/wcss.css */

/* --- GLOBAL STYLES & VARIABLES --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

:root {
  --bs-primary-rgb: 0, 123, 255;
  --bs-dark-rgb: 27, 58, 87;
  --bs-secondary-rgb: 32, 201, 151; /* Teal Accent Color */
}

body {
  font-family: 'Lato', sans-serif;
  overflow-x: hidden; /* NEW: Prevents scrollbar from AOS animations */
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* ... rest of your CSS file remains the same ... */

.section-title {
    font-weight: 700;
    color: rgb(var(--bs-dark-rgb));
}

.btn-primary {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.4);
}

#mainNavbar {
    transition: background-color 0.4s ease-out, box-shadow 0.4s ease-out;
    background-color: transparent;
}

#mainNavbar.scrolled {
    background-color: rgb(var(--bs-dark-rgb));
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link {
    position: relative;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: auto;
    width: 80%;
    height: 2px;
    background-color: rgb(var(--bs-secondary-rgb));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: #ffffff;
}

.carousel-item {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 58, 87, 0.7);
}

#slide0 { background-image:url("../images/header-img.jpeg"); }
#slide1 { background-image:url("../images/header-img2.jpeg"); }
#slide2 { background-image:url("../images/header-img3.jpeg"); }
#slide3 { background-image:url("../images/header-img4.jpeg"); }

#about h3 i {
  color: rgb(var(--bs-secondary-rgb));
}

.vision-mission-img {
  width: 300px;
  height: 230px;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 15px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  animation: soft-float 3s ease-in-out infinite;
}

@keyframes soft-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 0;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: rgb(var(--bs-secondary-rgb));
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: translateY(-5px) scale(1.1);
}

.ServicesImg {width: 100%;}
.ServicesImg img {width: 100%; height: auto; object-fit: cover; object-position: 50% 50%}

footer {
    background-color: rgb(var(--bs-dark-rgb));
}

@media (max-width: 991.98px) {
  #mainNavbar {
    background-color: rgb(var(--bs-dark-rgb));
  }
}