/* Global Styles */
:root {
  --primary: #7a4e8b;
  --secondary: #e89f71;
  --black: #333333;
  --white: #ffffff;
}

/* Import the Manrope font */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--black);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h1 {
  font-weight: 800;
}

h2 {
  font-weight: 700;
}

p {
  margin: 15px 0;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
}

.primary-btn {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.secondary-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Enhanced Logo Styling */
.logo {
  position: relative;
}

.logo a {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  position: relative;
  font-family: "Manrope", sans-serif;
}

.logo a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0.7);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.logo:hover a::before {
  transform: scaleX(1);
}

.logo span {
  color: var(--primary);
  position: relative;
  transition: color 0.3s ease;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo:hover span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--black);
  font-weight: 600;
  position: relative;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 0;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--primary);
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
  background-color: var(--secondary);
}

nav ul li a.active {
  color: var(--primary);
  font-weight: 700;
}

.close-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
}

.close-btn a:hover {
  background-color: var(--secondary);
}

/* Page Header */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--secondary);
  opacity: 0.3;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.page-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 25px auto 0;
  font-weight: 500;
}

/* CTA Section (appears on most pages) */
.cta {
  padding: 80px 0;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.cta .primary-btn {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta .primary-btn:hover {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-col h3 span {
  color: var(--secondary);
  font-weight: 800;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-col ul li a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-col ul li a:hover::before {
  transform: translateX(3px);
}

address p {
  width: 450px;
  margin-bottom: 10px;
  display: flex;
  gap: 3px;
  align-items: flex-start;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

address i {
  margin-right: 10px;
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Legal Content (for legal pages) */
.legal-content {
  padding: 60px 0;
  background-color: var(--white);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.legal-section h3 {
  font-size: 1.4rem;
  margin: 20px 0 15px;
}

.legal-section ul {
  margin-left: 20px;
  list-style-type: disc;
  margin-bottom: 20px;
}

.legal-section ul li {
  margin-bottom: 10px;
}

.legal-section.last-updated {
  font-style: italic;
  color: var(--black);
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--black);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--black);
  border-radius: 0;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
  color: var(--black);
  opacity: 0.5;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 576px) {
  header .container {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }

  .close-btn a {
    display: none;
  }

  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 10px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}
