/* navbar css start  */
* {
    margin: 0 ;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    height: 100%; 
} 
/* Hero Background */
.hero { 
    background-image: url('../../images/landing.png');
    background-size: cover;           
    background-position: center;     
    background-repeat: no-repeat;   
    background-color: #000;         
    position: relative;
    height: 100vh;                    
    width: 100%;                      
    color: #fff;
    overflow: hidden; 
}
@media (max-width: 768px) 
{
    .hero {
        background-position: top;   
    }
} 
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
   overflow-x: hidden;
}
/* Navbar */ 
.navbar {
  position: fixed; 
  top: 0;
  width: 100%;
  background-color: #a40000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  z-index: 999;
  border-bottom: 3px solid gold;
  border-bottom-left-radius:50px;
  border-bottom-right-radius:50px;
}  
.hero-content{
    margin-top: 250px;
}  
    .hero-content h1{
         color: #ffffb3;
    font-size: 48px;
    text-shadow: 2px 2px 2px #ff9900;
    } 
    .hero-content h2
    {
        font-size: 25px;
        color: #ffe6f0;
        text-shadow: 1px 1px 2px #cc0052;
    } 
    .hero-content p
    {
        font-size: 18px;
        color: #ffffff;
        margin-left: -4px;
    }
    .hero-content button {
    font-size: 15px;            
    padding: 0.6rem 2rem;       
    border-radius: 10px;        
    background-color: #a40000;  
    color: #fff;                
    border: none;               
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;  
    cursor: pointer;
}

/* Hover effect */
.hero-content button:hover {
    background-color: #e63946; 
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
    @media (max-width: 768px) 
    {
        .hero-content
        {
            margin-top: 150px;    
        } 
        .hero-content h1
        {
            font-size: 40px;
        }
        .hero-content h2
        {
            font-size: 20px;
        }
        .left-icon{
            margin-left: -10px;
        }

    }
/* navbar css end  */

/* our aim css start  */
    .left-section
    {
        border: 3px solid red;
    }
    .left-section h2
    {
        font-size: 25px;
        color: black;
        text-shadow: 2px 2px orange;
        font-weight: 700;
        margin-top: 10px;
    }
    .left-section p
    {
        color: black;
        margin-top: 10px;
        text-align: justify;
    }
    .right-section
    {
        border-bottom: 3px solid red;
        border-top: 3px solid red;
        border-right: 3px solid red;
    }
    .right-section h2
    {
        font-size: 25px;
        color: black;
        text-shadow: 2px 2px orange;
        font-weight: 700;
        margin-top: 10px;
    }
    .image-box{
        height: 200px;
        background: #808080; 
        width: 100%;
        max-width: 300px; 
        overflow: hidden;
        border-radius: 8px;
        background-color: #2196f3;
        border-radius: 10px;
        margin: 0 auto 20px auto;
  }

  .image-box .image-fit{
        display: block;
        width: 100%;
        height: 200px;     
        object-fit: cover; 
        object-position: center;
    }
    .text-box {
      background-color: orange;
      padding: 20px;
      border-radius: 10px;
      width: 90%;
      max-width: 800px;
      margin: 0 auto;
      margin-bottom: 20px;
    }
    .text-box p{
        text-align: justify;
    }
    hr {
      border-top: 1px solid #ccc;
    }
    .image-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .base-image {
      position: relative;
      display: inline-block;
      height: 290px; 
      width: auto;
    }

    .base-image img.main {
      height: 100%;
      width: 300px; 
      display: block;
      margin-top: 10px;
    }

    .base-image img.shehnayi-img {
      position: absolute;
      top: -60px;
      left: -80px;
      width: 150px;  
      height: 150px; 
    }
    .base-image img.dhapli {
      position: absolute;
      bottom: -70px; 
      right: -70px;
      width: 150px;  
      height: 150px;
    } 
    @media (max-width: 768px) {
      .base-image {
        height: 240px;
      }
      .base-image img.main {
        height: 200px;
        width: 220px;
      }
      .base-image img.shehnayi-img {
        width: 110px;
        height: 110px;
        top: -50px;
        left: -40px;
      }
      .base-image img.dhapli {
        width: 110px;
        height: 110px;
        bottom: -15px;
        right: -50px;
      } 
      .right-section
      {
        border-top: 3px solid red;
        border-left: 3px solid red;
      }
    }
/* our aim css end */

/* lagn css start */  
    .lagn{
        background:#a40000;
        margin-top: 65px;
        height: 250px;
    } 
    .lagn-heading h1
    {
        color: white;
        font-size: 25px;
        margin-top: -15px;
    }
    .lagn-heading p
    {
        color: white;
    }
    @media (max-width: 600px) {
      .lagn-heading p{
        text-align: justify;
      }
      .lagn{
        height: 600px;
      }
    }
/* lagn css end */

/* why choose us css start */
 .choose-us {
    background: #FFA500;
    padding: 40px 30px;   
    border-radius: 12px; 
}

.choose-us h2 {
    color: #fff;
    font-size: 2.1rem;
    text-shadow: 1px 1px 2px #b20000;
    margin-top: -30px;
}

.feature-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: -20px;
}
.feature-box:hover {
    transform: translateY(-10px);
}
@media (max-width: 600px) {
      .feature-box {
        margin-top: 10px;
        }
        #one-feature-box{
            margin-top: 5px;
        }
    }

