/* ==========================================
   CSS VARIABLES
   ========================================== */

:root {
  --primary: #621c9f;
  --primary-dark: #2a0248;
  --secondary: #621c9f;
  --accent: #ec4899;
  --bottom-theme: linear-gradient(135deg, #621c9f, #2a0248, #621c9f);

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  --text-lable-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-lable-color: #1a1a1a;
  --dark-text: #120e17;
  --border-color: #e2e8f0;
  --hover-bg: #f9f1f1;

  --card-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);

  --input-bg-contact: #ffffff;
  --input-border: #e2e8f0;
  --input-focus-shadow: rgba(99, 102, 241, 0.1);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --shape-opacity: 0.1;
  --transition: all 0.3s ease;
  --contact-link: #8218ed;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --primary: #60ccec;
    --bg-primary: #1a1a1a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #1a1a1a;
    --dark-text: #f1f5f9;
    --text-lable-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-lable-color: #91a2ba;
    --border-color: #1a1a1a;
    --hover-bg: #1a1a1a;
    --card-bg: #242424;
    --card-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    --card-shadow-hover: 0 15px 40px rgba(255, 255, 255, 0.15);
    --input-bg-contact: #1a1a1a;
    --input-border: #1b1d20;
    --input-focus-shadow: rgba(195, 195, 230, 0.1);
  }
}

[data-theme="light"] {
  --primary: #621c9f;
  --primary-dark: #2a0248;
  --secondary: #621c9f;
  --accent: #ec4899;
  --bottom-theme: linear-gradient(135deg, #621c9f, #2a0248, #621c9f);
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-lable-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-lable-color: #1a1a1a;
  --dark-text: #120e17;
  --border-color: #e2e8f0;
  --hover-bg: #f9f1f1;
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
  --input-bg-contact: #ffffff;
  --input-border: #e2e8f0;
  --input-focus-shadow: rgba(99, 102, 241, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --shape-opacity: 0.1;
  --transition: all 0.3s ease;
  --contact-link: #8218ed;
}

[data-theme="dark"] {
  --primary: #60ccec;
  --bg-primary: #1a1a1a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #1a1a1a;
  --dark-text: #f1f5f9;
  --text-lable-primary: #e2e8f0;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-lable-color: #91a2ba;
  --border-color: #1a1a1a;
  --hover-bg: #1a1a1a;
  --card-bg: #242424;
  --card-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  --card-shadow-hover: 0 15px 40px rgba(255, 255, 255, 0.15);
  --input-bg-contact: #1a1a1a;
  --input-border: #1b1d20;
  --input-focus-shadow: rgba(195, 195, 230, 0.1);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
  background-color: var(--input-bg-contact);
  color: var(--text-color) !important;
  border: 2px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  background-color: var(--bg-secondary);
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ==========================================
   HERO
   ========================================== */
.privacy-hero {
  margin: 0px 0px 20px 0px;
}

/* ==========================================
   CONTACT LAYOUT — KEY FIX
   ========================================== */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px;
  align-items: stretch; /* Both columns stretch to same height */
}

.contact-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   CARD STYLES
   ========================================== */

/* Left card fills full height of column */
.contact-left .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  margin-bottom: 0;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  will-change: transform;
}

.contact-right .card {
  background: var(--card-bg);
  border-radius: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  margin-bottom: 0;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  will-change: transform;
}

.contact-left .card::before,
.contact-right .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bottom-theme);
  background-size: 300% 100%;
  animation: gradientFlow 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.contact-left .card:hover::before,
.contact-right .card:hover::before {
  opacity: 1;
}

.contact-left .card:hover,
.contact-right .card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 80px rgba(99, 102, 241, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(99, 102, 241, 0.25);
}

/* ==========================================
   CARD HEADER
   ========================================== */
