body {
    background-color: black;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
#bordered {
    color: #207122;
    font-family: Segoe Script;
    font-size: 24pt;
    font-weight: 900;
}
#caption {
    color: #85CB87;
    font-family: arial;
    font-size: 12pt;
    vertical-align: baseline;
}
#spacer100 {
    margin: 8%;
}
#spacer10 {
    margin: 10px;
}
#topheader {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1a4d5e 0%, #0d2633 100%);
    position: relative;
}

#topheader img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.header-branding {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.75);
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #85CB87;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.header-logo {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    border-radius: 50%;
    border: 2px solid #85CB87;
    box-shadow: 0 2px 6px rgba(133, 203, 135, 0.5);
    object-fit: cover;
}

.brand-tagline {
    color: #85CB87;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .header-branding {
        top: 8px;
        right: 8px;
        padding: 8px 12px;
    }

    .header-logo {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
    }

    .brand-tagline {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .header-branding {
        top: 5px;
        right: 5px;
        padding: 6px 8px;
    }

    .header-logo {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        border: 2px solid #85CB87;
    }

    .brand-tagline {
        font-size: 8px;
    }
}

#headerimg, img {
    color: #000000;
    background-color: black;
    max-width: 100%;
}

.channel-logo {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    border-radius: 50%;
    border: 3px solid #85CB87;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}
ul#list-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    background: linear-gradient(to bottom, #708090 0%, slategray 50%, #5a6a7a 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

    ul#list-nav li {
        flex: 1;
        min-width: 0;
    }

        ul#list-nav li a {
            text-decoration: none;
            padding: 15px 5px;
            background-color: transparent;
            color: white;
            display: block;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 22px;
            font-weight: normal;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

        ul#list-nav li:last-child a {
            border-right: none;
        }

            ul#list-nav li a:hover {
                background-color: rgba(0, 0, 0, 0.3);
                color: #85CB87;
                transform: translateY(-2px);
            }

@media (max-width: 768px) {
    ul#list-nav li a {
        font-size: 12px;
        padding: 10px 2px;
    }
}

@media (max-width: 480px) {
    ul#list-nav li a {
        font-size: 10px;
        padding: 8px 1px;
    }
}

.home-container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    gap: 20px;
}

@media (min-width: 1025px) {
    .home-container {
        flex-wrap: nowrap;
        flex-direction: row;
    }
}

@media (max-width: 1024px) {
    .home-container {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 10px;
        min-height: auto;
    }
}

#messagebodyimg {
    padding: 20px;
    color: white;
    white-space: normal;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0;
    box-sizing: border-box;
    max-width: 100%;
}

#messagebodyimg iframe {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

@media (min-width: 1025px) {
    #messagebodyimg {
        order: 2;
        flex: 0 0 55%;
        min-width: 0;
    }
}

@media (max-width: 1024px) {
    #messagebodyimg {
        order: 2;
        flex: 1 1 100%;
        padding: 10px;
        width: 100%;
        clear: both;
        max-width: 100%;
        box-sizing: border-box;
    }

    #messagebodyimg iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
#webcamlabel {
    color:white;
    font: bold;
    margin-top:100px;
    font-size:larger;
  
}
table {
    width: 100%;
    border: none;
   
}
td {
    text-align: center;
}
#webcam1 {
   float:left;
   margin-top: 5%;
 }
 #webcam2 {
   float: right;
   margin-top: 5%;    
 }
#messagebodytext {
    text-align: left;
    padding: 20px;
    color: white;
    min-height: 100px;
    font-size: larger;
    background: rgba(133, 203, 135, 0.1);
    border-left: 4px solid #85CB87;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

#messagebodytext p {
    margin-bottom: 15px;
}

#messagebodytext iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.text-logo {
    max-width: 150px !important;
    width: 150px !important;
    height: 150px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    float: right;
    margin: 0 0 20px 25px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(133, 203, 135, 0.4);
    border: 3px solid #85CB87;
}

