: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 {
    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 (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;
    }
}

video {
    pointer-events: none;
}

/* 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);
}

/* 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; /* Space between purpose and other sections */
}

.purpose-content {
    max-width: 1100px;
    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; /* Adjust the font size if needed */
    line-height: 1.8; /* Adjust the line height for better readability */
    margin-bottom: 20px; /* Adds space between paragraphs */
}

/* Mobile Optimization */
@media (max-width: 768px) {

    .purpose-content h1 {
        font-size: 1.8rem; /* Adjust font size for mobile */
    }

    .purpose-content p {
        font-size: 1rem; /* Adjust paragraph font size for mobile */
        line-height: 1.8;
    }
}

/* Importance of Biblical Archeology Section */
.importance-biblical-archeology-section {
    padding: 50px 20px;
    background-color: #2c3e50; /* Dark blue-gray background */
    color: #ffffff; /* White text */
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.archeology-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Slider Styling */
.importance-archeology-slider-container {
    max-width: 1100px;
    margin: 0 auto;
}

.importance-archeology-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow: hidden;
}

.importance-archeology-slide {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 20px;
}

.importance-archeology-slide.active {
    display: block;
}

.importance-biblical-archeology-section h1 {
    font-size: 2.5rem;
    color: #f39c12; /* Gold/Yellow accent */
    margin-bottom: 20px;
}

.importance-archeology-slider h2 {
    font-size: 2rem;
    color: #f39c12; /* Accent color */
    margin-bottom: 20px;
}

.importance-archeology-slider p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

/* Slider Controls */
.importance-archeology-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.importance-archeology-slider-controls button {
    background-color: #f39c12;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 5px;
}

.importance-archeology-slider-controls button:hover {
    background-color: #e67e22;
}

/* Page Counter */
#importance-archeology-page-counter {
    font-size: 1.2rem;
    color: #f39c12;
    margin-top: 10px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .importance-archeology-slider-container {
        width: 100%;
    }

    .importance-biblical-archeology-section h1 {
        font-size: 2rem;
    }

    .importance-archeology-slider h2 {
        font-size: 1.5rem;
    }

    .importance-archeology-slider p {
        font-size: 1rem;
    }

    .importance-archeology-slider-controls button {
        font-size: 1.2rem;
        padding: 8px 16px;
    }

    #importance-archeology-page-counter {
        font-size: 1rem;
    }
}


.facebook-slider-section {
    margin-top: 50px;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    border-radius: 10px;
}

.facebook-slider-section h1 {
    font-size: 2.5rem;
    color: var(--accent); /* Use your accent color or adjust as needed */
    margin-bottom: 20px;
    text-align: center;
}

.facebook-slide {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px auto;
    max-width: 800px !important; /* Forcefully increase the width */
    width: 100% !important; /* Ensure it uses the full available width */
}

.facebook-slide:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.facebook-slide h2 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.facebook-slide p {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
}

.facebook-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.facebook-slide ul {
    list-style-type: disc; /* Use a disc as the bullet point */
    padding-left: 20px; /* Add some padding to align the list items */
    margin-bottom: 20px; /* Space between the list and the image */
}

.facebook-slide ul li {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 10px;
    text-align: left;
}

#page-counter {
    font-size: 1.2rem;
    color: var(--accent); /* Use your accent color */
    margin-top: 10px;
    text-align: center;
}

#facebook-icon {
    font-size: 30px; /* Adjust the size */
    margin-left: 10px;
    color: #1877F2; /* Facebook blue */
    transition: color 0.3s ease, transform 0.3s ease;
}

#facebook-icon:hover {
    color: #145dbf; /* Slightly darker blue on hover */
    transform: scale(1.1);
}


.slider-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%; /* or set a high value like 1200px to allow more space */
    width: 100%; /* Ensure it can expand to fit the content */
    
}

.slider {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}


/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-controls button {
    background-color: var(--accent);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 10px;
}

.slider-controls button:hover {
    background-color: var(--hover-color);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .slider-container {
        width: 100%; /* Make the slider container full width on mobile */
    }

    .facebook-slider-section {
        padding: 30px 10px;
    }

    /* Optimizing the Post Container for Mobile */
    .facebook-slide {
        padding: 15px;
        margin: 15px auto;
    }

    .facebook-slide h2 {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }

    .facebook-slide p {
        font-size: 1rem; /* Smaller paragraph font size */
    }

    /* Page Counter */
    #page-counter {
        font-size: 1rem; /* Smaller page counter font size for mobile */
    }

    .slider-controls button {
        font-size: 1.2rem; /* Make buttons smaller on mobile */
        padding: 8px 16px; /* Adjust padding for smaller devices */
    }
}

