/*
Theme Name: My First Theme
Author: Shubham kumar
Description: This is my first custom WordPress theme.
Version: 1.0
*/
body{
    margin:0px;
    padding:0px;
}
.site-branding {
    display: flex;
    align-items: center;
}

.site-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-link img {
    max-height: 50px; /* adjust as needed */
    margin-right: 10px;
    height: auto;
    width: auto;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    color: white; /* or #000 if using light header */
    font-family: Arial, sans-serif;
}

/* Controls the logo image */
.custom-logo {
    max-height: 50px; /* or 40px, adjust as needed */
    height: auto;
    width: auto;
    margin-right: 10px;
    display: inline-block;
}


/* Header */
.site-header {
    background: #222;           /* dark background */
    padding: 10px 30px;
    color: #fff;
    height:30px;
}

/* Container Flexbox */
.site-header .container {
    display: flex;
    justify-content: space-between; /* logo left, menu right */
    align-items: center;           /* vertical alignment */
    max-width: 1200px;
    margin: 0 auto;
    height:30px;
}

/* Site Title / Logo */
.site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
}

/* Navigation Menu */
.site-nav .main-menu {
    list-style: none;
    display: flex;
    gap: 0px;
    margin: 0;
    padding: 0;
}
.site-nav{
    border-right:2px solid white;
}
.site-nav .main-menu li {
    display: inline-block;
    border-left:2px solid white;
    border-right:2px solid white;
     padding: 15px 15px;
}

.site-nav .main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.site-nav .main-menu a:hover {
    
    color: #fff;
}

/* Responsive: Mobile Header */
@media (max-width: 768px) {
    
    .site-header{
        height:120px; 
    }
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
       
    }

    .site-nav .main-menu {
        flex-direction: column;
        width: 100%;
    }

    .site-nav .main-menu li {
        width: 100%;
    }

    .site-nav .main-menu a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
}
.category-bar {
    background:#f6f6f6;
  margin-top:10px;
    display: flex;
    gap: 0px;
    height:40px;
    width:100%;
    overflow-x: auto; /* scroll if too many categories */
}
.category-container {
     border-left: 1px solid #202525;
     border-right: 1px solid #202525;
    margin:0 auto;
    display: flex;
    justify-content: center;  /* andar ke links bhi center ho */
    align-items: center;
    height: 100%;
}

.category-link {
    color: black;
    border-left: 1px solid #202525;
     border-right: 1px solid #202525;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
}

.category-link:hover {
}
/* Container for all story cards */
.story-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
    max-width: 1200px; /* adjust as needed */
    margin: 0 auto;    /* center the grid */
}

/* Each story card */
.story-card {
    width: 200px;
    flex: 0 0 auto;
    text-align: center;
    background: black;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    border-bottom:8px solid red;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.story-card  a{
    text-decoration:none;
}

.story-card:hover {
    transform: translateY(-5px);
}

/* Story images */
.story-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Story title */
.story-card h3 {
    font-size: 18px;
    margin: 10px;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .story-card {
        width: 45%; /* two cards per row */
    }
}

@media (max-width: 600px) {
    .story-card {
        width: 100%; /* one card per row */
    }
}
/* Footer Styling */
.site-footer {
    background: #1a1a1a; /* dark background */
    color: #f5f5f5; /* light text */
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    border-top: 3px solid #ff6600; /* accent color */
}

.site-footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-footer p {
    margin: 0;
    line-height: 1.6;
}

.site-footer a {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff;
}
/* Navigation styling */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.main-menu li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-menu li a:hover {
    color: #ff6600;
}

/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

 /* Responsive for mobile */

@media (max-width: 768px) {
    .site-nav .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 50vw; /* ✅ अब override करेगा */
        background: #fff;
        flex-direction: column;
        gap: 20px;
        padding: 80px 20px;
        box-shadow: -3px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 9999;
    }

    .site-nav .main-menu.active {
        right: 0;
    }

    .site-nav .main-menu li {
        margin-bottom: 15px;
    }

    .site-nav .main-menu li a {
        color: #000;
        font-size: 18px;
        display: block;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 10000;
    }
}
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        align-items: stretch; /* or center, but stretch is better */
        position: relative;
    }

    .hamburger {
        align-self: flex-end; /* ✅ yeh line hamburger ko right me le jaayegi */
        margin-top: 10px;
        margin-right: 10px;
    }
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.page-title{
    text-align: center;
}

.pagination ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.pagination ul li {
    display: inline-block;
    margin: 0 5px;
}

