@import url("https://fonts.googleapis.com/css2?family=Charmonman:wght@400;700&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");
* {
  /* margin: 0; */
  /* padding: 0; */
  box-sizing: border-box;
  /* font-family: poppins; */
  font-weight: 450 !important;
}
html,
body {
  width: 100%;
  height: 100%;
}
.navbar {
  padding: 20px;
  border-bottom: 1px solid #dadada;
}
#menu-btn {
  display: none;
}
.headingm {
  font-size: 2.5vmax;
}
.cardofnav {
  width: 200px;  
  height: 19vmax;
  border-radius: 0.5rem;
  padding: 5px;
  background-color: #fff;
  box-shadow: 2px 2px 3px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  overflow: hidden;
}

.cardofnav a {
  text-decoration: none;
}

.contentofnav {
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.imageofnav {
  object-fit: cover;
  width: 100%;
  height: 50%;
  border-radius: 9px;
  overflow: hidden;
}

.titleofnav {
  color: #111827;
  font-size: 1vmax;
  /* line-height: 1.75rem; */
  font-weight: 600;
  text-align: center;
}

.descofnav {
  color: #6b7280;
  font-size: 0.7vmax;
  text-align: center;
}

.actionofnav {
  display: inline-flex;
  width: 60%;
  margin-top: 1rem;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25rem;
  font-weight: bold;
  align-items: center;
  gap: 0.25rem;
  background-color: #dc143c;
  padding: 4px 8px;
  border-radius: 4px;
}

.actionofnav span {
  transition: 0.3s ease;
}

.actionofnav:hover span {
  transform: translateX(4px);
}

/* Replace the existing animation styles with these */
#dropdopemenu {
  transform-origin: top;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

#dropdopemenu.active {
  max-height: 80vh;
  opacity: 1;
  pointer-events: auto;
}

/* Add these styles for the dropdown animation */
#chuparustam {
  transition: all 0.3s ease-in-out;
}

#chuparustam.active {
  max-height: 12rem;
  opacity: 1;
}

.ri-arrow-drop-down-line {
  transition: transform 0.3s ease;
}

.rotate-arrow {
  transform: rotate(180deg);
}

/* Add these styles to your existing CSS */
/* .ri-arrow-drop-down-line {
  display: none;
} */

.dbdropbtn {
  display: block;
}

/* Button css */
/* From Uiverse.io by nikk7007 */
.btnxui {
  --color: white;
  /* padding: 0.8em 1.3em; */
  background-color: transparent;
  border-radius: 0.3em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.5s;
  font-weight: 400;
  /* font-size: 17px; */
  border: 1px solid;
  font-family: inherit;
  color: var(--color);
  background-color: rgb(0 129 204 / var(--tw-bg-opacity, 1));;
  z-index: 1;
}

.btnxui::before,
.btnxui::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--color);
  transition: 1s ease;
}

.btnxui::before {
  top: -1em;
  left: -1em;
}

.btnxui::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
}

.btnxui:hover::before,
.btnxui:hover::after {
  height: 510px;
  width: 510px;
}

.btnxui:hover {
  color: #dc143c;
}

.btnxui:active {
  filter: brightness(0.8);
}
.btnxui2 {
  --color: #ffffff !important;
}

.btnxui2:hover {
  color: #dc143c !important;
}

.btw {
  border-right: 1px solid #109ec9;
}
.bg-gradient {
  background: linear-gradient(transparent, #0e79b2 100%);
}

.firstimg {
  background-color: rgba(0, 0, 0, 0.371);
}
.enquiry {
  background-color: #0081cc;
  padding: 1vmax 2vmax;
  position: fixed;
  right: -4.5%;
  top: 52%;
  font-size: 1.3vmax;
  font-weight: 600;
  z-index: 1000;
  color: white;
  border-radius: 8px;
  transform: rotate(-90deg);
}

.parent {
  display: flex;

  gap: 8px;
}

.div1 {
  padding-left: 50px;
}

.div3 {
  width: 50%;
  display: flex;
  align-items: center;
  /* grid-column-start: 3; */
}

#elem {
  height: 62px;
  display: inline-flex;
  background-color: white;
  overflow: hidden;

  white-space: nowrap;
  overflow-x: auto;
}
#elem1 {
  width: 100%;
  height: 100%;
  gap: 12vmax;
  align-items: center;
  overflow-x: scroll;
  /* overflow-y: hidden; */
  white-space: nowrap;
  animation: anim 15s linear infinite;
  display: inline-flex;
  overflow-x: scroll;
  overflow-y: hidden;
  /* animation-delay: 1s; */
  padding: 10px 0px;
  /* white-space: nowrap; */
}
/* .circ {
    width: 130px;
    height: 130px;
    background-color:white;
    border-radius: 50%;
    display: inline-block;
    margin-left: 20px;
    overflow: hidden;
  } */
