/* Subpage layout styles (shared service pages) */

.subpage-page {
    background-color: #f8f9fa;
}

/* Banner Section */
.subpage-banner-section {
    width: 100%;
    margin-bottom: 0;
}

.subpage-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hero Section */
.subpage-hero {
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.subpage-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.subpage-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.subpage-cta {
    position: relative;
    z-index: 1;
}

.btn-call-now {
    background-color: #fff;
    color: #9d2929;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-call-now:hover {
    background-color: #fcb900;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-call-now i {
    margin-right: 10px;
}

/* Content Section */
.subpage-content-section {
    background-color: #fff;
}

.subpage-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9d2929;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    border-radius: 2px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 30px;
}

.intro-text strong {
    color: #9d2929;
    font-weight: 600;
}

/* Services Section */
.subpage-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.subpage-service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subpage-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(157, 41, 41, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.subpage-service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.subpage-service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9d2929;
    margin-bottom: 15px;
}

.subpage-service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn-service {
    display: inline-block;
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-service:hover {
    background: linear-gradient(135deg, #f29312 0%, #9d2929 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 41, 41, 0.3);
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: #fff;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #9d2929;
}

.feature-box:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.feature-box i {
    font-size: 2rem;
    color: #9d2929;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #9d2929;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.subpage-cta-section {
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-cta {
    background-color: #fff;
    color: #9d2929;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-block;
}

.btn-primary-cta:hover {
    background-color: #fcb900;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-cta {
    background-color: #25D366;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-block;
}

.btn-whatsapp-cta:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary-cta i,
.btn-whatsapp-cta i {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .subpage-title {
        font-size: 2.5rem;
    }

    .subpage-subtitle {
        font-size: 1.2rem;
    }

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

    .subpage-service-card {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-cta,
    .btn-whatsapp-cta {
        width: 100%;
        max-width: 300px;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .feature-box i {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .subpage-hero {
        padding: 60px 0;
    }

    .subpage-title {
        font-size: 2rem;
    }

    .subpage-subtitle {
        font-size: 1rem;
    }

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

    .subpage-service-card h3 {
        font-size: 1.3rem;
    }
}

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

.subpage-service-card,
.feature-box {
    animation: fadeInUp 0.6s ease-out;
}

/* Active Nav Link */
/* .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fcb900 !important;
} */

/* Info boxes */
.subpage-info-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.subpage-info-box:hover {
    box-shadow: 0 5px 20px rgba(157, 41, 41, 0.2);
    transform: translateY(-5px);
}

.subpage-info-box h3 {
    color: #9d2929;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.subpage-info-box h3 i {
    margin-right: 10px;
    color: #f29312;
}

.subpage-info-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.subpage-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.subpage-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.subpage-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #9d2929;
}

.subpage-list li strong {
    color: #9d2929;
}

/* Process Steps */
.subpage-process-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: #9d2929;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: 0 5px 20px rgba(157, 41, 41, 0.2);
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 2rem;
    color: #9d2929;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.benefit-item h5 {
    color: #9d2929;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Expert Box */
.expert-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #9d2929;
}

.expert-img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.expert-box h3 {
    color: #9d2929;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.expert-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.expert-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.expert-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.expert-features li i {
    position: absolute;
    left: 0;
    color: #9d2929;
    font-weight: 900;
}

/* Kamakhya / solutions block section */
.kamakhya-solutions-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.kamakhya-content-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.kamakhya-content-box h3 {
    color: #9d2929;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.kamakhya-content-box h3 i {
    margin-right: 10px;
    color: #f29312;
}

.kamakhya-content-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.kamakhya-image-wrapper {
    text-align: center;
}

.kamakhya-devi-img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.kamakhya-devi-img:hover {
    transform: scale(1.05);
}

.kamakhya-power-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #9d2929;
}

.kamakhya-power-box h3 {
    color: #9d2929;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.kamakhya-power-box h3 i {
    margin-right: 10px;
    color: #f29312;
}

.kamakhya-power-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.kamakhya-benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.kamakhya-benefit-item:hover {
    box-shadow: 0 5px 20px rgba(157, 41, 41, 0.2);
    transform: translateY(-5px);
}

.kamakhya-benefit-item i {
    font-size: 2.5rem;
    color: #9d2929;
    margin-bottom: 15px;
}

.kamakhya-benefit-item h5 {
    color: #9d2929;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.kamakhya-benefit-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.kamakhya-expert-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #9d2929;
}

.kamakhya-expert-box h3 {
    color: #9d2929;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.kamakhya-expert-box h3 i {
    margin-right: 10px;
    color: #f29312;
}

.kamakhya-expert-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.kamakhya-pandit-img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.kamakhya-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.kamakhya-features-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.kamakhya-features-list li i {
    position: absolute;
    left: 0;
    color: #9d2929;
    font-size: 1.2rem;
}

.kamakhya-cta-box {
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    padding: 50px 30px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.kamakhya-cta-box h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.kamakhya-cta-box p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn-kamakhya-cta {
    background-color: #fff;
    color: #9d2929;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-block;
}

.btn-kamakhya-cta:hover {
    background-color: #fcb900;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-kamakhya-cta i {
    margin-right: 10px;
}

/* Image cards block section */
.imagesblock {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subpage-image-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subpage-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(157, 41, 41, 0.3);
}

.subpage-image-card a {
    text-decoration: none;
    display: block;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subpage-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.subpage-card-title {
    padding: 15px;
    background: linear-gradient(135deg, #9d2929 0%, #f29312 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.subpage-image-card:hover .subpage-card-title {
    background: linear-gradient(135deg, #f29312 0%, #9d2929 100%);
}
.row.justify-content-between {
            padding: 30px 0 20px 0;
        }
/* Responsive Updates */
@media (max-width: 768px) {
    .subpage-info-box,
    .expert-box {
        padding: 20px;
    }
    
    .subpage-process-box {
        padding: 30px 20px;
    }
    
    .expert-img {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .kamakhya-content-box,
    .kamakhya-power-box,
    .kamakhya-expert-box {
        padding: 25px 20px;
    }
    
    .kamakhya-devi-img,
    .kamakhya-pandit-img {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .kamakhya-cta-box {
        padding: 40px 20px;
    }
    
    .kamakhya-cta-box h3 {
        font-size: 1.6rem;
    }
    
    .subpage-card-img {
        height: 180px;
    }
    
    .subpage-card-title {
        font-size: 0.85rem;
        padding: 12px;
        min-height: 55px;
    }
}

@media (max-width: 576px) {
    .imagesblock {
        padding: 40px 0;
    }
    
    .subpage-card-img {
        height: 160px;
    }
    
    .subpage-card-title {
        font-size: 0.8rem;
        padding: 10px;
        min-height: 50px;
    }
}


@media only screen and (max-width: 640px) {
    .mobileheide{
        display: none;
    }
    .services-area .services-box{
        margin-bottom: 0px;
    }
    .what-story .col-lg-3.col-md-6:nth-child(2), .what-story .col-lg-3.col-md-6:nth-child(4), .what-story .col-lg-3.col-md-6:nth-child(3){
        margin-top: 10px !important; 
    }
    
    .navbar-light .navbar-toggler{
        margin-left: 20px;
    }
    }