.cletec-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.cletec-section h2, .cletec-section p, .cletec-section ul {
    max-width: 800px;
    align-items: center;
}

/* Hero section styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    height: auto;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.hero-image {
    flex: 1;
    margin-left: 20px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cletec-section h2 {
    text-align: center;
    margin-bottom: 10px !important; 
}

.quote {
    font-style: italic;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    border-radius: 8px;
}

/* Photo gallery styles */
.photo-gallery {
    margin-top: 40px;
    padding: 0;
}

.gallery-grid {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    cursor: grab;
    max-width: 100%;
}

.gallery-grid:active {
    cursor: grabbing;
}

.gallery-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    user-select: none; /* Disable text selection */
    -webkit-user-drag: none; /* Disable dragging in WebKit browsers */
    -webkit-user-select: none; /* Disable text selection in WebKit browsers */
}

/* List styles */
.cletec-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.cletec-section ul li {
    margin-bottom: 10px;
}

.two-columns {
    column-count: 2;
    column-gap: 20px;
}

.two-columns li {
    line-height: 20px;
}

/* List container styles */
.list-container {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.list-container.show-more {
    max-height: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .hero-image {
        margin-left: 0;
    }

    .cletec-section {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .two-columns {
        column-count: 1;
    }
}