.circ img {
  /* display: none; */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#elem::-webkit-scrollbar {
  display: none;
}
.sndpage {
  /* gap: 50px; */
}
.sndpage > div {
  min-height: 65vh;
  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.261); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 20px 30px; */
}
.sndpage > div:nth-child(1) {
  border-right: 1px solid #dc143c;
}
@keyframes anim {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Card */
.service-card {
  width: 305px;
  padding: 10px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 3px 7px 3px rgba(0, 0, 0, 0.159);
}
.service-card .img {
  height: 200px;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.service-card .content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.service-card .head {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.service-card .title {
  font-size: 16px;
  text-align: center;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.5);
}
.service-card .button {
  font-size: 16px;
  padding: 7px 40px;
  background-color: #0081cc;
  color: white;
  /* border-radius: 5px; */
  cursor: pointer;
  margin-top: 7px;
}

.testimonial-slider {
  width: 100%;
  min-height: 500px;
  padding: 4rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #515854;
}

.slider-container {
  position: relative;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-image {
  position: absolute;
  height: 500px;
  width: 400px;
  border-radius: 20px;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #dc143c;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.prev-arrow {
  left: 5%;
}

.next-arrow {
  right: 5%;
}

.slide {
  transition: transform 0.5s ease-in-out;
  animation: slideShow infinite linear;
}
.slide img {
  filter: blur(3px) brightness(0.6);
}

@keyframes slideShow {
  from {
    transform: translateX(100%) scale(1.2);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* Add/modify these responsive styles */

*/ .specialWork {
  width: 100%;
}
.specialWork {
  background: linear-gradient(transparent, #69b9e40f, #69b9e469);
}

/* Footer */
footer .grid-cols-4 {
  grid-template-columns: 1fr !important;
}

/* General text adjustments */
.text-3xl {
  font-size: 1.875rem;
}

/* Add general responsive utilities */

/* Add this to your existing CSS */
.secondNavbar {
  position: relative;
  z-index: 100;
}

#dropdownMenu {
  position: absolute;
  width: 100vw;
  left: 0;
  z-index: 1000;
  background: white;
  margin-top: 0.5rem;
}

/* Update slider z-index */
.imgcnt {
  /* padding-top: 30px; */
  position: relative;
  z-index: 1;
}

/* Ensure dropdown button maintains proper stacking */
.relative.inline-block {
  position: relative;
  z-index: 100;
}

.scrollontop {
  opacity: 0;
  transition: transform 0.3s ease;
  cursor: pointer;
  pointer-events: all;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateY(0px);
  background-color: #dc143c;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
}

.wtparrow {
  pointer-events: none; /* Allow clicks only on the image */
}

@media screen and (max-width: 768px) {
  .slider-card {
    width: 300px;
  }

  .slider-card.left {
    transform: translate(-120%, -50%) scale(0.8);
  }

  .slider-card.right {
    transform: translate(20%, -50%) scale(0.8);
  }
}
@media screen and (max-width: 768px) {
  /* .w-[80%] {
    width: 95% !important;
  } */

  .px-20 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media screen and (max-width: 1024px) {
  .secondNavbar {
    display: none;
  }
  #menu {
    display: none;
  }
  .nav-contact {
    display: none !important;
  }
  #menu-btn {
    display: initial;
  }
  #menu.active {
    position: fixed;
    top: 70px;
    /* left: 200px; */
    width: 100%;
    height: auto;
    background: white;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  #menu-btn svg.open {
    display: block;
  }

  #menu-btn svg.close {
    display: none;
  }

  #menu-btn.active svg.open {
    display: none;
  }

  #menu-btn.active svg.close {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .slider-container {
    /* height: 400px; */
    width: 100%;
    padding: 0 25px;
  }

  .slider-image {
    height: 300px;
    width: 220px;
  }

  .slider-image.left {
    transform: translateX(-20%) scale(0.8);
  }

  .slider-image.right {
    transform: translateX(20%) scale(0.8);
  }
  .secondNavbar {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .subNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 10px;
  }
}
@media screen and (max-width: 514px) {
  /* Navbar fixes */
  .navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    z-index: 1000; /* Ensure navbar is above other content */
  }
  .bottomBtn {
    bottom: 5px;
  }
  .orientalMain {
    overflow: hidden;
  }

  .sndpage {
    flex-direction: column;
    width: 100%;
    gap: 50px;
  }
  .sndpage > div {
    border-radius: 0;
  }
  .mission {
    padding: 0;
    width: 100%;
    /* line-height: 10px; */
    border-right: 0;
  }
  .vision {
    padding: 0;
    width: 100%;
    /* line-height: 10px; */
  }
  .abtus {
    flex-direction: column-reverse;
    width: 100% !important;
  }
  .abtuspta {
    width: 100% !important;
  }
  .opa {
    text-align: center;
  }
  .paraofsix {
    width: 100% !important;
  }
  .sevenscr {
    flex-direction: column;
    width: 100%;
  }
  .eightscr {
    flex-direction: column-reverse;
    gap: 15px;
    width: 100% !important;
    align-items: center;
  }
  .abtcntnr {
    margin-top: 0;
  }
  .eightscrfirst {
    width: 100% !important;
  }
  .blendlast {
    display: none !important;
  }
  .cardscr {
    margin-top: -25vh;
  }
  .cardscr2 {
    margin-top: -76vh;
  }

  .image {
    /* height: 248px; */
  }
  .imganimatorabt {
    height: 20vh;
    margin-top: -9vh;
  }
  .imganimator {
    height: 40vh !important;
  }
  .testiscr {
    width: 100%;
    flex-direction: column;
    padding: 1vmax;
  }
  .testi {
    width: 100%;
  }
  .headingm {
    font-size: 4vmax;
    margin: 0;
    line-height: 40px;
  }
  .thrdscr {
    padding-bottom: 25vh;
  }
  .btnscr {
    justify-content: center;
  }
  .btnsc {
    justify-content: center;
  }
  .parent {
    display: flex;
    flex-direction: column;
  }
  .div1 {
    width: 100%;
    padding: 0;
  }
  .div3 {
    width: 100%;
  }
  .enquiry {
    top: 25%;
    right: -45px;
    padding: 1vmax 3vmax;
    font-size: 1.6vmax;
  }

  .marqueeeee {
    margin-top: 0vh;
  }

  /* Slider responsiveness */
  .imgcntnr {
    margin-top: 10vh;
  }

  .firstimg h2 {
    font-size: 1.5rem !important;
    padding: 0 15px;
  }

  .firstimg p {
    font-size: 1rem !important;
  }

  /* Services section */
  #services-container {
    flex-direction: column;
    gap: 30px;
    padding: 0px 20px;
    margin-top: -3vh;
  }

  .card {
    width: 100%;
    max-width: none;
  }

  /* Testimonial slider */
  .slider-container {
    /* height: 500px; */
  }

  .slider-card {
    width: 300px;
  }

  .slider-card.left {
    transform: translate(-110%, -50%) scale(0.8);
    opacity: 0;
    display: none;
  }

  .slider-card.right {
    transform: translate(10%, -50%) scale(0.8);
    opacity: 0;
    display: none;
  }

  .slider-card.center {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Counter section */
  /* .bg-[#DC143C].flex {
    flex-direction: column;
    padding: 20px !important;
  }

  .bg-[#DC143C].flex > div {
    width: 100% !important;
    padding: 10px !important;
    margin: 10px 0;
  }

  /* Work process section */
  /* .w-[80%].px-5.flex {
    flex-direction: column;
    gap: 30px; */
}
.group:hover .services-dropdown {
  display: block;
}
@media screen and (max-width: 767px) {
  .imgcntnr {
    margin-top: 12vh;
  }
}
@media screen and (max-width: 414px) {
  .imgcntnr {
    margin-top: 12vh;
  }
  .dbdropbtn {
    display: active;
  }

  .group:hover .services-dropdown {
    display: block;
  }

  .services-dropdown {
    display: none;
  }
}

@media screen and (max-width: 375px) {
  .imgcntnr {
    margin-top: 12vh;
  }
  .imgcntnrser {
    margin-top: 8vh;
  }
  .imgcntnrtestimonial {
    margin-top: 8vh;
  }
}
