html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Primary Brand Colors */
:root {
  --primary-blue: #0066cc;
  --primary-dark-blue: #004499;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: #333;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hero Section Styles */
.hero-section {
  padding: 3rem 0;
}

.hero-section h1 {
  line-height: 1.2;
}

.hero-section .btn {
  font-weight: 500;
  padding: 0.75rem 2rem;
}

.btn-primary {
  background-color: #0066cc;
  border-color: #0066cc;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #004499;
  border-color: #004499;
}

.btn-outline-primary {
  color: #0066cc;
  border-color: #0066cc;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #0066cc;
  border-color: #0066cc;
}

/* Features Section */
.features-section {
  padding: 3rem 0;
}

.features-section h2 {
  color: #0066cc;
  margin-bottom: 2rem;
  font-weight: 700;
}

.card {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15) !important;
}

.card-title {
  color: #0066cc;
  font-weight: 600;
}

/* Services Preview */
.services-preview h2 {
  color: #0066cc;
  font-weight: 700;
  margin-bottom: 2rem;
}

.service-item {
  background-color: var(--light-gray);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-item:hover {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.service-item h5 {
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-item p {
  color: #666;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.cta-section h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section .btn-light {
  font-weight: 600;
  padding: 0.75rem 2rem;
}

.cta-section .btn-light:hover {
  background-color: #f0f0f0;
}

/* Logo Styles */
.navbar-brand img {
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-height: 50px;
}

.navbar-brand:hover img {
  opacity: 0.8;
  transform: scale(1.05);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

/* Navbar Enhancements */
.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.navbar-light .nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-light .nav-link:hover {
  color: #0066cc !important;
}

.navbar-light .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0066cc;
  transition: width 0.3s ease;
}

.navbar-light .nav-link:hover::after {
  width: 100%;
}

/* Footer Enhancements */
footer {
  padding: 2rem 0;
  font-size: 0.95rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-radius: 8px 8px 0 0;
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.95;
  margin-bottom: 0;
}

/* Form Styles */
.form-control {
  border-color: #e9ecef;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.form-label {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .features-section {
    padding: 2rem 0;
  }

  .page-header {
    padding: 2rem 0;
  }
}