@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #1c1c1c;
  color: #fff;
}


html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* ============================================================================================================================= */

/* ========================= */
/* HERO SECTION */
/* ========================= */
.about-hero {
  position: relative;
  height: 100vh;
  margin-top: 80px;

  background-image: url("/assets/images/banners/contact-banner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;      /* ✅ vertical center */
  justify-content: center;  /* ✅ horizontal center */

  overflow: hidden;
}

/* ========================= */
/* OVERLAY */
/* ========================= */
.about-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(150, 255, 180, 0.2) 75%,
    rgba(150, 255, 180, 0.08) 100%
  );

  z-index: 1;
}

/* ========================= */
/* BREADCRUMB */
/* ========================= */
.breadcrumb {
  position: relative;
  z-index: 2; /* ✅ overlay वर */

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 22px;
  border-radius: 40px;

  /* 🔥 gradient */
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.85) 0%,
    rgba(20, 20, 20, 0.5) 40%,
    rgba(40, 40, 40, 0) 100%
  );

  color: #fff;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;

  border: 1px solid rgba(255,255,255,0.08);

  /* ✨ glass effect */
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255,255,255,0.06);

  transition: all 0.3s ease;
  margin-bottom: 80px;
}

/* ========================= */
/* HOVER */
/* ========================= */
.breadcrumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(158, 255, 198, 0.088);
}

/* ========================= */
/* ICON */
/* ========================= */
.home-icon i {
  color: #9effc7;
  font-size: 14px;
  transition: 0.3s;
}

.breadcrumb:hover .home-icon i {
  transform: scale(1.2);
}

/* ========================= */
/* TEXT */
/* ========================= */
.breadcrumb-text {
  color: #bbb;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.breadcrumb-text:hover {
  color: #9effc7;
  cursor: pointer;
}

.breadcrumb-active {
  color: #fff;
  font-weight: 500;
}

.arrow {
  color: #777;
  font-size: 16px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width: 992px) {
  .about-hero {
    height: 80vh;
  }
}

@media (max-width: 768px) {

  .about-hero {
    height: 60vh;
    padding: 0 15px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 8px 14px;
    gap: 6px;
  }

  .arrow {
    font-size: 14px;
  }
}


/* ===================================================================================================== */

.contact-section {
    padding: 100px 2%;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.contact-heading {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #022d1f;
    margin-bottom: 20px;
}

.contact-heading span {
    color: #6dbb2d;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0 auto 60px;
    /* center + space bottom */
    padding: 10px 22px;

    border-radius: 30px;
    background: linear-gradient(90deg,
            rgba(120, 255, 120, 0.35),
            rgba(120, 255, 120, 0.15));
    color: #014d43;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    font-size: 14px;

    width: fit-content;
}

.contact-badge i {
    color: #014d43;
    font-size: 18px;
}


.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

/* LEFT CARDS */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.info-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -10px;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle,
            rgba(203, 255, 99, 0.178),
            transparent 65%);
}

.info-card {
    background: linear-gradient(180deg, #0b5d42, #043d2d);
    padding: 30px;
    border-radius: 22px;
    color: #fff;
    min-height: 160px;

    /* 🔥 IMPORTANT */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* LEFT aligned */
    text-align: left;

    position: relative;
    /* overflow: hidden; */

    transition: transform .4s ease, box-shadow .4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}



.info-card i {
    font-size: 24px;
    color: #caff63;
    margin-bottom: 18px;
}


.info-card p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.info-card h4 {
    font-size: 15px;
    font-weight: 600;
}


.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* FORM */
.contact-form {
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    font-weight: 500;
    margin-bottom: 8px;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 18px;
    border: 2px solid rgba(202, 255, 99, 0.65);
    outline: none;
    font-size: 15px;
    color: #111;
    background: #fafefa;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0b5d42;
    box-shadow: 0 0 0 4px rgba(11, 93, 66, 0.12);
    background: #fff;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc2626;
    background: #fffafa;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.form-error {
    display: block;
    min-height: 1.25em;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #dc2626;
    text-align: left;
}

.submit-btn {
    position: relative;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #caff63 0%, #a8e063 100%);
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    margin-top: 10px;
    color: #043d2d;
    box-shadow: 0 8px 28px rgba(11, 93, 66, 0.18);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(11, 93, 66, 0.28);
    filter: brightness(1.03);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.88;
}

.submit-btn-loader {
    display: none;
    width: 22px;
    height: 22px;
    margin: 0 auto;
    border: 3px solid rgba(4, 61, 45, 0.2);
    border-top-color: #043d2d;
    border-radius: 50%;
    animation: contact-spin 0.7s linear infinite;
}

.submit-btn.is-loading .submit-btn-text {
    opacity: 0;
    position: absolute;
}

.submit-btn.is-loading .submit-btn-loader {
    display: block;
}

@keyframes contact-spin {
    to { transform: rotate(360deg); }
}

/* Success / feedback modal */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 24, 18, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.contact-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 40px 36px 36px;
    border-radius: 28px;
    background: linear-gradient(165deg, #ffffff 0%, #f4fff8 45%, #eefcf3 100%);
    border: 1px solid rgba(11, 93, 66, 0.12);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    text-align: center;
    transform: scale(0.94) translateY(16px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.contact-modal-overlay.is-open .contact-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.contact-modal-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 120%;
    height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(202, 255, 99, 0.35) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.9;
}

.contact-modal-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 28px;
}

.contact-modal-sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(202, 255, 99, 0.9);
    box-shadow: 0 0 10px rgba(202, 255, 99, 0.6);
    opacity: 0;
    animation: contact-sparkle 2.2s ease-in-out infinite;
}

