@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #EEEEEE;
}

bg-white {
    background-color: #ffffff;
}

.custom-shadow {
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(1, 41, 112, .1);
}

.sidebar-list a {
    font-size: 13px !important;
}

.tool-card {
    font-weight: bold;
    color: black;
}

.tool-card:hover {
    text-decoration: none;
}





.shadow {
    box-shadow: 0 0 3px rgb(53 64 78 / 20%) !important;
}

.rounded {
    border-radius: 5px !important;
}

.bg-light {
    background-color: #f7f8fa !important;
}

.bg-primary,
.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.badge-primary,
.pagination .active a,
.custom-control-input:checked~.custom-control-label:before,
#preloader #status .spinner>div,
.social-icon li a:hover,
.back-to-top:hover,
.back-to-home a,
::selection,
#topnav .navbar-toggle.open span:hover,
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots.clickable .owl-dot:hover span,
.watch-video a .play-icon-circle,
.sidebar .widget .tagcloud>a:hover,
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.tns-nav button.tns-nav-active,
.form-check-input.form-check-input:checked {
    background-color: #FF0000 !important;
}

.badge {
    padding: 5px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    box-shadow: 0 3px 7px rgb(109 199 122 / 50%) !important;
}

.btn-primary,
.btn-outline-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.bg-soft-primary .border,
.alert-primary,
.alert-outline-primary,
.badge-outline-primary,

.pagination .active a,
.form-group .form-control:focus,
.form-group .form-control.active,
.custom-control-input:checked~.custom-control-label:before,
.custom-control-input:focus~.custom-control-label::before,
.form-control:focus,
.social-icon li a:hover,
#topnav .has-submenu.active.active .menu-arrow,
#topnav.scroll .navigation-menu>li:hover>.menu-arrow,
#topnav.scroll .navigation-menu>li.active>.menu-arrow,
#topnav .navigation-menu>li:hover>.menu-arrow,
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.form-check-input:focus,
.form-check-input.form-check-input:checked,
.container-filter li.active,
.container-filter li:hover {
    border-color: #FF0000 !important;
}

.bg-primary,
.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.badge-primary,

.pagination .active a,
.custom-control-input:checked~.custom-control-label:before,
#preloader #status .spinner>div,
.social-icon li a:hover,
.back-to-top:hover,
.back-to-home a,
::selection,
#topnav .navbar-toggle.open span:hover,
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots.clickable .owl-dot:hover span,
.watch-video a .play-icon-circle,
.sidebar .widget .tagcloud>a:hover,
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.tns-nav button.tns-nav-active,
.form-check-input.form-check-input:checked {
    background-color: #FF0000 !important;
}

.btn {
    padding: 8px 20px;
    outline: none;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    font-weight: 600;
    border-radius: 5px;
}

.btn-primary {
    background-color: #FF0000 !important;
    border: 1px solid #FF0000 !important;
    color: #fff !important;
    box-shadow: 0 3px 7px rgb(109 199 122 / 50%);
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: none;
    color: black;
}




/* New Cards  */


.box-part span {
    font-size: 13px;
}

.box-part h4 {
    font-size: 1.3rem;
}

.card-link {
    text-decoration: none;
    color: #0062cc;
    border-bottom: 2px solid #0062cc;
}

.box {
    padding: 60px 0px;
}

.box-part {
    background: #FFF;
    border-radius: 0;
    padding: 60px 10px;
    margin: 30px 0px;
}

.box-part:hover {
    box-shadow: rgb(85, 91, 255) 0px 0px 0px 3px, rgb(31, 193, 27) 0px 0px 0px 6px, rgb(255, 217, 19) 0px 0px 0px 9px, rgb(255, 156, 85) 0px 0px 0px 12px, rgb(255, 85, 85) 0px 0px 0px 15px;
}

.text {
    margin: 20px 0px;
}

.fa {
    color: #4183D7;
}

.blog-card .card-body{
    padding: 5px 10px 10px 10px ;
}
.blog-card .card-img-top{
    object-fit: cover;
}

.blog-card .card-title{
    font-size: 15px;
    font-weight: 600;
}
.blog-card .card-text{
    font-size: 11px;
}
.post-title{
    font-size: 28px;
}
.post-content h2{
    font-size: 24px;
}
.post-content h3{
    font-size: 21px;
}
.post-content h4{
    font-size: 19px;
}
.post-content h5{
    font-size: 17px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-icons {
    font-size: 24px;
    margin-right: 10px;
}

.footer-icons a {
    color: #fff;
    margin-right: 10px;
}

.footer-about {
    flex: 1;
    max-width: 60%;
}

/* YouTube Video Downloader Styles */
.youtube-downloader-header {
    margin-bottom: 2rem;
}

.youtube-icon {
    font-size: 4rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

.search-form-container {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.video-search-form .input-group {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.search-input {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 50px 0 0 50px;
}

.search-input:focus {
    box-shadow: none;
    border-color: #FF0000;
}

.download-btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    font-weight: 600;
    border: none;
}

.loader-container {
    text-align: center;
    padding: 2rem;
}

.loader-text {
    margin-top: 1rem;
    color: #666;
    font-size: 1.1rem;
}

.results-container {
    margin-top: 2rem;
}

.video-info-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-thumbnail {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-author {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}

.download-options {
    margin-top: 2rem;
}

.download-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.download-card .card-header {
    background: linear-gradient(135deg, #FF0000, #8B030C);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border: none;
}

.download-card .card-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.download-card .card-header h4 {
    margin: 0;
    font-weight: 600;
}

.download-card .card-body {
    padding: 2rem;
    text-align: center;
}

.file-size {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.resolution {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.download-link {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mp3-card .card-header {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.mp4-card .card-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.error-container {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-container .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    border: none;
    background: #f8d7da;
    color: #721c24;
}

.error-container .alert i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .download-btn {
        padding: 0.8rem 1.5rem;
    }
    
    .video-info-section {
        padding: 1.5rem;
    }
    
    .video-title {
        font-size: 1.3rem;
    }
    
    .download-card .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .youtube-icon {
        font-size: 3rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .meta-item {
        text-align: center;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 2rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #FF0000, #90030C);
    border-radius: 2px;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FF0000, #90030C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(109, 199, 122, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(109, 199, 122, 0.4);
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Responsive adjustments for How It Works */
@media (max-width: 768px) {
    .how-it-works-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    
    .step-card h4 {
        font-size: 1rem;
    }
    
    .step-card p {
        font-size: 0.8rem;
    }
    
    /* Stack cards vertically on medium screens */
    .how-it-works-section .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .step-card {
        padding: 1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.3rem;
    }
    
    /* Ensure proper spacing on small screens */
    .how-it-works-section .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 1rem 0;
}

.faq-section .section-title {
    margin-bottom: 2rem;
}

.accordion .card {
    border: none;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.accordion .card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    padding: 0;
}

.accordion .card-header button {
    background: none;
    border: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.accordion .card-header button:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #FF0000;
    text-decoration: none;
}

.accordion .card-header button:focus {
    box-shadow: none;
    outline: none;
}

.accordion .card-header button i {
    color: #FF0000;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.accordion .card-header button.collapsed {
    color: #333;
}

.accordion .card-header button.collapsed:hover {
    color: #FF0000;
}

.accordion .card-body {
    padding: 1.5rem;
    background: #fff;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .accordion .card-header button {
        font-size: 0.9rem;
        padding: 1.2rem;
    }
    
    .accordion .card-body {
        padding: 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .accordion .card-header button {
        font-size: 0.85rem;
        padding: 1rem;
    }
    
    .accordion .card-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
}