/* Basic Reset and Setup */


/* Container for the Split Box (Base Class: .GP-congo) */
.GP-congo {
    width: 100%;
    height: 600px; 
    display: flex; 
    overflow: hidden; 
    background-color: #72ccca; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

/* LEFT COLUMN: Image */
.GP-congo .image-column {
    flex: 1; 
    position: relative; 
    overflow: hidden; 
}
.gp-donate-button :hover{
    background-color: #282828;
}
/* Image Wrapper for the Zoom Effect */
.GP-congo .image-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.GP-congo .zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.1s ease-out; 
    transform-origin: center center; 
    transform: scale(1.0); /* Initial zoom level */
}

/* RIGHT COLUMN: Text Content */
.GP-congo .text-column {
    flex: 1; 
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    overflow: auto; 
}

.GP-congo .text-column h1 {
    color: #333;
    margin-top: 0;
    font-size: 2.2em;
    
    /* INITIAL STATE FOR SLIDE-UP EFFECT */
    transform: translateY(20px); 
    opacity: 0; 
    transition: transform 0.8s ease-out, opacity 0.8s ease-out; 
}

/* CLASS TO BE ADDED BY JAVASCRIPT WHEN VISIBLE */
.GP-congo .text-column h1.slide-in {
    transform: translateY(0); 
    opacity: 1; 
}


.GP-congo .text-column p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.agp-container {
      width: 100vw;
      min-height: 650px;
      background: #282828 url('images-cg/bg.jpg');
      background-blend-mode: darken;
      background-size: cover;
      background-position: center;
      padding: 40px 20px;
      box-sizing: border-box;
      color: white;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .agp-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .agp-header h1 {
      margin: 0;
      font-size: 2em;
    }

    .agp-header p {
      margin: 10px 0 0;
      font-size: 1.2em;
    }

    .agp-card-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      width: 100%;
      max-width: 1200px;
    }

    .agp-card {
      position: relative;
      width: 28%;
      min-width: 260px;
      height: 350px;
      border-radius: 8px;
      overflow: hidden;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .agp-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .agp-card:hover img {
      transform: scale(1.05);
    }

    /* Slide-up color overlay */
    .agp-card::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 0%;
      transition: height 0.4s ease;
      z-index: 1;
    }

    .agp-card-orange:hover::before {
      background-color: rgba(255, 147, 67, 0.9);
      height: 100%;
    }

    .agp-card-red:hover::before {
      background-color: rgba(255, 104, 101, 0.9);
      height: 100%;
    }

    .agp-card-teal:hover::before {
      background-color: rgba(114, 204, 202, 0.9);
      height: 100%;
    }

    /* Bottom gradient for readability */
    .agp-card::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 40%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
      z-index: 1;
      pointer-events: none;
    }

    .agp-card-content {
      position: absolute;
      bottom: 20px;
      width: 100%;
      text-align: center;
      color: white;
      z-index: 2;
    }

    .agp-card-content h3 {
      margin: 10px 0 5px;
      font-size: 1.2em;
      text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    }

    .agp-card-button {
      padding: 8px 24px;
      font-size: 0.85em;
      background-color: #282828;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      font-weight: 600;
      margin-top: 10px;
      display: inline-block;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .agp-card-button:hover {
      background-color: #444;
      transform: scale(1.05);
    }

    @media (max-width: 900px) {
      .agp-card {
        width: 45%;
      }
    }

    @media (max-width: 600px) {
      .agp-card {
        width: 100%;
      }

      .agp-header h1 {
        font-size: 1.6em;
      }

      .agp-header p {
        font-size: 1em;
      }
    }
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .GP-congo {
        flex-direction: column; 
        height: auto; 
    }

    .GP-congo .image-column {
        height: 400px; 
    }

    .GP-congo .text-column {
        padding: 30px 20px;
    }
}