.feature-box i {
    font-size: 36px;
    color: red;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-box p {
    font-size: 0.9rem;
    color: #555;
}

/* why choose us css end */

/* path to companionship css start */ 
  .companionship h2{
    color: #fff;
  font-size: 2.1rem;
  margin: 0; 
  padding-top: 15px; 
  text-shadow: 1px 1px 2px yellow;
  text-align: center;
  margin-top: -30px;
  }
.companionship {
    background: #a40000;   
    border-radius: 12px;   
}
.step-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.step-box:hover {
  transform: translateY(-10px);
}
.step-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}
.step-box p {
  font-size: 0.9rem;
  color: #555;
}
.step-box i{
     font-size: 36px;
  color: orange;
    margin-bottom: 15px;
}
.step-box h5{
     font-size: 24px;
  color: orange;
  font-weight: 600;
  margin-bottom: 10px;
}
/* path to companionship css end */   

/* our coordinator css start */
.coordinator{
    background: white;
}

.coordinator h2{
    font-size: 30px;
    color: black;
    text-shadow: 2px 2px orange;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
}

.sub-coordinator{
    margin-top: 15px;
}

.coordinator-card{
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.coordinator-card img{
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: contain;
}

.coordinator-card p{
    color:#800040;
    font-size: 15px;
    margin-top: 10px;
    text-align: center;
    line-height: 0.8; 
}

.coordinator-card:hover{
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.25);
}

/* Mobile only fine-tune */
@media (max-width: 600px){
    .coordinator h2{
        margin-top: 20px;
    }
    .sub-coordinator{
        margin-top: 20px;
    }
    .coordinator-card p{
    line-height: 1.0; 
}
}
/* our coordinator css end  */ 

/* our associates css start */
.associates{
    background: white; 
    margin-top: -30px;
    padding: 30px 0; /* fixed height removed */
}

.sub-associates{
    margin-top: 20px; 
}
.associates h2{
    font-size: 30px;
    color: black;
    text-shadow: 2px 2px orange;
    font-weight: 700;
}

.associates img{
    width: 100%;    
    height: 200px;
    border-radius: 10px;
    object-fit: contain;
}

.associates h3{
    font-size: 1.2rem;
    margin-top: 10px; 
    color: #333;
}

.associates p{
    color:#800040;
    font-size: 15px;
    margin-top: 10px;
    text-align: center;
    line-height: 1.2; 
}

.associates-card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.associates-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.25);
}

/* tablet centering fix */
@media (min-width: 768px) and (max-width: 991px){
    .row.justify-content-center {
        justify-content: center; 
    }
}
/* our associates css end  */

/* ready css start  */
.ready{
        background: url('../../images/mandala.png') no-repeat center center;
        margin-top: 10px;
}
.ready h2{
    color: #FF6F61;
    font-size: 2.1rem;
}
.ready p{
    color: #660033;
    text-align: center;
    font-size: 20px;
}
/* ready css end  */

/* gallery css start */
.gallery-header {
  text-align: center;
  margin-bottom: -25px;
  background: white;
  height: 70px;
    width: 100%;
}
.gallery-header h2 {
  font-weight: bold;
  font-size: 30px;
    color: black;
    text-shadow: 2px 2px orange;
    font-weight: 700;
    margin-top: -25px;
    text-align: center;
} 
.gallery-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 20px;
  background: white;
}
.gallery-top {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr; 
  gap: 15px;
  margin-bottom: 20px;
  align-items: stretch; 
  margin-top: -5px;
}
.gallery-center {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}            

.gallery-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  
  .gallery-header{
    margin-top: -15px;
  } 
  .gallery-top {
    grid-template-columns: 1fr;
  }

  .gallery-item.large img {
    height: 250px; 
    object-fit: cover;
  }
  .gallery-center {
    grid-template-rows: auto;
  }

  .gallery-center .gallery-item img {
    height: 200px;
  }

  .gallery-bottom {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .gallery-header h2 {
    margin-top: -30px;
  }
}
/* gallery css end */

