* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* All Keyframes Animaions */
@keyframes appear {
    from{
        opacity: 0;
        /* transform: translateX(-50px); */
        transform: scale(0.7);
        /* scale:0.5; */
    }
    to{
        opacity: 1;
        /* transform: translateX(0px); */
        transform: scale(1);
        /* scale:1; */

    }
}
@keyframes slide-left {
    from{
        opacity: 0;
        transform: translateX(100px);
        /* transform: scale(0.9); */
        /* scale:0.5; */
    }
    to{
        opacity: 1;
        transform: translateX(0px);
        /* transform: scale(1); */
        /* scale:1; */
    }
}

@keyframes slide-out {
    from{
        opacity: 0;
        transform: translateX(-100px);
        /* transform: scale(0.9); */
        /* scale:0.5; */
    }
    to{
        opacity: 1;
        transform: translateX(0px);
        /* transform: scale(1); */
        /* scale:1; */

    }
}
@keyframes slide-top-bottom {
    from{
        opacity: 0;
        transform: translateY(80px);
        /* transform: scale(0.5); */
        /* scale:0.5; */
    }
    to{
        opacity: 1;
        transform: translateY(0px);
        /* transform: scale(1); */
        /* scale:1; */
    }
}
@keyframes slide-in {
    0%{
        transform: translateY(-90px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
/* bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}


.lic-heading{
    margin-top: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #00529C;
    font-size: 25px;
    background-color: #ffffff;
    animation:slide-in 2s ease forwards;


}
@media(max-width:700px){
    .lic-name{
        font-size: 20px;
    }
    .lic-quote{
        font-size: 10px;
    }
}





/* styles of coins images and text */
.coin{
    border:border-box;
    height: 450px;
    width: 100%;
    margin-top: 0px;
    background-color: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 25px;
    padding-left: 160px;
    padding-right: 160px;
    /* padding-bottom: 80px; */
    
}
.trusted-text{
    height: 350px;
    width: 539px;
    background-color: #ffffff;
    color: black; 
}
.sub-text-coin{
    font-family:Arial, Helvetica, sans-serif;
    margin-top: 30px;
    height: 100px;
    width: 539px;
    font-size: 45px;
    font-weight: 700;
    color: #00529C;
    background-color: #ffffff;
    text-align: left;
    animation :slide-out 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 61%;
}
.coin-desc{
    font-family:Arial, Helvetica, sans-serif;
    margin-top: 20px;
    height: 100px;
    width: 539px;
    font-size: 17px;
    background-color: #ffffff;
    animation :slide-out 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.coin-button{
    
    margin-top: 20px;
    margin-left: 0px;
    height: 40px;
    width: 160px;
    border: 1.1px solid rgb(0, 0, 0);
    border-radius: 22px;
    background-color: transparent;
    text-align: center;
    justify-content: center;
    padding-top:10px;
    box-shadow: 10px 5px 10px 0px #696b6f;

}
.coin-button:hover{
    background-color: rgb(33, 85, 164);
    color: white;
}
.coin-image{
    height: 350px;
    width: 539px;
    background-image: url("lic-brand.jpg");
    background-size: cover;
    border-radius:  25px 25px 25px 25px;
    box-shadow: 10px 5px 10px 0px #4d5055;
    animation :appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
@media(max-width:700px){
    .coin{
        margin-top: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
       
    }
    .coin-image{
       
        height: 150px;
        width:200px;
        background-size: cover;
        border-radius: 15px 0px 15px 0px;
    }
    .trusted-text{
        height: 250px;
        width: 250px;
        display: flex;
        align-items: center;
        flex-direction: column;

    }
    .sub-text-coin{
        height: 100px;
        width: 100%;
        font-size: 30px;
        text-align: center;
    }
    .coin-desc{
        margin-top:-20px;
        height: 70px;
        width:250px;
        font-size: 10px;
        text-align: center;
    }
    .coin-button{
        margin-top: 5px;
    }
}

/* LIC form Registration form */

.lic-registration{
    padding: 30px;
    height:auto;
    width: 100%;
    background-color:#d6a0f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    /* animation :slide-out 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%; */
    
}
.lic-why{
   font-size:45px;
   font-weight: 600;
   color:#00529C;
   border-bottom: 1px solid black;
   animation :slide-top-bottom 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    
}
.lic-points{
    margin-top: 2%;
    margin-left: 15%;
    text-align: left;
    font-size: 18px;
    padding-bottom: 10px;
   
} 
.lic-point1{
    animation :slide-out 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.lic-reg-button{
    height: 50px;
    width: 250px;
    background-color: #00529C;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    padding-top: 13px;
    animation: bounce 1s infinite; 
    animation-play-state: running; 
    box-shadow: 10px 5px 10px 0px #4d5055;
}
.lic-reg-button:hover {
    animation-play-state: paused;
}
@media(max-width:700px){
    .lic-points{
        margin-left: 10%;
    }
    .lic-why{
        font-size: 40px;
    }
}

/* Payments */

.lic-payments{
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center  ;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    

}
.lic-pay-img{
    height: 500px;
    width: 40%;
    background-color: #ffffff;
    border-radius: 20px 0 0 20px;
    box-shadow: 10px 5px 10px 0px #c3c2c2;
    animation :slide-out 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

}

.dtimage{
    height: 100%;
    width: 100%;
    border-radius: 20px 0 0 20px;
    background-image: url("LIC-Payment.jpg");
    background-size: cover;
    overflow: hidden;
}

.lic-pay-links{
    height: 500px;
    width: 40%;
    background-color: #CCCCFF;
    border-radius: 0 20px 20px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    box-shadow: 10px 5px 10px 0px #c3c2c2;
    animation :slide-left 5s ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.lic-paybar{
    background-color: #002147;
    height: 50px;
    width: 70%;
    padding-top: 10px;
    font-size: 25px;
    border-radius:7px ;
    box-shadow: 10px 5px 10px 0px #4d5055;
    animation :slide-left 5s ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.lic-pay-links1{
    height: 50px;
    width: 60%;
    background-color: #4671EA;
    color: white;
    padding: 13px;
    font-size: 20px;
    border-radius: 7px;
    box-shadow: 10px 5px 10px 0px #4d5055;
    animation :slide-left 5s ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

@media (max-width: 700px){
    .lic-payments{
        flex-direction: column;
    }
    .lic-pay-img{
        height: 200px;
        width: 75%;
        background-color: #ffffff;
        border-radius:20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }
    .dtimage{
    border-radius:20px;
    }

    .lic-pay-links{
        height: 400px;
        width: 75%;
        background-color: #CCCCFF;
        border-radius:20px;
        
    }
    .lic-paybar{
        font-size: 20px;
        width: 75%;
        padding-top: 10px;
    }
    .lic-pay-links1{
        font-size: 14px;
        width: 70%;
    }    

}








/* All download forms */

.download-lic-forms{
   
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
    height: 300px;
    width: 100%;
   
    background-size: cover;
    animation :slide-top-bottom 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    
}

.all-lic-forms{
    
    align-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
    height: 60px;
    width: 200px;
    background-color: #2e2eeb;
    color: white;
    box-shadow: 10px 5px 10px 0px #4d5055;
    border-radius: 5px ;
}
.all-lic-forms:hover{
  background-color:#184a72;
  color: white;
}

@media (max-width: 700px) {
    .all-lic-forms{
        width: 40%;
        
        
    }
    .download-lic-forms{
        justify-content: space-around;
        height: auto;
    }
}















/* All LIC Polices with details */

#lic-plan-heading{
    height: 80px;
    width: 100%;
    background-color: rgba(128, 92, 149, 1);;
    text-align: center;
    color:white;
    display: flex;
    justify-content: center;
    align-items: center;
    animation :slide-top-bottom 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;


}

.lic-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Ensure 3 equal columns per row */
    grid-gap: 2.5em; /* Space between grid items */
 /* background-color: rgba(128, 92, 149, 0.8); Background for the container */
    padding: 2em 2em 2em 2em; /* Reduce padding on left and right */
    /* max-width: 100%; Use full width of the viewport */
    /* margin: 0 auto; Center the container */
    margin-top: 0px;
    background-image: url("licimage3.jpg");
    background-size: cover;
    
}

.lic-item {
    
    background-color: rgba(255, 255, 255, 0.9); /* Make item background more opaque */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px; /* Font size */
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 25px;
    height: 3em; /* Height for each item */
    padding: 0.5em; /* Internal padding */
    text-align: center; /* Center-align text for better appearance */
    width: 100%; /* Reduced width */
    margin: 0 auto; /* Center align each item */
    animation :appear 2s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

}
button{
    background: none; 
    border: none;     
    padding: 0;     
    font: inherit; 
    color: inherit; 
    cursor: pointer; 
    height: 100%;
    width: 100%;
}
 
 /* Media Queries for Small Devices  */

 @media (max-width: 700px){
    .lic-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1em;
        /* text-align: center; */
       
        flex-direction: column;
        padding-top: 20px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-left: 10px;
       
        margin: 0;
    }
    .lic-item {
        height: 50px;
        width:95%;
        font-size: 12px;
    }

   
        
 }
    












/* Modal container -Pop window of Description hidden by default */
.modal {
    display: none; /* Hidden initially */
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 41, 41, 0.3); /* White background with transparency */
    backdrop-filter: blur(3px); /* Blur effect */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-top:0px;
    justify-content: center;
    align-items: center;
}


/* Modal content */
.modal-content {
    
    background-color: white;
    width: 30%;  /* Set to 30% of the viewport width for desktop */
    height:95% ;
    padding: 20px;
    
    border: 1px solid #888;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
    overflow-wrap: break-word; /* Break long words */
    word-break: break-word; /* Ensure long words break */
    /* height: auto; Auto height for dynamic content */
    overflow-y: auto; 

}
.modal-content h2{
    margin-top: 10px;
    text-align: center;
    color: #4671EA;
}

.modal-content pre{
    width: 100%;
    /* height: auto; */
    padding: 15px;
    padding-bottom: 0px;
    outline:none;
    resize: none;
}
.modal-content p{
    width: 100%;
    /* height: auto; */
    padding: 15px;
    padding-top: 5px;
    outline:none;
    resize: none;
}

/* Close button (X) */
.closeBtn {
    color: grey;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 20px;
    
}

.closeBtn:hover,
.closeBtn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Media query for mobile responsiveness */
@media (max-width: 700px) {
    .modal-content {
        width: 90%;  /* Take 90% of the screen width on small devices */
        height: 90%; /* Adjust height for mobile */
        padding: 20px;
        border-radius: 6px; /* Slightly reduce border radius */
    }
    
}

.backto-top-lic{
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #232F3E;
    transition: transform 0.3s ease;
}
.backto-top-home a:hover{
    transform: translateY(-5px);
}
@media(max-width:700px){
    .backto-top-lic{
     margin-bottom:-21px;
    }
 }






