:root {
    scroll-behavior: smooth;
    --body-theme: #212432;
    --text-writing: #212432;
    --section-background-color: #fef5eb;
    --headings: #efdfba;
    --icon-image-color: #efdfba;
    --card-title: #CFBC76;
    --Mahindi-boilo-form-background: #212432a8;
    --dweeb-writing: #fff;
    --button-background: #CFBC76;
    --button-hover: #ffbf00b8;
    --button-hover-backup: #efdfba;
    --button-text: #fff;
    --underline-color: #CFBC76;
    --dorky-form-text-color: #CFBC76;
    --text-decoration: #cfbc76;
    --secondary-background-color: #cfbc7689;
    --foolish-background: #00000057;
    --milky-text: #b6c7d6;
}

.ceo-video-section {
    padding: 5rem 2rem;
    background-color: var(--body-theme);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.video-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-wrapper {
    width: 600px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 400px;
    margin-bottom: 2rem;
    overflow: hidden;
    background: var(--headings);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ceo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background-color: black;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: 90%;
}

.play-pause-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    outline: none;
    color: var(--button-background); /* Customize the color as needed */
}

.progress-bar {
    flex: 1;
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #ccc;
    outline: none;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: var(--button-background);
    border-radius: 50%;
    cursor: pointer;
}

.video-description {
    max-width: 800px;
    margin: 0 auto;
}

.video-title {
    font-size: 3.2rem;
    color: var(--headings);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.video-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dweeb-writing);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ceo-video-section {
        padding: 4rem 1.5rem;
    }

    .video-title {
        font-size: 2.2rem;
    }

    .video-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        width: 300px;
    }
    .ceo-video-section {
        padding: 3rem 1rem;
    }

    .video-title {
        font-size: 2rem;
    }

    .video-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ceo-video-section {
        padding: 2rem 1rem;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-text {
        font-size: 0.9rem;
    }
}