    * {
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: #333;
    }

    /* Header Styles */
    .header {
        background: #ffffff;
        color: #333;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: box-shadow 0.3s ease;
    }

    .header.scrolled {
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .logo {
        font-size: 1.8rem;
        font-weight: bold;
        color: #333;
    }

    .nav-link {
        color: #333 !important;
        font-size: 1.1rem;
        padding: 10px 15px !important;
        position: relative;
        transition: color 0.3s, transform 0.3s;
    }

    .nav-link:hover {
        color: #ff6b6b !important;
        transform: scale(1.05);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background: #ff6b6b;
        transition: width 0.3s ease, left 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
        left: 0;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        margin-top: 70px;
        position: relative;
        overflow: hidden;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 75% 95%, 50% 85%, 25% 95%, 0 85%);
    }

    .hero-slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 2s ease-in-out;
    }

    .hero-slide.active {
        opacity: 1;
    }

    .hero-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            135deg,
            rgba(102, 126, 234, 0.7) 0%,
            rgba(118, 75, 162, 0.7) 50%,
            rgba(255, 107, 107, 0.3) 100%
        );
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding: 1rem;
    }

    .slider-dots {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 3;
    }

    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background 0.3s;
    }

    .dot.active {
        background: white;
    }

    .slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 24px;
        padding: 15px 20px;
        cursor: pointer;
        transition: background 0.3s;
        z-index: 3;
    }

    .slider-nav:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .prev {
        left: 20px;
    }

    .next {
        right: 20px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        animation: fadeInUp 1s ease;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        animation: fadeInUp 1s ease 0.2s both;
    }

    .btn-custom {
        display: inline-block;
        padding: 12px 30px;
        background: #ff6b6b;
        color: white;
        text-decoration: none;
        border-radius: 25px;
        transition: all 0.3s;
        animation: fadeInUp 1s ease 0.4s both;
    }

    .btn-custom:hover {
        background: #ff5252;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        color: white;
    }

/******************home  video*************************/



.home-video-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .home-video-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            background: #000;
        }

        .home-video-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

       

        .home-play-button {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .home-play-button:hover {
            transform: scale(1.1);
            background: white;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
        }

        .home-play-button::before {
            content: '';
            width: 0;
            height: 0;
            border-left: 25px solid #667eea;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            margin-left: 5px;
        }

         .home-video-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-image: url('../images/mcs-video-thumb.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        /* Responsive iframe styling */
        .home-video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

         /* Mobile responsiveness */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .home-video-container {
                margin: 0;
                border-radius: 8px;
            }
            
            .home-play-button {
                width: 60px;
                height: 60px;
            }
            
            .home-play-button::before {
                border-left: 20px solid #667eea;
                border-top: 12px solid transparent;
                border-bottom: 12px solid transparent;
                margin-left: 4px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 5px;
            }
            
            .home-play-button {
                width: 50px;
                height: 50px;
            }
            
            .home-play-button::before {
                border-left: 16px solid #667eea;
                border-top: 10px solid transparent;
                border-bottom: 10px solid transparent;
                margin-left: 3px;
            }
            .about{
                padding-bottom: 50px !important;
            }
        }

        /* Loading animation */
        .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 18px;
        }

        .loading::after {
            content: '';
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { content: '.'; }
            33% { content: '..'; }
            66% { content: '...'; }
            100% { content: '.'; }
        }



