/* 🌙 Dark Mode Theme with Better Visibility */
:root {
  --primary-bg: #121212;
  --secondary-bg: #1e1e1e;
  --text-color: #ffffff;
  --text-muted: #ffffff;
  --accent-color: #00ffaa;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 15px rgba(0, 255, 255, 0.5);
  --blur-bg: rgba(10, 10, 30, 0.9);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-image: url('/static/images/contact_bg.png');
  backdrop-filter: blur(7px);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-color);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2, h3 {
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: fadeIn 5s ease-in-out, slideInLeft 1s ease-in-out;
}

h2 {
  font-size: 2rem;
  color: var(--accent-color);
  animation: fadeIn 5s ease-in-out, slideInRight 1.5s ease-in-out;
}

h3 {
  font-size: 1.5rem;
  animation: fadeIn 5s ease-in-out, pulse 2s infinite;
}

p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.vedmata-button-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vedmata-button {
  width: 50px;
  height: 50px;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 4, 5, 0.336);
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-speed), background var(--transition-speed);
  box-shadow: var(--box-shadow);
}

.vedmata-button:hover {
  transform: scale(1.1);
}

.vedmata-button img {
  width: 60%;
  height: auto;
  
  transition: transform var(--transition-speed);
}

.vedmata-button:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px rgba(0, 255, 255, 1));
}

form.contact-form {
width: 100%;
max-width: 600px;
margin: 30px auto;
padding: 25px;
background: rgba(2, 0, 0, 0.774);
backdrop-filter: blur(50px);
border-radius: 15px;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
border: 1px solid rgba(0, 255, 255, 0.4);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form.contact-form:hover {
transform: translateY(-5px);
box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

form.contact-form label {
font-size: 1.1rem;
font-weight: bold;
color: #ffffff;
}

.custom-checkbox {
display: flex;
align-items: center;
margin-bottom: 10px;
}

.custom-checkbox input[type="checkbox"] {
margin-right: 10px;
width: 18px;
height: 18px;
}

.checkbox-label {
font-size: 1rem;
color: #ffffff;
}


form.contact-form input,
form.contact-form textarea,
form.contact-form select {
width: 100%;
padding: 12px;
margin-top: 8px;
margin-bottom: 15px;
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(0, 255, 255, 0.5);
border-radius: 8px;
color: #ffffff;
font-size: 1rem;
outline: none;
transition: all 0.3s ease-in-out;
}

form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
border-color: rgba(0, 255, 255, 0.8);
box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

form.contact-form textarea {
resize: none;
height: 120px;
}

form.contact-form button {
width: 100%;
padding: 12px;
font-size: 1.2rem;
font-weight: bold;
color: #ffffff;
background: linear-gradient(45deg, #00c6ff, #0072ff);
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}

form.contact-form button:hover {
background: linear-gradient(45deg, #0072ff, #00c6ff);
box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
color: #05000a;
}


/* Container for messages */
ul.messages {
list-style: none;
padding: 0;
margin: 20px 0;
}

/* General style for each message */
ul.messages li {
padding: 15px;
border-radius: 4px;
margin-bottom: 10px;
font-size: 1rem;
color: #fff;
}

/* Success message styling */
ul.messages li.success {
background-color: #28a745;
}

/* Error message styling */
ul.messages li.error {
background-color: #dc3545;
}

/* Warning message styling */
ul.messages li.warning {
background-color: #ffc107;
color: #212529;
}

/* Info message styling */
ul.messages li.info {
background-color: #17a2b8;
}


/* Responsive Design */
@media (max-width: 1024px) {
form.contact-form { width: 75%; }
}

@media (max-width: 768px) {
form.contact-form { width: 85%; padding: 20px; }
form.contact-form input, 
form.contact-form textarea, 
form.contact-form select { font-size: 0.95rem; }
}

@media (max-width: 480px) {
form.contact-form { width: 95%; padding: 15px; }
form.contact-form button { font-size: 1rem; }
}


@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  p { font-size: 1rem; }
}

@media (max-width: 768px) {
  .vedmata-button { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
  p { font-size: 0.9rem; }
  .vedmata-button { width: 35px; height: 35px; }
}

.faq-section {
background-color: #f3f4f600;
padding: 2.5rem 0;
}

.faq-container {
max-width: 42rem;
background-color: #f7efff13;
margin: 0 auto;
padding: 1.5rem;
border-radius: 0.75rem;
box-shadow: 0 4px 6px rgb(0, 0, 0);
}

.faq-heading {
text-align: center;
font-size: 1.5rem;
font-weight: 700;
color: #dbd8d8;
margin-bottom: 1.5rem;
}

.faq-item {
border-bottom: 1px solid #d1d5db;
padding: 0.75rem 0;
}

.faq-title {
display: block;
font-size: 1.125rem;
font-weight: 600;
cursor: pointer;
padding: 0.75rem;
background-color: #46022c;
color: white;
border-radius: 0.5rem;
transition: all 0.3s;
}

.faq-title:hover {
background-color: #d8b61d;
color: black;
}

.faq-toggle {
display: none;
}

.faq-content {
max-height: 0;
overflow: hidden;
color: #000000;
transition: all 0.3s ease-in-out;
background-color: #f7efff;
padding: 0 0.75rem;
border-radius: 0.5rem;
}

.faq-toggle:checked + .faq-title + .faq-content {
max-height: 24rem;
padding: 1rem;
}

.hr-line {
border: 0;
height: 1px;
background-color: #d1d5db;
margin: 0rem 0;
margin-bottom: 3%;
}