:root {
  --primary-green: #16a34a;
  --primary-dark: #15803d;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text-main: #1e293b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  /* ফন্ট ফ্যামিলিতে SolaimanLipi যোগ করা হয়েছে */
  font-family: "SolaimanLipi", "Poppins", "Hind Siliguri", sans-serif;
  background: linear-gradient(-45deg, #f0fdf4, #ffffff, #dcfce7, #f8fafc);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: var(--text-main);
  overflow-x: hidden;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== HEADER (PC) ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  transition: 0.3s;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #166534;
  letter-spacing: -0.5px;
}

/* PC Nav */
nav.desktop-nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

nav.desktop-nav ul li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
}

nav.desktop-nav ul li a:hover {
  background: var(--primary-green);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

nav.desktop-nav ul li a.contact-btn {
  background: var(--primary-green);
  color: white;
}

/* Menu Toggle Button Styling Reset */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.1);
  border: none;
  outline: none;
}

/* ===== MOBILE MODERN DRAWER ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 2000;
  opacity: 0;
  transition: 0.4s;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: right 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
  border-left: 1px solid var(--glass-border);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.drawer-title {
  font-weight: 700; 
  color: var(--primary-green);
}

.drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer ul li {
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(20px);
  transition: 0.4s ease;
}

.mobile-drawer.active ul li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-drawer.active ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-drawer.active ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-drawer.active ul li:nth-child(3) { transition-delay: 0.3s; }

.mobile-drawer ul li a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  background: white;
  border-radius: 15px;
  border: 1px solid #f1f5f9;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.mobile-drawer ul li a:hover {
  background: var(--primary-green);
  color: white;
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
  nav.desktop-nav { display: none; }
  .menu-toggle { display: block; }
  header { height: 75px; padding: 0 20px; }
}