:root {
    --primary: linear-gradient(to bottom right, #1b2631, #34495e);
    --secondary: #e67e22; /* Muted orange */
    --text: #ecf0f1; /* Light text color */
    --bg-color: #2c3e50; /* Dark blue-gray */
    --accent: #f39c12; /* Bright accent color */
    --hover-color: #2980b9; /* Hover color for tabs */
}

.scroll-down {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--accent);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.scroll-down:hover {
    background-color: var(--hover-color);
}

html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #181818;
    font-family: 'Arial', sans-serif;
    color: var(--text);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

/* Navbar Style */

/* Bouncing or Pulsating Effect for Menu Icon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@-webkit-keyframes bounceWithColor {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        color: white; /* Default color is white */
    }
    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
        color: #e74c3c; /* Mid-bounce color */
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        color: #3498db; /* Another color during the bounce */
    }
}

@keyframes bounceWithColor {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        color: white; /* Default color is white */
    }
    40% {
        transform: translateY(-10px);
        color: #e74c3c; /* Mid-bounce color */
    }
    60% {
        transform: translateY(-5px);
        color: #3498db; /* Another color during the bounce */
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.menu-icon {
    display: none;
    font-size: 30px;
    color: white; /* Default color is white */
    cursor: pointer;
    -webkit-animation: bounceWithColor 2s infinite; /* Webkit prefix for mobile browsers */
    animation: bounceWithColor 2s infinite; /* Regular animation */
}

.menu-icon:hover {
    -webkit-animation: none; /* Webkit prefix */
    animation: none;
    color: var(--hover-color);
}

/* Navbar style */
.navbar {
    width: 100%;
    background-color: #f39c12;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--secondary);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    flex-direction: row;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: 1rem;
    padding: 8px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.navbar ul li a:hover {
    background-color: var(--hover-color);
    color: var(--bg-color);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 30px;
        color: white;
        cursor: pointer;
        -webkit-animation: bounceWithColor 2s infinite;
        animation: bounceWithColor 2s infinite;
    }

    .navbar ul {
        flex-direction: column;
        display: none;
        background-color: #202020;
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .navbar ul.active {
        display: block;
    }

    .navbar ul li {
        margin: 10px 0;
        text-align: center;
    }
}

/* Intro Section Styles */
.intro-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
    color: var(--text);
    text-align: center;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.intro-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 10px;
    margin-top: auto; /* Pushes the content towards the bottom */
    margin-bottom: 50px; /* Adjust this value to control the distance from the bottom */
}

.intro-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 20px; /* Ensure space between h1 and p */
}

@media (max-width: 768px) {
    .intro-content {
        margin-bottom: 20px; /* Adjust margin for mobile devices */
    }

    .intro-content h1 {
        font-size: 2rem; /* Adjust font size for mobile */
    }

    .intro-content p {
        font-size: 1rem; /* Adjust font size for mobile */
    }
}

/* Purpose Section */

.purpose-section {
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    border-radius: 10px;
    margin-top: 100px; /* Add space between purpose and salvation */
}

.purpose-content {
    max-width: 800px;
    margin: 0 auto;
}

.purpose-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent); /* Maintain the accent color for the title */
}

.purpose-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff; /* Ensure the paragraph text is white */
}

@media (max-width: 768px) {
    .purpose-content h1 {
        font-size: 1.5rem;
    }

    .purpose-content p {
        font-size: 1rem;
    }
}

/* Church State Section */
.church-state-section {
    padding: 50px 20px;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.church-state-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--accent); /* Accent color */
}

.church-state-section h2 {
    font-size: 2rem; /* Adjust the size of the H2 tag */
    margin-top: 20px; /* Add space between H1 and H2 */
    margin-bottom: 40px; /* Add space below H2 */
    color: var(--accent); /* Use the accent color for consistency */
    text-align: center; /* Center the H2 tag */
}


.church-state-content {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between subsections */
}

.subsection {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    cursor: pointer; /* Change cursor to pointer */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add smooth transition for animation */
}

.subsection-image {
    width: 400px; /* Increase the width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: keep rounded corners */
}

.subsection-video {
    width: 400px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: round corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow to match the images */
}


.subsection-text {
    text-align: left;
}

.subsection-text h2 {
    font-size: 1.8rem;
    color: var(--accent); /* Accent color */
}

.subsection-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.subsection:hover {
    transform: scale(1.05); /* Slightly enlarge the section on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add shadow for depth effect */
}

