/* ====================== VARIABLES ====================== */
:root {
  /* Colors */
  --snet-primary: #3b82f6;
  --snet-primary-dark: #1d4ed8;
  --snet-success: #25d366;
  --snet-text-light: #e0f2fe;
  --snet-bg-dark: #0f172a;
  --snet-bg-light: #f8fafc;
  --snet-border: #e2e8f0;

  /* Shadows */
  --snet-shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.1);
  --snet-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Radius */
  --snet-radius-sm: 6px;
  --snet-radius: 8px;
  --snet-radius-lg: 12px;

  /* Typography */
  --font-base: "Inter", sans-serif;
  --fs-sm: clamp(12px, 1.5vw, 14px);
  --fs-md: clamp(14px, 2vw, 16px);
  --fs-lg: clamp(1rem, 2vw, 1.2rem);
  --fs-xl: clamp(1.8rem, 4vw, 2.6rem);
}

/* ====================== UTILITIES ====================== */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap-gap {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 30px);
  justify-content: center;
  align-items: stretch;
}

.shadow-sm {
  box-shadow: var(--snet-shadow-sm);
}

.shadow-lg {
  box-shadow: var(--snet-shadow);
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--snet-text-light);
}

/* ====================== ACCESSIBILITY ====================== */
:focus {
  outline: 2px solid var(--snet-primary);
  outline-offset: 2px;
}

/* ====================== ANIMATIONS ====================== */
@keyframes snet-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25%,
  75% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================== HERO ====================== */
.snet-contact-hero .snet-contact-hero-section {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 65vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
    background:
    linear-gradient(
        to right,
        var(--contact-hero-overlay),
        var(--contact-hero-overlay)
    ),
    var(--contact-hero-bg);  
  background-position: var(--contact-hero-position, center center);
  background-size: var(--contact-hero-size, cover);
  overflow: hidden;
}

.snet-contact-hero .snet-contact-hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.snet-contact-hero h1 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  color: aliceblue;
}
 
.snet-contact-hero p {
  font-size: var(--fs-lg);
  opacity: 0.9;
}

/* ====================== MAIN SCOPE ====================== */
.snet-contact-scope {
  font-family: var(--font-base);
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: clamp(16px, 4vw, 40px) 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}

.snet-contact-scope .contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: clamp(320px, 95%, 1240px);
  margin: 0 auto;
}

/* ====================== CONTAINER ====================== */
.snet-contact-scope .contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--snet-radius-lg);
  overflow: hidden;
  box-shadow: var(--snet-shadow);
}

/* ====================== FORM ====================== */
.snet-contact-scope .contact-form,
.snet-contact-scope .contact-info {
  padding: clamp(24px, 4vw, 40px);
}

.snet-contact-scope .contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.snet-contact-scope .contact-form h2,
.snet-contact-scope h2 {
  font-size: clamp(22px, 2.5vw, 26px);
  margin-bottom: 0;
}

.snet-contact-scope .subtitle {
  font-size: var(--fs-sm);
  margin-bottom: clamp(4px, 1vw, 6px);
}

/* ====================== INPUTS + LABELS ====================== */
.snet-contact-scope .input-group,
.input-group {
  position: relative;
}

.snet-contact-scope .input-group {
  margin-bottom: 16px;
}

.snet-contact-scope .input-group input,
.snet-contact-scope .input-group textarea,
.snet-contact-scope .input-group select {
  width: 100%;
  padding: 22px 14px 12px;
  border: 1px solid var(--snet-border);
  border-radius: var(--snet-radius);
  background: #f1f5f9;
  font-size: var(--fs-md);
  outline: none;
  transition: all 0.2s ease;
  appearance: none;
}

.snet-contact-scope .input-group textarea {
  height: 90px;
  resize: none;
  color: #334155;
  padding-top: 20px;
}

.snet-contact-scope .input-group select {
  padding-right: 40px;
}
/* ====================== FLOATING LABEL ====================== */