.facebook-slide {
    display: none; /* Hide all slides by default */
    opacity: 0;
    transition: opacity 1.5s ease; /* Set the transition duration and easing */
}

.facebook-slide.active {
    display: block; /* Show only the active slide */
    opacity: 1;
}

/* Trey Smith Section Styling */
.trey-smith-slider-section {
    padding: 50px 20px;
    background-color: #4e342e; /* Dirt brown background */
    color: #e0f2f1; /* Light text color */
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.trey-smith-slider-section h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #f44336; /* Red color for the heading */
}

.trey-smith-logo {
    width: 150px; /* Adjust the size as needed */
    height: auto;
    transition: transform 0.3s ease; /* Add hover effect */
}

.trey-smith-logo:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Social Links Styling with Font Awesome */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 40px;
    color: #388e3c; /* Green color for social media icons */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    color: #66bb6a; /* Lighter green on hover */
}

.trey-intro-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: justify;
    color: #388e3c; /* Light text color */
    text-align: center;
}


.trey-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.trey-slider {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
    width: 100%; /* Ensure the slider takes full width */
    overflow: hidden; /* Hide the overflow */
}

.trey-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto; /* Ensures proper scaling */
}

.trey-slide iframe {
    width: 100%;
    max-width: 800px; /* Ensures the video doesn't exceed 800px in width */
    height: 450px; /* Set a fixed height for the video */
    border: none;
}

#trey-page-counter {
    font-size: 1.2rem;
    margin-top: 20px;
}

.trey-slide.active {
    display: block; /* Show the active slide */
}

.trey-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.trey-slider-controls button {
    background-color: #d32f2f; /* Red button color */
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 5px;
}

.trey-slider-controls button:hover {
    background-color: #c62828; /* Darker red on hover */
}

#trey-page-counter {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .trey-slide iframe {
        width: 100%;
        height: 300px;
    }
}

/* Answers in Genesis Section Styling */
.answers-genesis-slider-section {
    padding: 50px 20px;
    background-color: #003366; /* Dark blue background */
    color: #ffffff; /* White text color */
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.answers-genesis-slider-section h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #00bfff; /* Light blue for the h2 heading */
}

.genesis-logo {
    width: 100px; /* Adjust the size of the logo */
    height: auto;
    transition: transform 0.3s ease;
}

.genesis-logo:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Social Links Styling for Answers in Genesis */
.social-links-genesis {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon-genesis {
    font-size: 40px;
    color: #00bfff; /* Light blue for social icons */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-genesis:hover {
    transform: scale(1.1);
    color: #87ceeb; /* Lighter blue on hover */
}

.genesis-intro-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: justify;
    color: #ffffff; /* White text */
    text-align: center;
}

.genesis-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.genesis-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow: hidden;
}

.genesis-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.genesis-slide iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
}

#genesis-page-counter {
    font-size: 1.2rem;
    margin-top: 20px;
}

.genesis-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.genesis-slider-controls button {
    background-color: #00bfff; /* Light blue button background */
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 5px;
}

.genesis-slide {
    display: none; /* Hide all slides by default */
}

.genesis-slide.active {
    display: block; /* Show only the active slide */
}


.genesis-slider-controls button:hover {
    background-color: #0099cc; /* Darker blue on hover */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .genesis-slide iframe {
        width: 100%;
        height: 300px;
    }
}

/* Expedition Bible Section Styling */
.expedition-bible-slider-section {
    padding: 50px 20px;
    background-color: #d2b48c; /* Light brown background */
    color: #ffffff; /* White text color */
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.expedition-bible-slider-section h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #000000; /* Black for the h2 heading */
}

.expedition-intro-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff; /* White text */
}

.expedition-logo {
    width: 150px; /* Adjust the width to suit your layout */
    height: 100px;
    margin-left: 10px;
    border-radius: 5px;
}

.expedition-logo:hover {
    transform: scale(1.1); /* Slightly increase the size on hover */
    opacity: 0.8; /* Add a slight transparency on hover */
}

/* Social Links Styling for Expedition Bible */
.social-links-expedition {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon-expedition {
    font-size: 40px;
    color: #000000; /* Black for social icons */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-expedition:hover {
    transform: scale(1.1);
    color: #8b4513; /* Darker brown on hover */
}

.expedition-intro-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: justify;
    color: #ffffff; /* White text */
}

