/* style.css */

body {
  font-family: sans-serif;
}

.top-bar {
  background-color: #ffff;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.contact-info {
  font-size: 14px;
  color: #0c1414;
}
.contact-info .fas.fa-phone, .fa-location-dot{
  color: #4aa8cc;
}
.social-icons a {
  color: #4aa8cc;
  margin-left: 10px;
  font-size: 18px;
}


/*navbar */
.navbar {
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
}
.brand-name {
  color: #4aa8cc;
}
.brand-name:hover {
  color: #00495f;
}
.navbar.sticky-top.transparent {
  background-color: transparent;
}

.navbar-nav .nav-link {
  color: #333;
  font-size: 0.9em;
  font-weight: 400;
  padding: 10px 15px;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #4aa8cc;
}

.navbar-nav .ms-5 {
  margin-left: 50px !important;
}

/*--end navabar --*/

.carousel-section {
  position: relative;
}
.carousel-item {
  width: 100%;
  height: 100%;
}
.carousel-img{
  object-fit: cover;
  height: 600px;
  width: 100%;
}
.carousel-caption {
  background: rgba(0, 0, 0, 0);
  padding: 20px;
  width: auto;
  height: auto;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 30px;
}
.carousel-caption h5 {
  font-size: 70px;
  font-weight: 900;
  font-family: 'Times New Roman', Times, serif;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 1px white;
  background-image: url("/img/gradient.jpg");
  background-size: 300%; /* Enlarged for smooth animation */
  background-position: 0 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-background 5s infinite alternate linear;
}
@keyframes animate-background {
  0% {
      background-position: 0 50%;
  }
  100% {
      background-position: 100% 50%;
  }
}
.carousel-caption p {
  font-size: 15px;
  color: #d9f9ff;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-event {
  background-color: #015670;
  width: auto;
  color: #d4d4d4;
}

.btn-event:hover {
  background: #0099ff;
}

.carousel-event-img {
  width: 40%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #add8e6;
  padding: 15px;
}

.carousel-control-prev,
.carousel-control-next{
  width: 5%;
}

.carousel-control-prev-icon.rounded-circle,
.carousel-control-next-icon.rounded-circle{
  background-color: #add8e6;
}

/*Box link*/
/*
.main-link {
  background: #f8f2f2;
  padding: 20px 0;
  margin-top: 25px;
  align-items: center;
}
.main-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 50px;
  background-color: #0077b5;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease, with 0.3s ease;
  text-align: center;
  padding: 10px;
}

.box:hover {
  background-color: #1da1f2 ;
}
*/
/*end box link*/

/*... pdf open ..*/
/*
.cardPdf {
  display: none;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  padding: 20px;
  border: 1px solid #ccc;
  background-color:#449abd;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  z-index: 1000;
  justify-content: center;
}
.close-btn {
  background-color:#00495f;
  color: #f8f2f2;
  border: none;
  padding: 10px;
  cursor: pointer;
  justify-content: center;
}
*/
/* pdf.css */
.pdf-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
  height: auto;
  width: auto; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.pdfcard-title {
  color: #00495f;
  background: #d4d4d4;
  padding: 10px 0;
}
.btn-pdf {
  background: #00495f;
  width: 280px;
  height: 50px;
  margin: 5px;
}
.btn-pdf a{
  color: #f8f2f2;
  text-decoration: none;
}
.pdf-link {
  display: block;
  margin-bottom: 10px;
}

.close-card{
  margin: 10px 0;
  justify-content: center;
  background: #0099ff;
  color: #f8f2f2;
}
/*.. end pdf open ..*/