.snet-contact-scope .input-group label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 0 4px;
  color: #64748b;
  font-size: clamp(12px, 1.6vw, 14px);
  pointer-events: none;
  transition: all 0.25s ease;
  transform-origin: left top;
  background: #f1f5f9;
}

/* Floating label */
.snet-contact-scope
  .input-group:has(input:focus, textarea:focus, select:focus)
  label,
.snet-contact-scope
  .input-group:has(
    input:not(:placeholder-shown),
    textarea:not(:placeholder-shown),
    select:valid
  )
  label {
  transform: translateY(-18px) scale(0.82);
  color: var(--snet-primary);
}

/* Focus state */
.snet-contact-scope .input-group input:focus,
.snet-contact-scope .input-group textarea:focus,
.snet-contact-scope .input-group select:focus {
  background: var(--snet-bg-light);
  border-color: var(--snet-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

/* Select arrow */
.snet-contact-scope .input-group:has(select)::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 40%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364758b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat center;
}

/* ====================== PHONE HINT ====================== */
.input-group .input-hint {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-top: 0;
  padding: 0 12px;

  max-height: 0;
  overflow: hidden;

  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid transparent;

  color: #475569;
  font-size: 13px;
  line-height: 1.4;

  opacity: 0;
  transform: translateY(-4px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    max-height 0.2s ease,
    padding 0.2s ease,
    margin-top 0.2s ease,
    border-color 0.2s ease;
}

/* Icon */
.input-group .input-hint::before {
  content: "\260E";
  font-size: 14px;
  color: var(--snet-primary);
  flex-shrink: 0;
  margin-right: 6px;
}


/* Only while focused */
.input-group:has(input:focus) .input-hint {
  opacity: 1;
  transform: translateY(0);

  max-height: 60px;
  margin-top: 8px;
  padding: 10px 12px;

  border-color: rgba(59, 130, 246, 0.18);
}

/* Error state */
.input-group.error .input-hint {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
  color: #b91c1c;
}

.input-group input:focus ~ .input-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Error state */
.input-group.error input,
.input-group.error textarea,
.input-group.error select {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.input-group.error label {
  color: #ef4444 !important;
}

/* ====================== FORM LOGO ====================== */
.snet-contact-scope .form-logo {
  margin: 20px auto 0;
  max-width: 140px;
  text-align: center;
}

.snet-contact-scope .form-logo img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.snet-contact-scope .form-logo img:hover {
  opacity: 1;
}

/* ====================== BUTTONS ====================== */
.snet-contact-scope .button-group {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 10px);
  width: 100%;
  margin-top: clamp(8px, 2vw, 10px);
}

.snet-contact-scope .btn {
  width: 100%;
  padding: clamp(12px, 2.5vw, 14px);
  border-radius: var(--snet-radius-sm);
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 8px);
  font-size: var(--fs-md);
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.snet-contact-scope .btn i {
  flex-shrink: 0;
}

.snet-contact-scope .btn-submit {
  background: linear-gradient(
    135deg,
    #2563eb,
    var(--snet-primary-dark)
  );
  color: #fff;
  border: none;
}

.snet-contact-scope .btn-submit:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.snet-contact-scope .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.snet-contact-scope .btn-submit.loading {
  position: relative;
  pointer-events: none;
}

.snet-contact-scope .btn-submit.loading::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: middle;
  animation: snet-spin 0.8s linear infinite;
}

.snet-contact-scope .btn-submit.success .form__btn--invisible {
  display: inline;
  color: #fff;
  font-weight: 600;
}

.snet-contact-scope .btn-submit.success .btn-text {
  display: none;
}

.snet-contact-scope .btn-submit.error .btn-text {
  color: #f87171;
}

.snet-contact-scope .btn-submit.shake {
  animation: shake 0.5s;
}

.snet-contact-scope .form__btn--invisible {
  display: none;
}

/* WhatsApp */
.snet-contact-scope .whatsapp-btn {
  background: var(--snet-success);
  color: #fff;
  text-decoration: none;
}

.snet-contact-scope .whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* ====================== CONTACT INFO ====================== */
.snet-contact-scope .contact-info {
  background: var(--snet-bg-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snet-contact-scope .contact-info-heading,
.snet-contact-scope .why-heading {
  margin: clamp(16px, 2vw, 20px) 0 clamp(12px, 2vw, 15px);
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  color: aqua;
  text-align: center;
}

/* ====================== INFO CARDS ====================== */
.snet-contact-scope .info-card-group,
.snet-contact-scope .get-in-touch-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.snet-contact-scope .info-card-group {
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.snet-contact-scope .get-in-touch-grid {
  gap: clamp(16px, 3vw, 30px);
}

.snet-contact-scope .get-in-touch-grid > .info-card {
  width: 100%;
  max-width: 520px;
}

.snet-contact-scope .info-card-group.location-group {
  flex-direction: column;
  align-items: center;
}

.snet-contact-scope .info-card-group.location-group .info-card {
  flex: 1 1 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.12);
}

.snet-contact-scope .info-card-group.contact-group .info-card {
  flex: 1 1 160px;
  max-width: 220px;
}

/* ====================== DUAL SECTION ====================== */
.snet-contact-scope .info-card.dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 24px);
  border-radius: clamp(12px, 2vw, 16px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.snet-contact-scope .info-card.dual-section:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--snet-primary);
}

.snet-contact-scope .dual-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  min-height: 110px;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.snet-contact-scope .info-card.dual-section:has(.dual-block:only-child) {
  display: flex;
  justify-content: center;
}

.snet-contact-scope
  .info-card.dual-section:has(.dual-block:only-child)
  .dual-block {
  flex: 1 1 100%;
}

/* ====================== ICONS ====================== */
.contact-section .info-card i {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #68a4c4;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #a2cce3;
  margin-bottom: 8px;
}

/* ====================== INFO TEXT ====================== */
.snet-contact-scope .info-card h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6em;
  margin: 0;
  color: var(--snet-text-light);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.3;
}

