/* ========== 3D Box Styles ========== */
.row.gutter-v3 {
  display: flex;
  flex-wrap: wrap;
  perspective: 1000px; /* for subtle 3D effect */
}

/* Make columns flex so .box-3d can stretch */
.row.gutter-v3 > [class*="col-"] {
  display: flex;
}

/* Main box styling */
.box-3d {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 12px;
  background: #d2e3cb;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 300ms;
  will-change: transform, box-shadow;
  overflow: visible;
}

/* Hover lift 3D effect */
.box-3d:hover,
.box-3d:focus-within {
  transform: translateY(-10px) rotateX(2deg) translateZ(10px);
  box-shadow: 0 20px 40px rgba(12, 24, 40, 0.15);
}

/* Optional: animate icon inside */
.box-3d .wrap-icon img {
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.box-3d:hover .wrap-icon img {
  transform: translateY(-4px) scale(1.05);
}

/* Responsive tweak for small screens */
@media (max-width: 767.98px) {
  .row.gutter-v3 {
    flex-direction: column;
  }
  .box-3d {
    min-height: auto; /* reset on small screens */
  }
}

/* ===== Contact Section Colors ===== */
#contact-section {
  color: #2b384f;
  font-weight: 600; /* main text color */
}

/* Headings */
#contact-section h2,
#contact-section h3,
#contact-section label {
  color: #2b384f;
  font-weight: 600; /* dark brand color */
}

/* Paragraphs, span, and normal text */
#contact-section p,
#contact-section span,
#contact-section address,
#contact-section .contact-info-label,
#contact-section .contact-info-val {
  color: #2b384f;
  font-weight: 600;
}

/* Links */
#contact-section a {
  color: #2b384f;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
#contact-section a:hover {
  color: #1a2435; /* darker on hover */
}

/* Input + textarea */
#contact-section .form-control {
  color: #2b384f;
  font-weight: 600;
  border: 1px solid rgba(43, 56, 79, 0.3);
  background-color: #fff;
}
#contact-section .form-control::placeholder {
  color: rgba(43, 56, 79, 0.5);
}

/* Submit button */
#contact-section .btn-custom-light {
  border: 2px solid #2b384f;
  color: #2b384f;
  font-weight: 600;
  transition: all 0.3s ease;
}
#contact-section .btn-custom-light:hover {
  background-color: #2b384f;
  color: #fff;
}

/* ===== Animated Background Icons ===== */
.animated-bg-icons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.animated-bg-icons svg {
  position: absolute;
  opacity: 0.12;
  animation: floatIcon 16s linear infinite;
}
.animated-bg-icons .icon1 {
  left: 8vw;
  top: 12vh;
  width: 60px;
  animation-delay: 0s;
}
.animated-bg-icons .icon2 {
  left: 70vw;
  top: 18vh;
  width: 48px;
  animation-delay: 4s;
}
.animated-bg-icons .icon3 {
  left: 40vw;
  top: 80vh;
  width: 54px;
  animation-delay: 8s;
}
.animated-bg-icons .icon4 {
  left: 85vw;
  top: 70vh;
  width: 40px;
  animation-delay: 12s;
}
.animated-bg-icons .icon5 {
  left: 20vw;
  top: 60vh;
  width: 36px;
  animation-delay: 2s;
}
@keyframes floatIcon {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) scale(1.08) rotate(8deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}
@media (max-width: 767.98px) {
  .animated-bg-icons {
    display: none;
  }
}

.footer-site-social {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.footer-site-social li a {
  font-size: 20px;
  color: #2b3840; /* default color */
  transition: color 0.3s ease;
}

.footer-site-social li a:hover {
  color: #0077b5; /* hover color */
}

.input-icon {
  position: absolute;
  left: 10px;
  top: 38px;
  color: #2c5f30;
  z-index: 2;
}
.form-control.pl-4 {
  padding-left: 2.2em;
}
.contact-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(44, 95, 48, 0.12);
  padding: 32px 28px 24px 28px;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}