.contact-modal-sparkles span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.contact-modal-sparkles span:nth-child(2) { top: 22%; right: 16%; animation-delay: 0.35s; }
.contact-modal-sparkles span:nth-child(3) { bottom: 28%; left: 20%; animation-delay: 0.7s; }
.contact-modal-sparkles span:nth-child(4) { bottom: 20%; right: 14%; animation-delay: 1s; }
.contact-modal-sparkles span:nth-child(5) { top: 45%; right: 10%; animation-delay: 1.4s; }

.contact-modal-overlay:not(.is-open) .contact-modal-sparkles span {
    animation: none;
    opacity: 0;
}

@keyframes contact-sparkle {
    0%, 100% { transform: translate(0, 0) scale(0.4); opacity: 0; }
    30% { opacity: 1; transform: translate(4px, -6px) scale(1); }
    70% { opacity: 0.8; transform: translate(-3px, 4px) scale(0.85); }
}

.contact-modal--enter .contact-modal-sub,
.contact-modal--enter .contact-modal-title,
.contact-modal--enter .contact-modal-desc {
    animation: contact-modal-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-modal--enter .contact-modal-sub { animation-delay: 0.05s; }
.contact-modal--enter .contact-modal-title { animation-delay: 0.12s; }
.contact-modal--enter .contact-modal-desc { animation-delay: 0.2s; }

@keyframes contact-modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-modal-sub {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 600;
    color: #0b5d42;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(4, 61, 45, 0.06);
    color: #043d2d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.contact-modal-close:hover {
    background: rgba(4, 61, 45, 0.12);
    transform: rotate(90deg);
}

.contact-modal-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0b5d42, #065a3a);
    color: #caff63;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 32px rgba(11, 93, 66, 0.35);
    animation: contact-modal-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.contact-modal-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(202, 255, 99, 0.45);
    animation: contact-modal-ring 1.6s ease-out infinite;
    pointer-events: none;
}

@keyframes contact-modal-ring {
    0% { transform: scale(0.92); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

@keyframes contact-modal-pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-modal-title {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    color: #022d1f;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.contact-modal-desc {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 26px;
}

.contact-modal-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #0b5d42, #043d2d);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease;
    box-shadow: 0 8px 24px rgba(11, 93, 66, 0.35);
}

.contact-modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 93, 66, 0.4);
    gap: 14px;
}

.contact-modal-cta i {
    font-size: 13px;
    opacity: 0.95;
}

.contact-form.contact-form--shake {
    animation: contact-shake 0.45s ease;
}

.contact-modal-icon.contact-modal-icon--error {
    background: linear-gradient(145deg, #b91c1c, #7f1d1d);
    color: #fecaca;
    box-shadow: 0 12px 32px rgba(185, 28, 28, 0.35);
}

.contact-modal-icon--error::after {
    display: none;
}

@keyframes contact-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 600px) {
    .contact-heading {
        font-size: 34px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


* {
  scroll-behavior: smooth;
}

.showcase-item,
.product-step,
.feature-card {
  will-change: transform, opacity;
}