.snet-contact-scope .info-card p,
.snet-contact-scope .info-card p a {
  text-align: center;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.snet-contact-scope .info-card p a {
  color: #68a4c4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.snet-contact-scope .info-card p a:hover,
.snet-contact-scope .info-card p a:focus {
  color: #a2cce3;
}

.snet-contact-scope .empty-block {
  visibility: hidden;
}

/* ====================== WHY LIST ====================== */
.snet-contact-scope .why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(12px, 3vw, 20px);
  justify-items: center;
}

.snet-contact-scope .why-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(6px, 2vw, 8px);
  max-width: clamp(120px, 20vw, 160px);
  text-align: center;
}

.snet-contact-scope .why-list li i {
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: #00c2ff;
  margin-bottom: 4px; /* keeps icon and text visually aligned */
}

.snet-contact-scope .why-list li span {
  color: rgba(0,194,255,0.85); /* softer cyan for harmony */
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08); /* subtle depth */
}

.snet-contact-scope .why-list li:hover span {
  color: #0f5ea8; /* brand-aligned hover accent */
  transition: color 0.3s ease;
}

/* ====================== TRUST ====================== */
.snet-contact-scope .trust,
.snet-contact-scope .form-fineprint {
  font-size: 12px;
  color: #666;
  text-align: center;
}

.snet-contact-scope .trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0;
}

.snet-contact-scope .trust-item,
.snet-contact-scope .trust div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ====================== PACKAGE CONTEXT ====================== */
.package-context {
  margin: clamp(16px, 3vw, 24px) 0;
  padding: clamp(14px, 3vw, 20px)
    clamp(16px, 3vw, 24px);
  background-color: #f8fafc;
  border-left: 5px solid var(--snet-primary);
  border-radius: var(--snet-radius-sm);
  box-shadow: var(--snet-shadow-sm);
  color: #334155;
}

