/* Background with subtle effect */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    margin: 0; /* Reset body margin */
    padding: 0; /* Reset body padding */
    background-image: url('https://www.transparenttextures.com/patterns/diagonal-stripes.png'); /* Subtle texture pattern */
    background-repeat: repeat; /* Repeating the pattern */
}
/* CSS Reset */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    margin: 0; /* Reset body margin */
    padding: 0; /* Reset body padding */
}

/* Header Section */
.header {
    text-align: center;
    background: linear-gradient(90deg, #0057B8, #AF29BB);
    color: white;
    padding: 1.5rem 1rem; /* Reduced top padding */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 150px;
    margin-bottom: 0.5rem; /* Reduced space between logo and title */
    transform: none;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0.25rem; /* Reduced margin top */
    margin-bottom: 0.5rem; /* Reduced margin bottom */
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 1rem;
}

/* Section Titles */
.showcase-section,
.video-section {
    margin: 2rem auto; /* Reduced margin between sections */
    padding: 1rem;
    text-align: center;
}
/* Styling for all h2 headings */
h2 {
    font-size: 2.5rem; /* Larger size for emphasis */
    color: #3b5998; /* Bold color */
    font-weight: bold;
    margin-bottom: 1rem; /* Spacing below the heading */
    text-align: center; /* Center alignment */
    letter-spacing: 1px; /* Slight letter spacing */
    text-transform: uppercase; /* Uppercase for a strong look */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Responsive Adjustments for h2 */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem; /* Slightly smaller size for medium screens */
        letter-spacing: 0.5px; /* Reduced letter spacing */
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 1.75rem; /* Smaller font size for small screens */
        text-align: left; /* Left alignment for smaller screens */
    }
}

.showcase-section h2,
.video-section h2 {
    font-size: 2rem;
    color: #3b5998;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Content Containers */
.content-container,
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted for smaller screens */
    gap: 1.5rem; /* Reduced gap between items */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

/* Content Boxes */
.content-box,
.video-box {
    background: linear-gradient(120deg, #f7faff, #eaeff8);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box:hover,
.video-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Content Titles */
.content-box h3,
.video-box h3 {
    font-size: 1.5rem;
    color: #AF29BB;
    margin-top: 0; /* Reset margin-top to remove space before the h3 */
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.content-box p,
.video-box p {
    font-size: 1rem;
    margin-top: 0; /* Remove any unnecessary top margin */
    margin-bottom: 0.5rem; /* Standardize bottom margin */
    color: #666;
}

/* iFrame Player */
.iframe-player {
    width: 100%;
    height: 250px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Gradient View Button */
.view-button {
    margin: 1rem auto 0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: white;
    background: linear-gradient(90deg, #0057B8, #AF29BB);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: inline-block;
}

.view-button:hover {
    background: linear-gradient(90deg, #AF29BB, #0057B8);
    transform: scale(1.05);
}

/* Video Player */
.video-player {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    background: #0057B8;
    background: linear-gradient(90deg, #0057B8, #AF29BB);
    color: white;
    margin-top: 2rem;
}

.footer p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .showcase-section h2,
    .video-section h2 {
        font-size: 1.5rem;
    }

    .content-box h3,
     .video-box h3 {
        font-size: 1.25rem; /* Adjust font size for smaller screens */
        margin-top: 0.25rem; /* Add slight space for small screens */
    }

    .content-box p,
    .video-box p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem; /* Consistent bottom margin */

    }

    .view-button {
        font-size: 1.1rem;
        padding: 0.8rem 1.4rem;
    }

    .content-container,
    .video-container {
        padding: 0 1rem; /* Adjust padding */
    }

    /* Footer Adjustments */
    .footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .iframe-player,
    .video-player {
        height: 200px;
    }

    .content-box h3,
    .video-box h3 {
        font-size: 1.1rem;
         margin-top: 0.25rem;
    }

    .content-box p,
    .video-box p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem; /* Consistent margin */
    }

    .view-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .footer p {
        font-size: 0.8rem;
    }
}
