/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #0d4b85;
  /* Reva Blue from Logo/Brief */
  --secondary-color: #d32f2f;
  /* Professional Red */
  --accent-color: #00bcd4;
  /* Teal/Light Blue */
  --text-color: #333333;
  --bg-light: #f4f6f8;
  --white: #ffffff;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.subtitle,
.navbar-item {
  font-family: 'Poppins', sans-serif;
}

/* Navbar Customization */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
  padding: 0.5rem 0;
}

.navbar-brand img {
  max-height: 3.5rem;
  /* Larger logo */
}

.navbar-item.is-active,
.navbar-link.is-active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: transparent;
  transition: all 0.3s ease;
}

.button.is-primary:hover {
  background-color: #0a3a6b;
  /* Darker blue */
  box-shadow: 0 4px 10px rgba(13, 75, 133, 0.4);
}

.button.is-secondary {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.button.is-secondary:hover {
  background-color: #b71c1c;
  color: white;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);
}

/* Hero Section */
.hero-bg {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0072bc 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

.hero-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem !important;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2rem !important;
}

/* Services/Cards */
.card-service {
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-service .card-image img {
  border-radius: 12px 12px 0 0;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.card-service .content {
  padding: 1.5rem;
  flex-grow: 1;
}

.service-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 1.5rem;
}

.footer-custom a {
  color: #aeddf5;
  transition: color 0.2s;
}

.footer-custom a:hover {
  color: var(--white);
}

.footer-custom p.title {
  color: var(--white);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  /* Prevent wrapping so it works as a slider */
  transition: transform 0.5s ease-in-out;
  width: 100%;
  /* Ensure track takes full width */
}

/* 
   We will show 3 items on desktop, so each item should be roughly 33.333% width.
   Using flex-basis or explicit width on the column inside the track 
*/
.carousel-track .column {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 0.75rem;
  /* Maintain column padding */
}

@media screen and (max-width: 1023px) {
  .carousel-track .column {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .carousel-track .column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.2s;
}

.carousel-button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}