@media (min-width: 1025px) {
    #messagebodytext {
        order: 1;
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (max-width: 1024px) {
    #messagebodytext {
        order: 1;
        padding: 15px;
        font-size: medium;
        flex: 1 1 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .text-logo {
        float: none;
        display: block;
        margin: 0 auto 25px auto;
        max-width: 150px !important;
        width: 150px !important;
        height: 150px !important;
        aspect-ratio: 1 / 1;
        border: 3px solid #85CB87;
        box-shadow: 0 6px 15px rgba(133, 203, 135, 0.4);
    }
}

@media (max-width: 480px) {
    #messagebodytext {
        padding: 10px;
        font-size: small;
    }

    .text-logo {
        max-width: 120px !important;
        width: 120px !important;
        height: 120px !important;
        aspect-ratio: 1 / 1;
    }

    .home-container {
        padding: 5px;
    }
}

.logoimgleft {
    float:left;
    margin-left:6%;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(133, 203, 135, 0.3);
    border-radius: 8px;
}
.logoimgright {
    float:right;
    margin-right:6%;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(133, 203, 135, 0.3);
    border-radius: 8px;
}

.contact-button {
    display: inline-block;
    padding: 15px 30px;
    margin-top: 20px;
    background: linear-gradient(to bottom, #85CB87 0%, #207122 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-button:hover {
    background: linear-gradient(to bottom, #9ee0a0 0%, #2a8f34 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

#messagebodytext h2 {
    color: #85CB87;
    margin-top: 0;
    margin-bottom: 15px;
}

.site-footer {
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(133, 203, 135, 0.2);
}

.site-footer > div {
    margin: 15px 0;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(133, 203, 135, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(133, 203, 135, 0.2);
}

.footer-logo {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    border-radius: 50%;
    border: 3px solid #85CB87;
    box-shadow: 0 4px 12px rgba(133, 203, 135, 0.3);
    object-fit: cover;
}

.footer-brand-text {
    color: #85CB87;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.footer-copyright {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 480px) {
    .footer-logo {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
    }

    .footer-brand-text {
        font-size: 16px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

.products-section {
    max-width: 1400px;
    margin: 50px auto 0 auto;
    padding: 30px 20px;
    background: rgba(133, 203, 135, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(133, 203, 135, 0.2);
}

.products-section h2 {
    color: #85CB87;
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.products-intro {
    color: #ccc;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    gap: 20px;
    padding: 10px;
    justify-content: center;
}

.product-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 220px;
}

.product-card.large {
    max-width: 460px;
    grid-column: span 2;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(133, 203, 135, 0.3);
}

.product-card a {
    text-decoration: none;
    display: block;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
    background: white;
}

.product-info {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
}

.product-info h3 {
    color: #85CB87;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.product-info p {
    color: #ccc;
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
        gap: 12px;
    }

    .product-card {
        max-width: 160px;
    }

    .products-section {
        padding: 20px 10px;
        margin: 30px 10px 0 10px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-info p {
        font-size: 12px;
    }
}

.channel-showcase {
    margin-bottom: 20px;
}

.channel-card {
    display: block;
    background: linear-gradient(135deg, rgba(133, 203, 135, 0.15) 0%, rgba(32, 113, 34, 0.15) 100%);
    border: 2px solid #85CB87;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(133, 203, 135, 0.4);
    border-color: #9ee0a0;
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.channel-details h3 {
    color: #85CB87;
    font-size: 24px;
    margin: 0 0 5px 0;
}

.channel-details p {
    color: #ccc;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.visit-channel-btn {
    display: inline-block;
    background: #85CB87;
    color: #000;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease;
}

.channel-card:hover .visit-channel-btn {
    background: #9ee0a0;
    transform: translateX(5px);
}

.channel-description {
    color: white;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.playlist-showcase {
    margin-top: 20px;
}

.playlist-showcase h3 {
    color: #85CB87;
    font-size: 20px;
    margin: 0 0 15px 0;
    text-align: center;
}

.youtube-page-link {
    text-align: center;
    margin-top: 20px;
}

.youtube-link-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to bottom, #85CB87 0%, #207122 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.youtube-link-btn:hover {
    background: linear-gradient(to bottom, #9ee0a0 0%, #2a8f34 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(133, 203, 135, 0.5);
}

@media (max-width: 1024px) {
    .channel-logo {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
    }

    .channel-details h3 {
        font-size: 20px;
    }

    .channel-header {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .channel-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .channel-card {
        max-width: 280px;
        padding: 15px;
    }
}

/* Webcam Viewer Styles */
.webcam-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 15px;
    color: white;
}

/* Gallery Card Styles */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.gallery-title {
    text-align: center;
    color: #85CB87;
    font-size: 32px;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
    gap: 20px;
    justify-content: center;
}

.gallery-card {
    background: rgba(133, 203, 135, 0.1);
    border: 2px solid rgba(133, 203, 135, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(133, 203, 135, 0.4);
    border-color: #85CB87;
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-card.wide {
    grid-column: span 2;
}

.gallery-card.wide img {
    height: 400px;
}

.gallery-card.logo-card {
    background: linear-gradient(135deg, rgba(133, 203, 135, 0.2) 0%, rgba(32, 113, 34, 0.2) 100%);
    border: 3px solid #85CB87;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: pointer;
}

.gallery-card.logo-card:hover {
    background: linear-gradient(135deg, rgba(133, 203, 135, 0.3) 0%, rgba(32, 113, 34, 0.3) 100%);
}

.gallery-card.logo-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #85CB87;
    box-shadow: 0 4px 12px rgba(133, 203, 135, 0.5);
    margin-bottom: 20px;
}

.gallery-card.logo-card h3 {
    color: #85CB87;
    font-size: 22px;
    margin: 0 0 10px 0;
    text-align: center;
}

.gallery-card.logo-card p {
    color: white;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.gallery-card.logo-card .youtube-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #85CB87;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.gallery-card.logo-card .youtube-link:hover {
    background: #9ee0a0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }

    .gallery-card img {
        height: 240px;
    }

    .gallery-card.logo-card img {
        width: 140px;
        height: 140px;
    }
}

/* Webcam Viewer Styles */
.webcam-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 15px;
    color: white;
}

.webcam-title {
    text-align: center;
    color: #85CB87;
    font-size: 22px;
    margin-bottom: 8px;
}

.webcam-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 11px;
    margin-bottom: 25px;
}

.webcam-viewer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.webcam-card {
    background: rgba(133, 203, 135, 0.1);
    border: 2px solid #85CB87;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
    max-width: 400px;
}

.webcam-card:hover {
    border-color: #9ee0a0;
    box-shadow: 0 8px 20px rgba(133, 203, 135, 0.3);
    transform: translateY(-3px);
}

.webcam-card.active {
    flex: 1 1 70%;
    max-width: 600px;
    border-color: #9ee0a0;
    box-shadow: 0 12px 30px rgba(133, 203, 135, 0.5);
}

.webcam-card.minimized {
    flex: 1 1 25%;
    max-width: 200px;
    opacity: 0.7;
}

.webcam-card.minimized:hover {
    opacity: 1;
}

.webcam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.webcam-header h2 {
    color: #85CB87;
    font-size: 16px;
    margin: 0;
}

.status-badge {
    background: rgba(133, 203, 135, 0.2);
    color: #85CB87;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.status-badge.live {
    background: #85CB87;
    color: #000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.webcam-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.webcam-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webcam-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 55px;
    height: 55px;
    background: rgba(133, 203, 135, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    padding-left: 5px;
}

.webcam-stream {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.webcam-stream img {
    width: 100%;
    height: auto;
    display: block;
}

.webcam-card.active .webcam-stream img {
    width: 100%;
    height: auto;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .webcam-viewer {
        flex-direction: column;
    }

    .webcam-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .webcam-card.active {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .webcam-card.minimized {
        flex: 1 1 100%;
        max-width: 100%;
        opacity: 1;
    }

    .webcam-stream img {
        width: 100%;
        height: auto;
    }

    .webcam-card.active .webcam-stream img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .webcam-container {
        padding: 20px 10px;
    }

    .webcam-title {
        font-size: 24px;
    }

    .webcam-header h2 {
        font-size: 18px;
    }

    .status-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .webcam-stream img {
        width: 100%;
        height: auto;
    }

    .webcam-card.active .webcam-stream img {
        width: 100%;
        height: auto;
    }
}
