@import url('https://googleapis.com');

/* RESET STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: white;
}


/* Overlapping Feature */
/*=========================
        SLIDER
==========================*/

.sliderBox {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-left: 5px;
  padding-right: 5px;
}

#slider1 {
  width: 100%;
  overflow: hidden;
}

#slider {
  display: flex;
  width: 100%;
  transition: transform .6s ease-in-out;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.slide {
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay */

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(to right,
      rgba(0, 0, 0, .65),
      rgba(0, 0, 0, .30),
      rgba(0, 0, 0, .05));

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding-left: 8%;
  box-sizing: border-box;
}

.overlay h1 {
  font-size: 55px;
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
}

.overlay p {
  font-size: 22px;
  color: white;
  margin-bottom: 25px;
  max-width: 700px;
}

.overlay-btn {
  text-decoration: none;
  background: #ffb400;
  color: #000;
  padding: 14px 30px;
  border-radius: 5px;
  font-weight: 600;
}

.overlay-btn:hover {
  background: #fff;
}

/* Navigation */


.topcon-sli-buttons {

  position: absolute;

  top: 50%;
  left: 0;

  width: 100%;

  transform: translateY(-50%);

  display: flex;
  justify-content: space-between;

  pointer-events: none;
}

.topcon-sli-buttons button {

  pointer-events: auto;

  margin: 20px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.5);

  color: #fff;

  font-size: 24px;

  cursor: pointer;
}

.topcon-sli-buttons button:hover {

  background: transparent;
  border: 2px solid #ffffff;
  color: #fff;

}

/*Home slider CSS Ending for desktop*/
/*Quick Link CSS*/
.quick-card {
  outline-color: #1b6b43;
}

.quick-card:hover,
.quick-card.active {
  transition: all .3s ease;

  border-radius: 14px;
  transform: translateY(-8px);
  box-shadow:
    0 6px 0 #2e8b57,
    0 12px 0 #1b6b43,
    0 18px 0 rgba(0, 0, 0, .15);
}

/*for container sections*/
.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;

}

.section {
  flex: 1 1 45%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
}

.item {
  display: none;
}

.item.active {
  display: block;
}

.item.active h3 {
  font-size: 25px;
}

.navi-buttons {
  margin-top: 15px;
  text-align: center;
}

