@font-face {
  font-family: 'Ethnocentric';
  src: url('/static/fonts/ethnocentric.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-brand span {
  font-family: 'Ethnocentric', sans-serif;
  font-size: 1.5rem;
  color: var(--haas-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

:root {
  --haas-blue: #00A7E1;
  --haas-green: #00B5A3;
  --haas-navy: #1A2238;
  --haas-gray: #F5F5F5;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--haas-navy);
}
/* Section Spacing for Fixed Navbar */
section {
  scroll-margin-top: 80px;
}

/* Add padding to account for fixed navbar */
section:first-of-type {
  padding-top: 80px;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 40px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(45deg, rgba(26, 34, 56, 0.9), rgba(0, 167, 225, 0.8)),
              url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04') center/cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50 L50 0 A50 50 0 0 1 100 50 L50 50' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
  z-index: 1;
  animation: rotate 60s linear infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero h1 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, #fff, #00A7E1, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero .lead {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
}

.hero .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero .btn-primary {
  background: var(--haas-blue);
  border: none;
}

.hero .btn-outline-light {
  border-width: 2px;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Product Cards */
.product-card {
  border-radius: 15px;
  transition: transform 0.3s ease;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 12px;
  background-color: white;
  padding: 1rem;
}

.product-card h3 {
  margin: 1.5rem 0 1rem;
  font-size: 1.5rem;
  color: var(--haas-navy);
  text-align: center;
}

.product-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.product-card .feature-list {
  margin-bottom: 1.5rem;
}

.product-card .btn {
  min-width: 120px;
}

/* Pricing Tables */
.pricing-card {
  border-radius: 15px;
  border: none;
  transition: transform 0.3s ease;
}

.pricing-card h3 {
  text-align: center;
}

.pricing-card .price-tag {
  text-align: center;
}

.pricing-card.featured {
  border: 2px solid var(--haas-blue);
  transform: scale(1.05);
}

/* Testimonials */
.testimonial-section {
  background: linear-gradient(rgba(26, 34, 56, 0.9), rgba(26, 34, 56, 0.9)),
              url('https://images.unsplash.com/photo-1648740678671-c37d78567ea8') center/cover;
  color: white;
}

/* Features */
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--haas-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-icon:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--haas-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 167, 225, 0.2);
}

/* Buttons */
.btn-primary {
  background: var(--haas-blue);
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
}

.btn-outline-primary {
  border-color: var(--haas-blue);
  color: var(--haas-blue);
}

/* Newsletter */
.newsletter-section {
  background: var(--haas-gray);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Testimonial Carousel Styles */
.testimonial-section {
    background: linear-gradient(to right, #1a1a2e, #16213e);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    z-index: 2;
}

.testimonial-section .carousel-control-prev-icon,
.testimonial-section .carousel-control-next-icon {
    background-color: var(--haas-blue);
    padding: 1.5rem;
    border-radius: 50%;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    margin: 1rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card .fa-user-circle {
    color: var(--haas-blue);
    opacity: 0.9;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(var(--haas-blue-rgb), 0.3));
}

.testimonial-card:hover .fa-user-circle {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(var(--haas-blue-rgb), 0.4));
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card h5 {
    color: #ffffff;
}

@media (max-width: 768px) {
    .testimonial-card {
        margin: 1rem auto;
    }
    
    .testimonial-section .carousel-control-prev,
    .testimonial-section .carousel-control-next {
        display: none;
    }
}

/* Footer Styles */
.footer-brand {
    font-family: 'Ethnocentric', sans-serif;
    color: var(--haas-blue);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Testimonial Carousel Controls */
.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    opacity: 0.8;
}

.testimonial-section .carousel-control-prev {
    left: 5%;
}

.testimonial-section .carousel-control-next {
    right: 5%;
}

.testimonial-section .carousel-control-prev:hover,
.testimonial-section .carousel-control-next:hover {
    opacity: 1;
    background: rgba(0,0,0,0.3);
}

.testimonial-section .testimonial-card {
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
/* Testimonial Cards */
.testimonial-section .testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-section .testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-section .testimonial-card p {
    color: #333;
    line-height: 1.6;
}

.testimonial-section .testimonial-card h5 {
    color: var(--haas-navy);
    margin-top: 1rem;
}
/* Privacy Policy Styles */
.privacy-policy {
    color: var(--haas-navy);
}

.privacy-policy h2 {
    color: var(--haas-blue);
    margin-top: 2rem;
}

.privacy-policy h3 {
    font-size: 1.3rem;
    color: var(--haas-navy);
}

.privacy-policy ul {
    margin-bottom: 1.5rem;
}

.privacy-policy ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Error Page Styles */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-section .display-1 {
    font-size: 6rem;
    color: var(--haas-blue);
}

.error-section h2 {
    color: var(--haas-navy);
}
/* Flash Message Styles */
.flash-message-inline {
    display: inline-block;
    margin-left: 1rem;
    margin-bottom: 0;
}

.flash-message-inline.alert {
    padding: 0.5rem 1rem;
}

@media (max-width: 576px) {
    .flash-message-inline {
        display: block;
        margin-top: 1rem;
        margin-left: 0;
    }
}