.pagination ul li a,
.pagination ul li span {
    display: inline-block;
    padding: 8px 14px;
    text-decoration: none;
    background: #eee;
    color: #333;
    border-radius: 4px;
}

.pagination .current {
    background: #333;
    color: #fff;
}
:root {
    --background-color: #ffffff;
    --text-color: #000000;
}

.light-mode {
    --background-color: #ffffff;
    --text-color: #000000;
}

.dark-mode {
    --background-color: #121212;
    --text-color: #ffffff;
}

body {
    background-color: var(--background-color, #ffffff);
    color: var(--text-color, #000000);
    transition: background 0.3s ease, color 0.3s ease;
}

.theme-switcher {
    cursor: pointer;
    padding: 6px 10px;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.home-btn {
    border:2px solid white;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 768px) {
    .theme-switcher{
        display: none;
    }
    .live-btn{
        display:none;
        border-right: none;
    }
    .site-nav{
    border-right:none;
}
}
.live-text-button {
    display: inline-block;
    background-color: #d91f26;
    color: white;
    padding: 6px 16px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    border-radius: 2px;
    text-decoration: none;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    margin-left: 20px; /* space from menu */
    transition: background-color 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.live-text-button:hover {
    background-color: #b51a20;
    color: white;
    text-decoration: none;
}

.live-btn{
    border-right:2px solid white;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right:15px;
}
/* contact page design */
#wpforms-form-1116{
    border:3px solid black;
    padding: 50px;
    width:600px;
  margin: 0 auto; 
}
/*  design home page  */
/* Horizontal Card: Image Left, Content Right */
.articles .blog-post {
    max-width: 900px;
    margin: 25px auto;
    padding: 0; /* padding inside card handled in .post-card */
}

.blog-post .post-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post .post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Left Image */
.blog-post .post-image {
    flex: 0 0 40%;
}

.blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Content */
.blog-post .post-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Post Title */
.blog-post .post-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-post .post-title a {
    color: #222;
    text-decoration: none;
}

.blog-post .post-title a:hover {
    color: #d91f26;
}

/* Excerpt */
.blog-post .post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Read More Button */
.blog-post .read-more {
    display: inline-block;
    padding: 6px 6px;
    background-color: #d91f26;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog-post .read-more:hover {
    background-color: #b51a20;
    transform: translateY(-1px);
}

/* Responsive: Stack Image on Top */
@media (max-width: 768px) {
    .blog-post .post-card {
        flex-direction: column;
    }

    .blog-post .post-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .blog-post .post-content {
        padding: 15px;
    }

    .blog-post .post-title {
        font-size: 20px;
    }

    .blog-post .post-excerpt {
        font-size: 14px;
    }

    .blog-post .read-more {
        font-size: 13px;
        padding: 5px 12px;
    }
}

.featured-carousel {
    max-width: 1200px;
    margin: 40px auto;
}

.carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 50%; /* only bottom half of carousel */
    padding: 20px;
    background: rgba(0,0,0,0.3); /* semi-transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */
    color: #fff;
    overflow: hidden; /* prevents overlay from expanding too much */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* text sticks to bottom */
}

.carousel-title a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.carousel-title a:hover {
    text-decoration: underline;
}

.carousel-excerpt {
    font-size: 16px;
    margin-top: 5px;
}
/* Responsive Carousel */
@media (max-width: 1024px) {
    .carousel-overlay {
        max-height: 60%; /* allow slightly more for wrapped text */
        padding: 15px;
    }
    .carousel-image {
        height: 300px; /* smaller height for tablets */
    }
    .carousel-title a {
        font-size: 20px;
    }
    .carousel-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .carousel-image {
        height: 250px; /* mobile height */
    }
     .carousel-overlay {
        max-height: 50%; /* keep it compact */
        padding: 10px;
    }
    .carousel-title a {
        font-size: 18px;
    }
    .carousel-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
     .carousel-overlay {
        max-height: 45%;
        padding: 8px;
    }
    .carousel-image {
        height: 200px; /* very small devices */
    }
    .carousel-title a {
        font-size: 16px;
    }
    .carousel-excerpt {
        font-size: 12px;
    }
}

/* Single Post Layout */
.single-post .post-container {
    max-width: 960px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Featured Image */
.single-post .post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Title */
.single-post .entry-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
    font-weight: bold;
}

/* Content */
.single-post .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .single-post .post-container {
        padding: 15px;
        margin: 20px 10px;
    }

    .single-post .entry-title {
        font-size: 24px;
    }
}

