/* Variáveis CSS */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --accent-color: #ffe66d;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --success-color: #51cf66;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
}

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Prevent horizontal scroll on mobile */
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  /* Better text rendering on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile-optimized container padding */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

header.sticky {
  box-shadow: var(--shadow-lg);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

/* Mobile header padding */
@media (max-width: 768px) {
  header .container {
    padding: 0.75rem 16px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Smaller logo on mobile */
@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
  }

  .logo-icon {
    font-size: 1.2rem;
  }

  .logo-text {
    font-size: 0.9rem;
  }
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  /* Touch-friendly tap targets */
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.btn-cta-header {
  background: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: var(--transition);
}

.btn-cta-header:hover {
  background: #ff5252;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  /* Touch-friendly button size */
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* Botões */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  /* Touch-friendly button size */
  min-height: 44px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: white;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn-xlarge {
  padding: 1.5rem 3rem;
  font-size: 1.3rem;
}

/* Mobile button sizes */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .btn-xlarge {
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 100%;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 0;
  background: linear-gradient(135deg, #fff5f5 0%, #e3f2fd 100%);
}

/* Mobile hero spacing */
@media (max-width: 768px) {
  .hero {
    margin-top: 60px;
    padding: 2.5rem 0;
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  /* Better line breaks on mobile */
  text-wrap: balance;
}

/* Mobile hero typography */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Problem Section */
.problem-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .problem-section {
    padding: 2.5rem 0;
  }
}

.problem-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
  /* Better line breaks */
  text-wrap: balance;
}

/* Mobile heading sizes */
@media (max-width: 768px) {
  .problem-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    line-height: 1.3;
  }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 15px;
  transition: var(--transition);
}

/* Mobile card spacing */
@media (max-width: 768px) {
  .problem-item {
    padding: 1.5rem;
  }
}

.problem-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.problem-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

/* Mobile icon size */
@media (max-width: 768px) {
  .problem-icon {
    font-size: 2.5rem;
  }

  .problem-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Solution Section */
.solution-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .solution-section {
    padding: 2.5rem 0;
  }
}

.solution-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

/* Mobile heading sizes */
@media (max-width: 768px) {
  .solution-section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  text-wrap: balance;
}

/* Mobile subtitle */
@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
  }
}

/* Carousel */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Mobile carousel padding */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0 45px;
  }
}

.carousel {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.carousel-image {
  min-width: calc(50% - 10px);
  width: 430px;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 10;
  /* Touch-friendly button */
  min-width: 44px;
  min-height: 44px;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .benefits-section {
    padding: 2.5rem 0;
  }
}

.benefits-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-wrap: balance;
}

/* Mobile heading */
@media (max-width: 768px) {
  .benefits-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    line-height: 1.3;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 15px;
  transition: var(--transition);
}

