:root {
  --g: #0b3d2e;
  --y: #d4a017;

}

*, *::before, *::after {
    font-family: 'DM Sans', sans-serif !important;
}

/* ===== STICKY GLASS NAVBAR ===== */
.main-navbar{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;   /* important for full width */
  z-index: 9999;

  /* Better Glass Effect */
  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(18px) saturate(180%) brightness(105%);
  -webkit-backdrop-filter: blur(18px) saturate(180%) brightness(105%);

  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* Remove Bootstrap white bg */
.navbar{
  background: transparent !important;
  box-shadow: none !important;
}

/* Nav Links */
.nav-link{
  color:#093f25 !important;
  font-weight:500;
}

.nav-link:hover{
  color:#1a8f89 !important;
}

/* Dropdown */
.dropdown-menu{
  background-color:rgba(18,102,77,0.95);
  border:none;
}

.dropdown-item{
  color:#fff;
}

.dropdown-item:hover{
  background:#1a8f89;
  color:#fff;
}

/* Submenu */
.dropdown-submenu{
  position:relative;
}

.dropdown-submenu>.dropdown-menu{
  top:0;
  left:100%;
  display:none;
}

.dropdown-submenu:hover>.dropdown-menu{
  display:block;
}

/* Mobile Fix */
@media (max-width:991px){
  .dropdown-submenu>.dropdown-menu{
    left:0;
  }
}

/* ===== VIDEO BACKGROUND ===== */
.video-section{
  position:relative;
  height:100vh;
  overflow:hidden;
}

.video-section video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.content{
  height:100vh;
  background:#f5f5f5;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:40px;
}

.btn-theme {
  background-color: #d9bf6a;
  border-radius: 30px;
  font-weight: 600;
}

.carousel-item {
  height: 65vh;
}

.overlay {
  background: rgba(11, 61, 46, .75);
}

@media(max-width:412px) {
  .carousel-item {
    height: 70vh;
  }

  .anim h1 {
    font-size: 28px;
  }

  .anim p {
    font-size: 15px;
  }
}

.animate-left,
.animate-right,
.animate-img {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.animate-left.show,
.animate-right.show,
.animate-img.show {
  opacity: 1;
  transform: none;
}



.slider-section-custom {
  padding: 50px 0;
  background-color: #f0f1f9;
}

.slider-heading-custom h5 {
  color: #d4a017;
  font-weight: 500;
  margin-bottom: 10px;
}

.slider-heading-custom h2 {
  color: #0b3d2e;
  font-weight: 700;
  margin-bottom: 10px;
}

.slider-heading-custom p {
  color: #333;
  margin-bottom: 40px;
}



.review-section {
  padding: 60px 0;
  background: #f4f6f5;
}

.review-card {
  background: #12664d;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  height: 100%;

}

.review-no {
  width: 48px;
  height: 48px;
  background: #FAF9F6;
  color: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 15px;
}

.review-card h5 {
  color: #d9bf6a;
  font-weight: 700;
}

.review-card p {
  font-size: 15px;
  color: #ecc402;
  line-height: 1.6;
}

.splide__slide {
  padding: 2px;
}

/* ===== MOBILE FIX : 412px ===== */
@media (max-width: 412px) {

  .review-section {
    padding: 40px 0;
  }

  .review-card {
    padding: 22px;
    border-radius: 14px;
  }

  .review-no {
    width: 42px;
    height: 42px;
    font-size: 15px;
    margin-bottom: 12px;
  }

  .review-card h5 {
    font-size: 16px;
    line-height: 1.3;
  
  }

  .review-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .splide__slide {
    padding: 6px;
  }
}

.service-tabs .list-group-item {
  border: 0;
  margin-bottom: 6px;
  border-radius: 8px;
  font-weight: 500;
  background-color: #0b3d2e;
  color: #fff;
}

.service-tabs .list-group-item.active {
  background-color: #d4a017;
  color: #fff;
}

.service-img {
  height: 280px;
  object-fit: cover;
}

@media (max-width: 412px) {
  .service-img {
    height: 220px;
  }
}

.why-img,
.why-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.why-row:hover .why-img,
.why-row:hover .why-details {
  opacity: 1;
  max-height: 200px;
  color: #0b3d2e;
  
}

.why-row:hover {
  background: #d9bf6a;
  color: #0b3d2e;
}

.why-row:hover .why-title {
  color: #0b3d2e !important;
  font-weight: 600;

}

.why-row:hover .why-details p{
  color:#0b3d2e !important;
}


@media(max-width:412px) {
  .why-title {
    font-size: 16px !important
  }

  .why-img img {
    width: 60px;
    height: 60px
  }
}

.form-control:focus,
.form-select:focus{
  border-color:#d4a017;
  box-shadow:none;
}

.transform-card {
  transition: transform 0.4s ease;
}

.transform-card:hover {
  transform: scale(1.05);
}

.accordion-button::after {
  display: none;
}

.accordion-button {
  font-weight: 600;
  color: #d49e17;
  background: #0b3d2e;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: #d49e17;
}

.accordion-body {
  line-height: 1.7;
}

.image-box img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

/* ===== IMAGE PREMIUM ANIMATION ===== */

.image-animate {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition: all 0.4s ease;
}

/* base image */
.image-animate img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  animation: floatImage 6s ease-in-out infinite;
}

/* floating effect */
@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* hover zoom + glow */
.image-animate:hover img {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* soft gradient glow */
.image-animate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(217,191,106,0.15), transparent);
  opacity: 0;
  transition: 0.4s;
}