.fndcard {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
  height: auto;
  width: auto; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.wrkFndimg {
  height: 400px;
  width: 300px;
}
.kazconFndimg {
  height: 100%;
  width: 100%;
}


/*.. flex box ..*/


/* ... pdf ...

.pdf-section {
  padding: 50px 0;
  text-align: center;
}

.pdf-card {
  display: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pdf-button {
  background-color: #4aa8cc;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.pdf-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.pdf-modal.show {
  display: none; 
}

.pdf-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  text-align: center;
}

.pdf-modal-content a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: #4aa8cc;
  font-size: 16px;
}

.pdf-close {
  background-color: transparent;
  border: none;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

/*.. pdf close ..*/

.flex-section {
  padding: 30px 0;
  margin-top: 30px;
  
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Adjust gap as needed */
}

.flex-item {
  background-color: #449abd; /* Light gray background */
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #f8f2f2;
  text-align: center;
  flex: 1 1 auto; /* Allow items to grow/shrink */
  min-width: 100px; /* Minimum width */
  box-sizing: border-box; /* Include padding and border in width */
  transition: background-color 0.3s ease;
}

.flex-item:hover {
  background-color: #015670;
}

.flex-item span {
  display: block;
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Add ellipsis (...) for long text */
}


/* .. end flex box ..*/


/* ... Paragraph style ... */

.paragraph-section {
  padding: 20px 0;
}

.paragraph-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.paragraph-flex-item {
  background-color: #449abd;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 100px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.paragraph-flex-item:hover {
  background-color: #015670;
}

.paragraph-content {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.paragraph-hidden-content {
  display: none;
}




/*Features*/

.flex-section-activities {
  padding: 30px 0;
  margin-top: 5px;
}

.pb-2 h2{
  color: #449abd;
  text-align: center;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 25px;
  background: #fdfdfd;
}
.text-bg-bar {
  background: #4aa8cc;
  height: 10px;
  width: auto;
}
.f-sub-head h4{
  color: #017767;
  font-size: 20px;
  margin-top: 10px;
  text-align: center;
}
.f-text-body {
  color: #110d0d;
  font-size: 16px;
  margin: 0;
  text-align: justify;
  width: 100%;
}
.text-subact {
  color: #015670;
  font-size: 18px;
  font-weight: 700;
}
.activities-expand {
  width: 90%;
  justify-content: center;
}
/*end features*/

/* ... Articles ..*/

.brushers-section {
  padding: 20px 0;
  text-align: center;
}

.brushers-section h2 {
  margin-bottom: 15px;
  color: #449abd;
  text-transform: uppercase;
  font-weight: 700;
}
.brb {
  margin-bottom: 20px;
}

.brusher-card {
  border: 1px solid #ddd;
  border-radius: 10px; /* Curved border */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
  margin: 0 auto;
  max-width: 250px; /* Small card width */
  height: 100%;
}

.brusher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.brusher-card img {
  width: 100%;
  height: 70%; /* Small image height */
  object-fit: cover;
}

.brusher-card .card-body {
  padding: 15px;
}

.brusher-card .card-title {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #00495f;
  font-weight: 600;
}

.brusher-card .card-text {
  font-size: 0.9rem;
}

.brushers-section .swiper {
  width: 100%;
}

/* .. Articles end ..*/
/* ... Video carousel  ... */

.video-carousel-section {
  padding: 50px 0;
  text-align: center;
  background-color: #f8f2f2;
}

.video-event {
  text-align: center;
  margin: auto;
}

.video-container {
  width: auto; 
  padding: 0 10px;
}

.video-container iframe {
  width: 70%;
  height: 150px; /* Adjust as needed */
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

.carousel-inner .carousel-item-end.active,
.carousel-inner .carousel-item-start.active {
  display: block;
}


/*--- end video carousel -- */

/*--- About Us --- */

.about-section {
  padding: 30px 0;
  background: #fdfdfd; /* Light gray background */
  transition: opacity 0.6s ease-in-out;
}
.about-us-one {
  background-color: #fdfdfd;
}
.about-section h2 {
  color: #4aa8cc;
  margin: 15px 0px;
  
}

.about-section h1 {
  color: #449abd;
  font-weight: 700;
}
.about-text {
  color: #00495f;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 200;
  text-align: justify;
}
.about-img {
  object-fit: cover;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.about-img:hover {
  transform: scale(1.05);
}

.read-more {
  color: #4aa8cc;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}


/* --- About end --*/

/*--- Team Section ***/

.team-section {
  padding: 20px 0;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 30px;
  color: #4aa8cc;
  font-size: 40px;
  font-weight: 600;
}

.team-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 20px auto; /* Center cards and add bottom margin */
  width: 80%; /* Limit card width */
  background: #fdfdfd;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  height: 300px; /* Adjust height as needed */
  object-fit: contain;
  padding: 20px 0px 10px 0px;
}

.team-card .card-body {
  padding: 15px; /* Reduce padding */
}

.team-card .card-title {
  margin-bottom: 5px;
  font-size: 1.3rem; /* Adjust font size */
  color: #015670;
}

.team-card .card-text {
  font-size: 1.1rem; /* Adjust font size */
  color: #00495f;
}

/*-- Team section end --*/
.services {
  padding: 80px 0;
  background: #fdfdfd;
  text-align: center;
}

/*--- End of Team section ---*/

/* ... Gallery section ... */

.gallery-section {
  padding: 30px 0;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 30px;
  color: #449abd;
  font-weight: 700;
}

.gallery-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.gallery-item {
  flex: 0 0 auto;
  width: 300px; /* Adjust as needed */
  height: 150px; /* Adjust as needed */
  margin-right: 10px;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay .text {
  color: white;
  font-size: 1.2rem;
}

.gallery-controls {
  display: flex;
  justify-content: center;
}

.gallery-controls button {
  background: #4aa8cc;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 5px;
}
.image-container img {
  width: 200px;
  cursor: pointer;
}
.popup {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.popup-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/*-- end gallery --*/


/* ... footer... */

.footer {
  background-color: #414141;
  width: 100%;
  text-align: left;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 16px;
  padding: 50px;
  margin-top: 50px;
}

.footer .footer-left,
.footer .footer-center,
.footer .footer-right {
  display: inline-block;
  vertical-align: top;
}


/* footer left**/

.footer .footer-left {
  width: 33%;
  padding-right: 15px;
}

.footer .about {
  line-height: 20px;
  color: #ffffff;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}

.footer .about span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer .icons {
  margin-top: 25px;
}

.footer .icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background-color: #33383b;
  border-radius: 2px;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
  margin-right: 3px;
  margin-bottom: 5px;
}


/* footer center*/

.footer .footer-center {
  width: 30%;
}

.footer .footer-center i {
  background-color: #33383b;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}

.footer .footer-center p {
  display: inline-block;
  color: #ffffff;
  vertical-align: middle;
  margin: 0;
}

.footer .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  line-height: 2;
}

.footer .footer-center p a {
  color: #0099ff;
  text-decoration: none;
}


/* footer right*/

.footer .footer-right {
  width: 35%;
}

.footer h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: normal;
  margin: 0;
}

.footer h2 span {
  color: #017767;
}

.footer .menu {
  color: #ffffff;
  margin: 20px 0 12px;
  padding: 0;
}

.footer .menu a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
}

.footer .menu a:hover {
  color: #0077b5;
}

.footer .name {
  color: #d4d4d4;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
.footer-icon.fa.fa-map-marker {
  font-size: 16px;
  color: #0077b5;
}
.footer-icon.fas.fa-phone {
  font-size: 16px;
  color: #0077b5;
}
.footer-icon.fa.fa-envelope {
  font-size: 16px;
  color: #0077b5;
}
.footer .social-icons {
  text-align: right;
}

.footer .social-icons a {
  margin-left: 10px;
  font-size: 20px;
}

.footer .social-icons .facebook {
  color: #1877f2; /* Facebook blue */
}

.footer .social-icons .twitter {
  color: #1da1f2; /* Twitter blue */
}

.footer .social-icons .linkedin {
  color: #0077b5; /* LinkedIn blue */
}

.footer .social-icons .instagram {
  color: #e4405f; /* Instagram pink/red*/ 
}

.footer .social-icons .youtube {
  color: #FF0000; /* Instagram pink/red*/
}
.footer-logo {
  width: 100%;
  height: 50px;
}
.footer-logo img {
  height: 70px;
}
/*-- end footer -- */


/* end footer */




/* Media Queries */
@media(max-width: 1399px) {
  .navbar-nav .nav-link {
    color: #333;
    font-size: 0.7em;
    font-weight: 400;
    padding: 10px 15px;
    text-transform: uppercase;
  }
}
@media(max-width: 1199px) {
  .navbar-nav .nav-link {
    color: #333;
    font-size: 0.6em;
    font-weight: 400;
    padding: 10px 15px;
    text-transform: uppercase;
  }
}

@media (max-width:1180px) {
  .carousel-caption h5 {
    font-size: 50px;
    font-weight: 900;
    color: transparent;
    background-image: url("/img/gradient.jpg");
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
  }
  @keyframes animate-background {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
  }
}

@media (max-width:870px) {
  .carousel-caption h5 {
    font-size: 40px;
    font-weight: 900;
    color: transparent;
    background-image: url("/img/gradient.jpg");
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
  }
  @keyframes animate-background {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
  }
}


@media (max-width:768px) {
  .carousel-caption h5 {
    font-size: 30px;
    font-weight: 900;
    color: transparent;
    background-image: url("/img/gradient.jpg");
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
  }
  @keyframes animate-background {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
  }
}

@media (max-width:540px) {
  .carousel-caption h5 {
    font-size: 25px;
    font-weight: 900;
    color: transparent;
    background-image: url("/img/gradient.jpg");
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
  }
  @keyframes animate-background {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
  }
}

@media (max-width:460px) {
  .carousel-caption h5 {
    font-size: 20px;
    font-weight: 900;
    color: transparent;
    background-image: url("/img/gradient.jpg");
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
  }
  @keyframes animate-background {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
  }
}

@media (max-width:1070px) {
  .carousel-event-img {
    width: 50%;
  }
}

@media (max-width:870px) {
  .carousel-event-img {
    width: 50%;
  }
}

@media (max-width:768px) {
  .carousel-event-img {
    width: 60%;
  }
}

@media (max-width: 540px) {
  .carousel-event-img {
    width: 70%;
  }
}

@media (max-width: 460px) {
  .carousel-event-img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer .social-icons {
      text-align: left;
      margin-top: 15px;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .contact-info {
      font-size: 12px;
  }
  .social-icons a {
      font-size: 16px;
  }

  .navbar-nav .ms-5 {
      margin-left: 0px !important;
  }
}

@media (max-width: 576px) {
  .contact-info {
      text-align: center;
  }
  .social-icons {
      text-align: center;
      margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .flex-item {
      flex: 1 1 48%; /* Two items per row on smaller screens */
  }
}

@media (max-width: 576px) {
  .flex-item {
      flex: 1 1 100%; /* One item per row on very small screens */
  }
}


@media (max-width: 1200px) {
  .box {
      width: calc(33.33% - 10px);
  }
  .navbar-nav .nav-link {
    color: #333;
    font-size: 0.8em;
    font-weight: 400;
    padding: 10px 15px;
    text-transform: uppercase;
  }
}

@media (max-width: 768px) {
  .box {
      width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .box {
      width: calc(100% - 10px);
  }
}
  