body {
    background-image: url('../assets/img/background/clans-bg.jpg');
    background-size: cover;            /* Scale image to cover full screen */
    background-repeat: no-repeat;      /* Prevent tiling */
    background-position: center center;/* Center the image */
    background-attachment: fixed;      /* Optional: for parallax effect */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.history-container {
    background-color: rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s ease-out;
}

.history-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.history-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.column {
    flex: 1 1 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .column {
    flex: 1 1 45%;
    max-width: 45%;
    }
}

h2 {
    font-size: 2.7em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 2em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #444;
}

p {
    font-size: 1.5em;
    color: #555;
    text-align: justify;
    line-height: 1.6;
}

blockquote {
    border-left: 4px solid #f59e0b;
    padding-left: 15px;
    font-style: italic;
    color: #333;
    font-size: 1.5em;
    margin-top: 20px;
}
    
.ukelle-section {
    background-color: #faf8f5;
    padding: 0 0 50px 0;
    font-family: 'Poppins', sans-serif;
}

.ukelle-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Equal heights */
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

.ukelle-image, 
.ukelle-text,
.sponsor-text {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex: 1; /* Fill full height */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes image fill container */
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(122, 75, 43, 0.85);
    padding: 15px;
    text-align: center;
}

.overlay h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: bold;
}

.overlay p {
    margin: 5px 0 0;
    font-size: 1.9rem;
}

.ukelle-text,
.sponsor-text {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ukelle-text h2,
.sponsor-text h2 {
    color: #7a4b2b;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.ukelle-text p,
.sponsor-text p {
    line-height: 1.7;
    color: #333;
    font-size: 2.1rem;
    margin-bottom: 15px;
}

/* Animations */
.fadeInLeft {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeftAnim 1.2s forwards;
}

.fadeInRight {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRightAnim 1.2s forwards;
}

@keyframes fadeInLeftAnim {
    to {opacity: 1; transform: translateX(0);}
}

@keyframes fadeInRightAnim {
    to {opacity: 1; transform: translateX(0);}
}

.sponsor-text { 
    max-width: 640px; 

}

/* Scroller container: height set to show ~10 list items */
.sponsor-scroll {
  border-radius: 12px;
  border: 1px solid rgba(16,24,40,0.06);
  background: #fff;
  padding: 8px;
  height: 280px;             /* ~10 items visible (adjust if you use larger font) */
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(16,24,40,0.25) transparent;    
}

/* show native scrollbar styling for webkit */
.sponsor-scroll::-webkit-scrollbar { width: 10px; }
.sponsor-scroll::-webkit-scrollbar-thumb { background: rgba(16,24,40,0.18); border-radius: 8px; }
.sponsor-scroll::-webkit-scrollbar-track { background: transparent; }


/* Pause animation on hover */
.sponsor-inner{
    animation: scroll-up 100s linear infinite; /* 'forwards' to stop at end */
    animation-play-state: running;
}
.sponsor-scroll:hover .sponsor-inner {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% {transform: translateY(10%); }
    100% {transform: translateY(-100%);}
}

/* inner list */
.sponsor-inner ol { margin: 0; padding: 0 12px; list-style-position: inside; }
.sponsor-inner li {
  padding: 8px 4px;
  border-bottom: 1px dashed rgba(16,24,40,0.04);
  font-size: 16px;
  line-height: 1.6;
  color: #123;
}

/* total styling */
.sponsor-inner li.total { background: rgba(14,165,166,0.06); font-weight:700; }

/* committee block below (static) */
.committee-block {
  margin-top: 0;
  background: linear-gradient(180deg,#fff,#fbfbff);
  padding: 0 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.04);
  color: #1f2937;
  font-size: 5px;
}