.image-animate:hover::after {
  opacity: 1;
}

.grofics-legal-section {
  background: linear-gradient(135deg, #0b3d2e 0%, #0f5a45 55%, #d9bf6a 100%);
  position: relative;
  overflow: hidden;
}

.grofics-legal-section::before,
.grofics-legal-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
  animation: legalFloat 8s ease-in-out infinite;
}

.grofics-legal-section::before {
  width: 260px;
  height: 260px;
  top: -60px;
  left: -60px;
  background: #d9bf6a;
}

.grofics-legal-section::after {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -100px;
  background: #ffffff;
  animation-delay: 2s;
}

@keyframes legalFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(0px); }
}

.legal-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 45px 30px;
  position: relative;
  z-index: 2;
}

.legal-badge {
  display: inline-block;
  background: #d9bf6a;
  color: #0b3d2e;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.legal-main-title {
  color: #fff;
  font-weight: 800;
  font-size: 38px;
  margin-bottom: 10px;
}

.legal-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
}

.legal-card {
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  transition: all 0.35s ease;
}

.legal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.legal-card h4 {
  color: #0b3d2e;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 24px;
}

.legal-card p {
  color: #3f3f3f;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9bf6a, #f0db93);
  color: #0b3d2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(217,191,106,0.35);
}

.legal-note {
  background: #d9bf6a;
  color: #0b3d2e;
  font-weight: 700;
  padding: 18px 22px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .legal-main-title {
    font-size: 28px;
  }

  .legal-box {
    padding: 30px 18px;
  }

  .legal-card {
    padding: 22px 18px;
  }
}
body {
  background: #f3f3f3;
}

.legal-frame {
  position: relative;
  max-width: 1060px;
  margin: auto;
  padding: 26px;
  border: 8px solid #0b3d2e;
  border-radius: 36px;
  background: transparent;
  overflow: hidden;
}

.legal-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid #ffffff;
  border-radius: 26px;
  pointer-events: none;
}

.legal-page {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tool {
  position: absolute;
  color: #d9bf6a;
  font-size: 38px;
  font-weight: 700;
  z-index: 1;
  opacity: 0.95;
  animation: floatTool 4s ease-in-out infinite;
}

.tool-1 {
  top: 90px;
  left: 18px;
}

.tool-2 {
  bottom: 90px;
  right: 18px;
  animation-delay: 1.5s;
}

.tool-3 {
  top: 42%;
  left: 18px;
  transform: rotate(90deg);
  animation-delay: 0.7s;
}

.tool-4 {
  top: 42%;
  right: 18px;
  transform: rotate(90deg);
  animation-delay: 2s;
}

@keyframes floatTool {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(4deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}