/* Basic Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header */
header {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 3em;
    font-weight: bold;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Main Sections */
section {
    padding: 40px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #6a11cb;
}

section p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* YouTube Embed */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Latest Videos Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.video-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 15px;
}

.video-item iframe {
    width: 100%;
    height: 180px; /* Adjust as needed */
    border: none;
    margin-bottom: 10px;
}

.video-item p {
    font-weight: bold;
    color: #555;
    font-size: 1em;
    margin: 0;
    padding: 0 10px;
}

/* Call to Action Button */
.view-more-button {
    text-align: center;
    margin-top: 40px;
}

.button {
    display: inline-block;
    background: #2575fc;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background 0.3s ease;
}

.button:hover {
    background: #1a5acb;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.social-links a {
    color: #fff;
    font-size: 1.8em;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2575fc; /* Highlight color on hover */
}

footer p {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    header p {
        font-size: 1em;
    }

    section h2 {
        font-size: 2em;
    }

    .video-grid {
        grid-template-columns: 1fr; /* Stack videos on small screens */
    }

    .video-item iframe {
        height: 220px; /* Adjust height for mobile */
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 0;
    }

    header h1 {
        font-size: 2em;
    }

    .social-links a {
        font-size: 1.5em;
        margin: 0 10px;
    }
}
