:root {
  --primary: #0f5c4d;
  --primary-dark: #0a473c;
  --gold: #c8a85d;
  --bg: #f8faf8;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  scroll-margin-top: 100px;
}

/* ====================== LOGO STYLING ====================== */

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;           
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Hover effect */
.logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .logo-img {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

/* Navigation Bar Layout */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  flex-shrink: 0;
  z-index: 10;
}


.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #157C5A;
  margin-left: 10px;
}

/* Mobile Menu*/
@media (max-width: 768px) {
  .nav {
    padding: 15px 20px;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
}


.container {
  width: min(1140px, 92%);
  margin: auto;
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-heading h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

.section-tag,
.tag {
  display: inline-block;
  background: rgba(200, 168, 93, 0.12);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}

.hero {
  padding: 100px 0 70px;
  background:
    radial-gradient(circle at top right, rgba(200, 168, 93, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(15, 92, 77, 0.08), transparent 25%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.hero-features {
  margin-bottom: 28px;
}

.hero-features li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.hero-features li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 1.3rem;
  top: -1px;
}

.hero-buttons,
.contact-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(15, 92, 77, 0.2);
}

.btn-secondary:hover {
  background: #f2f8f6;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.image-card {
  background: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 92, 77, 0.08);
}

.image-placeholder {
  min-height: 420px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(15, 92, 77, 0.78), rgba(15, 92, 77, 0.58)),
    url('image.jpg') center/cover no-repeat;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 24px;
  color: white;
  font-weight: 600;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.services-grid,
.why-grid,
.testimonial-grid,
.pricing-grid,
.memorization-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 92, 77, 0.07);
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                opacity 0.6s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
  
  
  /* Animation Initial State */
  opacity: 0;
  transform: translateY(50px);
}

/* Animation Active State */
.card.show,
.step-card.show {
  opacity: 1;
  transform: translateY(0);
}


.card:hover,
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 92, 77, 0.15);
  border-color: var(--gold); 
}


.pricing-card.active-plan {
  border: 2px solid var(--gold);
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 35px rgba(200, 168, 93, 0.22);
}


.card:nth-child(1), .step-card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2), .step-card:nth-child(2) { transition-delay: 0.15s; }
.card:nth-child(3), .step-card:nth-child(3) { transition-delay: 0.25s; }
.card:nth-child(4), .step-card:nth-child(4) { transition-delay: 0.35s; }
.card:nth-child(5), .step-card:nth-child(5) { transition-delay: 0.45s; }
.card:nth-child(6), .step-card:nth-child(6) { transition-delay: 0.55s; }

/* Why choose us এর কার্ডগুলোতে আইকন অ্যানিমেশন */
.why-card span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 92, 77, 0.1);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.why-card:hover span {
  background: var(--gold);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.service-card h3,
.pricing-card h3,
.memorization-card h3,
.step-card h3,
.testimonial-card h3 {
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-card p,
.pricing-card p,
.testimonial-card p,
.memorization-card p {
  color: var(--muted);
}

.memorization-section {
  background: linear-gradient(180deg, #f5faf7 0%, #ffffff 100%);
}

.memorization-card ul,
.pricing-card ul {
  margin: 18px 0 24px;
}

.memorization-card ul li,
.pricing-card ul li {
  margin-bottom: 10px;
  color: var(--text);
}

.pricing-card.active-plan {
  border: 2px solid var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(200, 168, 93, 0.22);
}

.why-card {
  text-align: center;
}

.why-card span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 92, 77, 0.1);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 600;
}

.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8f6 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.contact-text p {
  color: var(--muted);
  margin-bottom: 25px;
}

.contact-form {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.form-message {
  margin-top: 14px;
  font-weight: 600;
}

.footer {
  background: #0b2f28;
  color: #e5f2ee;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 35px;
}

.footer h3,
.footer h4 {
  margin-bottom: 14px;
  color: #fff;
}

.footer p,
.footer li,
.footer a {
  color: #c9d7d3;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px 0;
  margin-top: 12px;
}

@media (max-width: 992px) {
  .hero-content,
  .contact-wrapper,
  .services-grid,
  .pricing-grid,
  .memorization-grid,
  .why-grid,
  .testimonial-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: var(--primary-dark);
  }

  .nav-btn {
    display: none;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 0;
    background: white;
    width: 220px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hero-content,
  .contact-wrapper,
  .services-grid,
  .pricing-grid,
  .memorization-grid,
  .why-grid,
  .testimonial-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading h2,
  .contact-text h2 {
    font-size: 1.8rem;
  }

  .image-placeholder {
    min-height: 300px;
  }
}