/* Slider Styling */
.expedition-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.expedition-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow: hidden;
}

.expedition-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.expedition-slide iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
}

#expedition-page-counter {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Slider Controls */
.expedition-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.expedition-slider-controls button {
    background-color: #000000; /* Black button background */
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 5px;
}

.expedition-slide {
    display: none; /* Hide all slides by default */
}

.expedition-slide.active {
    display: block; /* Show only the active slide */
}

.expedition-slider-controls button:hover {
    background-color: #8b4513; /* Dark brown on hover */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .expedition-slide iframe {
        width: 100%;
        height: 300px;
    }
}

/* Genesis Apologetics Section Styling */
.genesis-apologetics-section {
    padding: 50px 20px;
    background-color: #34495e; /* Dark grayish-blue */
    color: #ecf0f1; /* Light text color */
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

.genesis-apologetics-section h1 {
    font-size: 2.5rem;
    color: #f1c40f; /* Golden accent color */
    margin-bottom: 20px;
    display: inline-block;
}

.genesis-logo {
    width: 100px;
    height: auto;
    margin-left: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.genesis-logo:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Social Links Styling */
.social-links-genesis-apologetics {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon-genesis {
    font-size: 40px;
    color: #ecf0f1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-genesis:hover {
    transform: scale(1.1);
    color: #f1c40f; /* Golden accent */
}

/* Description Styling */
.genesis-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/* Embedded YouTube Video Styling */
.genesis-video-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.genesis-video-container iframe {
    max-width: 100%;
    border-radius: 10px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .genesis-apologetics-section h1 {
        font-size: 2rem;
    }

    .social-links-genesis-apologetics {
        gap: 10px;
    }

    .social-icon-genesis {
        font-size: 30px;
    }

    .genesis-description {
        font-size: 1rem;
    }
}

/* Theory of Evolution Section Styling */
.theory-evolution-section {
    padding: 50px 20px;
    background-color: var(--bg-color);
    color: var(--text);
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
    max-width: 1200px; /* Increase the max-width for the entire section */
    margin-left: auto;
    margin-right: auto; /* Center the section */
}

.theory-evolution-section h2 {
    font-size: 2.5rem; /* Slightly larger font size for the title */
    color: var(--accent);
    margin-bottom: 20px;
}

.evolution-video-container {
    max-width: 1200px; /* Set a wider maximum width for the video container */
    margin: 0 auto 30px auto;
}

.evolution-video {
    width: 100%; /* Keep the video responsive */
    border-radius: 10px;
}

.evolution-slider-container {
    max-width: 1100px; /* Increase the max-width for the slider container */
    margin: 0 auto;
}

.evolution-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow: hidden;
}

.evolution-slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.evolution-slide.active {
    display: block;
}

.evolution-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.evolution-slider-controls button {
    background-color: var(--accent);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 10px;
}

.evolution-slider-controls button:hover {
    background-color: var(--hover-color);
}

#evolution-page-counter {
    font-size: 1.2rem;
    margin-top: 10px;
    text-align: center;
    color: var(--accent);
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
    .theory-evolution-section {
        max-width: 100%; /* Make the section full width on mobile */
        padding: 20px; /* Reduce padding for mobile devices */
    }

    .theory-evolution-section h2 {
        font-size: 2rem; /* Adjust the title size for smaller screens */
    }

    .evolution-video-container {
        max-width: 100%; /* Ensure the video container is full width */
    }

    .evolution-slider-container {
        max-width: 100%; /* Ensure the slider is full width */
    }

    .evolution-slider-controls button {
        padding: 8px 15px; /* Adjust button padding for smaller screens */
        font-size: 1.2rem; /* Adjust button text size */
    }

    #evolution-page-counter {
        font-size: 1rem; /* Slightly smaller page counter text */
    }
}

/* Extra Small Devices */
@media screen and (max-width: 480px) {
    .theory-evolution-section {
        padding: 15px; /* Further reduce padding for extra small devices */
    }

    .theory-evolution-section h2 {
        font-size: 1.8rem; /* Further adjust the title size */
    }

    .evolution-slider-controls button {
        padding: 6px 12px; /* Adjust button size further for small devices */
        font-size: 1rem; /* Smaller font size for buttons */
    }

    #evolution-page-counter {
        font-size: 0.9rem; /* Smaller page counter text */
    }
}

/* 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;
}
