* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans Devanagari', sans-serif; 
    
    /* font-family: 'Samarkan', sans-serif; */
}



body {
    margin: 0;
    padding: 0;
    
}

header {
    /* background-color: #a54863; */
    background-image: linear-gradient(45deg, #711313, #b54545);
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 48px;
   
}

.menu-icon {
    display: none;
    font-size: 2em;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

/*#above{*/
/*    padding-top: 54px;*/
/*}*/

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 28px;
    width: 100%;
    max-width: 1200px; /* Adjust as needed for your layout */
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    /* .container {
        padding-left: 10px;
        padding-right: 10px;
    } */
}

@media (max-width: 768px) {
    /* .container {
        padding-left: 5px;
        padding-right: 5px;
    } */
}

@media (max-width: 480px) {
    /* .container {
        padding-left: 2px;
        padding-right: 2px;
    } */
    nav .menu {
        display: none;
    }
    nav .icon {
        display: block;
    }
}


 .main {
    background-image: url('/images/82.png');
    background-repeat: no-repeat;
    background-size: cover;
   
} 

@media (max-width: 768px){
    .main{
        margin-top: -66px;
    }
}

.quote-heading {
    text-align: center;
    margin-top: 20px;
}



@media (max-width: 768px) {
    
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        align-items: center;
        top: 60px;
        right: 0;
        background-color: #9f1b0bc4;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }
}

/* Basic styling for container and boxes */
.container-pro {
    display: flex;
    justify-content: space-between;
    gap: 360px; /* Space between the divs */
    padding: 10px;
    
    
}

.box {
    flex: 1; /* Makes the boxes take up equal space */
    padding: 20px;
    
    /* border: 1px solid #ccc; */
    text-align: center;
    
}

/* Media query for devices with max-width of 768px (tablets and smaller) */
@media (max-width: 768px) {
    .container-pro {
        flex-direction: column; /* Stacks divs vertically */
        gap: 36px;
    }
    .box {
        margin-bottom: 10px; /* Space between stacked divs */
    }
}

/* Media query for devices with max-width of 480px (mobile phones) */
@media (max-width: 480px) {
    .box {
        padding: 10px; /* Adjust padding for smaller screens */
    }
}
  

  /********conain-two div*******/
  .contain-two {
    display: flex;
    flex-wrap: wrap;
}

.content, .image {
    flex: 1;
    padding: 20px;
}

.content {
    background-color: #f4f4f4;
}

.image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .contain-two {
        flex-direction: column;
    }
}

/**************mantra section****************/
.contain-mantra {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    padding: 20px;
    gap: 10px;
}




.box-mantr {
    flex: 1 1 30%; /* Adjusts to fit 3 items in a row */
    background: transparent;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 6px 8px rgb(241 236 16 / 60%);

}

/* Media Queries */
@media (max-width: 768px) {
    .box-mantr {
        flex: 1 1 45%; /* Adjusts to fit 2 items per row on medium screens */
         box-shadow: 0 6px 8px rgb(241 236 16 / 60%);
    }
}

@media (max-width: 768px){
    .hed-man img{
        width:380px;
        padding-left:-390px;
    }
}

@media (max-width: 480px) {
    .box-mantr {
        flex: 1 1 100%; /* Stacks items vertically on small screens */
        box-shadow: 0 6px 8px rgb(241 236 16 / 60%);
    }
}

/************media query for img****************/

.img-fluid {
    max-width: 100%;
    height: auto;
}

/*********************yog section**************************/

.container-yog {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.cont {
    width: 48%;
    padding: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    text-align: start;
}

.image-box img {
    width: 100%;
    height: auto;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .container-yog {
        flex-direction: column;
        align-items: center;
    }

    .image-box {
        order: 2;
        width: 100%;
    }

    .cont {
        width: 100%;
        text-align: start;
    }

    .content-box {
        order: 1;
        width: 100%;
        margin-bottom: 10px;
    }
}

footer{
    background-image: url(/images/footer-new.gif);
}

/* Container for the three divs */
.foot-count {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    
}

.foot-count .links{
    text-align: center;
       }



/* Individual boxes */
.f-box {
    flex: 1;
    margin: 10px;
    padding: 20px;
   background-image: url(/images/sm-div-back.png);
   background-repeat: no-repeat;
   background-size: cover;
    text-align: center;
    color: brown;
    
    min-width: 200px; /* Ensures a minimum width for each box */
}

.f-box a{
    text-decoration:none;
    color:brown;
}

/* Media queries for responsive design */

/* For tablets and above */
@media (min-width: 600px) {
    .f-box {
        min-width: 250px;
    }
}

/* For desktops and above */
@media (min-width: 900px) {
    .f-box {
        min-width: 300px;
    }
}

/* For larger screens */
@media (min-width: 1200px) {
    .f-box {
        min-width: 350px;
    }
}

/************video container*************/
 @media (max-width:768px){
    .contain-vi{
        width: 72px;
        margin-top: 26px;
    }
    
    .contain-vi video{
        width: 550%;
        height: 30vh;
    }
} 

@media (max-width:768px){
    .banner{
    width: 72px;
    margin-top: 90px;
    }

    .banner img{
        width: 550%;
    height: 20vh;
   
    }

}


.dhyan{
    background-image: url(/images/golden-lotus-removebg-preview.png);
    background-repeat: no-repeat;
    height: 25vh;
}

.btn{
    font-size: 20px;
    padding: 10px;
    border-radius: 7px;  
    border: 2px brown;
}

.contain-t{
    background-image: url(/images/bagwat-blur.png);
    background-repeat: no-repeat;
}

.contain-t .bg-bhagwat{
    background-image: linear-gradient(45deg, #b38a4d, transparent);
    color: #83110b;
    padding: 20px;
}


.bhagwat{
    background-image: url(/images/large-lotus.gif);
    background-repeat: no-repeat;
    
   background-position: center;
}



.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    background-repeat: no-repeat;
    background-position: center;
       height: 90vh;
    background-image: url(/images/rishi-muni-bg.png); /* Adjust the background color or image as needed */
    padding: 20px;
}

.child {
    background-image: linear-gradient(45deg, #efa857, transparent);
    padding: 20px;
    text-align: center;
    /* color: white; */
    font-size: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .parent {
        grid-template-columns: 1fr;
    }
}

/*video-new about karma*/
.cont-v {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.video-section, .content-section {
    padding: 10px;
}

.video-section {
    flex: 1 1 50%;
}

.video-section video {
    width: 100%;
    height: auto;
}

.content-section {
    flex: 1 1 50%;
}

@media (max-width: 768px) {
    .video-section, .content-section {
        flex: 1 1 100%;
    }
}
