/* Landing Page Specific Styles */

/* General styling */
body {
  overflow-x: hidden;
}

/* Hero section */
.hero-section {
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* Hero gradient background */
.hero-gradient {
  background: linear-gradient(135deg, #f4f4f5 0%, #dedfec 100%);
  position: relative;
}

/* Hero text area */
.hero-text {
  padding: 20px 0;
}

.hero-title {
  font-weight: 800;
  line-height: 1.2;
}

.hero-title .highlight {
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  color: rgb(20, 87, 231);
  font-weight: 500;
}

.hero-badge i {
  margin-right: 8px;
  color: #0f0f0f;
}

/* Hero features */
.hero-features {
  color: rgba(6, 96, 156, 0.9);
}

.hero-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #07060e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.hero-feature-text {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Hero carousel and card */
#heroCarousel {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  height: 450px;
  margin: 0 auto;
  width: 90%;
  max-width: 450px;
  border: 8px solid #2b3990;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

/* Carousel controls */
#heroCarousel .carousel-indicators {
  bottom: -30px;
  z-index: 2;
}

#heroCarousel .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

#heroCarousel .carousel-indicators li.active {
  background-color: white;
  width: 10px;
  height: 10px;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  background-color: rgba(19, 18, 18, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#heroCarousel .carousel-control-prev {
  left: 10px;
}

#heroCarousel .carousel-control-next {
  right: 10px;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-card {
    height: 350px;
    margin-top: 30px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-features .d-flex {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-card {
    height: 280px;
  }
}

/* Features section cards */
#features .card {
  transition: all 0.3s ease;
  border: none;
}

#features .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

#features .card i {
  color: #2b3990;
}

/* About section */
#about {
  background-color: #ffffff;
}

/* Login section */
#login {
  background-color: #f8f9fa;
}

#login .card {
  border: none;
  border-radius: 10px;
}

/* Navigation */
.navbar {
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.custom-navbar {
  background-color: rgba(43, 57, 144, 0.95);
}

.navbar.scrolled {
  background-color: rgba(43, 57, 144, 0.98) !important;
  box-shadow: 0 2px 10px rgba(243, 241, 241, 0.2);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.navbar-brand img {
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
}

.brand-text {
  font-weight: 600;
  color: white;
}

.login-btn {
  background-color: rgba(255, 255, 255, 0.89);
  border-radius: 4px;
  margin-left: 10px;
}

/* Hero section */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #007bff;
}

/* Footer styling */
footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Custom animations */
.animate-up {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-section img {
    margin-top: 2rem;
  }
}
