body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #222222;
    margin: 0;
    padding: 0;
}

/* HEADER WITH VIDEO BACKGROUND */
.video-header {
    position: relative;
    height: 120px; /* adjust as needed */
    overflow: hidden;
    background: black;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Background Video */
#headerVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 2;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 16px;
    font-weight: bold;
}

/* Optional dark overlay for readability */
.video-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.triangle-right{
    width:100%;
    height:120px;
    background:#ff0000; /* Change to whatever color you want */

    clip-path:polygon(
        0 0,
        100% 100%,
        0 100%
    );
}

.triangle-left{
    width:100%;
    height:120px;
    background:#ff0000;

    clip-path:polygon(
        100% 0,
        100% 100%,
        0 100%
    );
    transform: scaleY(-1);
}


.YT{
    background-color: red;
    padding-top:20px;
    padding-bottom: 20px;
}

.yt-logo{
    width: 15%;
}

@media (max-width: 768px) {
    .yt-logo{
    width: 40%;
}

}

#videoContainer {
    background-color: white;
    width: 80%;
    max-width: 1080px;
    margin: auto;
}

@media (max-width: 768px) {
    #videoContainer {
        width: 90%;
    }
}

/* Main Video */
#mainVideoWrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    margin-bottom: 10px;
}

#mainVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Title */
#videoTitle {
    padding: 20px 0;
    background-color: white;
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
}

.listCon{
    width: 100%;
    margin-bottom: 20px;
}

/* Thumbnails */
#videoList {
    width: 98%;
    max-width: 1080px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    margin: 0 auto;
    padding: 10px;
    justify-content: center;
    background: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    #videoList{
        width: 90%;
    }
}

.videoItem {
    width: calc(25% - 10px);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.videoItem:hover {
    transform: scale(1.02);
}

.videoItem img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.videoItem p {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .videoItem {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .videoItem {
        width: 100%;
    }
}


.footer-content{
    color: white;
}

.footer-content a{
    color: white;
}

section{

width:80%;
max-width:1200px;
margin:80px auto;

}

.hero{

padding:100px 20px;
text-align:center;

}

.hero h2{

font-size:52px;
color:white;
margin:0;

}

.hero p{

max-width:800px;
margin:30px auto;
font-size:20px;
line-height:1.7;
color:#ccc;

}

.heroButtons{

display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;

}

.btn{

padding:16px 34px;
border-radius:6px;
text-decoration:none;
font-weight:bold;
transition:.3s;

}

.primary{

background:#00aaff;
color:white;

}

.primary:hover{

background:#008ed8;

}

.secondary{

border:2px solid white;
color:white;

}

.secondary:hover{

background:white;
color:black;

}

.services h2,
.skills h2,
.about h2,
.contact h2{

color:white;
font-size:38px;
margin-bottom:40px;

}

.serviceGrid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;

}

.card{

background:#2d2d2d;
padding:35px;
border-radius:10px;
transition:.3s;

}

.card:hover{

transform:translateY(-8px);

}

.card h3{

color:white;

}

.card p{

color:#c7c7c7;
line-height:1.6;

}

.skillsGrid{

display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;

}

.skillsGrid span{

background:#333;
padding:12px 20px;
border-radius:40px;
color:white;

}

.about{

text-align:center;

}

.about p{

max-width:900px;
margin:auto;
font-size:20px;
line-height:1.8;
color:#ccc;

}

.contact{

text-align:center;
padding:80px 20px;
background:#2b2b2b;
border-radius:10px;

}

.contact p{

color:#ccc;
margin-bottom:35px;

}