@import url("https//fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap");
* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: none;
  -webkit-transition: .2s linear;
  transition: .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: #10221b;
}

section {
  padding: 5rem 9%;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  border: 0.2rem solid #10221b;
  color: #10221b;
  cursor: pointer;
  background: white;
  font-size: 1.7rem;
  padding: 1rem 3rem;
}

.btn:hover {
  background: darkblue;
  color: #f3f3f3;
}

.heading {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 4rem;
  color:black;
}

.header {
  position:fixed ;
  top: 0;
  left: 0;
  right: 0;
  padding: 0rem 4%;
  z-index: 1000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);

    width: 100%;
    height: 13.5%;
    overflow: hidden;
    visibility: visible;
    opacity: 1; 
}

.header.active {
  background: #f7f5f5;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
          box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}


.header .logo {
  margin-right: auto;
  font-size: 1.30rem;
  color: #111413;
  font-weight: bolder;
}

.header .logo i {
  color: #4c2191;
}


.header .images{
  float: inline-start;
  margin-right: 2rem;
  margin-left: 0;
  
}

.center{
  display: flex;
  align-items: center; /* Vertically aligns items */
  justify-content: flex-start;
  width: 60px;
  height: 60px;
  border-radius: 100px;
  box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
  background-color: rgb(214, 214, 236);
}

.center {
  transform: perspective(400px) rotateX(100deg) rotateY(100deg); /* Steeper X-axis rotation with perspective */
  animation: rotateClock 2s infinite ease-in-out;
  transition: transform 0.3s, box-shadow 0.3s; /* Smooth transitions */
}

@keyframes rotateClock {
  0% {
    transform: perspective(400px) rotateX(100deg) rotateY(200deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  25% {
    transform: perspective(400px) rotateX(70deg) rotateY(300deg) scale(1.1); /* Add scale for richer animation */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); /* Change shadow dynamically */
  }
  50% {
    transform: perspective(400px) rotateX(-100deg) rotateY(100deg) scale(1.05);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
  }
  75% {
    transform: perspective(400px) rotateX(-70deg) rotateY(-200deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  }
  100% {
    transform: perspective(400px) rotateX(100deg) rotateY(100deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}


.header .navbar a {
  margin-left: 2rem;
  font-size: 1.5rem;
  color: #070707;
}

.header .navbar a:hover {
  color: #219150;
}

.header .navbar a.active {
  color: darkblue; /* Change color for active link */
  font-weight: bold; /* Optionally make the active link bold */
  /* Add any additional styles for the active link here */
}

.header .navbar #nav-close {
  font-size: 5rem;
  cursor: pointer;
  color: #10221b;
  display: none;
}

.header .icons a,
.header .icons div {
  font-size: 2.5rem;
  margin-left: 2rem;
  cursor: pointer;
  color: #10221b;
}

.header .icons a:hover,
.header .icons div:hover {
  color: #219150;
}

.header #menu-btn {
  display: none;
}


.footer {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(37, 28, 28, 0.5)), to(rgba(0, 0, 0, 0.5))), url(../images/footer-bg.jpg) no-repeat;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/footer-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background: rgb(176,164,169);
background: radial-gradient(circle, rgba(176,164,169,1) 0%, rgba(6,43,88,1) 100%);
  padding: 2rem 9%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 95, 0.4);
}

.footer .box-container 
 h3 {
  font-size: 2rem;
  padding: .5rem 0;
  color: #ffffff;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.4rem;
  color: #f0f0e9;
  padding: 0.5rem 0;
}
.footer .box strong a{
display: block;
  font-size: 1.4rem;
  color: #91912a;
  padding: 0.5rem 0;
}

.footer .box-container .box a i {
  color: #07d3ee;
  padding-right: .5rem;
}

.footer .box-container .box a:hover {
  color: #b8d419;
}

.footer .box-container .box a:hover i {
  padding-right: 0rem;
}

.footer .credit {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 0rem;
  padding: 0rem;
  padding-top: 1rem;
  font-size: 1.25rem;
  color: #eeecec;
}

.footer .credit span {
  color: #53cfd8;
}