/* Mobile card spacing */
@media (max-width: 768px) {
  .benefit-card {
    padding: 1.5rem;
  }
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Mobile icon and text sizes */
@media (max-width: 768px) {
  .benefit-icon {
    font-size: 3rem;
  }
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Mobile card heading */
@media (max-width: 768px) {
  .benefit-card h3 {
    font-size: 1.25rem;
  }

  .benefit-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #fff5f5 0%, #e3f2fd 100%);
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .pricing-section {
    padding: 2.5rem 0;
  }
}

.pricing-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

/* Mobile heading */
@media (max-width: 768px) {
  .pricing-section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

/* Mobile card spacing */
@media (max-width: 768px) {
  .pricing-card {
    padding: 1.75rem;
  }
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-5px);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Mobile badge */
@media (max-width: 768px) {
  .badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    right: 15px;
  }
}

.plan-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Mobile plan title */
@media (max-width: 768px) {
  .plan-title {
    font-size: 1.4rem;
  }
}

.price {
  margin-bottom: 2rem;
}

.price-old {
  display: block;
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.price-current,
.price {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.amount {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Mobile price sizes */
@media (max-width: 768px) {
  .currency {
    font-size: 1.2rem;
  }

  .amount {
    font-size: 2.5rem;
  }

  .price-old {
    font-size: 0.9rem;
  }
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--bg-light);
  position: relative;
  padding-left: 2rem;
  /* Better readability */
  line-height: 1.5;
}

/* Mobile features list */
@media (max-width: 768px) {
  .features-list li {
    padding: 0.7rem 0;
    padding-left: 1.75rem;
    font-size: 0.9rem;
  }
}

.features-list li::before {
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.features-list li.included::before {
  content: "✓";
  color: var(--success-color);
}

.features-list li.not-included {
  color: var(--text-light);
}

.features-list li.not-included::before {
  content: "✗";
  color: var(--text-light);
}

.features-list li.bonus {
  font-weight: bold;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 2.5rem 0;
  }
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* Mobile heading */
@media (max-width: 768px) {
  .testimonials-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

/* Mobile card spacing */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile photo size */
@media (max-width: 768px) {
  .testimonial-photo {
    width: 50px;
    height: 50px;
  }
}

.testimonial-header h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Mobile testimonial text */
@media (max-width: 768px) {
  .testimonial-header h4 {
    font-size: 1rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }
}

.testimonial-text {
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
}

/* Mobile testimonial text */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 0.95rem;
  }
}

.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Guarantee Section */
.guarantee-section {
  padding: 3rem 0;
  background: var(--secondary-color);
  color: white;
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .guarantee-section {
    padding: 2rem 0;
  }
}

.guarantee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.guarantee-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  color: var(--secondary-color);
  /* Prevent shrinking on mobile */
  flex-shrink: 0;
}

/* Mobile seal size */
@media (max-width: 768px) {
  .guarantee-seal {
    width: 100px;
    height: 100px;
  }
}

.seal-icon {
  font-size: 2.5rem;
}

/* Mobile seal icon */
@media (max-width: 768px) {
  .seal-icon {
    font-size: 2rem;
  }
}

.seal-text {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}

/* Mobile seal text */
@media (max-width: 768px) {
  .seal-text {
    font-size: 0.8rem;
  }
}

.guarantee-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  line-height: 1.6;
}

/* Mobile guarantee text */
@media (max-width: 768px) {
  .guarantee-text h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .guarantee-text p {
    font-size: 0.95rem;
  }
}

/* Final CTA */
.final-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff5252 100%);
  color: white;
  text-align: center;
}

/* Mobile section spacing */
@media (max-width: 768px) {
  .final-cta {
    padding: 2.5rem 0;
  }
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

/* Mobile CTA heading */
@media (max-width: 768px) {
  .final-cta h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-wrap: balance;
}

/* Mobile CTA text */
@media (max-width: 768px) {
  .final-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
}

.urgency-text {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  animation: blink 1.5s infinite;
}

/* Mobile urgency text */
@media (max-width: 768px) {
  .urgency-text {
    font-size: 1rem;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 2rem 0;
}

/* Mobile footer spacing */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 0;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Mobile footer logo */
@media (max-width: 768px) {
  .footer-logo {
    font-size: 0.95rem;
  }
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  /* Touch-friendly links */
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Mobile copyright */
@media (max-width: 768px) {
  .copyright {
    font-size: 0.8rem;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  /* Prevent scroll on mobile when modal is open */
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: slideDown 0.3s ease;
  /* Responsive modal width */
  width: 100%;
}

/* Mobile modal spacing */
@media (max-width: 768px) {
  .modal-content {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  /* Touch-friendly close button */
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-wrap: balance;
}

/* Mobile modal heading */
@media (max-width: 768px) {
  .modal-content h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .modal-content p {
    font-size: 0.95rem;
  }
}

.modal-content .highlight {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: bold;
}

/* Mobile highlight */
@media (max-width: 768px) {
  .modal-content .highlight {
    font-size: 1.1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
    /* Better spacing for mobile menu */
    gap: 0.5rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    /* Better mobile spacing */
    gap: 2rem;
  }

  /* Reverse order on mobile - image first */
  .hero-image {
    order: -1;
  }

  .problem-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    /* Better mobile spacing */
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    /* Better mobile spacing */
    gap: 1.5rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  /* Maintain featured styling on mobile */
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .guarantee-content {
    flex-direction: column;
    text-align: center;
    /* Better mobile spacing */
    gap: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .carousel-container {
    padding: 0 50px;
  }

  .carousel-image {
    min-width: 100%;
    width: 100%;
    height: 350px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-xlarge {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem 1rem;
  }

  .carousel-container {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .carousel-image {
    height: 300px;
  }

  /* Smaller section headings on very small screens */
  h2 {
    font-size: 1.5rem !important;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
}
