/* header section start */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* Variable color section */

/* tamil font */
.tiro-tamil-regular {
  font-family: "Tiro Tamil", serif;
  font-weight: 400;
  font-style: normal;
}

.tiro-tamil-regular-italic {
  font-family: "Tiro Tamil", serif;
  font-weight: 400;
  font-style: italic;
}
:root
{
  --bg1: #F1F0EB;
  --bg2: #EFE2BA;
  --header: #4056A1; 
  --b1: #dc9d23;
  --b2:  #E3B14F;
  --div1: #F1A17E;
  --div2: #D9C6BF;
  --div3: #B6CCD7;
  --font: #fff;
  --title: #4056A1;  /*#6B1C0E */
  --stitle: #dc9d23;
}

/* poppins font */
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); */

.navbar{
  /* height: 120PX; */
  width: 100%;
  background-color:#4056a1;

}
.headerlogo
{
  margin-left: 4PX !important;
  height:70px !important;
  width: 90px !important;
 
}
.title{

  font-family: "Protest Revolution", sans-serif;
  /* font-optical-sizing:auto; */
  font-weight: 30 !important;
  font-size: 35px !important;
  font-style: normal !important;
  color: var(--title);
}

.donateicon{
  height: 50px;
  width: 50px;
}

.tamilicon
{
  height: 50px;
  width: 50px;
}
.navbar-nav li a 
{
  font-family:  "Poppins", sans-serif;
  color:white;
  font-size: medium;
  padding: 20px 20px 8px 20px;
  margin-left: 14px;
  /* margin-left: 15px; */
  
}

