

/* Gradient Color Variables */
:root {
  --purple-main: #a855f7;
  --pink-main: #ec4899;
  --gradient-bg: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --gradient-shadow: rgba(168, 85, 247, 0.4);
}

/* Background and Header Section (UPDATED) */
.contact-hero {
  /* CHANGED: Use a vibrant linear gradient from pink to purple, matching the image */
  background: linear-gradient(
    90deg,
    var(--pink-main) 0%,
    var(--purple-main) 100%
  );
  /* Note: I used 90deg (left-to-right) for the gradient direction based on the image, 
           and swapped the colors to match the image's pink (left) to purple (right) flow. */

  padding-top: 5rem;
  padding-bottom: 2rem;
  /* The border radius for the bottom edge is kept for the curve effect */
  border-radius: 2px 2px 2px 2px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Gradient Title Fix (UPDATED) --- */
.contact-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0;
  text-align: center;
}

.contact-title-text {
  /* CHANGED: Text color must be white (#fff) as it's sitting on a dark background */
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  /* Standard property */
  line-height: 1;
  /* Removing gradient clip to make the text solid white */
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* The rest of the CSS remains the same... */

/* --- Brand/Creator Toggle Tabs (UPDATED FOR LONGER LOOK) --- */
.contact-tabs {
  /* Increased max-width to make the tabs longer on desktop/tablet */
  max-width: 450px;
  width: 100%;
  /* Important for centering and responsiveness */
  border: 1px solid #ddd;
  border-radius: 10px;
  /* Kept highly rounded container */
  padding: 6px;
  /* Slightly increased padding inside the container */
  display: inline-flex;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.09);

  /* Added for better centering control on smaller screens if max-width is hit */
  justify-content: space-around;
}

.contact-tab-btn {
  /* Increased horizontal padding for a longer feel */
  padding: 12px 45px;
  border: none;
  background: transparent;
  color: #555;
  font-weight: 600;
  /* Slightly more rounded border for a softer look */
  border-radius: 10px;
  transition: all 0.3s ease;
  /* Allow buttons to take up equal space inside the max-width container */
  flex-grow: 1;
  min-width: unset;
  /* Override previous min-width */
}

.contact-tab-btn.active {
  color: #fff;
  background: var(--gradient-bg);
  box-shadow: 0 4px 15px var(--gradient-shadow);
  font-weight: 700;
  /* Made active text bolder */
}

/* --- END UPDATED TAB STYLING --- */

/* --- Form Styling & Buttons (INCREASED SIZE & SPACING) --- */
.form-control,
.form-select {
  border-radius: 12px;
  padding: 14px 18px;
  /* INCREASED PADDING for larger fields */
  border-color: #eee;
  transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--purple-main);
  box-shadow: 0 0 0 0.25rem rgba(168, 85, 247, 0.25);
}

/* NEW: Increased vertical margin for form elements for better spacing */
.form-group-increased-mb {
  margin-bottom: 25px !important;
}

/* Gradient Submit Button */
.btn-gradient-fill {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  background: var(--gradient-bg);
  transition: opacity 0.3s;
  box-shadow: 0 5px 20px var(--gradient-shadow);
}

.btn-gradient-fill:hover {
  opacity: 0.9;
  color: #fff;
}

/* Whatsapp Chat Button - Gradient Fill */
.btn-whatsapp-gradient {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #8a2be2, #ee82ee);
  /* Slightly different gradient for contrast */
  box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

.btn-whatsapp-gradient:hover {
  opacity: 0.9;
  color: #fff;
}

/* --- Info Cards & Accordion --- */
/* NEW: Card style for the form section (matching info-card) */
.form-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.info-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-icon {
  background: var(--gradient-bg);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}

/* Accordion Styling */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.accordion-button:not(.collapsed) {
  color: var(--purple-main);
  background-color: rgba(168, 85, 247, 0.05);
  /* Light purple background for open state */
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  font-weight: 600;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(168, 85, 247, 0.25);
}

.accordion-header {
  border-radius: 12px;
}

.accordion-body {
  font-size: 0.95rem;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  /* On medium screens and below, let the tabs use more width */
  .contact-tabs {
    max-width: 90%;
    width: 100%;
    margin-bottom: 2rem;
  }

  .contact-tab-btn {
    /* Reduced padding for better fit on small screens, still wider than before */
    padding: 12px 15px;
    min-width: unset;
  }

  .contact-hero {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  .info-card,
  .form-card {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 576px) {
  .contact-tabs {
    padding: 4px;
  }

  .contact-tab-btn {
    padding: 12px 10px;
    font-size: 1rem;
    /* Slightly increased font size for visibility */
  }
}
