/* Responsive fixes for all sections */
.container, .container-fluid {
    max-width: 100vw;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 991px) {
    .container, .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
}
.row {
    margin-left: 0;
    margin-right: 0;
}
.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding-left: 6px;
    padding-right: 6px;
}
.img-fluid, .w-100, .h-100 {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.overflow-hidden {
    overflow: hidden !important;
}
@media (max-width: 991px) {
    .gallery-img-card, .gallery-img-wrap, .service-card, .stats-card, .testimonial-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .gallery-section .row, .stats-bg-fixed .row, .testimonial-slider-wrap .row {
        margin-left: 0;
        margin-right: 0;
    }
    .gallery-section .col, .stats-bg-fixed .col, .testimonial-slider-wrap .col {
        padding-left: 6px;
        padding-right: 6px;
    }
}
@media (max-width: 767px) {
    .gallery-section .row, .stats-bg-fixed .row, .testimonial-slider-wrap .row {
        margin-left: 0;
        margin-right: 0;
    }
    .gallery-section .col, .stats-bg-fixed .col, .testimonial-slider-wrap .col {
        padding-left: 4px;
        padding-right: 4px;
    }
    .gallery-img-card, .gallery-img-wrap, .service-card, .stats-card, .testimonial-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Responsive min-height for hero row */
.hero-row-minheight {
    min-height: 280px;
}
@media (max-width: 767px) {
    .hero-row-minheight {
        min-height: 160px;
    }
}
/* Hero right-side image full cover */
/* Mobile slider banner equal height */
.hero-slider-mobile .carousel-item img {
    min-height: 180px;
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.hero-img-banner {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
@media (max-width: 991px) {
    .hero-img-banner {
        min-height: 220px;
        height: 220px;
    }
}
@media (max-width: 767px) {
    .hero-img-banner {
        min-height: 140px;
        height: 140px;
    }
}
/* Modern Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 420px;
        background: linear-gradient(90deg, #ffc0b1 0%, #fff7e6cc 40%, #fff0 65%), url(../images/banner1.png) right center/cover no-repeat;
        background-size: cover;
        background-position: right center;
        animation: heroBannerSlider 12s infinite linear;
}

@keyframes heroBannerSlider {
    0% {
        background: linear-gradient(90deg, #ffc0b1 0%, #fff7e6cc 40%, #fff0 65%), url(../images/banner1.png) right center/cover no-repeat;
        background-size: cover;
        background-position: right center;
    }
    33% {
        background: linear-gradient(90deg, #ffc0b1 0%, #fff7e6cc 40%, #fff0 65%), url(../images/banner2.jpeg) right center/cover no-repeat;
        background-size: cover;
        background-position: right center;
    }
    66% {
        background: linear-gradient(90deg, #ffc0b1 0%, #fff7e6cc 40%, #fff0 65%), url(../images/banner3.jpeg) right center/cover no-repeat;
        background-size: cover;
        background-position: right center;
    }
    100% {
        background: linear-gradient(90deg, #ffc0b1 0%, #fff7e6cc 40%, #fff0 65%), url(../images/banner1.png) right center/cover no-repeat;
        background-size: cover;
        background-position: right center;
    }
}
.hero-section .hero-img-main {
    box-shadow: 0 8px 32px #e4492422;
    border-radius: 24px;
    background: #fff;
    max-width: 100%;
    height: auto;
}
.hero-section .hero-bg-overlay {
    pointer-events: none;
}
@media (max-width: 991px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .hero-section .hero-img-main {
        max-height: 260px;
    }
    .hero-section h1 {
        font-size: 2.1rem !important;
    }
}
@media (max-width: 767px) {
    .hero-section {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        min-height: 250px;
    }
    .hero-section .hero-img-main {
        max-height: 180px;
    }
    .hero-section h1 {
        font-size: 1.4rem !important;
    }
}
/* Why Choose Us Section Custom Styles */
.whyus-quote-box {
    background: #c20d32;
    color: #fff;
    font-size: 1.13rem;
    line-height: 1.6;
    border-radius: 18px;
    box-shadow: 0 6px 24px #e4492422;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 991px) {
    .whyus-quote-box {
        font-size: 1rem;
        padding: 1.2rem 1rem;
    }
}
/* Stats/Counters Section Styles */
.stats-bg-fixed {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}
.stats-bg-overlay {
    pointer-events: none;
}
.stats-card {
    border-radius: 22px;
    box-shadow: 0 6px 32px #e4492422;
    background: #fff;
    overflow: visible;
    position: relative;
    margin-bottom: 0;
}
.stats-icon-wrap {
    background: linear-gradient(120deg, var(--brand-primary) 60%, var(--brand-gold) 100%);
    border-radius: 0 0 48px 48px;
    width: 100%;
    min-height: 90px;
    margin-bottom: -32px;
    position: relative;
    z-index: 2;
}
.stats-icon {
    font-size: 2.5rem;
    color: #fff;
    line-height: 1;
}
.stats-content {
    background: #fff;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 2px 8px #e4492411;
    margin-top: 0;
    position: relative;
    z-index: 3;
}
.stats-card .fw-bold {
    font-family: 'Poppins', Arial, sans-serif;
}
@media (max-width: 991px) {
    .stats-icon-wrap { min-height: 70px; }
    .stats-icon { font-size: 2rem; }
}
@media (max-width: 767px) {
    .stats-card { margin-bottom: 1.5rem; }
}
/* Service Card Slide Overlay Effect */
.service-hover-slide {
    background: #d36a28;;
    cursor: pointer;
    transition: box-shadow 0.22s cubic-bezier(.77,0,.18,1);
}
.service-hover-slide .service-overlay-slide {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, #b3121794 0%, #ff6b087a 100%);
    z-index: 3;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.32s cubic-bezier(.77,0,.18,1);
    box-shadow: 0 6px 32px #e4492422;
    pointer-events: none;
}
.service-hover-slide:hover .service-overlay-slide,
.service-hover-slide:focus-within .service-overlay-slide {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.service-hover-slide .card-body {
    position: relative;
    z-index: 1;
    background: none;
    min-height: 180px;
}
.service-hover-slide img.card-img-top {
    width: 100%;
    height: 330px;
    object-fit: cover;
    transition: filter 0.22s;
}
.service-hover-slide:hover img.card-img-top {
    filter: brightness(0.7) blur(1px);
}
@media (max-width: 991px) {
    .service-hover-slide img.card-img-top {
        height: 180px;
    }
}
@media (max-width: 767px) {
    .service-hover-slide .service-overlay-slide {
        padding: 1.2rem 1rem;
    }
    .service-hover-slide img.card-img-top {
        height: 140px;
    }
}
/* Remove Bootstrap dropdown arrow for desktop nav */
.nav-modern .dropdown-toggle::after {
    display: none !important;
}
.dropdown-plus {
    font-size: 1.3em;
    font-weight: 900;
    color: #525252;
    margin-left: 4px;
    /* vertical-align: middle; */
    letter-spacing: 0;
    user-select: none;
}
/* Modern Desktop Navbar */
.custom-navbar {
    background: #fefefe;
    min-height: 72px;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.navbar-brand {
    gap: 0.7rem;
    padding: 0px;
}
.brand-text {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brand-primary);
}
.nav-modern .nav-link {
    color: #000000;
    font-weight: 500;
    font-size: .9rem;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    position: relative;
}
.nav-modern .nav-link:hover, .nav-modern .nav-link:focus {
    background: var(--brand-gold);
    color: #fff;
    box-shadow: 0 2px 8px #bb952b22;
}
.nav-modern .nav-link.active, .nav-modern .nav-link[aria-current="page"] {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 2px 8px #e4492422;
}

.nav-modern .nav-link:hover, .nav-modern .nav-link:focus {
    color: var(--brand-primary);
    background: none;
    box-shadow: none;
}
.nav-modern .nav-link.active, .nav-modern .nav-link[aria-current="page"] {
    color: var(--brand-gold);
    background: none;
    box-shadow: none;
}
.nav-modern .dropdown-menu {
    /* border-radius: 10px; */
    box-shadow: 0 6px 24px #e4492422;
    border: none;
    margin-top: 0.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.28s cubic-bezier(.77,0,.18,1), transform 0.28s cubic-bezier(.77,0,.18,1);
}

.menu-dropdown-list {
    border-radius: 0;
    box-shadow: 0 6px 24px #e4492422;
    border: none;
    margin-top: 0.5rem;
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    min-width: 220px;
    padding: 0 0;
    pointer-events: none;
    transition: max-height 0.32s cubic-bezier(.77,0,.18,1), opacity 0.28s cubic-bezier(.77,0,.18,1);
}
@media (min-width: 992px) {
    .nav-hover-dropdown.open > .menu-dropdown-list {
        /* These are set by JS for animation, but keep for fallback */
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
        padding: 0.5rem 0;
    }
}
.menu-dropdown-item {
    color: #111;
    font-weight: 700;
    font-size: .9rem;
    padding: 0.7rem 1.2rem;
    border-radius: 0;
    background: none;
    transition: color 0.18s;
    letter-spacing: 0.02em;
}
.menu-dropdown-item:hover, .menu-dropdown-item:focus {
    color: var(--brand-primary);
    background: none;
}
.nav-modern .dropdown-item {
    color: #000;
    font-weight: 500;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
}
.nav-modern .dropdown-item:hover, .nav-modern .dropdown-item:focus {
    /* background: var(--brand-gold); */
    color: var(--brand-primary);
}
.btn-modern-cta {
    background: linear-gradient(90deg, var(--brand-primary) 60%, var(--brand-gold) 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px #e4492422;
    border: none;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-modern-cta:hover, .btn-modern-cta:focus {
    background: var(--brand-gold);
    color: #fff;
    box-shadow: 0 4px 16px #bb952b33;
}
@media (max-width: 991px) {
    .btn-modern-cta { display: none !important; }
}
/* Redesigned Testimonial Section */
#testimonial-section {
    background: linear-gradient(90deg, #ffffff 0%, #fff 100%);
}
.testimonial-slider-wrap {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px #e4492422;
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
}
.testimonial-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    min-height: 1px;
    align-items: stretch;
}
.testimonial-slide {
    flex: 0 0 100%;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    display: flex;
    justify-content: center;
}
.testimonial-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px #e4492411;
    /* padding: 2rem 1.5rem; */
    /* max-width: 500px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 24px #e4492433;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testimonial-quote {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 1.1rem;
    font-style: italic;
}
.testimonial-name {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 1.1rem;
}
.testimonial-role {
    color: var(--brand-gold);
    font-size: 0.98rem;
    margin-top: 0.2rem;
}
.testimonial-slider-controls .btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px #e4492411;
    color: var(--brand-primary);
    transition: background 0.2s, color 0.2s;
}
.testimonial-slider-controls .btn:hover {
    background: var(--brand-primary);
    color: #fff;
}
@media (max-width: 600px) {
    .testimonial-card {
        padding: 1.2rem 0.5rem;
    }
    .testimonial-slider-wrap {
        padding: 0.5rem 0.2rem .5rem 0.2rem;
    }
}
/* Section background decor for basuri and pankh */
.section-bg-decor::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30px;
    width: 120px;
    height: 120px;
    background: url('../images/pank.jpg') no-repeat center center/contain;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}
.section-bg-decor::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 20px;
    width: 140px;
    height: 100px;
    background: url('../images/basuri1.jpg') no-repeat center center/contain;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}
.section-bg-decor > .container, .section-bg-decor > div.container {
    position: relative;
    z-index: 1;
}
/* Custom main stylesheet for Pawan Krishna Official & Party */

html, body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

:root {
    --brand-primary: #e44924;
    --brand-orange: #ff6600;
    --brand-gold: #bb952b;
}

/* Service Card Equal Height Fix */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border:none;
    border-radius: none;
}
.service-card .card-img-top {
    height: 180px;
    object-fit: cover;
}
.service-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 90px;
}
.service-card .card-title {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