/* Subsection video hover animation */
.subsection-video {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add smooth transition for video */
}

.subsection-video:hover {
    transform: scale(1.05); /* Slightly enlarge the video on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add shadow for depth effect */
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Transparent background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 80%; /* Restrict modal height */
    color: #333;
    text-align: center;
    position: relative;
    overflow-y: auto; /* Add vertical scrolling if content overflows */
}

.modal-video {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.modal-content p {
    text-align: justify; /* Justify text for cleaner alignment */
    line-height: 1.8; /* Increase line spacing */
    margin-bottom: 15px; /* Space between paragraphs */
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff0000;
}


/* Media Queries for Smaller Devices */
@media (max-width: 768px) {
    .church-state-content {
        flex-direction: column;
    }

    .subsection {
        flex-direction: column;
        text-align: center;
    }

    .subsection-image {
        width: 100%;
        max-width: 300px;
    }

    .subsection-video {
        width: 100%;
        max-width: 300px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow to match the images */
    }
    

    .subsection-text {
        text-align: center;
    }
}

/* --- JesusisGod: centered, responsive table (no horizontal scroll) --- */
.jesusisgod-section {
  padding: 50px 20px;
  background: var(--bg-color);
  color: var(--text);
  border-radius: 10px;
  margin: 50px auto;
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  text-align: center;
}

/* inner layout: center everything */
.jesusisgod-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;   /* center */
  flex-wrap: wrap;
  margin: 0 auto;
}

/* image */
.jesusisgod-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  flex: 0 0 420px;
}

/* text and table area */
.jesusisgod-text {
  flex: 1 1 520px;
  min-width: 260px;
  text-align: left; /* left for readability */
}

/* keep heading visually centered with page */
.jesusisgod-text h1 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

/* table wrapper - no horizontal scrollbar needed on desktop */
.jesusisgod-table-wrap {
  width: 100%;
  padding: 12px 0 0 0;
  background: transparent;
  box-sizing: border-box;
}

/* responsive table */
#jesusisgodTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;      /* lets cells wrap instead of extending width */
}

/* header / cell styling */
#jesusisgodTable th,
#jesusisgodTable td {
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,0.04);
  text-align: left;
  vertical-align: top;
  color: var(--text);
  word-break: break-word;   /* allow long text to wrap */
  white-space: normal;      /* important to allow wrapping */
}

/* header */
#jesusisgodTable th {
  background: rgba(27,38,49,0.9);
  color: var(--accent);
  font-weight: 700;
}

/* zebra rows */
#jesusisgodTable tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* Mobile: stack the table rows (no horizontal scrolling) */
@media (max-width: 720px) {
  .jesusisgod-inner { flex-direction: column; align-items: center; }
  .jesusisgod-image { max-width: 320px; flex: 0 0 auto; margin-bottom: 18px; }
  .jesusisgod-text { width: 100%; padding: 0 10px; text-align: left; }

  /* Make table rows display as blocks */
  #jesusisgodTable, 
  #jesusisgodTable thead, 
  #jesusisgodTable tbody, 
  #jesusisgodTable th, 
  #jesusisgodTable td, 
  #jesusisgodTable tr {
    display: block;
    width: 100%;
  }

  /* hide table header row (we'll show labels with :before on td) */
  #jesusisgodTable thead {
    display: none;
  }

  /* each row becomes a card */
  #jesusisgodTable tr {
    margin-bottom: 14px;
    border-radius: 8px;
    background: rgba(0,0,0,0.03);
    padding: 10px;
    box-shadow: none;
  }

  /* each cell becomes label + value */
  #jesusisgodTable td {
    border: none;
    padding: 8px 0;
    position: relative;
    padding-left: 50%;   /* space for the label */
  }

  /* label inserted from data-label (filled by JS) */
  #jesusisgodTable td:before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 8px;
    width: 42%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: 700;
    color: var(--accent);
  }
}


/* True Jesus Section with Slider */
.true-Jesus-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 10px;
    margin-top: 50px;
}

.true-Jesus-slider {
    max-width: 1050px;
    margin: 0 auto;
}

.true-Jesus-slide {
    display: none;
}

.true-Jesus-slide.active {
    display: block;
}


.section-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.true-Jesus-section h1 {
    font-size: 2.5rem;
    color: #f39c12; /* Accent color */
    margin-bottom: 20px;
}

