:root {
  --primary-color: #1d4f66; /* Dark navy blue */
  --primary-dark: #163a4c; /* Darker navy blue */
  --secondary-color: #2e7d9a; /* Medium blue for secondary */
  --accent-color: #5aafca; /* Light blue accent */
  --success-color: #38b000;
  --warning-color: #f48c06;
  --danger-color: #e5383b;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --body-bg: #f8f9fa;
  --text-color: #343a40;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.navbar {
  padding: 0.7rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--primary-color);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.navbar-brand img {
  height: 60px; /* Increased from default size */
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff; /* Changed to pure white */
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, white 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: 0;
  width: 100%;
  height: 10%;
  background: var(--body-bg);
  transform: skewY(-2deg);
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-logo {
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
  margin-bottom: 1rem;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
}

.feature-card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background-color: white;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* App Screenshots */
.app-screenshots {
  padding: 5rem 0;
  background-color: #f3f4f6;
}

.screenshot-carousel {
  padding: 2rem 0;
}

.screenshot-carousel .carousel-item img {
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  max-height: 600px;
  margin: 0 auto;
}

/* Download Section */
.download-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, white 100%);
  color: white;
  text-align: center;
}

.download-buttons {
  margin-top: 2rem;
}

.download-buttons .btn {
  margin: 0 0.5rem 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.download-badge {
  height: 50px;
  margin: 0 0.5rem 1rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background-color: white;
  margin-bottom: 2rem;
}

.testimonial-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-rating {
  color: var(--warning-color);
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: #f3f4f6;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(29, 79, 102, 0.1); /* Dark navy blue with opacity */
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(29, 79, 102, 0.25); /* Dark navy blue with opacity */
}

/* Dashboard */
.dashboard-container {
  padding-top: 5rem;
  min-height: calc(100vh - 100px);
}

.sidebar {
  position: fixed;
  top: 56px;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-color);
}

.nav-link.active {
  color: var(--primary-color);
}

.dashboard-content {
  margin-left: 240px;
  padding: 2rem;
}

/* Auth Forms */
.auth-container {
  max-width: 500px;
  margin: 8rem auto 3rem;
}

.auth-card {
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  background-color: white;
}

/* Coming Soon Section */
.coming-soon-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.coming-soon-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%231d4f66" stroke-width="1" stroke-opacity="0.1"/></svg>') repeat;
  opacity: 0.4;
  z-index: 0;
}

.coming-soon-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.coming-soon-form {
  margin: 2rem 0;
}

.badge.bg-primary {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.coming-soon-footer {
  margin-top: 1.5rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

/* Footer Improvements */
footer img {
  height: 50px; /* Increased from default size */
}

footer .text-white-50 {
  color: rgba(255, 255, 255, 0.85) !important; /* Improved contrast */
}

footer h5 {
  color: #ffffff;
  margin-bottom: 1.2rem;
}

footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

/* Back Button Styles */
.back-button {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  color: var(--primary-dark);
  transform: translateX(-5px);
}

.back-button i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.back-navigation {
  padding: 1rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 6rem 0 3rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    margin-top: 3rem;
  }
  
  .dashboard-content {
    margin-left: 0;
  }
  
  .sidebar {
    position: static;
    padding: 0;
    box-shadow: none;
  }
  
  .sidebar-sticky {
    height: auto;
    position: static;
  }
  
  .coming-soon-card {
    padding: 2rem;
  }
}