/* Ensure background image is correctly referenced */
body {
    background-image: url('/images/TVGIBackPlain.png'); /* Ensure correct path to image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    margin: 0;
    color: white; /* Set text to white */
    font-family: Arial, sans-serif; /* Optional: Default font */
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    color: white;
}

/* Link styles */
a {
    text-decoration: none;
    color: #add8e6; /* Light blue color for links */
}

a:hover {
    text-decoration: none;
    color: #ffffff; /* White color on hover */
}

/* Button styles */
button {
    color: white;
    background-color: #007bff; /* Blue button background */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3; /* Darken button on hover */
}

/* Section background with transparency */
section {
    padding: 20px;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    height: 30vh;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Add a semi-transparent background */
    padding: 20px;
    border-radius: 6px;
}

.hero-section h1 {
    font-size: 2em;
}

.hero-section p {
    font-size: 1em;
}

.cta-button {
    background-color: #0881a3;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
}

.cta-button:hover {
    background-color: #066b89;
}
/* Feature List Styling */
.feature-list {
    list-style: none; /* Remove default bullets */
    padding-left: 0; /* Remove left padding */
    margin-top: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 30px; /* Add space for custom bullet */
    margin-bottom: 10px; /* Spacing between list items */
    font-size: 1.1em; /* Slightly larger font for readability */
    color: #ffffff; /* Light blue text color for list items */
    text-align: left;
}

.feature-list li::before {
    content: '\2022'; /* Unicode bullet character */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    color: #0881a3; /* Custom color for the bullet */
}

.feature h3 {
    margin-bottom: 10px;
    color: #ffffff; /* White text for the heading */
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Section for NDI Solutions */
.ndi-solutions-section {
    padding: 40px;
    text-align: center;
    background-color: rgba(8, 129, 163, 0.3); /* Light background */
}

.ndi-solutions-section h2 {
    color: white;
    margin-bottom: 20px;
}

.ndi-solutions-section p {
    color: white;
    margin-bottom: 40px;
}

/* Image comparison section */
.image-comparison {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between the two images */
}

.image-item {
    text-align: center;
    cursor: pointer;
}

.image-item img {
    width: 100%; /* Ensure images fit their container */
    max-width: 765px;
    transition: 0.3s ease;
}

.image-item img:hover {
    opacity: 0.7; /* Hover effect to indicate clickability */
}

.image-item p {
    color: white;
    margin-top: 10px;
    font-size: 1em;
}

/* Learn More button centered and full width */
.learn-more-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.cta-button {
    background-color: #0881a3;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.5em;
    transition: background-color 0.3s ease;
    width: 150px; /* 75% width of the container */
    text-align: center;
}

.cta-button:hover {
    background-color: #066b89;
}
/* Modal (popup) styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background-color: rgba(0, 0, 0, 0.8); /* Dark background with some transparency */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.modal-content {
    max-width: 90%; /* Image will take up to 95% of the screen width */
    max-height: 90%; /* Ensures the image doesn't overflow vertically */
    margin: auto;
    display: block;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal .close:hover {
    color: #ccc;
}


/* Footer styles */
footer {
    text-align: center;
    padding: 20px;
}
.programs-section {
    text-align: center;
    padding: 50px;
    background-color: rgba(8, 129, 163, 0.3); /* Transparent blue background */
}

.programs-section h2 {
    color: white;
}

.programs-section p {
    color: white;
    margin-bottom: 40px;
}

/* Grid layout for the four programs */
.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px; /* Space between the items */
    padding: 0 20px;
}

.program {
    background-color: rgba(0, 0, 0, 0.7); /* Dark background for each program */
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
    transition: transform 0.3s;
}

.program img {
    border: 3px solid white; /* Border around the icon */
    padding: 10px; /* Space between image and border */
    border-radius: 10px;
    margin-bottom: 15px; /* Space between image and heading */
    width: auto;
    height: 150px; /* Keep height consistent as per your request */
}

.program h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: white;
}

.program p {
    font-size: 1em;
}

/* Add some interactivity on hover */
.program:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}


/* Gallery section styles */
.program-page {
    text-align: center;
    padding: 50px;
    background-color: rgba(8, 129, 163, 0.3); /* Transparent blue background */
}

.program-page h1 {
    color: white;
    margin-bottom: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns for the first row */
    gap: 20px;
    padding: 20px;
}

.image-item {
    /*background-color: rgba(8, 129, 163, 0.8);  Transparent blue background for individual items */
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid white;
}

.image-item p {
    margin-top: 10px;
    color: white;
    font-size: 1.2em;
}

/* Second-row image smaller than the first row and centered */
.small-item {
    grid-column: span 3; /* Span across all 3 columns */
    display: flex;
    flex-direction: column; /* Stack the image and text vertically */
    align-items: center; /* Center the image and text */
}

.small-item img {
    width: 65%; /* Make the second-row image 65% of the container */
    margin-bottom: 10px; /* Add some space below the image */
}

.small-item p {
    color: white; /* Adjust text color as needed */
    text-align: center; /* Center the text */
    font-size: 1.2em;
}

/* TVGI-Graphics page layout: 4 images in the first row, 2 in the second row */
.graphics-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for the first row */
    gap: 20px;
}

.wide-item {
    grid-column: span 2; /* Span the second row items across 2 columns */
}

/* TVGI-Social page layout: 3 images in the first row, 1 centered image in the second row */
.socials-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for the first row */
    gap: 20px;
}

.full-width-item {
    grid-column: span 3; /* The second row item spans across all 3 columns */
}



.logo img {
    max-height: 60px; /* Adjust the height of the logo as needed */
    display: block;
}
/* Basic header styling for flexbox alignment */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
}