.contact-card:hover {
  box-shadow: 0 16px 40px rgba(44, 95, 48, 0.18);
}
.animated-input:focus {
  border-color: #2c5f30;
  box-shadow: 0 0 0 2px #e3f2d2;
  transition: box-shadow 0.3s, border-color 0.3s;
}
#contactForm label {
  font-weight: 600;
  color: #2c5f30;
  letter-spacing: 0.5px;
}
#contactForm .form-control {
  border-radius: 10px;
  border: 1.5px solid #e3f2d2;
  background: #f8fafb;
  font-size: 1rem;
  transition: border-color 0.3s;
}
#contactForm .form-control::placeholder {
  color: #b2b2b2;
  font-size: 0.98em;
}
#contactSubmitBtn {
  background: linear-gradient(90deg, #2c5f30 0%, #6bbf59 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(44, 95, 48, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}
#contactSubmitBtn:hover {
  background: linear-gradient(90deg, #6bbf59 0%, #2c5f30 100%);
  box-shadow: 0 4px 16px rgba(44, 95, 48, 0.18);
}
.contact-info-v1 {
  background: #f8fafb;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(44, 95, 48, 0.1);
  padding: 28px 24px;
  margin-bottom: 32px;
}
.contact-info-label {
  font-weight: 700;
  color: #2c5f30;
  font-size: 1.08em;
}
.contact-info-label i {
  margin-right: 8px;
  vertical-align: middle;
}
.contact-info-val {
  color: #2b3842;
  font-size: 1em;
  font-weight: 500;
}
.floating-label {
  position: absolute;
  left: 2.2em;
  top: 10px;
  font-size: 0.98em;
  color: #6bbf59;
  pointer-events: none;
  transition: 0.2s;
  opacity: 0.8;
}
.form-control:focus + .floating-label,
.form-control:not(:placeholder-shown) + .floating-label,
textarea:focus + .floating-label,
textarea:not(:placeholder-shown) + .floating-label {
  top: -12px;
  left: 2em;
  font-size: 0.85em;
  color: #2c5f30;
  opacity: 1;
}
.btn-gradient {
  background: linear-gradient(90deg, #2c5f30 0%, #6bbf59 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(44, 95, 48, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-gradient:hover {
  background: linear-gradient(90deg, #6bbf59 0%, #2c5f30 100%);
  box-shadow: 0 4px 16px rgba(44, 95, 48, 0.18);
}
.invalid-feedback {
  display: none;
  color: #d9534f;
  font-size: 0.92em;
  margin-top: 2px;
}
.form-control:invalid ~ .invalid-feedback,
textarea:invalid ~ .invalid-feedback {
  display: block;
}

.pricing-table-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-table-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 350px;
  animation: float 6s ease-in-out infinite;
}

.pricing-table-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table-item.featured-pricing-item {
  background-color: #ffffff;
  border: 2px solid #2c5f30;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-10px);
}

.pricing-ribbon {
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: #6bbf59;
  color: #fff;
  padding: 5px 30px;
  font-weight: bold;
  font-size: 14px;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-plan-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #2b3842;
  margin-bottom: 5px;
}

.pricing-plan-subtitle {
  font-size: 1em;
  color: #6c757d;
  margin-bottom: 25px;
}

.pricing-price {
  font-size: 3em;
  font-weight: 700;
  color: #2c5f30;
  margin: 30px 0;
  line-height: 1;
}

.pricing-currency {
  font-size: 0.5em;
  vertical-align: super;
}

.pricing-amount {
  font-size: 1.2em;
}

.pricing-period {
  font-size: 0.4em;
  color: #6c757d;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.pricing-features li {
  margin: 15px 0;
  font-size: 1.1em;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-features i {
  margin-right: 10px;
  color: #6bbf59;
}

.pricing-features .fa-times-circle {
  color: #adb5bd !important;
}

.pricing-btn {
  background: #2c5f30;
  color: white;
  border: 1px solid #2c5f30;
  padding: 12px 25px;
  font-size: 1em;
  transition: background-color 0.3s, color 0.3s;
}

.pricing-btn:hover {
  background: #6bbf59;
  color: #fff;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animated-pricing-item::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: rgba(107, 191, 89, 0.1);
  border-radius: 50%;
  animation: icon-float 5s ease-in-out infinite;
}
.animated-pricing-item::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 70px;
  height: 70px;
  background: rgba(43, 56, 66, 0.1);
  border-radius: 50%;
  animation: icon-float-reverse 6s ease-in-out infinite;
}

@keyframes icon-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10px, -10px) scale(1.1);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes icon-float-reverse {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10px, 10px) scale(1.1);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@media (max-width: 768px) {
  .pricing-table-container {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Animated Gradient Background for the section --- */
.cover-v1 {
  background: #f8f9fa;
  /* Fallback color */
  background: linear-gradient(-45deg, #f8f9fa, #e9ecef, #f8f9fa, #dee2e6);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* --- Floating Shapes CSS --- */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  /* Ensures shapes are behind content */
}

.shape {
  position: absolute;
  background-color: rgba(200, 200, 200, 0.1);
  /* Very light, transparent gray */
  border-radius: 50%;
  /* Make them circular */
  animation: floatUp 20s ease-in-out infinite alternate;
}

.shape-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-duration: 25s;
}

.shape-2 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 80%;
  animation-duration: 20s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 40%;
  animation-duration: 30s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  top: 70%;
  left: 15%;
  animation-duration: 18s;
  animation-delay: 2s;
}

.shape-5 {
  width: 120px;
  height: 120px;
  top: 25%;
  left: 90%;
  animation-duration: 22s;
  animation-delay: 4s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-200px) rotate(360deg);
  }
}

/* Ensure the main content is on top of the shapes */
.cover-v1 .container {
  position: relative;
  z-index: 1;
}
.hero-title { white-space: nowrap; }
.hero-title .char {
  display: inline-block;          /* <- required for transforms */
  transform-origin: center center;
  will-change: transform, opacity;
  font-weight: 700;
}