.navbar-nav li a:hover
{
  color: #F9C1A6;
  border-bottom: 2px solid #FBF8BE;
  transform: translateY(-5px); 
  transition: transform 0.3s ease;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler-icon:focus
{
  outline:none !important;
  box-shadow: none !important;
  border:none !important;
}
.navbar-light{
  color: white !important;
}

.active
{
  color: var(--b1) !important;
}


/* For header button */
.btn
{
  color: white !important;
  font-family:"Poppins", sans-serif !important;
  font-size: larger;
  size: medium !important;
  background-color: var(--b1) !important;
}

.btn:hover{
  /* background-color: var(--b2) !important; */
  /* color:black !important; */
  transform: translateY(-5px); 
  transition: transform 0.3s ease;
}
@media (min-width: 991px){
  .donateicon{ display: none ! important; }
  .tamilicon{display: none !important;}
}
/* @media (max-width: 360px){
  
  .tamilicon{
    height: 90px;
    width: 90px;
  }
} */
/* 
@media (min-width: 991px){
  .donbtn { display: none ! important; }
} */

@media (max-width: 450px){
  .donate-button { display: block ! important; } }
/* header section end */
@media screen and (min-width: 360px) and (max-width: 400px){
  .headerlogo{
      height: 35px !important;
      width: 40px !important;
      margin-left: 0px !important;
  }
  .title{
      font-size: 16px !important;
      margin-left: 0px !important;
      padding-left: 1px !important;
  }
  .subt{
    font-size: 8px !important;
    margin-left: 20px !important;
  }
  .donateicon{
      margin-left: 0;
      height: 25px !important;
  }
  .navbar-toggler{
    font-size: 15px !important;
  }
  .donbtn{
    display: none !important;
  }
  .langbtn{
    display: none !important;
  }
  .tamilicon{
    height: 25px;
    width: 30px;
    margin-left: 0;
  }
  .navbar-nav li a:hover
  {
    border-bottom: none;
  }
}

@media screen and (min-width: 400px) and (max-width: 480px){
  .headerlogo{
      height: 40px !important;
      width: 40px !important;
      margin-left: 0px !important;
  }
  .title{
      font-size: 18px !important;
      margin-left: 0px !important;
      padding-left: 1.2px !important;
  }
  .subt{
    font-size: 10px !important;
    margin-left: 20px !important;
  }
  .donateicon{
      margin-left: 0;
      height: 25px !important;
  }
  .navbar-toggler{
    font-size: 15px !important;
  }
  .donbtn{
    display: none !important;
  }
  .langbtn{
    display: none !important;
  }
  .tamilicon{
    height: 25px;
    width: 30px;
    margin-left: 0;
  }
  .navbar-nav li a:hover
  {
    border-bottom: none;
  }
}

@media (min-width:768px)and (max-width: 991px) {
  .headerlogo{
      height: 70px !important;
      width: 70px !important;
  }
  .title{
      font-size: 35px;
  }
  .subt{
    font-size: 20px;
    margin-left: 40px;
  }
  .donbtn{
    display: none !important;
  }
  .langbtn{
    display: none !important;
  }
  .tamilicon{
    height: 35px;
    width: 29px;
  }
  .navbar-nav li a:hover
  {
    border-bottom: none;
  }
}
@media (min-width:993px) {
  .title{
      font-size: 45px;
      margin-left: 15px;
  } 
  .subt{
    font-size: 23px;
    margin-left: 70px;
  }
  .headerlogo{
    height:70px !important;
    width:90px !important;
  }
  .navbar-nav li a{
    margin-left: 15px;
  }
  /* .navbar-nav li a:hover
  {
    border-bottom: none;
  } */
}


/*Donate Button start */
/*For fixed donate button on the right side of the page*/
.donate-button {
  position: fixed;
  top: 65%;
  right: 1.6%;
  height: 34px;
  width:100px;
  transform: translate(50%, -50%) rotate(270deg) !important;
  z-index: 1000; /* Ensure the button is above other elements */
  padding:1px !important;
  background: linear-gradient(90deg, #fcff9e 0%, #c67700 100%);
  animation: gradient 2.5s infinite 0.8s cubic-bezier(0.2, 0.8, 0.2, 1.2) forwards;
  color: #fff;
  font-size: 20px !important;

  border-radius: 25px !important;
  font-family: "poppins", sans-serif;
  
}
@keyframes gradient {
0% { background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%) }
10% { background: linear-gradient(90deg, #211C6A 0%, #59B4C3 100%) }
20% { background: linear-gradient(90deg, #0C359E 0%, #EE99C2 100%) }
30% { background: linear-gradient(90deg, #496989 0%, #58A399 100%) }
40% { background: linear-gradient(90deg, #51829B 0%, #9BB0C1 100%) }
50% { background: linear-gradient(90deg, #008DDA 0%, #41C9E2 100%) }
60% { background: linear-gradient(90deg, #0700b8 0%, #00ff88 100%) }
70% { background: linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%) }
80% { background: linear-gradient(90deg, #99BC85 0%, #365486 100%) }
90% { background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%) }
100% { background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%) }
}
/* .donate-button:hover{
  background-color: var(--b2) !important;
  color: black !important;
} */
@media (max-width: 480px){
  .donate-button { display: none ! important; } }

@media (min-width: 480px){
    .donate-button { display: block ! important; } }
/* Donate Button end */

/* gallery starts */
/* body {
  padding-top: 20px;
} */
#gallery
{
  margin-top:-190px;
}


.bgimage
{
  /* background-image: url("../images/gallery/Others/notebookSchoolbackground_bg25.jpg");  */
 /* height: 300px; */
 /* width: 300px; */
 background-color: var(--bg1);
 background-repeat: repeat;
 background-position: fixed;
 background-size: 50% auto;
 
}

/* .bgimage::before { 
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5); */ /* Semi-transparent white color */
  /* backdrop-filter: blur(.5px); */  /* Add a blur effect 
}
*/

/* CSS for the loader */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  z-index: 5000;
}


.loader::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid #3498db; /* loder colour*/
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Hide loader when content is loaded */
body.loaded .loader {
display: none;
}

.nav-tabsub .nav-link {
  
  border: none;
  color:var(--b1);
  font-weight: 500;
  background-color: transparent; /*menubar bg*/
  border-radius: 0;

}
@media (min-width:320px) and (max-width: 480px){
   .nav-tabsub  .nav-link{
      font-size: 10px;
       padding: 0.5rem 0.5rem; 
      margin-right: 0.2rem !important; 
       
   } 
   /* .nav-tabsub{
      margin-top: 100px !important;
   }  */
   
   
}

@media (min-width:768px) and (max-width: 1920px){
  .nav-tabsub  .nav-link{
     font-size: 18px;
     padding: 0.5rem 1rem !important;
     margin-right: 0.5rem !important;
     /* margin-top: 13px; */
     transition: all 0.3s !important;
 
  }
}
@media (min-width:320px) and (max-width: 480px){
  .position-relative{
     
     margin-top: px !important; 
      
  } 
  /* .nav-tabsub{
     margin-top: 100px !important;
  }  */
  
  
}

.nav-tabsub .nav-link.active {
  /* color: #fff;  */
  border-radius: 0.5rem 0.5rem 0 0; 
  color: white !important;  /* Change text color */
  background-color:var(--b1); /* Change background color */  
  font-weight: bold;

}
.nav-tabsub .nav-link:hover {
 
  color: #fff;
  background-color:var(--b2); /* Background color #f8f9fa*/
  transform: translateY(-3px); /* Move the tab up by 3 pixels */
  transition: transform 0.3s ease; /* Add a smooth transition */
  border-radius: 0.5rem 0.5rem 0 0; 
}
.tab-content {
  padding: 5px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 1); ithu than nama mathunathu */

}

.nav-tabsub.hidden {
  display: none;
}

.tab-content.active {
  display: block;
}

.preview {
  position: fixed ;
  top: 50%; /* Adjust as needed */
  left: 50%;
  
  transform: translate(-50%,-50%);
  
  display: none;
  z-index: 1000;
  /* background-color: #fff; */
  /*padding: 20px;*/
   /*border: 1px solid #080808;*/ 
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 1);    */    


}

.btn-close {
position: absolute;
top: 10px;
right: -25px;
color: white !important; /* Change the color to white */
background-color: rgb(247, 247, 247) !important; /* Remove background color */
border: none; /*Remove border*/

}

.preview.active {
  display: block;     
 z-index: 6000 !important; 
  
 
}

.img-fluid.rounded {
transition: transform 0.3s;
}

.img-fluid.rounded:hover {
transform: scale(1.05);
cursor: pointer;
}

.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 1); /* Semi-transparent black overlay */
z-index: 999; /* Ensure overlay is on top of other elements */
display: none; /* Hide the overlay by default */
}

.preview.active + .overlay {
display: block; /* Show the overlay when the preview is active */

}

.position-relative:hover .d-none {
display: block !important;
}

.position-relative {
overflow: hidden;
/* border: 2px solid gray;
border: 2px solid gray;
border-radius: 10px; */

}


.text-container {
  display: none; /* Hide the text initially */
}

.loaded {
  visibility: visible; /* Show the image when loaded */
}

.position-relative.border-loaded .text-container  {
  display: block; 
  
}

.position-absolute {
transition: transform 0.5s ease; /* Add a smooth transition for the transform property */

}

.position-relative:hover .position-absolute {
transform: translateX(10%) translateY(-10%) ; /* Move the text 100% to the left when hovered */
transform: transform 0.5s ease; 
}


.nav
{
background-color:var(--bg1);
margin-top: 120px;


}
.position-relative
{
  border: 3px solid #4056A1;
  border-radius: 10px;
}

h3
{
text-align: center;
}
.our-work-heading
{
  font-size: 30px;
 
}

/* for under line */
.heading1::after {
  position: absolute;
  content: " ";
  width: 20%;
  height: 4px;
  left: 50%;
  top: 220px;
  background-image: linear-gradient(to right, #121365, #4546d0);
  transform: translateX(-50%);
  animation: shrinkUnderline 3s infinite; /* Adjust timing as needed */
 }

 /* for under line */
.heading2::after {
  position: absolute;
  content: " ";
  width: 20%;
  height: 4px;
  left: 50%;
  top: 1605px;
  background-image: linear-gradient(to right, #121365, #4546d0);
  transform: translateX(-50%);
  animation: shrinkUnderline 3s infinite; /* Adjust timing as needed */
 }


@keyframes shrinkUnderline {
  48% {
    width: 0%;
  }
  /* 50% {
    width: 100%;
  } */
  52% {
    width: 3%;
  }
}

#exampleModal
{
  z-index: 5000 !important;
}

#exampleModal1
{
  z-index: 5000 !important;
}

/* gallery end */

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 400px;
}
/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
}

/*Other*/

.unique-color-dark {
  background-color: #189ab4 !important;
}

.bg-light {
  background-color: #189ab4 !important;
}

.custom-color {
  background-color: #189ab4 !important;
}

/* footer section */

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer {
  height: auto;
  width: 100%;
  /* background: linear-gradient(105deg, #6e99e6, #093c94); */
  background: #4056a1;
  padding-top: 10px;
  /* padding-bottom: 40px; */
}

/* @media only screen and (max-width: 768px) {
  .single_footer {
    margin-bottom: 30px;
  }
} */




.logo_title {
  font-family: "Protest Revolution", sans-serif;
  color: white;
  font-size: 35px;
  /* padding: 10px; */
  margin-top: 20px;
  margin-left: 20px;
  /* border: 1px solid black; */
}

.logo_subtitle {
  color: var(--b1);
  /* border: 1px solid black; */
  font-size: 15px;
  margin-left: 75px;
  /* margin-bottom: 100px; */
}
.registration {
  color: white;
  font-size: 15px;
  margin-left: 140px;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  padding: 20px;
}

.footer h4::after {
  content: "";
  display: block;
  height: 2px;
  width: 60px;
  background: #fff;
  margin-top: 20px;
}

.contact_details
{
  font-size: 13px;
}

.footer p {
  color: #fff;
}
.footer ul {
  margin: 0;
  /* padding: 0px 20px; */
  list-style: none;
  /* border: 1px solid black; */
}

.footer ul li a {
  color: #fff;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  line-height: 36px;
  font-size: 13px;
  /* text-transform: capitalize; */
  text-decoration: none;
}

.footer ul li a:hover {
  color: #dc9d23;
}

.single_footer_contacts h4::after {
  content: "";
  display: block;
  height: 2px;
  width: 60px;
  background: #fff;
  margin-top: 15px;
}

@media only screen and (max-width: 768px) {
  .logo_title {
    font-size: 40px;
    text-align: center;
  }
  .logo_subtitle {
    margin-left: 20px;
    font-size: 20px;
    text-align: center;
  }
  .registration {
    margin-left: 220px;

    /* text-align: center; */
  }
}

@media only screen and (max-width: 450px) {
  .registration {
    margin-left:65px !important;
  }
  .logo_title {
    font-size: 35px;
  }
  .logo_subtitle {
   
    font-size: 16px;
   
  }
  .registration {
    font-size: 16px;
  }

}

@media only screen and (max-width: 450px) {
  .registration {
    margin-left: 65px !important;
  }
}

.copyright {
  margin-top: 40px;
  padding-top: 30px;
  color: #fff;
  font-size: 15px;
  /* border-top: 1px solid rgba(255, 255, 255, 0.4); */

  background-color: rgba(0, 0, 0, 0.2);
}
.copyright a {
  color: #fff;
  transition: all 0.2s ease 0s;
}

.copyright a:hover {
  color: #dc9d23;
}


/*Top up button section */

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px !important;
  right: 30px !important;
  z-index: 2000;
  font-size: 25px !important;
  border: none;
  outline: none;
  background-color: aliceblue;
  box-shadow: 2px 3px #20668f;
  color: black;
  cursor: pointer;
  padding: 10px !important;
  border-radius: 50%;
  width: 42px;
  height: 48px;
  
}

#myBtn:hover {
  background-color: #ddd;
  flex: "return to top";
}


.whatsapp-float {
  position: fixed;
  width: 48px;
  height: 48px;
  bottom: 20px;
  left: 10px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 2000;
}

.whatsapp-float i {
  margin-top: 8px;
}
@media only screen and (min-width: 768px) {
  .whatsapp-float {
      right: 20px;
    left: auto;
    bottom: 80px;
  }
  #myBtn {
    right: 20px;
  }
}



/* footer end */


/* preview image text */

@media (max-width: 576px) {
  .text-container {
      font-size: 1.7vw; /* Small devices (576px and below) */
  }

  .preview img {
    max-width: 95vw; /* Adjust the image size as needed */
    max-height: 500vh; /* Adjust the image size as needed */
}

.btn-close {

  top: -24px;
  right: 0px;
  }
  
}

@media (min-width: 577px) and (max-width: 992px) {
  .text-container {
      font-size: 1.7vw; /* Medium devices (577px to 992px) */
  }

  .preview img {
    max-width: 95vw; /* Adjust the image size as needed */
    max-height: 95vh; /* Adjust the image size as needed */
}

.btn-close {

  top: -24px;
  right: 0px;
  }


}

@media (min-width: 993px) {
  .text-container {
      font-size: 1vw; /* Large devices (993px and above) */
  }
  .preview img {
    max-width: 90vw; /* Adjust the image size as needed */
    max-height: 90vh; /* Adjust the image size as needed */
}
.btn-close {
 
  top: -24px;
  right: 0px;
  }

}


/* @media (max-width: 480px){
  .modal .fade{
      font-size: 10px !important;
  }
} */
/* contact us modal */
@media (min-width: 350px) and (max-width:480px){
  .modal-header
  {
    height: 35px !important;
  }
  .modal-logo
  {
    height: 25px !important;
    width: 25px !important;
  }
  .modal-title
  {
    font-size: 18px;
  }
  .list-group-left{
      font-size: 13px !important;
     
      
  }
  .list-group-right{
    position: absolute !important;
    top:13px !important;
    left:50% !important;
    font-size: 13px !important;
    
     }
     .modal-footer a{
      
      font-size:13px !important;
     }
}
/* @media (min-width: 350px) and (max-width:400px){
  .list-group-que{
      font-size: 13px !important;
     
      
  }
  .list-group-ans{
    position: absolute !important;
    top:13px !important;
    left:50% !important;
    font-size: 13px !important;
    
     }
     .modal-footer a{
      
      font-size:4px !important;
     }
} */

/* for donate modal */

@media (min-width: 350px) and (max-width:480px){
  .modal-header
  {
    height: 40px !important;
  }
  .modal-logo
  {
    height: 25px !important;
    width: 25px !important;
    margin-left: 20px !important;
  }
  .closebtn
  {
    margin-right: 20px !important;
  }
  .modal-title1 
  {
    font-size: 18px !important;
  }
  .list-group1{
      font-size: 13px !important;
     
      
  }
  .list-group2{
    position: absolute !important;
    top:290px !important;
    left:50% !important;
    font-size: 13px !important;
    
     }
     .modal-footer a{
      
      font-size:13px !important;
     }

     .qr-code{
      height: 200px !important;
      width: 250px !important;
     }
}
.ourworks
{
  margin-top: -60px;
}
/* for before after mobile view */

@media screen and (min-width: 350px) and (max-width:480px){
  .ourworks
  {
    margin-top: -60px;
  }
}


#navbar-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  margin-bottom: 5px;
  transition: transform 0.3s ease-in-out;
}

#navbar-toggler .icon-bar:nth-child(1) {
  transform-origin: 0 0;
}

#navbar-toggler .icon-bar:nth-child(2) {
  opacity: 1;
}

#navbar-toggler .icon-bar:nth-child(3) {
  transform-origin: 0 100%;
}

#navbar-toggler.open .icon-bar:nth-child(1) {
  transform: rotate(45deg) translate(2px, 2px);
}

#navbar-toggler.open .icon-bar:nth-child(2) {
  opacity: 0;
}

#navbar-toggler.open .icon-bar:nth-child(3) {
  transform: rotate(-45deg) translate(2px, -2px);
}