nav ul li a:hover {
    color: #add8e6;
}

/* Dropdown container, initially hidden */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position right below the parent link */
    left: 0;
    background-color: rgba(8, 129, 163, 0.9); /* Dropdown background color */
    padding: 10px;
    list-style: none;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 10px 0;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    font-size: .8em;
}

.dropdown-menu li a:hover {
    color: #add8e6; /* Optional: change color on hover */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: Media query for smaller screens */


/* Contact section styles */
.contact-section {
    background-color: rgba(8, 129, 163, 0.3); /* Optional background color */
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form group to arrange labels and inputs */
.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

label {
    flex: 1; /* Left column for labels */
    color: white;
    font-size: 1.2em;
    text-align: right;
    margin-right: 20px; /* Space between label and input */
}

input, textarea {
    flex: 2; /* Right column for inputs */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
    width: 100%;
}

textarea {
    height: 150px; /* Set a standard height for the textarea */
}

/* Button styling */
button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    width: 150px;
    margin: 20px auto 0;
}

button:hover {
    background-color: #0056b3;
}

/* General styling for the description content */
.description-section {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(8, 129, 163, 0.3); /* Light background with transparency */
    border-radius: 10px;
    color: white;
    line-height: 1.6;
}

.description-section h2, .description-section h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.description-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.description-section ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.description-section ul li {
    margin-bottom: 15px;
}

.description-section strong {
    color: #add8e6; /* Optional: highlight for key terms */
}

/* Quote Section */
.quote-section {
    background-color: white;
    padding: 50px 0;
    color: #333;
    width: 100vw; /* Full width of the viewport */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the entire section */
}

.quote-container {
    display: flex;
    justify-content: flex-start;
    align-items: center; /* Vertically center logo and quote */
    max-width: 50vw; /* Limit the max width */
    margin: 0 auto;
    padding: 20px;
}

.quote-logo {
    flex: 0 0 200px; /* Fixed width for logo */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the logo within its container */
}

.quote-logo img {
    max-width: 100%;
    height: auto;
}

.vertical-separator {
    width: 2px;
    background-color: #0881a3;
    margin: 0 30px;
}

.quote-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 20px;
    text-align: left;
}

.quote-text h2 {
    color: #0881a3;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.quote-icon {
    margin-bottom: 20px;
}

.quote-icon img {
    width: 40px;
    height: 40px;
}

blockquote {
    font-size: 1.3em;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.quote-author {
    text-align: right;
    margin-top: 20px;
}

.quote-author p {
    margin: 0;
    color: #333;
}

.quote-author p:nth-child(1) {
    color: #ff6600;
    font-weight: bold;
    font-size: 1.2em;
}

.quote-author p:nth-child(2),
.quote-author p:nth-child(3) {
    color: #666;
    font-size: 1em;
}



/* Footer */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links img {
    width: 24px;
    height: 24px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #0881a3;
}

/* General layout */
body {
    font-family: Arial, sans-serif;
}

.video-tutorials {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

/* Video Player Container (Left) */
.video-container {
    flex: 3; /* Width of the video player (right panel) */
    padding-right: 20px;
}
.video-player-container {
    border: 3px solid #007bff; /* Blue border, you can adjust the color */
    padding: 5px; /* Optional: Add some padding inside the border */
    border-radius: 5px; /* Optional: Make the border corners rounded */
    background-color: #0881a3; /* Optional: Background color inside the border */
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
}

.video-details {
    margin-top: 15px;
}

.video-details h2 {
    font-size: 1.5em;
}

.video-details p {
    font-size: 1em;
    color: #666;
}

/* Playlist Container (Right) */
.playlist-container {
    flex: 1; /* Width of the playlist (left panel) */
    max-width: 350px;
    border-left: 1px solid #ccc;
    padding-left: 20px;
    overflow-y: auto;
    height: 90vh;
}

.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist li {
    margin-bottom: 5px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    /* border-bottom: 1px solid #ddd;*/
}

.playlist li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 100%;
}

.playlist li img {
    width: 80px;
    height: 45px;
    margin-right: 15px;
    object-fit: cover;
}

.playlist li h4 {
    font-size: 1em;
}

.playlist li:hover {
    background-color: #0881a3;
}


/* Responsive Design for screens smaller than 768px */
@media (max-width: 768px) {
    /* Quote Section */
    .quote-container {
        flex-direction: column;
        align-items: center;
    }

    .vertical-separator {
        display: none;
    }

    .quote-text {
        text-align: center;
        padding: 0;
    }

    .quote-author {
        text-align: center;
    }

    /* Contact Form: Stack form fields vertically on smaller screens */
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    label {
        text-align: left;
        margin-bottom: 5px;
    }

    button {
        width: 100%;
    }

    /* Header & Navigation */
    header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
    }

    .dropdown-menu {
        position: static; /* Stacks below the parent link */
    }

    /* Image Galleries */
    .graphics-gallery, .socials-gallery {
        grid-template-columns: 1fr; /* Stack all images vertically */
    }

    .wide-item, .full-width-item {
        grid-column: span 1; /* Ensure the images don’t span multiple columns */
    }

    /* Program Grid */
    .program-grid {
        grid-template-columns: 1fr; /* Stack programs vertically */
    }
    
     .video-tutorials {
        flex-direction: column;
    }

    .video-container {
        width: 100%;
        padding-right: 0;
    }

    .playlist-container {
        width: 100%;
        max-width: none;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }
}

/* Responsive design for screens smaller than 1200px */
@media (max-width: 1200px) {
    .program-grid {
        grid-template-columns: 1fr 1fr; /* Two columns on medium screens */
    }
}