/* about-us css start */
.about{
    background-image: url('../../images/ba.png');
    background-size: cover;
    background-position: center;
}

/* wrapper for positioning */
.img-wrapper{
    position: relative;
    width: fit-content;
}

/* square image */
.square{
    width: 240px;
    height: 260px;
    border: 3px solid gold;
    margin-left: 100px;
}

/* circle image */
.circle{
    width: 150px;
    height: 150px;
    border: 3px solid gold;
    border-radius: 50%;
    position: absolute;
    bottom: -40px;
    right: -40px;
}

/* text */
.about h2{
    font-weight: 700;
    font-size: 30px;
    color: black;
    text-shadow: 2px 2px orange;
    margin-bottom: 20px;
}

.about p{
    color: #001a1a;
    line-height: 1.6;
    text-align: justify;
}

/* 📱 Mobile fix */
@media (max-width: 768px){
    .img-wrapper{
        margin: 0 auto;
    }
    .square{
        margin-left: -10px;
    }

    .circle{
        bottom: -30px;
        right: -20px;
    }

    .about h2{
        text-align: center;
        margin-top: 30px;
    }
}

/* about-us css end */

/* about-us page css start */
.aboutt{
    background-image: url('../../images/ba.png');
    background-size: cover;
    background-position: center;
    margin-top: 100px;
    margin-bottom: 25px;
}

/* wrapper for positioning */
.img-wrapper{
    position: relative;
    width: fit-content;
}

/* square image */
.squaree{
    width: 240px;
    height: 260px;
    border: 3px solid gold;
    margin-left: 100px;
}

/* circle image */
.circlee{
    width: 150px;
    height: 150px;
    border: 3px solid gold;
    border-radius: 50%;
    position: absolute;
    bottom: -40px;
    right: -40px;
}

/* text */
.aboutt h2{
    font-weight: 700;
    font-size: 30px;
    color: black;
    text-shadow: 2px 2px orange;
    margin-bottom: 20px;
}

.aboutt p{
    color: #001a1a;
    line-height: 1.6;
    text-align: justify;
}

/* 📱 Mobile fix */
@media (max-width: 768px){
    .img-wrapper{
        margin: 0 auto;
    }
    .squaree{
        margin-left: -10px;
    }

    .circlee{
        bottom: -30px;
        right: -20px;
    }

    .aboutt h2{
        text-align: center;
        margin-top: 30px;
    }
}
/* about-us page css end */

/* Featured profile css start  */
.featured h2 {
    font-weight: bold;
    font-size: 30px;
    color: black;
    text-shadow: 2px 2px orange;
    font-weight: 700;
    text-align: center;
    margin-top: 10px;
}
.profile-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    filter: blur(5px);
    cursor: pointer;
}
.profile-card p{
    text-align: center;
}
/* Featured profile css end  */
/* footer section css start */
.footer{
    background: #a40000;
}
.sub-footer hr{
    border-top: 3px solid yellow;
}
.sub-footer h2{
  color: #fff;
  font-size: 2.1rem; 
  text-shadow: 1px 1px 2px yellow;
  margin-top: 20px;
}
.sub-footer ul li a{
    text-decoration: none; 
    color: white;
    text-shadow: 1px 1px 2px #b20000;
}
.sub-footer ul{
    list-style: none;
}
.sub-footer h3{
  color: #fff;
  font-size: 20px; 
  text-shadow: 1px 1px 2px yellow;
  margin-top: 20px;
}
.sub-footer p{
  margin-top: 15px;
  color: #e0ebeb; 
}
.sub-footer ul li i {
    color: #cc7a00;
    margin-left: -30px;
}
.sub-footer ul li a:hover{
    color: #cc7a00;
}
.sub-footer i {
    color: #cc7a00;
}
.second{
    text-align: center;
    color: #e0ebeb;
}
@media (max-width: 768px) {
    .sub-footer h2{
  font-size: 1.9rem;
 }
}
/* footer section css end */ 
/*modal css start */
/* Modal background */
.img-modal{
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

/* 🔹 MODIFIED: Big image (blur fix) */
.modal-content{
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;

    /* blur fix */
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);

    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: zoomIn 0.25s ease-out;
}

/* Close button */
.close-btn{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Hover effect for gallery images */
.gallery-item img{
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover{
    transform: scale(1.05);
}

/* 🔹 MODIFIED: cleaner animation (less blur) */
@keyframes zoomIn{
    from{
        transform: scale(0.92);
        opacity: 0;
    }
    to{
        transform: scale(1);
        opacity: 1;
    }
}

/* 📱 Mobile fine-tune */
@media(max-width: 768px){
    .modal-content{
        max-width: 85%;
        max-height: 85%;
    }
}

/*modal css end */

