.about-us-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.about-us-modal-content {
    background: white;
    border-radius: var(--border-radius-lg, 20px);
    width: min(900px, 90%);
    max-height: 90vh;
    position: relative;
    box-shadow: var(--shadow-xl, 0 10px 30px rgba(0, 0, 0, 0.3));
    animation: slideInUp 0.4s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}



.about-us-modal-content h1 {
    color: #333333;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.about-us-modal-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    animation: expandWidth 0.8s ease-out forwards;
}

.about-us-modal-content h2 {
    color: #333333;
    font-size: 1.8em;
    margin: 25px 0 15px;
    font-weight: 600;
}

.about-us-modal-inner {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl) var(--spacing-xl);
    /* height: auto; Allow content to dictate height */
    overflow-y: visible; /* Remove scrollbar */
    box-shadow: inset 0 0 10px rgba(146, 209, 63, 0.1);
    /* Removed scrollbar styling as requested */
}

.about-us-modal-content p {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
    animation: fadeInUp 0.5s ease-out forwards;
}

.about-us-modal-content ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.about-us-modal-content li {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1em;
}

.about-us-modal-content li::before {
    content: '🍄';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    opacity: 0.8;
}

.about-us-modal-content strong {
    color: var(--secondary-color);
    font-weight: 600;
    background: transparent;
    padding: 2px 5px;
    border-radius: 3px;
}

.close-about-us {
    position: absolute;
    top: 15px;
    right: 20px;
    width: auto;
    height: auto;
    background: transparent;
    /* remove circle */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 10;
    padding: 2px 4px; /* maintain a comfortable hit area */
}

.close-about-us:hover {
    /* no background change, only subtle color/scale */
    color: #333;
    transform: scale(1.05);
}

#aboutUsIframe {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 0 0 var(--border-radius-lg, 20px) var(--border-radius-lg, 20px);
    flex: 1;
    min-height: 500px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { 
        transform: translateY(30px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}



@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-us-modal-content {
        width: 90%;
        margin: 5% auto;
        padding: 35px;
    }

    .about-us-modal-content h1 {
        font-size: 2.2em;
    }

    .about-us-modal-content h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .about-us-modal-content {
        width: 95%;
        margin: 8% auto;
        padding: 25px;
    }

    .about-us-modal-content h1 {
        font-size: 1.8em;
    }

    .about-us-modal-content h2 {
        font-size: 1.4em;
    }

    .about-us-modal-content p,
    .about-us-modal-content li {
        font-size: 1em;
    }

    .close-about-us {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .about-us-modal-content {
        width: 100%;
        margin: 0;
        min-height: 100vh;
        border-radius: 0;
        padding: 20px;
    }

    .about-us-modal-content h1 {
        font-size: 1.6em;
        margin-top: 20px;
    }


}


/* About Us iframe content redesign: align text, improve spacing, match parent colors */
body {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: var(--primary-color, #1a1a1a);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about-us-modal-inner {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 32px 28px;
}

.about-us-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 6px; /* inner breathing room */
}

.about-us-content h1 {
  color: var(--primary-color, #1a1a1a);
  font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.3px;
  margin: 0 0 14px 0;
  position: relative;
}

.about-us-content h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--secondary-color, #92d13f);
  border-radius: 999px;
  margin-top: 12px;
  box-shadow: 0 0 0 4px rgba(146, 209, 63, 0.15);
}

.about-us-content h2 {
  color: var(--primary-color, #1a1a1a);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.35;
  margin: 28px 0 10px;
}

.about-us-content p,
.about-us-content li {
  color: rgba(26,26,26,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.2px;
}

.about-us-content p { margin: 0 0 14px; }

.about-us-content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 6px;
}

.about-us-content li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
}

.about-us-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--secondary-color, #92d13f);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(146, 209, 63, 0.18);
}

.about-us-content strong { color: var(--secondary-color, #92d13f); font-weight: 700; }

/* Subtle separator spacing between sections */
.about-us-content h2 + p,
.about-us-content h2 + ul { margin-top: 6px; }

/* Responsive spacing tweaks */
@media (max-width: 768px) {
  .about-us-modal-inner { padding: 22px 18px; }
  .about-us-content { padding: 4px 2px; }
  .about-us-content p, .about-us-content li { font-size: 1rem; }
}