/* ===============================
   ICON WIDTH LOCK (NO SHIFT)
================================ */
.fa, .la, .ti, .flaticon {
    width: 1.25em;
    display: inline-block;
    text-align: center;
}

/* ===============================
   BODY FONT FALLBACK
================================ */
body {
    font-family: "Open Sans", "Roboto", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}





/* Add font styles for Hindi and English */
.hindi-font {
    font-family: "Hind", serif;
}

.english-font {
    font-family: Arial, sans-serif;
}

/* Add styles for dark and light modes */
.dark-mode {
    background-color: #333;
    color: #fff;
}

.light-mode {
    background-color: #fff;
    color: #333;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFF9E7;
    padding: 5px 10px;
    grid-area: auto;
}

body.lang-en .btn-en {
    display: none;
}

.topbar {
    background-color: #A4243B;
    padding: 5px 40px;
}

.topbar .TopBarBox a {
    color: #fff;
    font-size: 13px;
    border-right: 1px solid;
    border-color: #fff;
}

.top .social-media {
    padding-left: 20px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top .social-media a {
    margin-left: 20px;
}

.logo2 {
    width: 100%;
    display: flex;
    align-items: self-end;
    justify-content: end;
}

.logoTitle {
    text-align: center;
}

.logoTitle h2 {
    color: #5B2930;
    font-size: 30px;
    font-family: "Merriweather", serif;
    font-weight: 800;
    margin-bottom: 1px;
    text-transform: uppercase;
}

.logoTitle span {
    font-size: 15px;
    font-weight: 600;
    /* font-family: Poppins, sans-serif; */
    margin-top: 5px;
    color: #273E47;
}

.logoTitle .approv {
    font-size: 12px;
}

.logoTitle .affili {
    font-size: 14px;
}

/* ===============================
   PRINCIPAL IMAGE (CLS SAFE)
================================ */
.imge_prin {
    min-height: 260px; /* reserve space */
}

.imge_prin img {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1; /* CLS FIX */
    object-fit: cover;
    margin-right: 35px;
    border-radius: 10px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
}

.imge_prin .desg {
    margin-top: -8px;
}

.imag_p {
    font-size: 15px;
    font-weight: 500;
    text-align: justify;
}

@media (max-width: 768px) {
    .imge_prin img {
        margin-right: 0; /* REMOVE negative margin */
    }
}



@media (max-width: 786px) {
    .top {
        padding: 0;
    }

    .logoTitle {
        display: none;
    }

    .logo2 {
        display: none;
    }

    .topbar {
        padding: 10px 20px;
    }

    .topbar .TopBarBox a {
        font-size: 13px;
        font-weight: 500;
    }
}


.box{
    background-color: #ccc;
    border-radius: 20px;
    margin-bottom: 100px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: 0.5s;
}

.box:hover {
    transform: translateY(-20px);
  }
.box .box_body{
    width: 100%;
    margin-bottom: 15px;
    padding: 20px;
}

.box .box_body .box_btn{
    background-color: #5B2930;
    color: #fff;
    padding: 5px 20px ;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    font-size: 14px;
}
.box .box_body .box_btn i{
    font-size: 15px;
    font-weight: 400;
}

.box .box_body .box_btn:hover{
    background-color: #172033;
    color: #fff;
}


/* From Uiverse.io by gharsh11032000 */ 
.card-box {
    width: 300px;
    height: 200px;
    border-radius: 8px;
    color: #000;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    background-position: center;
    background-size: contain;
    padding: 20px;
    background-repeat: no-repeat;
  }
  
  .card-box-content {
    padding: 10px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }
  
  .card-box-content .card-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #242222;
    text-transform: uppercase;
  }
  
  .card-box-content .card-box-para {
    color: inherit;
    opacity: 0.8;
    font-size: 14px;
  }
  
  .card-box:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(60, 60, 60, 0.2);
  }
  
  .card-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#4a4c4c2d, rgba(221, 217, 200, 0.49));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .card-box:hover:before {
    transform: translateX(-100%);
  }
  
  .card-box:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .card-box:hover:after {
    transform: translateX(100%);
  }
  
  
  
  
  
  






.viewbtn {
    margin-left: 35rem;
}

.card {
    position: relative;
    width: 100%;
    height: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;

}

.bbt {
    position: relative;
    z-index: 999;

}

.card::before,
.card::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    background-color: #35081124;
    transition: all 0.5s;
}

.card::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
}

.card::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 15px;
}

.card:hover::before,
.card:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
}

/* .card:hover:after {
    content: "";
} */

@media (max-width: 768px) {
    .viewbtn {
        margin-left: 40px;
    }
}
