/* Background gradient and styling */
body {
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #FF416C, #FF4B2B);
color: #ffffff;
min-height: 100vh;
overflow-x: hidden;
margin: 0;
padding: 20px;
transition: background 0.3s ease;
}

.container {
max-width: 1200px;
padding: 0 15px;
margin: 0 auto;
}

.stats-card {
background: rgba(255, 255, 255, 0.9);
border-radius: 15px;
transition: all 0.3s ease;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 15px;
margin: 10px auto;
transition: box-shadow 0.3s ease, transform 0.3s ease;
width: 100%;
max-width: 360px;
display: flex;
flex-direction: column;
align-items: flex-start;
}

.stats-card:hover {
transform: translateY(-10px);
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Download Button Styles */
.download-btn {
background: linear-gradient(135deg, #dc3545, #bb2d3b);
border: none;
padding: 10px 20px;
border-radius: 8px;
color: white;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
margin-top: 15px;
font-size: 14px;
width: calc(100% - 20px);
margin-left: 10px;
justify-content: center;
}

.download-btn:hover {
background: linear-gradient(135deg, #bb2d3b, #dc3545);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.download-btn i {
font-size: 14px;
transition: transform 0.2s ease;
}

.download-btn:hover i {
transform: translateY(-1px);
}

.btn-custom {
background: linear-gradient(135deg, #dc3545, #bb2d3b);
border: none;
padding: 10px 25px;
border-radius: 8px;
font-weight: 600;
color: #fff;
transition: all 0.3s ease;
cursor: pointer;
}

.btn-custom:hover {
background: linear-gradient(135deg, #bb2d3b, #dc3545);
}

/* Grid for video thumbnails */
.thumbnail-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
width: 100%;
}

.thumbnail-item {
position: relative;
overflow: hidden;
border-radius: 10px;
transition: transform 0.3s ease;
width: 100%;
}

.thumbnail-item img {
width: 100%;
height: 180px;
object-fit: cover;
transition: transform 0.3s ease;
border-radius: 8px ;
}

.thumbnail-item:hover img {
transform: scale(1.05);
}

.thumbnail-item:hover {
transform: translateY(-5px);
}

/* Search bar style */
.search-bar {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
gap: 15px;
width: 100%;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.search-bar input {
padding: 12px;
font-size: 16px;
border-radius: 8px;
border: none;
width: 100%;
color: #000000;
}

.search-bar button {
background-color: #FF4B2B;
border: none;
padding: 12px 30px;
color: white;
font-weight: bold;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
white-space: nowrap;
}

.search-bar button:hover {
background-color: #FF416C;
}

/* Text styling */
h4, p {
color: #000000;
margin: 12px 0;
text-align: left;
padding-left: 10px;
width: 100%;
}

.form-control::placeholder {
color: rgba(0, 0, 0, 0.6);
}

/* Fade-in animation */
.fade-in {
opacity: 0;
animation: fadeIn 1.5s forwards;
}

.seo-intro, .seo-content {
background: rgba(255, 255, 255, 0.85);
border-radius: 15px;
padding: 25px;
margin: 20px auto;
max-width: 1200px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.seo-intro h2, .seo-content h3 {
color: #333;
margin-bottom: 15px;
}

.seo-intro p, .seo-content p {
color: #444;
line-height: 1.6;
margin-bottom: 15px;
}

.seo-content ul {
padding-left: 25px;
margin-bottom: 20px;
}

.seo-content li {
margin-bottom: 8px;
color: #555;
}

.seo-heading {
text-align: center;
background-color: rgb(255, 255, 255);
padding: 25px;
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin: 30px auto;
max-width: 900px;
font-size: 2.2rem;
color: #000000;
font-weight: bold;
border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Video Info Styling */
.video-info {
padding: 10px;
width: 100%;
}

.video-title {
margin: 8px 0 4px 0 !important;
line-height: 1.3;
font-size: 16px;
min-height: 40px; /* Ensures consistent title height */
}

.video-stats {
margin: 8px 0;
}

.video-stats p {
margin: 4px 0 !important;
font-size: 14px;
color: #000000 !important;
}



.category {
font-weight: 600;
color: #000000 !important;
}
.views {
font-weight: 600;
color: #000000 !important;
}

/* Remove default margins */
.stats-card h4,
.stats-card p {
margin: 0;
padding: 0;
}

.country-display {
display: inline-flex;
align-items: center;
padding: 12px 25px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
border: 2px solid rgba(255, 255, 255, 0.3);
margin: 20px 0;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
max-width: 100%;
}

.country-display::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
);
transition: 0.5s;
}

.country-display:hover::before {
left: 100%;
}

.country-icon {
margin-right: 15px;
animation: icon-float 3s ease-in-out infinite;
}

.country-text {
font-family: 'Arial', sans-serif;
font-weight: 600;
color: #2d3436;
font-size: 1.4rem;
letter-spacing: -0.5px;
}

.country-name {
color: #e74c3c;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 1px;
position: relative;
display: inline-block;
background: linear-gradient(45deg, #e74c3c, #c0392b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

@keyframes icon-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}

@keyframes fadeIn {
to {
    opacity: 1;
}
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
.thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}

@media (max-width: 992px) {
.seo-heading {
    font-size: 1.8rem;
    padding: 20px;
}

.thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
}

@media (max-width: 768px) {
body {
    padding: 15px 10px;
}

.container {
    padding: 0 10px;
}

.seo-heading {
    font-size: 1.6rem;
    padding: 15px;
    margin: 15px auto;
}

.thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.stats-card {
    padding: 12px;
}

.search-bar {
    flex-direction: column;
}

.search-bar input,
.search-bar button {
    width: 100%;
}

.country-display {
    padding: 10px 20px;
    margin: 15px 0;
}

.country-text {
    font-size: 1.2rem;
}

.country-icon svg {
    width: 20px;
    height: 20px;
}

.seo-intro, .seo-content {
    padding: 20px;
    margin: 15px auto;
}
}

@media (max-width: 576px) {
body {
    padding: 10px 5px;
}

.container {
    padding: 0 5px;
}

.seo-heading {
    font-size: 1.4rem;
    padding: 12px;
    margin: 10px auto;
}

.thumbnail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.thumbnail-item {
    max-width: 100%;
}

.stats-card {
    max-width: 100%;
}

.search-bar {
    gap: 10px;
}

.search-bar input {
    padding: 10px;
    font-size: 14px;
}

.search-bar button {
    padding: 10px 20px;
    font-size: 14px;
}

.download-btn {
    padding: 8px 15px;
    font-size: 13px;
    margin-top: 10px;
}

.video-title {
    font-size: 14px;
    min-height: 35px;
}

.video-stats p {
    font-size: 12px;
}

.thumbnail-item img {
    height: 160px;
}

h4, p {
    padding-left: 8px;
}
}





.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;

}

.navbar-brand {
    font-weight: 700;
    color: #FF4B2B !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    border-radius: 8px;
}

.nav-link {
    color: #2d3436 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: #FF4B2B !important;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #FF416C15, #FF4B2B15);
    color: #FF4B2B !important;
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 15px;
        margin-top: 10px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
}