/* CrisisRadar.eu - Main Stylesheet
 * Modern styling with responsive design
 */

:root {
  /* New brand color palette */
  --primary-color: #042544; /* blue-whale */
  --primary-dark: #062c5c;  /* deep-sapphire */
  --primary-light: #163c53; /* elephant */
  --secondary-color: #e73120; /* alizarin-crimson */
  --secondary-dark: #381919; /* eclipse */
  --secondary-light: #b46c64; /* matrix */
  --accent-color: #462431; /* livid-brown */
  --dark-color: #111c2a; /* ebony */
  --light-color: #ebebeb; /* gallery */
  --grey-color: #d1d1d1; /* lighter version of gallery */
  --danger-color: #e73120; /* alizarin-crimson */
  --warning-color: #b46c64; /* matrix */
  --success-color: #042c6c; /* catalina-blue */
  --info-color: #163c53; /* elephant */
  
  /* Font settings */
  --main-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --heading-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --content-width: 1200px;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--main-font);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout components */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 8rem 0;
}

/* Header - Modern & Sleek Design */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 0.6rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  text-decoration: none;
}

.logo-icon {
  height: 42px;
  width: 42px;
  margin-right: 0.8rem;
  position: relative;
  transition: transform 0.3s ease;
}

.logo-icon img {
  height: 100%;
  width: 100%;
}

.site-header.scrolled .logo-icon {
  height: 38px;
  width: 38px;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.crisis {
  color: #e73120;
}

.radar {
  color: #042c6c;
}

.domain {
  color: #95a5a6;
  font-weight: 400;
}

.logo-tagline {
  font-size: 0.65rem;
  color: #163c53;
  margin: 2px 0 0 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Dark header version */
.site-header.scrolled .logo-tagline {
  color: #042544;
}

/* Navigation - Sleek & Minimal */
.main-nav {
  position: relative;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem; /* Reduced gap between menu items */
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0.05rem; /* Reduced padding */
  transition: all 0.3s ease;
  font-size: 0.75rem; /* Smaller font size */
  letter-spacing: 0.1px; /* Reduced letter spacing */
  text-transform: uppercase;
  opacity: 0.85;
}

.main-nav a:hover, .main-nav a.active {
  text-decoration: none;
  color: var(--primary-color);
  opacity: 1;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

.main-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-cta {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  color: white !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem !important;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.25);
  transition: all 0.3s ease !important;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  opacity: 1 !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.nav-cta:hover, .nav-cta.active {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover::before {
  opacity: 1;
}

.nav-cta::after {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-color);
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 8px;
  position: relative;
  z-index: 10;
}

.mobile-toggle:hover {
  color: var(--primary-color);
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-toggle i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.mobile-toggle.active i {
  transform: rotate(90deg);
}

/* Hero section */
.hero {
  color: white;
  padding: 12rem 0 8rem 0; /* Increased top padding to prevent overlap */
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start */
  margin-top: 0; /* Removed negative margin */
  /* Fallback background if video doesn't load */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Modern Video background for hero */
.video-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* Always visible by default */
}

/* Optional subtle effect when video is playing */
.hero.video-playing .video-background {
  animation: subtle-zoom 30s ease-out forwards;
}

@keyframes subtle-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

/* For video fallback */
.hero.video-fallback .video-background {
  display: none;
}

/* Loading animation for video */
.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: rgba(4, 37, 68, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  opacity: 1;
  backdrop-filter: blur(3px);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(231, 49, 32, 0.3);
}

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

/* Overlay for video */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(4, 37, 68, 0.85) 0%, rgba(6, 44, 92, 0.9) 100%);
  z-index: 0;
  backdrop-filter: blur(2px);
}

/* Additional pattern overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../images/pattern.svg');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
  animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* No emergency icons anymore - cleaner design */

/* Original floating particles styles */
.floating-icon {
  animation-fill-mode: both;
  will-change: transform;
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
  backface-visibility: hidden;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, 15px) rotate(5deg);
  }
  100% {
    transform: translate(-15px, -5px) rotate(-5deg);
  }
}

@keyframes float-reverse {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-15px, 10px) rotate(-5deg);
  }
  100% {
    transform: translate(10px, -10px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 2rem; /* Add top margin to hero content */
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.version-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--secondary-dark);
  text-decoration: none;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Features section */
.features {
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(231, 49, 32, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* About section */
.about {
  background-color: var(--grey-color);
}

.step-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Target groups section */
.target-groups {
  background-color: white;
}

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

.target-card {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.target-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.target-card ul {
  list-style-type: none;
  padding-left: 0;
}

.target-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.target-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Situations grid */
.situations {
  background-color: var(--grey-color);
}

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

.situation-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--primary-color);
}

.situation-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.situation-card ul {
  list-style-type: none;
  padding-left: 0;
}

.situation-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.situation-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Features detailed section */
.features-detailed {
  background-color: white;
}

.feature-detailed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 5rem;
  gap: 2rem;
}

.feature-detailed:last-child {
  margin-bottom: 0;
}

.feature-content {
  flex: 1;
  min-width: 300px;
}

.feature-image {
  flex: 1;
  min-width: 300px;
}

.feature-detailed:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-badge {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  box-shadow: 0 3px 10px rgba(231, 49, 32, 0.15);
}

/* Benefits section */
.benefits {
  background-color: var(--light-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #666;
}

/* Implementation section */
.implementation {
  background-color: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 0;
  margin-left: 10px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: -40px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid white;
  top: 5px;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-title {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.timeline-item ul {
  list-style-type: none;
  padding-left: 0;
}

.timeline-item li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-item li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
}

/* Contact section */
.contact {
  background-color: var(--dark-color);
  color: white;
}

.contact h2, .contact h3 {
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info a {
  color: var(--grey-color);
}

.contact-info a:hover {
  color: white;
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* FAQ section */
.faq {
  background-color: var(--light-color);
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-color);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.faq-answer {
  color: #555;
}

/* Testimonials */
.testimonial {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-text::before {
  content: "\201C";
  font-size: 4rem;
  position: absolute;
  left: -1.5rem;
  top: -1.5rem;
  color: var(--grey-color);
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #666;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo img {
  height: 40px;
}

.footer-about p {
  margin-bottom: 1rem;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

.footer-newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 1.25rem;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 99;
    transform: translateY(-10px);
  }
  
  /* Hide specific menu items on mobile for cleaner navigation */
  .hide-on-mobile {
    display: none !important;
  }
  
  .main-nav.active {
    height: auto;
    padding: 1.5rem 0;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease forwards;
  }
  
  @keyframes slideDown {
    from {
      transform: translateY(-10px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.5rem;
  }
  
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--grey-color);
  }
  
  .main-nav li:last-child {
    border-bottom: none;
  }
  
  .main-nav a {
    display: block;
    padding: 0.75rem 0;
    width: 100%;
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .main-nav .nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: inline-block;
    width: auto !important;
    padding: 0.75rem 1.5rem !important;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  .feature-detailed {
    flex-direction: column-reverse !important;
  }
  
  .feature-content, .feature-image {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
}

/* 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);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-delay-1 {
  transition-delay: 0.1s;
}

.stagger-delay-2 {
  transition-delay: 0.2s;
}

.stagger-delay-3 {
  transition-delay: 0.3s;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}