.true-Jesus-slide p {
    font-size: 1.2rem; /* Adjust the font size as needed */
    line-height: 1.8; /* Increase line height for readability */
    margin-bottom: 20px; /* Add spacing below the paragraph */
    color: #fff; /* White text color */
    text-align: justify; /* Justify the paragraph text */
}

.true-Jesus-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}


.true-Jesus-slide ul {
    text-align: left;
    margin: 0 auto;
    max-width: 500px;
}

.true-Jesus-slide ul li {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 10px 0;
}

/* Slider Controls */
.true-Jesus-slider-controls {
    margin-top: 20px;
}

.true-Jesus-slider-controls button {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.true-Jesus-slider-controls button:hover {
    background-color: #e67e22;
}

/* Page Counter */
#true-Jesus-page-counter {
    font-size: 1.2rem;
    color: #f39c12;
    margin-top: 10px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .true-Jesus-video,
    .section-image {
        max-width: 100%;
    }

    .true-Jesus-slider {
        max-width: 768px;
        margin: 0 auto;
    }

    .true-Jesus-section h1 {
        font-size: 2rem;
    }

    .true-Jesus-slide ul li {
        font-size: 1rem;
    }

    .true-Jesus-slide p {
        font-size: 1rem;
    }
}


/***** Jesus Fulfilled Section *****/
.jesus-fulfilled-section {
    padding: 50px 20px;
    background-color: var(--bg-color);
    color: var(--text);
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.jesus-header h1 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.jesus-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.jesus-slide {
    display: none;
}

.jesus-slide.active {
    display: block;
}

.jesus-slide h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.jesus-slide p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.slider-controls button {
    padding: 10px 15px;
    background-color: var(--accent);
    border: none;
    color: var(--bg-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--hover-color);
}

.slider-controls span {
    font-size: 1.2rem;
    color: var(--text);
}

/***** Mobile Optimization *****/
@media (max-width: 768px) {
    .jesus-header h1 {
        font-size: 2rem;
    }

    .jesus-slide h2 {
        font-size: 1.8rem;
    }

    .jesus-slide p {
        font-size: 1rem;
    }

    .slider-controls button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}


/* New Section */
.new-section {
    padding: 50px 20px;
    background-color: #2c3e50; /* Adjust the background color as needed */
    color: #fff;
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
    max-width: 1050px;
}

.new-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent); /* Use the accent color for the title */
}

.new-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff; /* Ensure the text is white for good contrast */
}

/* Media Queries for Mobile View */
@media (max-width: 768px) {
    .new-section {
        padding: 30px 10px; /* Reduce padding for mobile devices */
        max-width: 768px;
    }

    .new-section h2 {
        font-size: 1.8rem; /* Slightly reduce the font size */
    }

    .new-section p {
        font-size: 1rem; /* Reduce the font size for mobile */
        line-height: 1.4; /* Adjust line-height for better readability */
    }
}

/* Add this styling to your style.css file */
.trinity-section {
    padding: 50px 20px;
    background-color: var(--bg-color);
    color: var(--text);
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.trinity-section .trinity-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.trinity-section h1 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.trinity-section ul {
    list-style-type: disc;
    margin: 20px auto;
    padding: 0 40px;
    text-align: left;
    max-width: 800px;
}

.trinity-section ul li {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text);
}

.trinity-section h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.trinity-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .trinity-section {
        padding: 30px 10px;
        max-width: 768px;
    }

    .trinity-section h1 {
        font-size: 2rem;
    }

    .trinity-section h2 {
        font-size: 1.8rem;
    }

    .trinity-section ul {
        padding: 0 20px;
    }

    .trinity-section ul li {
        font-size: 1rem;
    }

    .trinity-section p {
        font-size: 1rem;
    }
}



/***** Believing Heart Section *****/
.believing-heart-section {
    padding: 50px 20px;
    background-color: #2c3e50; /* Background color for the section */
    color: #ffffff; /* White text for readability */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.believing-heart-container {
    display: flex;
    flex-direction: row; /* Place image and text side-by-side */
    align-items: center;
    justify-content: center;
    gap: 30px; /* Space between image and text */
    max-width: 1200px;
    width: 100%;
}

.believing-heart-image {
    flex: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px; /* Optional: rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow for depth */
}

.believing-heart-text {
    flex: 2;
    text-align: left;
}