.card-header-custom {
  background: var(--bottom-theme);
  padding: 22px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-header-custom::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.card-header-custom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.card-title-custom {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  animation: titleFadeIn 0.8s ease-out 0.2s both;
}

/* ==========================================
   CARD BODY — KEY FIX
   Form card-body expands to fill, textarea fills remaining space
   ========================================== */
.contact-left .card-body {
  padding: 22px 26px 24px;
  background: var(--card-bg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Form inside card-body also stretches */
.contact-left .card-body form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Textarea grows to fill leftover space */
.contact-left .card-body .form-group:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-left .card-body .form-group:last-of-type .form-control_contact {
  flex: 1;
  min-height: 80px;
  resize: none;
}

/* Submit button always at bottom */
.contact-left .card-body .btn-primary {
  margin-top: auto;
  flex-shrink: 0;
}

.contact-right .card-body {
  padding: 20px 24px;
  background: var(--card-bg);
}

/* ==========================================
   FORM ELEMENTS
   ========================================== */
.form-group {
  margin-bottom: 14px;
}

.form-label_contact {
  font-weight: 600;
  color: var(--text-lable-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 0.92rem;
}

.form-control_contact {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-lable-primary);
  border: 1.5px solid #6366f1;
  background: var(--input-bg-contact);
  box-shadow: 0px 0px 10px rgba(99, 102, 241, 0.35);
}

.form-control_contact:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 4px var(--input-focus-shadow);
  background: var(--input-bg-contact);
}

.form-control_contact::placeholder {
  color: var(--text-tertiary);
}

/* Custom Select */
.custom-select-wrapper {
  position: relative;
  margin-bottom: 0;
  box-shadow: 0px 0px 10px rgba(99, 102, 241, 0.35);
  border-radius: 10px;
}

.custom-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  appearance: none;
  background: var(--input-bg-contact);
  color: var(--text-lable-primary);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid #6366f1;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--input-focus-shadow);
}

.custom-select option {
  background: var(--bg-primary) !important;
  color: var(--text-tertiary) !important;
  padding: 10px;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-secondary);
  transition: var(--transition);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background: var(--bottom-theme) !important;
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ==========================================
   CONTACT INFORMATION ITEMS
   ========================================== */
.contact-item-enhanced {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.03) 0%,
    rgba(139, 92, 246, 0.02) 100%
  );
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(99, 102, 241, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: itemSlideIn 0.6s ease-out backwards;
}

.contact-item-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.08),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.contact-item-enhanced:hover::before {
  left: 100%;
}

.contact-item-enhanced::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--bottom-theme);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-item-enhanced:hover {
  transform: translateX(10px) scale(1.01);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  box-shadow:
    0 10px 28px rgba(99, 102, 241, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
}

.contact-item-enhanced:hover::after {
  opacity: 1;
}

.contact-item-enhanced:active {
  transform: translateX(6px) scale(0.98);
}

/* ==========================================
   ICON WRAPPER
   ========================================== */
.contact-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
  pointer-events: none;
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  will-change: transform;
}

.contact-icon-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  background: inherit;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.contact-item-enhanced:hover .contact-icon-wrapper {
  transform: scale(1.12) rotate(-5deg);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-item-enhanced:hover .contact-icon-wrapper::before {
  opacity: 0.55;
}

.email-icon {
  background: var(--bottom-theme);
}

.phone-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

.address-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
}

/* ==========================================
   CONTACT DETAILS
   ========================================== */
.contact-details {
  flex: 1;
  min-width: 0;
  pointer-events: none;
}

.contact-details a,
.contact-details p {
  pointer-events: auto;
}

