/* Base */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f5f5;
}

.primary-color { color: #08224c; }
.secondary-color { color: #fae14d; }

/* Announcement & Navigation */
.announcement {
  background-color: #fae14d;
  padding: 0.75rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1001;
}

.announcement a {
  color: #08224c;
  text-align: center;
  display: block;
  font-weight: 600;
}

.announcement .learn-more {
  text-decoration: underline;
  margin-left: 0.5rem;
}

.navbar {
  background-color: #08224c;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.announcement + .navbar {
  top: 45px;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 30px;
  margin-right: 0.5rem;
}

.nav-link {
  color: #fff;
  font-size: 1.1rem;
  margin-left: 1.5rem;
}

.nav-link:hover {
  color: #fae14d;
}

.navbar-toggler {
  border-color: #fff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .announcement {
      position: relative;
  }
  
  .navbar {
      position: relative;
  }
  
  .announcement + .navbar {
      top: 0;
  }

  .navbar-nav {
      text-align: center;
  }

  .nav-link {
      margin-left: 0;
  }

  .navbar-brand,
  .navbar-toggler {
      padding: 0 15px;
  }

  .hero-section {
      padding-top: 2rem;
  }
}

/* Sections */
.hero-section {
  background-color: #08224c;
  color: #fff;
  padding: 8rem 0 4rem;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.5rem;
}

.services-section {
  padding: 6rem 0;
}

.services-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.services-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-section p {
  font-size: 1.1rem;
  color: #555;
}

.about-section {
  background-color: #08224c;
  color: #fff;
  padding: 6rem 0;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-section p {
  font-size: 1.1rem;
}

.integrations-section {
  padding: 6rem 0;
}

.integrations-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1.5rem;
}

.integration-item {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: background-color 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integration-item:hover {
  background-color: #08224c;
  color: #fff;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: #fae14d;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #08224c;
}

.contact-section .contact-info {
  color: #08224c;
}

.contact-section .contact-info p {
  font-size: 1.1rem;
}

.contact-section .contact-notes {
  background-color: #ff0000;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  margin-bottom: 40px;
}

.contact-section .contact-notes h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.contact-section .quote-form {
  background-color: #08224c;
  border-radius: 1rem;
  padding: 2rem;
  color: #fff;
}

.contact-section .quote-form h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.contact-section .quote-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-section .quote-form .form-control {
  height: 40px;
  border-radius: 0.5rem;
  background-color: #fff;
  border-color: #fff;
  color: #08224c;
}

.contact-section .quote-form .btn-primary {
  background-color: #fae14d;
  border-color: #fae14d;
  color: #08224c;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
}

.contact-section .quote-form .btn-primary:hover,
.contact-section .quote-form .btn-primary:active {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
  color: #08224c;
}

/* Footer */
.footer {
  background-color: #08224c;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer .footer-form {
  margin-bottom: 1rem;
}

.footer .footer-form .form-group {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0;
}

.footer .footer-form .form-control {
  height: 40px;
  border-radius: 20px;
  background-color: #08224c;
  border-color: #fff;
  color: #fff;
}

.footer .footer-form .btn-secondary {
  background-color: #fae14d;
  border-color: #fae14d;
  color: #08224c;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
}

.footer .footer-form .btn-secondary:hover,
.footer .footer-form .btn-secondary:active {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
  color: #08224c;
}

.footer .footer-links {
  margin: 1rem 0;
}

.footer .footer-links a {
  color: #fae14d;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer .footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .footer-links .separator {
  color: #fff;
  margin: 0 0.75rem;
}

.footer p {
  margin-bottom: 0;
}

/* Legal Pages */
.legal-section {
  background-color: #fff;
  padding: 4rem 0 6rem;
  min-height: 60vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  line-height: 1.8;
}

.legal-content h2 {
  color: #08224c;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fae14d;
}

.legal-content h3 {
  color: #08224c;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h4 {
  color: #08224c;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  color: #333;
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: #08224c;
  font-weight: 700;
}

.legal-content a {
  color: #08224c;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #fae14d;
}

.legal-content hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 1rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
  }

  .legal-content h3 {
    font-size: 1.2rem;
  }
}