:root {
  --color-regalblue-50: #f0f3fa;
  --color-regalblue-100: #e0e7f7;
  --color-regalblue-200: #b6c9f0;
  --color-regalblue-300: #84a5e3;
  --color-regalblue-400: #5a87d6;
  --color-regalblue-500: #3e6ecb;
  --color-regalblue-600: #2c59b8;
  --color-regalblue-700: #193cb8;
  --color-regalblue-800: #143296;
  --color-regalblue-900: #0f246b;
  --color-regalblue-950: #0a173d;

  --font-primary: "Nunito", sans-serif;
  --bg-main: var(
    --color-regalblue-50
  ); /* Lightest blue-gray for the page background */
  --bg-surface: #ffffff; /* White for "card" surfaces */
  --bg-accent: var(--color-regalblue-900);
  --bg-interactive: #f39c12;
  --bg-interactive-light: #ffffff;
  --bg-transparent: transparent;

  /* Typography Palette */
  --text-dark: #1f2937; /* Near-black for headings */
  --text-primary: #4b5563; /* Dark gray for body text */
  --text-light: #ffffff;
  --text-accent: var(--color-regalblue-700); /* Blue for accents */
  --text-muted: #6b7280; /* Lighter gray for secondary text */

  --text-icon-dark: #333;
  --border-light: var(--color-regalblue-200);
  --border-accent-transparent: #f39c12;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  --shadow-none: rgba(0, 0, 0, 0);
  --shadow-button: 0 4px 10px rgba(44, 89, 184, 0.3);
}
body.contact-page-body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
  background: white; /* Base background */
  position: relative;
  min-height: 100vh;
}

body.contact-page-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%; /* Height of the purple part */
  background: #0f246b;
  z-index: 0;
}

.contact-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.contact-left-column {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  align-self: stretch;
}

.contact-left-top {
  color: white;
}

.get-in-touch-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.get-in-touch-section p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  font-size: 1rem;
}

.contact-info-card {
  background-color: var(--bg-surface);
  padding: 40px;
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  color: var(--text-primary); /* Set default text color for the card */
}

.contact-info-card h2 {
  color: var(--text-dark);
}

.contact-info-card .contact-details li {
  color: var(--text-primary);
}

.contact-info-card .contact-details li svg {
  stroke: var(--text-primary);
}

.contact-details.bottom li {
  color: var(--text-dark);
}
.contact-details.bottom li svg {
  stroke: var(--text-dark);
}

.contact-details li svg {
  margin-right: 15px;
  width: 24px;
  height: 24px;
}

.contact-social-icons {
  display: flex;
  gap: 15px;
}

.social-icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-icon-circle:hover {
  transform: scale(1.1);
}

.social-icon-circle svg {
  fill: white;
  width: 20px;
  height: 20px;
}

.facebook-bg {
  background-color: #1877f2;
}
.instagram-bg {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.x-twitter-bg {
  background-color: #000000;
}
.linkedin-bg {
  background-color: #0077b5;
}
.youtube-bg {
  background-color: #ff0000;
}

.contact-right-column {
  display: flex;
  justify-content: flex-end; /* Align card to the right */
  align-items: center;
  height: 100%;
}

.contact-form-card {
  background-color: var(--bg-surface);
  padding: 40px;
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}

.contact-form-card h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.contact-form-card form input,
.contact-form-card form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-primary);
  background-color: #ffffff;
}

.contact-form-card form input:focus,
.contact-form-card form textarea:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 2px rgba(99, 95, 250, 0.2);
}

.contact-form-card form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-card form button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background-color: #f39c12; /* Brighter purple */
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form-card form button:hover {
  background-color: #0f246b; /* Slightly darker purple on hover */
}

/* Responsive adjustments for contact page */
@media (max-width: 900px) {
  body.contact-page-body::before {
    height: 35%;
  }
  .contact-page-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .contact-left-column {
    height: auto;
    padding: 20px 0;
    justify-content: flex-start;
  }
  .contact-right-column {
    justify-content: center;
    padding: 40px 0;
  }
}
