/* Base styles - Mobile First */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #f4f4f4;
}



/* Grid Items */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 15px;
}

/* White card with colorful border */
.grid-item {
    background: #ffffff !important; /* OVERRIDE old green */
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 30px 10px;
    min-width: 140px;
    flex: 1 1 40%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    font-weight: bold;
    position: relative;

    /* Colorful border line */
    border-image: linear-gradient(45deg, #ff5722, #02833c, #f55a5a, #ffffff) 1 !important;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Inside: small colorful mixed-color block */
.grid-item span {
    background: linear-gradient(45deg, #ff5722, #02833c, #f55a5a, #ffffff) !important;
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
}

/* Hover effect */
.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}


/* Video Grid */
.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px;
}

.video-item video {
    width: 680px !important;
    height: 348px !important;
    max-width: 100%;
    display: block;
}

.video-item iframe,
.video-item video {
    width: 100%;
    height: 180px;
    border-radius: 8px;
}

.video-item p {
    margin-top: 8px;
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 14px;
    background: #00a651;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 8px;
    transition: background 0.3s;
}

.btn:hover {
    background: #008d46;
}

/* Footer */
.site-footer {
  background: #1f2933;
  color: #e5e7eb;
  padding: 60px 20px 30px;
  font-family: "Poppins", Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
}

.footer-section h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-section h4 {
  font-size: 1.1em;
  margin-bottom: 12px;
  color: #fbbf24;
}

.footer-section p {
  font-size: 0.95em;
  line-height: 1.7;
  color: #d1d5db;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95em;
}

.footer-section ul li a:hover {
  color: #fbbf24;
}

.footer-socials a {
  display: inline-block;
  margin-right: 12px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

.footer-socials a:hover {
  color: #fbbf24;
}

.footer-legal {
  margin-top: 15px;
}

.footer-legal a {
  display: inline-block;
  margin-right: 12px;
  font-size: 0.85em;
  color: #9ca3af;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fbbf24;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #374151;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-bottom p {
  font-size: 0.85em;
  color: #9ca3af;
}

.scroll-top {
  background: #fbbf24;
  color: #1f2933;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.scroll-top:hover {
  background: #f59e0b;
}

/* Responsive Images */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Community Programs */
.community-programs.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    gap: 15px;
}




/* Scroll top button */
.scroll-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    padding: 8px;
    border-radius: 50%;
    background: #00a651;
    color: #fff;
    cursor: pointer;
}