.navi-buttons button {
  padding: 10px 15px;
  margin: 0 5px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.navi-buttons button:hover {
  background-color: #0056b3;
}

.centerl {
  margin: auto;
  width: 300px;
}

.centerr {
  margin: auto;
  width: 100%;
}

.centerl img {

  width: 60%;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 10px;
}

.centerr img {
  display: block;
  width: 70%;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

/* For topcon section */
.topcon-main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.topcon-left-section1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  width: 50%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.topcon-slider-wrapper {
  width: 48%;
  background: white;
  border-radius: 10px;
  padding: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.topcon-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.topcon-slide {
  flex: 0 0 100%;
  padding: 8px;
}

.topcon-slide-content {
  text-align: center;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.topcon-slide-content img {
  display: block;
  width: 150px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  border-radius: 8px;
}

.topcon-nav-buttons {
  position: absolute;
  top: 35%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.topcon-nav-buttons button {
  background-color: #007BFF;
  border: none;
  color: white;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
}

.topcon-right-section {
  flex: 1 1 40%;
  min-width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.item p {
  text-align: justify;
}

.flip-card {
  background-color: transparent;
  width: 150px;
  height: 150px;
  perspective: 1000px;
  margin-left: 14px;
  border-radius: 10px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  border-radius: 10px;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
  border-radius: 10px;
}

.flip-card-front img {
  border-radius: 10px;
  width: 150px;
  height: 150px;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  border-radius: 10px;
  transform: rotateY(180deg);
}

.flip-card-back h3 {
  font-size: 27px;
  color: white;
}

/* For Image Gallery */
/* .gallery-container {
border-radius: 5px;
margin-bottom: 5px;
margin-left: 5px;
margin-right: 5px;
} */
.imgcon-gallery-title {
  font-size: 2em;
  color: #ffffff;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 550;
}

.imgcon-slider-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: 20px auto;
  /* border-radius: 10px; */
}

.imgcon-slider-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.imgcon-slide {
  flex: 0 0 25%;
  padding: 10px;
}

.imgcon-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.imgcon-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 2;
}

.imgcon-btn:hover {
  background-color: rgba(79, 81, 80, 0.502);
}

.imgcon-btn-left {
  left: 0;
}

.imgcon-btn-right {
  right: 0;
}

.imgcon-view-all {
  display: inline-block;
  padding: 10px 20px;
  margin: 20px auto;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #0f024a;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.imgcon-view-all:hover {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

/* About */
.about-title {
  text-align: center;
  margin-bottom: 5px;
}

.about-title h2 {
  font-size: 40px;
  color: #003366;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 5px;
  padding: 10px;
}

.about img {
  width: 100%;
  border-radius: 15px;
}

.about-text p {
  line-height: 1.8;
}

.why-choose {
  padding: 70px 8%;
  background: #f7f9fc;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 38px;
  color: #003366;
  margin-bottom: 15px;
}

.section-title span {
  color: #1F9494;
}

.section-title p {
  max-width: 700px;
  margin: auto;
  color: #666;
  line-height: 1.8;
  font-size: 17px;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.choose-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transition: .4s;
  border-top: 4px solid #1F9494;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

.choose-card i {
  font-size: 45px;
  color: #1F9494;
  margin-bottom: 20px;
}

.choose-card h3 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 22px;
}

.choose-card p {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}
/*Floating Button Starting*/
.floating-buttons{
    position:fixed;
    right:20px;
    bottom:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
    z-index:9999;
}

.floatb{
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    color:#fff;
    font-size:22px;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
    transition:.3s;
}

.floatb:hover{
    transform:translateY(-10px) scale(1.08);
}

.whatsapp-btn{
    background:#25D366;
}

.call-btn{
    background:#007BFF;
}

.map-btn{
    background:#E53935;
}

.top-btn{
    background:#222;
    display:none;
}
.close-float{
    width:22px;
    height:22px;
    background:#444;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    font-size:14px;
    font-weight:bold;
    margin-left:auto;
    transition:.3s;
}

.close-float:hover{
    background:#d32f2f;
    transform:rotate(90deg);
}
/*Floating Button Ending*/
@media (max-width: 768px) {

  /*Home slider CSS starting for Mobile Phone*/
  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    z-index: 1000;
    border: none;
  }

  /* Background image for previous button */
  #prevBtn {
    left: 10px;
  }

  /* Background image for next button */
  #nextBtn {
    right: 10px;
  }

  /*Home slider CSS ending for Mobile Phone*/
  /*Quick Link CSS*/
  .container {
    flex-direction: column;
  }

  .section {
    width: 100%;
  }


  .centerr {
    margin-left: 1px;
  }

  .centerl img {
    width: 60%;
  }

  .centerr img {
    width: 90%;
  }


  .motto {
    flex: 1 1 45%;
    background: #048726;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    color: white;
  }

  /* For topcon section */
  .topcon-main-container {
    flex-direction: column;
  }

  .topcon-left-section1,
  .topcon-right-section {
    width: 100%;
  }

  .topcon-right-section {
    min-height: 400px;
  }

  .topcon-left-section1 {
    flex-direction: column;
    max-width: 100%;
  }

  .topcon-slider-wrapper {
    width: 100%;
  }

  .flip-card {
    background-color: transparent;
    width: 130px;
    height: 130px;
    perspective: 1000px;
    /* margin-left:14px; */
    border-radius: 10px;
  }

  .flip-card-front img {
    border-radius: 10px;
    width: 130px;
    height: 130px;
  }

  .flip-card-back h3 {
    font-size: 20px;
    color: white;
  }

  /* For Image Gallery */
  .imgcon-slide {
    flex: 0 0 50%;
  }

  .imgcon-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .overlay h1 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .overlay p {
    font-size: 12px;
    margin-bottom: 10px;
    max-width: 700px;
  }

  .overlay-btn {

    background: #ffb400;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    padding: 5px 5px;
    font-weight: 400;
    font-size: 12px;
    transition: .3s;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .choose-card {
    padding: 30px 20px;
  }

}

.notice-container {
  height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.new-badge {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 20px;
  margin-left: 8px;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: .7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}