.believing-heart-text h1 {
    font-size: 2.5rem;
    color: #f39c12; /* Accent color */
    margin-bottom: 20px;
}

.believing-heart-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/***** Mobile Optimization *****/
@media (max-width: 768px) {
    .believing-heart-container {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
    }

    .believing-heart-image {
        margin-bottom: 20px;
    }

    .believing-heart-text {
        text-align: center;
    }

    .believing-heart-text h1 {
        font-size: 2rem;
    }

    .believing-heart-text p {
        font-size: 1rem;
    }
}


.container {
    display: flex;
    justify-content: center; /* Center the container */
    width: 100%;
    max-width: 1800px; /* Increase the max-width for even larger displays */
    margin-top: 80px;
}

.main-video {
    flex: 8; /* Maximize space for the video player */
    background-color: #181818;
    margin-right: 20px; /* Add space between video and playlist */
}

.main-video video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.main-video .title {
    margin-top: 15px;
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: bold;
}

.video-playlist {
    flex: 1; /* Reduce the width of the playlist to the minimum */
    background-color: #202020;
    padding: 15px;
    border-radius: 8px;
}

.video-playlist > p {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.video-playlist .videos {
    height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

.video-playlist .videos::-webkit-scrollbar {
    width: 8px;
}

.video-playlist .videos::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 10px;
}

.video-playlist .videos .video {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.video-playlist .videos .video:hover {
    background-color: var(--hover-color);
}

.video-playlist .videos .video.active {
    background-color: var(--secondary);
}

.video img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.video h3 {
    flex-grow: 1;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}

.video p.time {
    font-size: 0.8rem;
    color: var(--accent);
}

.play-pause-icon {
    width: 24px;
    height: 24px;
}

/* Final Message Section */
.final-message-section {
    padding: 40px 20px;
    background-color: #333; /* Background color for the section */
    text-align: center;
    margin-top: 40px; /* Add space between Bible Verses section */
}

.final-message-image {
    width: 100%;
    max-width: 400px; /* Control the maximum size of the image */
    height: auto;
    margin-bottom: 20px; /* Add spacing between the image and the title */
    border-radius: 10px; /* Optional: Add rounded corners */
}

.final-message-section h3 {
    font-size: 1.5rem; /* Adjust font size for the title */
    margin-bottom: 20px; /* Spacing below the title */
    color: var(--accent); /* Color for the title */
}

.final-message-section h4 {
    font-size: 1.2rem; /* Adjust font size for the subtitle */
    margin-bottom: 20px; /* Spacing below the subtitle */
    color: var(--secondary); /* White text for better contrast */
}

.final-message-content p {
    font-size: 1rem; /* Adjust font size if needed */
    line-height: 2;  /* Increase line height for better readability */
    color: #fff; /* White text for better contrast */
    text-align: center;
    margin-bottom: 10px;
}

/* Responsive Video */
.responsive-video {
    width: 600px;
    max-width: 600px; /* Ensures the video doesn't exceed the container width */
    height: auto;
    border-radius: 10px; /* Optional: add rounded corners to match your design */
}

/* Media Queries for Smaller Devices */
@media (max-width: 768px) {
    .final-message-section {
        padding: 20px 10px; /* Reduce padding for mobile devices */
    }

    .final-message-section h3 {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }

    .final-message-section h4 {
        font-size: 1.2rem; /* Adjust font size for mobile */
    }

    .final-message-content p {
        font-size: 1.2rem; /* Adjust font size for mobile */
    }

    .responsive-video {
        max-width: 100%; /* Adjust width for smaller screens */
        height: auto;
    }

}

/* Footer Styling */
footer {
    background-color: #202020;
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

footer p {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

footer p:last-of-type {
    margin-bottom: 0;
    font-size: 1rem;
}

footer a {
    color: #f39c12;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-social {
    margin-top: 10px;
}

.footer-facebook i {
    font-size: 20px;
    color: #ffffff;
    margin-left: 10px; /* space beside email */
    transition: 0.3s ease;
}

.footer-facebook i:hover {
    color: #3b5998; /* Facebook blue */
    transform: scale(1.1);
}


#progress-container {
    width: 80%;
    background-color: #ecf0f1;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 10px;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: #f39c12;
    transition: width 0.5s ease;
}

#progress-text {
    font-size: 1rem;
    color: #ecf0f1;
}


@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .main-video {
        width: 100%;
    }

    .video-playlist {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .video-playlist .videos {
        height: auto;
    }
}

