:root {
  --bs-primary: #48c1eb;
  --bs-secondary: #ffffff;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-in-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-in-out;
}

/* Navbar */
.navbar-light .nav-link {
  color: var(--bs-primary) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link:focus {
  color: #0056b3 !important;
}

.navbar-light .navbar-brand img {
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.navbar-light .navbar-brand:hover img {
  transform: scale(1.05);
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, #e6f7ff 0%, #b3e5fc 50%, #ffffff 100%);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(72, 193, 235, 0.05);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .lead {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Carousel */
.carousel-item {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #48c1eb, #48c1eb);
  color: white;
  flex-direction: column;
  box-shadow: none;
}

.carousel-item h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  animation: slideInLeft 0.8s ease-in-out;
}

.carousel-item p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  animation: slideInRight 0.8s ease-in-out;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(72, 193, 235, 0.2);
}

.card-body {
  padding: 2rem 1.5rem;
}

.card h5 {
  color: var(--bs-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card:hover .feature-icon {
  transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
  border-radius: 12px;
  background-color: #f8f9fa;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--bs-primary);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(72, 193, 235, 0.15);
}

.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--bs-primary);
  margin-top: 1rem;
}

/* Typography */
h1,
h2,
h3,
.navbar-brand {
  color: var(--bs-primary);
}

h2 {
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--bs-primary),
    transparent
  );
}

/* Colors */
.bg-primary {
  background-color: var(--bs-primary) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2fa8d4;
  border-color: #2fa8d4;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(72, 193, 235, 0.4);
}

.bg-secondary {
  background-color: transparent !important;
}

.text-secondary {
  color: #ffffff !important;
}

/* Section spacing */
section {
  padding: 4rem 0;
}

section.py-5 {
  background-color: #f8f9fa;
}

/* Main content flex */
main {
  flex: 1;
}

/* Footer */
footer {
  background-color: var(--bs-primary) !important;
  color: white;
  padding: 3rem 0 1rem;
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
  opacity: 0.8;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .carousel-item h2 {
    font-size: 1.5rem;
  }

  .carousel-item p {
    font-size: 1rem;
  }

  h2::after {
    width: 40px;
  }
}
