/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Styling for the Top Contact Information */
.top-contact {
    background-color: #f1f1f1; /* Light background for visibility */
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.top-contact a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}


/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* Mobile Menu */
header .menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Banner Styles */
.banner {
    background: #555;
    color: #fff;
    text-align: center;
    padding: 5em 1em 2em 1em;
    margin-top: 3.5em; /* Adjust for fixed header */
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1em;
}

/* Courses Section */
.course {
    background: #fff;
    margin: 1em 0;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.course h3 {
    margin-top: 0;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
}

/* Centering the Demo and Payment section */
.centered {
    text-align: center;
}

/* Button container styling */
.button-container {
    margin-top: 20px;
}

/* General button styling */
.btn {
    display: inline-block;
    padding: 15px 30px; /* Larger padding for bigger buttons */
    font-size: 18px; /* Larger font size */
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}

/* Demo button specific styling */
.demo-btn {
    background-color: #4CAF50; /* Green background for the demo button */
}

.demo-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Payment button specific styling */
.payment-btn {
    background-color: #f44336; /* Red background for the payment button */
    margin-top: 10px; /* Margin to add space from the previous button */
}

.payment-btn:hover {
    background-color: #d32f2f; /* Darker red on hover */
}

/* Contact Section Styles */
#contact p {
    font-size: 16px;
    line-height: 1.5;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    color: #000;
    text-decoration: none;
    margin-right: 10px;
}

.social-media a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        display: none;
        width: 100%;
    }

    header nav ul li {
        text-align: left;
        width: 100%;
        padding: 0.5em 0;
    }

    header nav ul li a {
        display: block;
        padding: 0.5em 1em;
    }

    header .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .video-container {
        text-align: center;
        margin: 20px 0;
    }
    
    .video-container video {
        max-width: 100%;
        height: auto;
    }

    /* Show menu when toggle is clicked */
    header.nav-open nav ul {
        display: flex;
    }

    /* Banner */
    .banner {
        padding: 4em 1em;
        font-size: 0.9em;
    }

    /* Courses Section */
    .course {
        margin: 1em 0;
        text-align: center;
    }

    /* Footer */
    footer {
        font-size: 0.8em;
    }
    /* Centered review box */
.review-box {
    width: 652px;
    height: 300px; /* Fixed height to maintain consistency */
    max-width: 90%;
    margin: 0 auto;
    background-color: #f9f9f9; /* Light gray background */
    border-radius: 10px; /* Rounded corners */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    overflow: hidden;
    border: 1px solid #ddd; /* Light border */
    position: relative; /* Position relative to place buttons */
}

/* Review image or content inside the box */
.review-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Maintain aspect ratio */
}

/* Review controls (buttons) */
.review-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px; /* Space below the review box */
}

.review-controls button {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border: none;
    border-radius: 50%; /* Circle buttons */
    cursor: pointer;
    background-color: #007BFF; /* Universal button color (blue) */
    color: white; /* Text/icon color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Button shadow */
    transition: background-color 0.3s ease, transform 0.2s;
}

.review-controls button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.1); /* Button enlarges slightly on hover */
}

/* Ensure the entire review section stays aligned */
.review-section {
    text-align: center;
    margin: 20px auto;
}

/* Responsive Design for Reviews */
@media (max-width: 600px) {
    .review-box {
        width: 100%; /* Full width on small screens */
        height: 250px; /* Adjust height for smaller screens */
    }

    .review-controls button {
        width: 40px; /* Smaller buttons */
        height: 40px;
        font-size: 16px;
    }
}

}