/* Keep existing site variables & base styles */
:root {
  --primary: #1A1A1A; /* Deep charcoal/black for text & headers */
  --accent: #7ED957;  /* Bright green from your logo */
  --gradient: linear-gradient(135deg, #1A1A1A, #7ED957); /* Dark to green blend */
  --light-bg: #F5F5F5; /* Light grey background for contrast */
  --text: #1A1A1A;     /* Main text color */
  --white: #FFFFFF;    /* Pure white for clarity */
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: fadeUp 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.cta-button {
  background: var(--white);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

/* Sections */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--primary);
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card h3 {
  color: var(--accent);
}

/* See More Button */
.see-more-btn {
  margin-top: 15px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.see-more-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Responsive Modal Popup - Centered */
.modal {
  display: none; /* Start hidden */
  position: fixed;
  inset: 0; /* top:0; left:0; bottom:0; right:0; */
  height: 100vh; /* full viewport height */
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);

  /* Centering */
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;
}



.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 25px 30px;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh; /* allow scrolling inside if too tall */
  overflow-y: auto;
}

/* Modal Header */
.modal-content h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Modal Text */
.modal-content p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Unified Modal List Styles */
.modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-content ul li {
  position: relative;
  padding-left: 28px; /* space for checkmark */
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}

.modal-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 1rem; /* same size across devices */
  color: var(--accent);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .modal-content ul li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 25px;
  }

  .modal-content ul li::before {
    font-size: 0.9rem;
    top: 0.2rem;
  }
}

/* Close Button */
.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #777;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* Animations */
@keyframes fadeOverlay {
  from { background: rgba(0, 0, 0, 0); }
  to { background: rgba(0, 0, 0, 0.6); }
}

@keyframes scaleUp {
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--primary);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Animations for elements */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .modal-content {
    width: 90%;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .modal-content {
    width: 95%;
    padding: 18px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
    font-size: 0.95rem;
  }
  .modal-content h2 {
    font-size: 1.5rem;
  }
  .modal-content ul li {
    font-size: 0.9rem;
  }
  .close {
    font-size: 22px;
  }
}



/* Show animation */
.modal.show {
  animation: fadeOverlayIn 0.3s forwards;
}

.modal.show .modal-content {
  animation: scaleUp 0.3s forwards;
}

/* Hide animation */
.modal.hide {
  animation: fadeOverlayOut 0.3s forwards;
}

.modal.hide .modal-content {
  animation: scaleDown 0.3s forwards;
}

/* Animations */
@keyframes fadeOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOverlayOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes scaleDown {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0.9); opacity: 0; }
}
