* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; color: #333; background-color: #ffffff; }

header {
  background: #e5f7eb;
  padding: 60px 20px;
  text-align: center;
}
header h1 {
  font-size: 2.5em;
  color: #2e7d32;
  margin-bottom: 10px;
}
header p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: #4d4d4d;
}

nav {
  background: #2e7d32;
  padding: 15px;
  text-align: center;
}
nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1em;
  font-weight: 600;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  color: #2e7d32;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
}

.card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card i {
  font-size: 36px;
  color: #66bb6a;
  margin-bottom: 15px;
}
.card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #388e3c;
}
.card ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.card ul li {
  font-size: 0.95em;
  margin-bottom: 8px;
  line-height: 1.5;
}
.card .note {
  font-size: 0.92em;
  color: #555;
  margin-bottom: 10px;
}
.card p {
  margin-bottom: 12px;
  line-height: 1.5;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08em;
  box-shadow: 0 2px 8px rgba(67,233,123,0.08);
  border: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  outline: none;
  margin-top: 10px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
  color: #0b3d2e;
  box-shadow: 0 4px 16px rgba(67,233,123,0.18);
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44, 62, 80, 0.35);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 96%;
  max-height: 90vh;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18);
  position: relative;
  text-align: left;
  animation: modalIn 0.25s;
  overflow-y: auto;
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal h3 {
  color: #2e7d32;
  margin-bottom: 12px;
}
.modal .modal-desc {
  font-size: 1.05em;
  margin-bottom: 18px;
  color: #333;
}
.modal .modal-price {
  font-size: 1.15em;
  font-weight: 600;
  color: #388e3c;
  margin-bottom: 18px;
}
.modal .modal-buy {
  display: inline-block;
  background: #43e97b;
  color: #155724;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 10px;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
  border: none;
  font-size: 1em;
}
.modal .modal-buy:hover {
  background: #38f9d7;
  color: #0b3d2e;
}
.modal .modal-tg {
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
  font-size: 1em;
}
.modal .modal-tg:hover {
  background: #43e97b;
  color: #155724;
}
.modal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}
.modal .modal-close:hover {
  color: #2e7d32;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.about-grid img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about-text {
  max-width: 600px;
}
.about-text p {
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.certificates img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.certificates figcaption {
  text-align: center;
  font-size: 0.95em;
  margin-top: 8px;
  color: #555;
}

footer {
  text-align: center;
  padding: 30px;
  background: #f1f1f1;
  font-size: 0.9em;
  color: #666;
}

html {
  scroll-behavior: smooth;
}
@media (max-width: 600px) {
  .modal {
    max-width: 98vw;
    padding: 18px 6vw 18px 6vw;
    font-size: 0.98em;
  }
}
