

* {
  font-family: "Inter", sans-serif;
}

.hero-gradient {
  background: linear-gradient(135deg, #2d5a47 0%, #4a8069 100%);
}

.section-gradient {
  background: linear-gradient(to right, #f8fffe, #f0f9f5);
}

.text-gradient {
  background: linear-gradient(135deg, #2d5a47, #4a8069);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 90, 71, 0.1);
}

.green-accent {
  color: #2d5a47;
}

.green-bg {
  background-color: #2d5a47;
}

.green-light-bg {
  background-color: #f0f9f5;
}

.green-border {
  border-color: #4a8069;
}

.table-striped tbody tr:nth-child(odd) {
  background-color: #f8fffe;
}

.calculation-box {
  background: linear-gradient(135deg, #f0f9f5, #e8f5e8);
  border-left: 4px solid #2d5a47;
}

.info-box {
  background: linear-gradient(135deg, #fff7e6, #fef3e2);
  border-left: 4px solid #f59e0b;
}

.tip-box {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-left: 4px solid #10b981;
}

.nav-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(45, 90, 71, 0.95);
}

.content-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-section {
  margin-top: 80px;
}

/* Mobile Navigation */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background: rgba(45, 90, 71, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.mobile-phone {
  display: none;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-phone a {
  color: white;
  text-decoration: none;
}

.mobile-phone a:hover {
  color: #d1fae5;
}

/* Responsive Tables */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.table-card {
  display: none;
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-card-header {
  font-weight: 600;
  color: #2d5a47;
  margin-bottom: 8px;
}

.table-card-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #f3f4f6;
}

.table-card-row:last-child {
  border-bottom: none;
}

.table-card-label {
  font-weight: 500;
  color: #6b7280;
  flex: 1;
}

.table-card-value {
  font-weight: 600;
  color: #1f2937;
  flex: 1;
  text-align: right;
}

footer a:hover {
    color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .hero-section {
    padding: 60px 0 !important;
  }

  .content-section {
    padding: 40px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-phone {
    display: flex;
    align-items: center;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .desktop-phone {
    display: none;
  }

  /* Hide desktop tables, show mobile cards */
  .responsive-table {
    display: none;
  }

  .table-card {
    display: block;
  }

  /* Typography adjustments */
  h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.875rem !important;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.5rem !important;
    line-height: 1.4;
  }

  h4 {
    font-size: 1.25rem !important;
  }

  /* Spacing adjustments */
  .max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .md\:grid-cols-2,
  .md\:grid-cols-3,
  .lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  /* Card adjustments */
  .card-hover:hover {
    transform: none;
  }

  /* Form adjustments */
  input,
  select,
  button {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 12px 16px !important;
    min-height: 48px;
  }

  button {
    min-height: 48px;
    touch-action: manipulation;
  }

  /* Flex adjustments */
  .flex-col,
  .sm\:flex-row {
    flex-direction: column !important;
  }

  .space-x-4 > * + * {
    margin-left: 0 !important;
    margin-top: 1rem !important;
  }

  /* Text adjustments */
  .text-4xl,
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }

  .text-3xl,
  .md\:text-4xl {
    font-size: 1.875rem !important;
  }

  .text-xl,
  .md\:text-2xl {
    font-size: 1.25rem !important;
  }

  /* Padding adjustments */
  .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-16 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .p-6 {
    padding: 1rem !important;
  }

  .px-8 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Remove hover effects on mobile */
  .hover\:bg-gray-100:hover,
  .hover\:bg-green-700:hover,
  .hover\:text-green-700:hover {
    background-color: inherit !important;
    color: inherit !important;
  }
}

@media (max-width: 480px) {
  .max-w-7xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .py-16 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .p-6 {
    padding: 0.75rem !important;
  }

  .mobile-phone {
    font-size: 0.75rem;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .content-section {
    padding: 3rem 0;
  }

  .grid {
    gap: 2rem;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop improvements */
@media (min-width: 1025px) {
  .nav-fixed {
    position: fixed;
  }

  .hero-section {
    margin-top: 80px;
  }

  .desktop-menu {
    display: flex;
  }

  .mobile-menu,
  .mobile-menu-btn,
  .mobile-phone {
    display: none;
  }

  .desktop-phone {
    display: flex;
  }

  .responsive-table {
    display: table;
  }

  .table-card {
    display: none;
  }
}
