/*
Theme Name: Yugbharti
Theme URI: http://www.yugbharti.in
Description: Professional WordPress theme for Yugbharti website with carousel banner
Author: Yugbharti Team
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yugbharti
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: #ff6600;
}

a:hover {
    color: #cc5200;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo Section */
.logo-section {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.site-logo-placeholder {
    background: #ff6600;
    padding: 15px 20px;
    border-radius: 5px;
    display: inline-block;
}

.logo-text {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.custom-logo-link img {
    max-height: 120px;
    width: auto;
}

.site-info {
    text-align: center;
    padding-left: 15px;
    padding-bottom: 10px;
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: #dc143c;
    text-decoration: none;
}

.site-description {
    color: #dc143c;
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

/* Right side tagline */
.site-tagline {
    text-align: right;
    padding-right: 15px;
}

.site-tagline p {
    color: #dc143c;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

/* Custom column width */
@media (min-width: 768px) {
    .logo-section .col-md-2 {
        flex: 0 0 auto;
        width: 10.666667%;
    }
}

/* Main Menu Section */
.main-menu-section {
    background: #ff6600;
    position: relative;
    z-index: 999;
}

.main-navigation {
    display: flex;
    justify-content: center;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
}

.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a {
    background: rgba(255,255,255,0.2);
}


/* Submenu Dropdown */
.main-menu li {
    position: relative;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ff6600; 
    backdrop-filter: blur(4px); 
    min-width: 310px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .sub-menu li {
    display: block;
}

.main-menu .sub-menu a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.main-menu .sub-menu a:hover {
    background: #f5f5f5;
    color: #000;
}

/* Nested Submenu */
.main-menu .sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-menu-section {
        position: relative;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ff6600;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .main-menu {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .main-menu > li > a {
        padding: 12px 20px;
    }
    
    .main-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .main-menu li.menu-item-has-children > a::after {
        content: ' ▼';
        font-size: 10px;
    }
    
    .main-menu li.menu-item-has-children.active > .sub-menu {
        max-height: 500px;
    }
    
    .main-menu .sub-menu a {
        color: #fff;
        padding: 10px 30px;
    }
    
    .main-menu .sub-menu a:hover {
        background: rgba(0,0,0,0.3);
        padding-left: 35px;
    }
}

/* Carousel Banner */
.yugbharti-carousel {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: #000;
}

/* Blog Heading Section */
.blog-heading-section {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    padding: 20px 0;
    border-bottom: 3px solid #cc5200;
}

.blog-heading-wrapper {
    text-align: center;
}

.blog-heading-en {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-heading-hi {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.carousel-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #cc5200;
    color: #fff;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 3;
    transition: background 0.3s;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: #fff;
}

/* Content */
.content-area {
    padding: 0;
}

/* Posts Grid Section */
.posts-grid-section {
    background: #f8f9fa;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
}

/* Post Card */
.post-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 280px;
    border: 1px solid #e0e0e0;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.post-image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.post-image,
.post-image.no-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-image.no-image {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.75) 0%, rgba(255, 191, 0, 0.75) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.post-title-text {
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.post-title-text .title-en {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.8);
}

.post-title-text .title-hi {
    display: block;
    font-size: 40px;
    font-weight: 300;
    margin-top: 10px;
}

/* Pagination */
.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* Sidebar */
.widget {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover {
    color: #ff6600;
}

/* Hindi Title in Single Post */
.post-title-section {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.9) 0%, rgba(255, 191, 0, 0.9) 100%);
    padding: 40px 0;
    text-align: center;
}

.post-title-main {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.post-title-hindi {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.single-post-content {
    max-width: 1250px;
    margin: 0 auto;
    text-align: justify;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    gap: 30px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.post-navigation a {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.post-navigation a:hover {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 191, 0, 0.1) 100%);
    border-color: #ff6600;
}

.post-navigation .nav-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.post-navigation .nav-title-en {
    display: block;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.post-navigation .nav-title-hi {
    display: block;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
    }
}

/* Events Section */
.events-section {
    background: #fff;
}

.event-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

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

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.event-meta p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.event-meta i {
    color: #ff6600;
    margin-right: 8px;
    width: 20px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.9) 0%, rgba(255, 191, 0, 0.9) 100%);
    color: #ecf0f1;
}

.site-footer a {
    color: #ecf0f1;
}

/* Gallery Section */
.gallery-section {
    background: #f8f9fa;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-link {
    display: block;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 102, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-overlay i {
    color: #fff;
    font-size: 40px;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-title {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.year-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.year-box {
  flex: 1;
  min-width: 300px;
  background: #e6e6e6;
  padding: 40px 30px;
  border: 1px solid #999;
  box-sizing: border-box;
}

.year-box h2 {
  text-align: center;
  color: #ff5c3a;
  margin-bottom: 30px;
  font-weight: 600;
}

.year-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.year-box ul li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* Footer Navigation Styling */
.footer-nav {
    font-size: 14px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-menu-list li {
    display: inline-block;
}

.footer-menu-list li:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #fff;
}

.footer-menu-list a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-menu-list a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Social Icons Widget Styling */
.social-icons-widget {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons-widget a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons-widget a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* For widget area styling */
.social-icons-widget .widget {
    margin: 0;
}

.social-icons-widget .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.social-icons-widget .widget li {
    margin: 0;
}

/* Form Container */
.wpcf7-form {
    background: #ff9800;
    padding: 40px;
    border-radius: 8px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Form Title */
.wpcf7-form::before {
    content: "युगभारती संपर्क पत्र";
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

/* Two Column Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

/* Labels */
.wpcf7-form label {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Input Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 20px;
    background: #fff;
    box-sizing: border-box;
}

/* Textarea */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    background: #fff;
    color: #333;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: #fff;
    font-size: 13px;
}

/* Section Header - Title Center Aligned */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    flex: 1;
    text-align: center; /* Title को center में */
}

.view-all-link {
    color: #ff9800;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: absolute; /* Right side में fix */
    right: 0;
}

.view-all-link:hover {
    color: #e68900;
    transform: translateX(5px);
}

.view-all-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 576px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .view-all-link {
        position: static;
        font-size: 14px;
    }
}
/* Info Cards Section */
.info-cards-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* Icon Styling */
.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.9) 0%, rgba(255, 191, 0, 0.9) 100%);
    border-radius: 10px;
}

.info-icon i {
    font-size: 40px;
    color: #333;
}

/* Title */
.info-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Description */
.info-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Button */
.info-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.9) 0%, rgba(255, 191, 0, 0.9) 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.info-btn:hover {
    background: #ff6600;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* YouTube Videos Section */
.youtube-videos-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.youtube-video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Video iframe Wrapper */
.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Title */
.video-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

/* Section Header */
.section-header {
    position: relative;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.view-all-link {
    color: #ff9800;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #e68900;
}

.view-all-link i {
    margin-left: 5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.social-box {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.social-box i {
  font-size: 40px;
  color: #fff;
}

.social-box:hover {
  transform: translateY(-8px);
}

/* Individual Colors */
.youtube { background: #ff0000; }
.facebook { background: #1877f2; }
.linkedin { background: #0077b5; }
.twitter { background: #1da1f2; }
.whatsapp { background: #25d366; }
.email { background: #ff6600; }

/* Seva Cards Section - Center Icons */
.seva-cards-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.seva-cards-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.seva-cards-section .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff9800;
    border-radius: 2px;
}

/* Modern Card Container */
.seva-modern-card {
    position: relative;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.seva-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image - CENTER ALIGNED */
.seva-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.seva-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* contain की जगह cover था */
    object-position: center; /* Image को center में */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px; /* Image के चारों ओर padding */
}

.seva-modern-card:hover .seva-card-image img {
    transform: scale(1.1);
}

/* Card Overlay */
.seva-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 30px 25px 25px;
    transition: all 0.4s ease;
}

.seva-modern-card:hover .seva-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}

/* Card Content - CENTER TEXT */
.seva-card-content {
    position: relative;
    z-index: 2;
    text-align: center; /* Text को center में */
}

.seva-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.seva-modern-card:hover .seva-card-title {
    transform: translateY(-5px);
}

/* Tags - CENTER ALIGNED */
.seva-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center; /* Tags को center में */
}

.seva-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.seva-modern-card:hover .seva-tag {
    background: rgba(255, 152, 0, 0.9);
    border-color: #ff9800;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .seva-modern-card {
        height: 250px;
    }

    .seva-card-image img {
        padding: 30px;
    }

    .seva-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .seva-cards-section {
        padding: 60px 0;
    }

    .seva-cards-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .seva-modern-card {
        height: 220px;
        margin-bottom: 20px;
    }

    .seva-card-image img {
        padding: 25px;
    }

    .seva-card-overlay {
        padding: 20px;
    }

    .seva-card-title {
        font-size: 1.2rem;
    }

    .seva-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}
/* Section Title with Underline */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff9800; /* Orange/Yellow color */
    border-radius: 2px;
}

/* Center align करने के लिए parent container */
.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .youtube-videos-section {
        padding: 40px 0;
    }

    .video-title {
        font-size: 14px;
        padding: 12px;
        min-height: 50px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .view-all-link {
        position: static;
        transform: none;
        margin-top: 10px;
    }
}

.sidebar-menu {
    list-style: none;
    padding-left: 0;
}
.sidebar-menu li a {
    position: relative;
    padding: 10px 15px 10px 30px;
    display: block;
    border-left: 4px solid transparent;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

/* Custom Arrow */
.sidebar-menu li a::before {
    content: "▸";
    position: absolute;
    left: 10px;
    color: #ff6a00;
    font-size: 14px;
}

.sidebar-menu li a:hover {
    border-left: 4px solid #ff6a00;
    background: #fff8f2;
}

.sidebar-menu li.active a {
    border-left: 4px solid #ff6a00;
    background: #fff1e6;
    font-weight: 600;
    color: #ff6a00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .info-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .info-icon i {
        font-size: 35px;
    }

    .info-title {
        font-size: 20px;
    }

    .info-description {
        font-size: 14px;
    }

    .info-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

.our-inspiration td:first-child,
.our-inspiration th:first-child {
    width: 100px;
    min-width: 100px;
    text-align: center;
}
.our-inspiration tbody tr:nth-child(even) td {
    background: #f3f3f3;
}
table.our-inspiration tr:first-child td {
    background: #ff6a00;
    color: #ffffff;
    font-weight: 700;
}

/* ============================================
   Yug Bharti Directory Page Styles
   Orange Theme Matching Website
   ============================================ */

/* Header Section - Orange Gradient */
.yugbharti-directory-header {
    background: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    color: white;
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 180px;
}

.stat-number {
    display: block;
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Info Section */
.directory-info-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #ff6600;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.2);
    border-top-color: #ff9933;
}

.info-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.info-item h3 {
    color: #ff6600;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Directory Main Section */
.directory-main-section {
    max-width: 1400px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.section-title {
    color: #ff6600;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    display: inline-block;
}

.directory-content {
    margin-top: 30px;
}

/* Override Directory Plugin Colors to Match Orange Theme */
.aajeevan-sadasya-directory .alpha-btn.active {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
}

.aajeevan-sadasya-directory .alpha-btn:hover {
    background: #ff9933 !important;
    border-color: #ff9933 !important;
}

.aajeevan-sadasya-directory .member-batch {
    background: #fff3e6 !important;
    color: #ff6600 !important;
}

.aajeevan-sadasya-directory .page-btn.active {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
}

.aajeevan-sadasya-directory .search-input:focus {
    border-color: #ff9933 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px 30px;
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .directory-main-section {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .yugbharti-directory-header {
        padding: 35px 20px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 300px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-main-section {
        margin: 30px 15px;
        padding: 20px 15px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yugbharti-directory-header {
    animation: fadeInUp 0.6s ease-out;
}

.directory-info-section {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.directory-main-section {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Navigation Style Header */
.directory-nav-header {
    background: #ff6600;
    padding: 15px 0;
    text-align: center;
}

.directory-nav-header h1 {
    color: white;
    font-size: 28px;
    margin: 0;
}
/* Banner Height Increase */
.banner-section,
.slider,
.hero-section {
    min-height: 750px !important;   /* पहले 600-650 होगा, इसे बढ़ा रहे हैं */
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner Text Size Reduce */
.banner-section h1,
.slider h1 {
    font-size: 42px !important;
}

.banner-section p,
.slider p {
    font-size: 22px !important;
    line-height: 1.6;
}

.program-row {
    display: flex;
    border: 1px solid #000;
    border-bottom: none;
    max-width: 800px;
}

.program-row:last-child {
    border-bottom: 1px solid #000;
}

.program-col {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #000;
}

.program-col:last-child {
    border-right: none;
}

.program-header {
    background-color: #e6d5c3;
    font-weight: bold;
}

.program-title a {
    text-decoration: none;
    color: #e65100;
    font-weight: 500;
}

.program-title a:hover {
    text-decoration: underline;
}

.whats-new-box {
    background: #fff9f0;
    color: #333;
    border-radius: 12px;
    border: 2px solid #ff9102;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(255, 145, 2, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Links */
.whats-new-box a {
    color: #d35400;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.whats-new-box a:hover {
    color: #ff9102;
    text-decoration: underline;
}

.whats-new-box {
    background: #fff9f0;          
    color: #333333;
    border-radius: 12px;         
    border: 3px solid #ff9102;    
    padding: 20px;               
    box-shadow: 0 4px 10px rgba(255, 145, 2, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Items */
.new-item {
    padding: 10px 0;
    border-bottom: 1px solid #ffdba3;
}

.new-item:last-child {
    border-bottom: none;
}

.new-item small {
    color: #a67c00;
    font-style: italic;
    font-size: 0.85rem;
}


/* ===== EVENTS ===== */
.event-item {
    display: flex;
    text-decoration: none;
    color: #333;
    background: #f9f9f9;
    transition: 0.3s;
}

.event-item:hover {
    background: #f1f1f1;
}

/* Date Box */
.event-date-box {
    min-width: 90px;
    text-align: center;
    color: #fff;
    padding: 15px 10px;
    background: #fcaf3b;
}

.event-date-box .day {
    display: block;
    font-size: 28px;
    font-weight: bold;
}

.event-date-box .month {
    font-size: 14px;
}

.event-date-box .year {
    font-size: 12px;
}

/* Content */
.event-details {
    padding: 15px;
}

.event-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.event-location {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.event-desc {
    font-size: 14px;
    color: #555;
}


/* ===== SECTION FIX (ONLY THIS SECTION) ===== */
.events-section .section-title {
    text-align: left;
    margin-bottom: 0;
}

/* REMOVE unwanted global lines ONLY here */
.events-section .section-title::before,
.events-section .section-title::after {
    display: none !important;
}

.events-section .section-title {
    border-bottom: none !important;
}

@media (max-width: 576px) {
    .info-cards-section {
        padding: 40px 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .yugbharti-carousel {
        height: 400px;
    }
    
    .carousel-content h2 {
        font-size: 32px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .carousel-nav {
        padding: 10px 15px;
        font-size: 18px;
    }
    
}