/***************************hme ends*******************************/

    /* About Section */
    .about {
        padding: 80px 0;
        background: #f8f9fa;
    }

    .section-title {
        text-align: center;
        margin-bottom: 50px;
    }

    .section-title h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #333;
    }

    .section-title p {
        font-size: 1.1rem;
        color: #666;
    }

    .about-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* Features Section */
    .features {
        padding: 80px 0;
        background: white;
    }

    .feature-card {
        text-align: center;
        padding: 30px;
        border-radius: 10px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .feature-icon {
        font-size: 3rem;
        color: #667eea;
        margin-bottom: 1rem;
    }

    /* Courses Section */
    .courses {
        padding: 80px 0;
        background: #f8f9fa;
    }


    .course-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        height: 100%;
    }

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .course-image {
        height: 200px;
        background-size: cover;
        background-position: center;
    }

    .course-content {
        padding: 25px;
    }

    .course-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #999;
        font-size: 0.9rem;
    }

    /* Testimonials Section */
    .testimonials {
        padding: 80px 0;
        background: white;
    }

    .testimonial-card {
        text-align: center;
        padding: 30px;
        background: #f8f9fa;
        border-radius: 10px;
        position: relative;
    }

    .testimonial-card::before {
        content: '"';
        font-size: 4rem;
        color: #667eea;
        position: absolute;
        top: -10px;
        left: 20px;
        opacity: 0.3;
    }

    .testimonial-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin: 0 auto 1rem;
        background-size: cover;
        background-position: center;
    }

    /* Footer */
    .footer {
        background: #333;
        color: white;
        padding: 50px 0 20px;
    }

    .footer-section a {
        color: #ccc;
        text-decoration: none;
    }

    .footer-section a:hover {
        color: #667eea;
    }
    .footer-section p{
        margin-bottom:3px;
    }
    .footer-contact i{
        margin-right:5px;
    }
    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #555;
        color: #999;
    }

    .social-links a {
        display:flex;
        align-items:center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #667eea;
        color: white;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        transition: background 0.3s;
    }

    .social-links a:hover {
        background: #764ba2;
    }

    .logo{
        background-image:  url("../images/mcs-logo.png");
        background-repeat: no-repeat;
        background-position: left;
        background-size: 50px 50px;
        padding-left: 60px;
    }

/****************************************/
.disclousure{
padding-top:125px;
}
.disclousure-content{
text-align: center;
}
.course-content h3{
font-size: 1rem;
}
.course-content .btn-custom{
font-size: 14px;
padding: 8px 15px;
}
.pdf-ico{
display: flex;
justify-content: center;
padding-top: 35px;
font-size: 3em;
color: #a8a8a8
}
.disclousure .course-card{
display: grid;
align-items:center;
}

/**************gallery**************/
.gallery-container{
    margin: 130px 0px 50px 0px;
}
.mcs-gallery .gallery-item{
    margin-bottom: 15px;
}
 .gallery-item img {
            transition: transform 0.3s ease, opacity 0.3s ease;
            width:100%;
        }
        .gallery-item img:hover {
            transform: scale(1.05);
            opacity: 0.9;
        }
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .lightbox img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 8px;
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 10px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            user-select: none;

            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: bold;
        }
        .prev-btn {
            left: 20px;
        }
        .next-btn {
            right: 20px;
        }
        .gallery-image-cover{
            padding: 10px;
        }

/************************video banner**********************/


 /* Video Banner Section */
        .video-banner {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-background {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateX(-50%) translateY(-50%);
            z-index: -2;
            filter: brightness(0.7);

            width: 100% !important;
            object-fit: cover;
            height: 100% !important;

        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,123,255,0.4) 100%);
            z-index: -1;
        }
     
        .banner-content {
            text-align: center;
            color: white;
            z-index: 10;
            max-width: 800px;
            padding: 0 20px;
            opacity: 0;
            transform: translateY(50px);
            transition: all 1s ease;
        }

        .banner-content.animate-in {
            opacity: 1;
            transform: translateY(0);
        }
        .video-banner-title {
            font-size: 4rem;
            font-weight: bold;
            margin-bottom: 20px;
           /* text-shadow: 2px 2px 4px rgba(0,0,0,0.8);*/
            background: linear-gradient(45deg, #fff, #d2a846);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .video-banner-subtitle {
            font-size: 1.3rem;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
            opacity: 0.9;
        }

             /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 1.3rem;
            text-align: center;
            animation: bounce 2s infinite;
            font-weight: bold;
        }

        .scroll-arrow {
            font-size: 1.5rem;
            margin-top: 10px;
            display: block;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }









    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .hero-content h1 {
            font-size: 2.5rem;
        }

        .hero-content p {
            font-size: 1rem;
        }

        .section-title h2 {
            font-size: 2rem;
        }

        .slider-nav {
            font-size: 18px;
            padding: 10px 15px;
        }

        .hero {
            margin-top: 56px;
        }

        .nav-link {
            font-size: 1rem;
            padding: 8px 10px !important;
        }
         .video-banner-title {
                font-size: 2.5rem;
            }
            
            .video-banner-subtitle {
                font-size: 1.2rem;
            }
    }

    @media (max-width: 576px) {
        .hero-content h1 {
            font-size: 2rem;
        }

        .hero-content p {
            font-size: 0.9rem;
        }

        .btn-custom {
            padding: 10px 20px;
        }

        .nav-link {
            font-size: 0.9rem;
        }
        .section-title{
            text-align: left;
        }
    }
     @media (min-width: 768px) {
        #about p{
            text-align: justify;
        }
     }