@media (max-width: 1200px) {
  .header {
    padding: 2rem;
  }
  section {
    padding: 3rem 2rem;
  }
  .about .content{
    position: absolute;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
    scroll-padding-top: 7rem;
  }
}
@media (max-width: 768px) {
  .header #menu-btn {
    display: inline-block;
  }
  .header .navbar {
    position: fixed;
    top: 0;
    left: -110%;
    background: #f8f5f5;
    z-index: 10000;
    width: 35rem;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .header .navbar.active {
    left: 0;
    background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
    -webkit-box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
            box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
  }
  .header .navbar a {
    margin: 1rem 0;
    font-size: 3rem;
  }
  .header .navbar #nav-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    display: none;
  }
  .about{
    min-height: 100rem;
  }
  .about .content{
    margin-top: 0%;
    position: absolute;
  }
  .home .content
  {
    position: fixed;
    align-items: center;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 40%;
  }

  .heading {
    font-size: 3rem;
  }

}
@media (max-width:516px){
  .category .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(29rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));
    gap: 1.5rem;
   
  }
  .category .box-container .box {
    text-align: center;
    padding: 1rem;
   width: auto;
  }
}


h1 {
  color: darkblue;
  text-align: center;
  font-size: 3.5rem;
  margin-top: auto;
}
h5{
  color: darkblue;
  text-align: center;
  font-size: 1.5rem;
  margin-top: auto;
}


p {
  padding: 2px;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 1px;
  text-align: justify;
}
h4{
  font-size: 2rem;
  color: darkblue;
  text-align: center;
  margin-bottom: 2rem;
}

.phone-numbers,
.whatsapp-numbers {
    display: flex;
}


.box-container {
    display: flex;
    flex-wrap: wrap;
}

.box {
    width: 22.5%; /* Two boxes per row by default */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    padding: 10px;
}
.box:nth-child(2) {
  width: 32.5%; /* Adjust width of the second box */
}

@media only screen and (max-width: 768px) {
  .box {
      width: 50%; /* Two boxes per row for screens less than 480px */
  }
  .box:nth-child(1){
    width: 35%;
  }
  .box:nth-child(2){
    width: 65%;
  }
  .box:nth-child(3){
    width: 35%;
  }
  .box:nth-child(4){
    width: 65%;
  }
  #date-time-display {
    display: none;
  } 
}
.headermargin{
  position:relative ;
  width: 100%;
  height: 13.5vh;
}

.box h5{
  color: white;
  text-align: left;
  font-weight: 500;
  font-size: 1.4rem;
  padding: 0.5rem 0;
}

.webmail {
  background: rgb(176,164,169);
  background: linear-gradient(90deg, rgba(176,164,169,1) 0%, rgba(9,12,125,1) 100%);
  color: #fff; /* Example text color */
  padding: 8px 12px; /* Adjust padding as needed */
  border: none;
  border-radius: 20%;
  cursor: pointer;
  text-align: center; /* Aligns the text center within the button */
  text-decoration: none;
  margin: 0px;
  margin-left: 2%;
  box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
}

.webmail span {
  display: block; /* Makes spans block-level elements to stack vertically */
  text-align: center;
}

.webmail:hover {
  background-color: #0056b3; 
  transform: scale(1.1);/* Example hover background color */
}
#date-time-display {
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  color: white;
  position: fixed;
  top: 13%;
  right: 15px;
  background: rgb(176,164,169);
  background: radial-gradient(circle, rgba(176,164,169,1) 0%, rgba(6,43,88,1) 100%);
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
  z-index: 1000;
  
}

@keyframes rotateClock {
  0% {
    transform: perspective(200px) rotateX(15deg) rotateY(5deg);
  }
  50% {
    transform: perspective(200px) rotateX(15deg) rotateY(-5deg);
  }
  100% {
    transform: perspective(200px) rotateX(15deg) rotateY(5deg);
  }
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  padding-top: 42px;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  width: 80%;
}

/* The Close Button */

/* Grid container for links */
.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.grid-item {
  background-color: #f1f1f1;
  text-align: center;
  height: 80px;
}