.contact-label {
  font-weight: 700;
  color: var(--text-lable-primary);
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.contact-item-enhanced:hover .contact-label {
  color: #6366f1;
}

.contact-details p {
  color: var(--text-lable-primary);
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
}

/* ==========================================
   CONTACT LINKS
   ========================================== */
.contact-link {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  padding: 3px 0;
  position: relative;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
  -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.contact-link:hover {
  color: #4f46e5;
  transform: translateX(4px);
  text-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.contact-link:hover::after {
  width: 100%;
}

.contact-link:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

.response-time {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.response-time::before {
  content: "⚡";
  font-size: 0.82rem;
}

.contact-item-enhanced:hover .response-time {
  color: var(--text-lable-primary);
}

.contact-item-enhanced:hover .contact-details p {
  color: var(--text-secondary);
}

/* ==========================================
   POINTER EVENTS — overlays must not block clicks
   ========================================== */
.contact-item-enhanced::before,
.contact-item-enhanced::after {
  pointer-events: none !important;
}

.contact-item-enhanced {
  pointer-events: auto;
}

.card::before,
.card::after,
.card-header-custom::before,
.card-header-custom::after {
  pointer-events: none !important;
}

/* ==========================================
   SOCIAL MEDIA CARD
   ========================================== */
div.social-media-card {
  background: var(--card-bg);
  border-radius: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  margin-top: 16px;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  will-change: transform;
}

div.social-media-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bottom-theme);
  background-size: 300% 100%;
  animation: gradientFlow 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

div.social-media-card:hover::before {
  opacity: 1;
}

div.social-media-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 80px rgba(99, 102, 241, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(99, 102, 241, 0.25);
}

.social-header {
  background: var(--bottom-theme);
  padding: 22px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.social-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.social-media-body {
  padding: 16px 24px 20px;
  text-align: center;
  background: var(--card-bg);
  position: relative;
}

.social-description {
  color: var(--text-secondary);
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 16px;
  margin-top: 4px;
}

.social-links-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  pointer-events: none;
}

.social-links-grid a {
  pointer-events: auto !important;
}

.social-link {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
  -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
  z-index: 100 !important;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  will-change: transform;
}

.social-link::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  background: inherit;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.social-link:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.social-link:hover::before {
  opacity: 0.6;
}

.social-link:active {
  transform: scale(0.98);
}

.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d5fd1 50%, #0a4fb5 100%);
}

.twitter {
  background: linear-gradient(135deg, #000000 0%, #0c0c0c 50%, #131313 100%);
}

.instagram {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e1306c 30%,
    #833ab4 70%,
    #fd5949 100%
  );
}

.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #036197 50%, #025178 100%);
}

/* ==========================================
   RIPPLE
   ========================================== */
.ripple-btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.ripple-btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.ripple-btn:active::after {
  animation: rippleUltra 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rippleUltra {
  0% {
    transform: scale(0);
    opacity: 0.7;
    filter: blur(0px);
  }
  50% {
    transform: scale(35);
    opacity: 0.35;
    filter: blur(4px);
  }
  100% {
    transform: scale(75);
    opacity: 0;
    filter: blur(8px);
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes itemSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================
   DARK MODE ENHANCEMENTS
   ========================================== */
@media (prefers-color-scheme: dark) {
  .contact-left .card:hover,
  .contact-right .card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  }

  .form-control_contact,
  .custom-select {
    border-color: #475569;
    color: var(--text-tertiary);
  }

  .form-control_contact:hover,
  .custom-select:hover {
    border-color: #64748b;
  }

  .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
  }

  .social-link:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.form-control_contact:focus-visible,
.custom-select:focus-visible,
.btn-primary:focus-visible,
.contact-link:focus-visible,
.social-link:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.contact-item-enhanced:focus-within {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow:
    0 12px 32px rgba(99, 102, 241, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   RESPONSIVE — Large Desktop (1440px+)
   ========================================== */
@media (min-width: 1440px) {
  .contact-row {
    gap: 28px;
    margin: 24px;
  }

  .card-header-custom,
  .social-header {
    padding: 24px 32px;
  }

  .card-title-custom {
    font-size: 1.5rem;
  }

  .contact-left .card-body {
    padding: 26px 30px 28px;
  }

  .contact-right .card-body {
    padding: 22px 28px;
  }

  .contact-item-enhanced {
    padding: 18px 20px;
  }

  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .form-control_contact,
  .custom-select {
    padding: 13px 15px;
    font-size: 1rem;
  }
}

/* ==========================================
   RESPONSIVE — Standard Desktop (1024px–1439px)
   ========================================== */
@media (min-width: 1024px) and (max-width: 1439px) {
  .contact-row {
    gap: 24px;
    margin: 20px;
  }

  .card-header-custom,
  .social-header {
    padding: 20px 26px;
  }

  .card-title-custom {
    font-size: 1.35rem;
  }

  .contact-left .card-body {
    padding: 20px 24px 22px;
  }

  .contact-right .card-body {
    padding: 18px 22px;
  }

  .contact-icon-wrapper {
    width: 54px;
    height: 54px;
    font-size: 21px;
    margin-right: 14px;
  }

  .form-control_contact,
  .custom-select {
    padding: 11px 13px;
    font-size: 0.94rem;
  }

  .form-group {
    margin-bottom: 12px;
  }
}

/* ==========================================
   RESPONSIVE — Tablet Landscape (768px–1023px)
   ========================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .privacy-hero {
    margin: -10px 0px 0px -30px;
    padding: 45px 20px;
  }

  .contact-row {
    gap: 20px;
    margin: 16px;
  }

  .card-header-custom,
  .social-header {
    padding: 18px 22px;
  }

  .card-title-custom {
    font-size: 1.25rem;
    gap: 10px;
  }

  .contact-left .card-body {
    padding: 18px 20px 20px;
  }

  .contact-right .card-body {
    padding: 16px 18px;
  }

  .contact-item-enhanced {
    padding: 14px 14px;
    margin-bottom: 8px;
  }

  .contact-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-right: 13px;
    border-radius: 14px;
  }

  .contact-label {
    font-size: 0.95rem;
  }

  .contact-link {
    font-size: 0.93rem;
  }

  .form-control_contact,
  .custom-select {
    padding: 10px 12px;
    font-size: 0.92rem;
    border-radius: 9px;
  }

  .form-group {
    margin-bottom: 11px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 0.93rem;
  }

  .social-link {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .social-media-body {
    padding: 14px 18px 18px;
  }

  .social-description {
    font-size: 0.96rem;
  }

  div.social-media-card {
    margin-top: 14px;
  }
}

/* ==========================================
   RESPONSIVE — Tablet Portrait (600px–767px)
   ========================================== */
@media (min-width: 600px) and (max-width: 767px) {
  .privacy-hero {
    margin: -10px -25px 0px -25px;
    padding: 40px 20px;
  }

  .contact-row {
    flex-direction: column;
    gap: 16px;
    margin: 14px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    min-width: 100%;
  }

  /* In single column, left card no longer needs to stretch to right */
  .contact-left .card {
    flex: none;
  }

  .card-header-custom,
  .social-header {
    padding: 18px 22px;
  }

  .card-title-custom {
    font-size: 1.2rem;
    gap: 10px;
  }

  .contact-left .card-body {
    padding: 18px 20px 20px;
  }

  .contact-right .card-body {
    padding: 16px 18px;
  }

  .contact-item-enhanced {
    padding: 14px 16px;
    margin-bottom: 8px;
  }

  .contact-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-right: 13px;
  }

  .form-control_contact,
  .custom-select {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .form-group {
    margin-bottom: 11px;
  }

  .btn-primary {
    padding: 12px 22px;
    font-size: 0.93rem;
  }

  .social-link {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .social-media-body {
    padding: 14px 18px 18px;
  }

  div.social-media-card {
    margin-top: 14px;
  }
}

/* ==========================================
   RESPONSIVE — Large Mobile (480px–599px)
   ========================================== */
@media (min-width: 480px) and (max-width: 599px) {
  .privacy-hero {
    margin: -10px -20px 0px -20px;
    padding: 35px 15px;
  }

  .contact-row {
    flex-direction: column;
    gap: 14px;
    margin: 12px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    min-width: 100%;
  }

  .contact-left .card {
    flex: none;
  }

  .card {
    border-radius: 18px;
  }

  .card-header-custom,
  .social-header {
    padding: 16px 20px;
  }

  .card-title-custom {
    font-size: 1.12rem;
    gap: 9px;
  }

  .contact-left .card-body {
    padding: 16px 18px 18px;
  }

  .contact-right .card-body {
    padding: 14px 16px;
  }

  .contact-item-enhanced {
    padding: 13px 14px;
    margin-bottom: 8px;
    border-radius: 13px;
  }

  .contact-icon-wrapper {
    width: 46px;
    height: 46px;
    font-size: 19px;
    margin-right: 12px;
    border-radius: 12px;
  }

  .contact-label {
    font-size: 0.92rem;
  }

  .contact-link {
    font-size: 0.9rem;
  }

  .form-control_contact,
  .custom-select {
    padding: 10px 12px;
    font-size: 0.91rem;
    border-radius: 9px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .btn-primary {
    padding: 11px 20px;
    font-size: 0.91rem;
    border-radius: 10px;
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 17px;
    border-radius: 13px;
  }

  .social-links-grid {
    gap: 14px;
  }

  .social-media-body {
    padding: 12px 16px 16px;
  }

  .social-description {
    font-size: 0.92rem;
    margin-bottom: 12px;
  }

  div.social-media-card {
    margin-top: 12px;
    border-radius: 18px;
  }

  .response-time {
    font-size: 0.82rem;
  }
}

/* ==========================================
   RESPONSIVE — Standard Mobile (375px–479px)
   ========================================== */
@media (min-width: 375px) and (max-width: 479px) {
  .privacy-hero {
    margin: -10px -15px 0px -15px;
    padding: 30px 12px;
  }

  .contact-row {
    flex-direction: column;
    gap: 12px;
    margin: 10px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    min-width: 100%;
  }

  .contact-left .card {
    flex: none;
  }

  .card {
    border-radius: 16px;
    margin-bottom: 0;
  }

  .card-header-custom,
  .social-header {
    padding: 15px 18px;
  }

  .card-title-custom {
    font-size: 1.08rem;
    gap: 8px;
  }

  .contact-left .card-body {
    padding: 14px 16px 16px;
  }

  .contact-right .card-body {
    padding: 12px 14px;
  }

  .contact-item-enhanced {
    padding: 12px 13px;
    margin-bottom: 8px;
    border-radius: 12px;
  }

  .contact-item-enhanced:hover {
    transform: translateX(7px) scale(1.01);
  }

  .contact-icon-wrapper {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin-right: 11px;
    border-radius: 11px;
  }

  .contact-label {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .contact-link {
    font-size: 0.88rem;
  }

  .form-label_contact {
    font-size: 0.88rem;
    margin-bottom: 6px;
  }

  .form-control_contact,
  .custom-select {
    padding: 9px 11px;
    font-size: 0.89rem;
    border-radius: 8px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .btn-primary {
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 9px;
  }

  .social-link {
    width: 42px;
    height: 42px;
    font-size: 16px;
    border-radius: 12px;
  }

  .social-link:hover {
    transform: translateY(-5px) scale(1.1) rotate(2deg);
  }

  .social-links-grid {
    gap: 13px;
  }

  .social-media-body {
    padding: 10px 14px 14px;
  }

  .social-description {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  div.social-media-card {
    margin-top: 12px;
    border-radius: 16px;
  }

  .response-time {
    font-size: 0.8rem;
  }
}

/* ==========================================
   RESPONSIVE — Small Mobile (360px–374px)
   ========================================== */
@media (min-width: 360px) and (max-width: 374px) {
  .privacy-hero {
    margin: -10px -12px 0px -12px;
    padding: 28px 10px;
  }

  .contact-row {
    flex-direction: column;
    gap: 11px;
    margin: 8px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    min-width: 100%;
  }

  .contact-left .card {
    flex: none;
  }

  .card {
    border-radius: 15px;
    margin-bottom: 0;
  }

  .card-header-custom,
  .social-header {
    padding: 14px 16px;
  }

  .card-title-custom {
    font-size: 1.04rem;
    gap: 8px;
  }

  .contact-left .card-body {
    padding: 13px 15px 15px;
  }

  .contact-right .card-body {
    padding: 11px 13px;
  }

  .contact-item-enhanced {
    padding: 11px 12px;
    margin-bottom: 7px;
    border-radius: 11px;
  }

  .contact-item-enhanced:hover {
    transform: translateX(6px) scale(1.008);
  }

  .contact-icon-wrapper {
    width: 42px;
    height: 42px;
    font-size: 17px;
    margin-right: 10px;
    border-radius: 10px;
  }

  .contact-label {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .contact-link {
    font-size: 0.86rem;
  }

  .form-label_contact {
    font-size: 0.87rem;
    margin-bottom: 5px;
  }

  .form-control_contact,
  .custom-select {
    padding: 9px 10px;
    font-size: 0.87rem;
    border-radius: 8px;
  }

  .form-group {
    margin-bottom: 9px;
  }

  .custom-select-wrapper {
    border-radius: 8px;
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 0.88rem;
    border-radius: 9px;
    gap: 8px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 15px;
    border-radius: 11px;
  }

  .social-link:hover {
    transform: translateY(-4px) scale(1.08) rotate(2deg);
  }

  .social-links-grid {
    gap: 12px;
  }

  .social-media-body {
    padding: 9px 13px 13px;
  }

  .social-description {
    font-size: 0.88rem;
    margin-bottom: 9px;
  }

  div.social-media-card {
    margin-top: 11px;
    border-radius: 15px;
  }

  .response-time {
    font-size: 0.78rem;
  }

  .select-arrow {
    right: 11px;
    font-size: 0.82rem;
  }
}

/* ==========================================
   RESPONSIVE — Extra Small Mobile (max 359px)
   ========================================== */
@media (max-width: 359px) {
  .privacy-hero {
    margin: -10px -10px 0px -10px;
    padding: 25px 8px;
  }

  .contact-row {
    flex-direction: column;
    gap: 10px;
    margin: 6px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    min-width: 100%;
  }

  .contact-left .card {
    flex: none;
  }

  .card {
    border-radius: 14px;
    margin-bottom: 0;
  }

  .card-header-custom,
  .social-header {
    padding: 13px 15px;
  }

  .card-title-custom {
    font-size: 1rem;
    gap: 7px;
    flex-wrap: wrap;
  }

  .contact-left .card-body {
    padding: 12px 14px 14px;
  }

  .contact-right .card-body {
    padding: 10px 12px;
  }

  .contact-item-enhanced {
    padding: 10px 11px;
    margin-bottom: 7px;
    border-radius: 10px;
  }

  .contact-item-enhanced:hover {
    transform: translateX(5px) scale(1.006);
  }

  .contact-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 10px;
  }

  .contact-label {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }

  .contact-link {
    font-size: 0.84rem;
    gap: 5px;
  }

  .contact-details p {
    font-size: 0.74rem;
  }

  .form-label_contact {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .form-control_contact,
  .custom-select {
    padding: 8px 10px;
    font-size: 0.85rem;
    border-radius: 7px;
  }

  .form-group {
    margin-bottom: 8px;
  }

  .custom-select-wrapper {
    border-radius: 7px;
  }

  .btn-primary {
    padding: 9px 15px;
    font-size: 0.86rem;
    border-radius: 8px;
    gap: 7px;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 14px;
    border-radius: 10px;
  }

  .social-link:hover {
    transform: translateY(-4px) scale(1.06) rotate(1deg);
  }

  .social-links-grid {
    gap: 11px;
  }

  .social-media-body {
    padding: 8px 12px 12px;
  }

  .social-description {
    font-size: 0.86rem;
    margin-bottom: 8px;
  }

  div.social-media-card {
    margin-top: 10px;
    border-radius: 14px;
  }

  .response-time {
    font-size: 0.76rem;
  }

  .select-arrow {
    right: 10px;
    font-size: 0.8rem;
  }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .privacy-hero {
    background: none;
    color: black;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .btn-primary,
  .social-links-grid {
    display: none;
  }
}
