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

.content-section h2, .content-section h3, .content-section h4, .content-section h5, .content-section h6 {
    color:#1da25f;
    font-weight: 700;
}
.content-section h2 {
    font-size: 2rem;
}
.content-section h3 {
    font-size: 1.8rem;
}
.content-section h4 {
    font-size: 1.6rem;
}
.content-section h5 {
    font-size: 1.4rem;
}
.content-section h6 {
    font-size: 1.2rem;
}

a {
  text-decoration: none;
  outline: none !important;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
p {
  margin: 0;
  margin-bottom: 15px;
  transition: all 0.4s ease-in-out;
}

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

ul {
  display: block;
  padding: 0;
  margin: 0;
}
.bullet-list, .content-section ol, .content-section ul {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: none;
}
ol.bullet-list li, .content-section ol li {
  position: relative;
  counter-increment: list-item;
}
ol.bullet-list li::marker, .content-section ol li::marker {
  font-weight: 700;
  padding-right: 10px;
}
ol.bullet-list li::before, .content-section ol li::before {
  content: counter(list-item) ". ";
  position: absolute;
  left: -20px;
  font-weight: 700;
}
.bullet-list li, .content-section ol li, .content-section ul li {
  position: relative;
  margin-bottom: 10px;
}
ul.bullet-list li::before, .content-section ul li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -20px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #1DA25F;
}
.data-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
    display: inline-block;
	vertical-align: top;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
table th {
  color: #30323c;
  background-color: #ffffff;
}
table thead tr th {
  color: #ffffff;
  background-color: #1DA25F;
}

@media (max-width: 991px) {
    .content-section table {
        display: inline-block;
    	vertical-align: top;
    	max-width: 100%;
    	overflow-x: auto;
    	white-space: nowrap;
    	-webkit-overflow-scrolling: touch;
    }
    .content-section table td {
        border: 1px solid #000;
    }
}
.content-section blockquote {
    border-left: 3px solid #1da25f;
    margin: 0 50px;
    font-style: italic;
    color: #666;
    padding-left: 20px;
}
.content-section code {
    color: #1da25f;
}
#content {
    padding-top: 5rem;
}
.hero-gradient {
  background: linear-gradient(135deg, #1da25f 0%, #00bb7c 100%);
}

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

.text-gradient {
  background: linear-gradient(135deg, #1da25f 0%, #00bb7c 100%);
  -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: #1da25f;
}

.green-bg {
  background-color: #1da25f;
}

.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 #1da25f;
}

.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: #1da25f;
}

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

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

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("../images/main-bgf.png") center/ cover no-repeat;
  opacity: 0.05;
  filter: hue-rotate(45deg);
}

/* 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: #1da25f;
  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;
  }
}