.grid-item a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
}

.grid-item:hover {
  background-color: #5250b9;
}
@media screen and (max-width: 768px) {
  .grid-container {
      grid-template-columns: repeat(3, 1fr);
  }
}


.dom{
  margin :6px;
 border-radius: 10%;
 box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
}

.dom:hover{
  transform: scale(1.1);
}


.domain{
  border-radius: 10px;
  background: rgb(245,239,240);
  background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
}



.video-container{
  box-shadow: 0 0 50px rgba(0, 0, 95, 0.5);
}

/*style sheet from index.html file*/
        .dom-container {
          display: flex;
          flex-direction: row; 
          width: 100%;
        }
        
        .dom-container .dom {
          text-align: center;
          padding: 1rem;
          width: 20%;
        }
        
        .dom-container .dom img {
          height: 15rem;
          width: 15rem;
          border-radius: 20%;
          margin-bottom: 1rem;
        }
        
        .dom-container .dom h3 {
          font-size: 1.5rem;
          color: black;
        }
        
        banner{
          background-color: rgb(0, 0, 95);
          display: flex;
          flex-direction: row;
          text-align: center;
          justify-content: center;
          align-items: center;
        }
        banner h1{
          color: white;
          font-size: 3rem;
          font-weight: 300;
        }
        banner p{
          color: white;
          margin-top: 30px;
          font-size: 3rem;
          text-align: center;
        }
        .counter{
          width: 25%;
          height: 50%;
          border-right: 2px solid white;
          margin: 5rem 0px;
        }
        
        @media screen and (max-width:768px) {
          banner{
            display: flex;
            flex-direction: column;
            width: 80vw;
            margin: 0px auto;
          }
          .counter{
            border: none;
            border-bottom: 1px solid white;
            padding-top: 3rem;
            margin: 2rem;
            width: 100vw;
          }
          .dom-container
          {
            display: flex;
            flex-direction: column;
          }
          .dom-container .dom{
            width: 100%;
          }
          
        }
        .counter:last-child {
          border-bottom: none;
          border-right: none;
        }

        .intro{
          border-radius: 10px;
          background: rgb(245,239,240);
          background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
        }
        .intro h6{ 
          text-align: center;
          font-size: 1.5rem;
          text-transform: uppercase;
          letter-spacing: 1px;
          color: #484747;
          font-weight: 700;
          margin-bottom: 2rem;
        }
        .intro h1{
          
          font-family: "Neue Haas", helvetica, arial, sans-serif;
          font-size: 4.6875rem;
          line-height: 1.1em;
          color: #1e1e1e;
          font-weight: 700;
          text-transform: none;
        }
        .intro p{
          font-size: 1.75rem;
          line-height: 3rem;
          color: #1e1e1e;
          border-top: 2px solid gray;
        }
        .intro h2{
          text-align: center;
          color: #4a4646;
          font-size: 2.5rem;
        }

.banner{
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 0, 95, 0.5);
  background: rgb(176,164,169);
background: radial-gradient(circle, rgba(176,164,169,1) 0%, rgba(6,43,88,1) 100%);
}

.certificate-logos {
  margin-right: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img{
  margin: 1px;
  padding: 1px;
  width:50px;
  height: 50px;
  border-radius: 50px;
  box-shadow: 5px 5px 5px rgba(0, 0, 95, 0.4);
}
/* Styles for the image gallery */
.certificate-logos .img {

  margin: 2px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.certificate-logos .img:hover {
  transform: scale(1.1);
}

/* Modal styling */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.image-modal .modal-content {
  max-width: 40%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.image-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: rgb(214, 117, 117);
  cursor: pointer;
  z-index: 2001;
}

.image-modal .close-btn:hover {
  color: red;
}


@media (max-width: 590px) {
  .certificate-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 12px;
    justify-items: center;
    align-items: center;
    width: 100%;
  }

  .img {
    width: 29px; /* Smaller width for images */
    height: 29px; /* Smaller height for images */
   
  }
  .image-modal .modal-content{
    max-width: 80%;
  }

  .modal-content {
   width: 250%;
   height: 70%;
  }
}

