/* WJM Solicitors Landing Page Styles */

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

body {
  font-family: "proxima-nova", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Header Styles */
header {
  background-color: #21145f;
  color: white;
  height: 135px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 3;
}

/* Background gradient elements */
.logo-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -78%);
  height: 625px;
  width: 625px;
  background: linear-gradient(95.97deg, #004c7f 0%, #005d9a 100%);
  box-shadow: 0 2px 21px 0 rgba(0, 0, 0, 0.5);
  border-radius: 312.5px;
  z-index: -2;
}

.logo-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -68%);
  width: 486px;
  height: 486px;
  border-radius: 243px;
  background: linear-gradient(112.57deg, #0862a2 0%, #009ade 100%);
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.logo {
  height: 90px;
  width: auto;
}

.logo-placeholder {
  width: 60px;
  height: 60px;
  background-color: #34495e;
  border: 2px solid #ecf0f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ecf0f1;
  text-align: center;
  border-radius: 5px;
}

/* Navigation Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  color: #009ade;
}

nav a.active {
  color: white;
  border-bottom: 2px solid #009ade;
}

/* Main Content Styles */
main {
  background-color: white;
  margin: 2rem 0;
  padding: 3rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  color: #21145f;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 {
  color: #21145f;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #009ade;
  padding-bottom: 0.5rem;
}

h3 {
  color: #21145f;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-align: justify;
}

/* Form Styles */
.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #21145f;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #009ade;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  background-color: #009ade;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0088cc;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-left: 4px solid #009ade;
  border-radius: 0 5px 5px 0;
}

.faq-question {
  font-weight: bold;
  color: #21145f;
  margin-bottom: 1rem;
}

.faq-answer {
  margin-bottom: 0;
}

/* Footer Styles */
footer {
  background-color: #21145f;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content p {
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 15px;
  }

  nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  .content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav a {
    text-align: center;
  }

  h1 {
    font-size: 1.8rem;
  }
}