.package-context strong:first-child {
  display: block;
  margin-bottom: clamp(10px, 2vw, 14px);
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--snet-primary-dark);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: clamp(12px, 2.5vw, 20px);
  width: 100%;
}

.package-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.package-item .label {
  font-size: clamp(12px, 1.6vw, 13.5px);
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.package-item .value {
  font-size: clamp(15px, 2.1vw, 16.5px);
  font-weight: 600;
  line-height: 1.3;
  color: #1e40af;
}

/* ====================== FORM MESSAGES ====================== */
.form-message {
  width: 100%;
  margin: 18px 0 12px;
  padding: 16px 20px;
  border: 1px solid;
  border-radius: var(--snet-radius);
  box-sizing: border-box;
  font-size: var(--fs-md);
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.35s ease forwards;
}

.form-message.success {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.35);
}

.form-message.error {
  background: rgba(248, 113, 113, 0.1);
  color: #ef4444;
  border-color: rgba(248, 113, 113, 0.3);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 991px) {
  .snet-contact-scope .form-logo {
    display: none;
  }
}

@media (max-width: 768px) {
  .snet-contact-scope .input-group input,
  .snet-contact-scope .input-group textarea,
  .snet-contact-scope .input-group select {
    padding-top: 20px;
    font-size: 16px;
  }

  .snet-contact-scope .input-group label {
    top: 13px;
    font-size: 13.5px;
  }

  .snet-contact-scope
    .input-group:has(input:focus, textarea:focus, select:focus)
    label,
  .snet-contact-scope
    .input-group:has(
      input:not(:placeholder-shown),
      textarea:not(:placeholder-shown),
      select:valid
    )
    label {
    transform: translateY(-16px) scale(0.78);
  }
}

@media (max-width: 600px) {
  .snet-contact-scope .info-card.dual-section {
    grid-template-columns: 1fr;
  }

  .snet-contact-scope .empty-block {
    display: none;
  }
}

@media (max-width: 480px) {
  .snet-contact-scope .input-group input,
  .snet-contact-scope .input-group textarea,
  .snet-contact-scope .input-group select {
    padding: 18px 14px 10px;
  }

  .snet-contact-scope .input-group label {
    top: 12px;
    left: 13px;
  }
}

@media (min-width: 576px) {
  .snet-contact-scope .contact-form,
  .snet-contact-scope .contact-info {
    padding: 32px 24px;
  }
}

@media (min-width: 768px) {
  .snet-contact-scope .contact-container {
    grid-template-columns: 1fr 1.12fr;
    gap: 2.5rem;
  }

  .snet-contact-scope .button-group {
    flex-direction: row;
    justify-content: center;
  }

  .snet-contact-scope .btn {
    flex: 1 1 auto;
    max-width: 230px;
    height: 48px;
  }

  .snet-contact-scope .contact-form h2 {
    text-align: left;
  }

  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .snet-contact-scope .contact-container {
    grid-template-columns: 1fr;
  }

  .snet-contact-scope .get-in-touch-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 992px) {
  .snet-contact-scope .contact-container {
    gap: 3rem;
  }
}

@media (min-width: 1200px) {
  .snet-contact-scope .contact-container {
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
  }

  .snet-contact-scope .contact-form,
  .snet-contact-scope .contact-info {
    padding: 48px 44px;
  }
}
/* ====================== SMALL MOBILE SAFETY NET ====================== */
@media (max-width: 360px) {
  .snet-contact-scope {
    padding: 12px 0;
  }

  .snet-contact-scope .contact-form,
  .snet-contact-scope .contact-info {
    padding: 18px 14px;
  }

  .snet-contact-scope .btn {
    font-size: 14px;
    padding: 12px;
  }

  .snet-contact-scope h1 {
    font-size: 1.4rem;
  }

  .snet-contact-scope .info-card {
    padding: 12px;
  }
}