/* ApeMoneyD Corporate Website Styles */
:root {
  --primary: #5a2f5a; /* Main brand color - purple */
  --secondary: #d7a85e; /* Accent color - gold */
  --light: #f5f1e6; /* Light background color */
  --black: #000000; /* Black for text where needed */
  --heading-font: "Space Grotesk", sans-serif;
  --body-font: "Outfit", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--body-font);
}

body {
  background-color: var(--light);
  color: var(--black);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo h1,
.footer-logo span,
.nav-link,
.btn {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  color: var(--primary);
}

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

a:hover {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

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

/* Header Styles */
.header {
  background-color: var(--primary);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-square {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-square span {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  position: absolute;
  letter-spacing: 0;
}

.logo-square span:nth-child(1) {
  top: 4px;
  left: 8px;
}

.logo-square span:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
}

.logo-square span:nth-child(3) {
  bottom: 4px;
  right: 8px;
}

.logo h1 {
  color: var(--light);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--light);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav-link:hover {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* Hero Section */
.hero {
  min-height: 600px;
  background-color: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  margin-top: 74px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Hero grid styles are now in index.css */

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--light);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

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

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--light);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary);
}

/* Trust Section */
.trust {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  position: relative;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.trust-text {
  font-size: 1.2rem;
  color: var(--light);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--light);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.cta-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--light);
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-left: 5px solid var(--secondary);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary);
  z-index: -1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--primary);
  padding: 2rem;
  color: var(--light);
}

.contact-info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--secondary);
}

.contact-form {
  background-color: var(--light);
  padding: 2rem;
}

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

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--primary);
  background-color: var(--light);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span {
  font-family: var(--heading-font);
  letter-spacing: -0.01em;
  color: var(--light);
}

.footer-logo .logo-square {
  width: 30px;
  height: 30px;
  background-color: var(--secondary);
  position: relative;
}

.footer-logo .logo-square span {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  position: absolute;
}

.footer-logo .logo-square span:nth-child(1) {
  top: 3px;
  left: 6px;
}

.footer-logo .logo-square span:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}

.footer-logo .logo-square span:nth-child(3) {
  bottom: 3px;
  right: 6px;
}

.footer-about p {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

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

.footer-links-column {
  display: flex;
  flex-direction: column;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: var(--light);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 0;
  transition: all 0.3s ease;
  border: none;
}

.social-link:hover {
  background-color: var(--light);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--secondary);
  padding-top: 2rem;
  text-align: center;
  margin-top: 3rem;
}

/* Page Banner */
.page-banner {
  background-color: var(--primary);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--light);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.content-box {
  margin-bottom: 3rem;
}

.content-box h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.content-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.content-box p {
  margin-bottom: 1.5rem;
}

.content-box ul,
.content-box ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-box li {
  margin-bottom: 0.5rem;
}

/* Responsive styles */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .about-grid,
  .contact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 74px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 74px);
    background-color: var(--primary);
    transition: all 0.3s ease;
    overflow-y: auto;
  }

  .navbar.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-item {
    margin: 0;
    padding: 1rem 2rem;
  }

  .hero {
    margin-top: 74px;
    min-height: 500px;
  }

  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-about {
    text-align: center;
  }

  .footer-links-column {
    align-items: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-title,
  .footer-links,
  .footer-link {
    text-align: center;
  }

  .social-links {
    justify-content: center;
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .footer-link {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
  }
}
