/* Main Styles */
@import 'variables.css';

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

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-dark);
  background-color: var(--color-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.navbar-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.navbar-brand h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-white);
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
}

.navbar-menu a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.navbar-menu a:hover {
  opacity: 0.8;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 0.25rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Language Toggle */
.language-toggle {
  display: flex;
  gap: 0.5rem;
}

.language-toggle button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-white);
  background-color: transparent;
  color: var(--color-white);
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.language-toggle button.active {
  background-color: var(--color-red);
}

.language-toggle button:hover {
  background-color: rgba(206, 17, 38, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-blue) 0%, rgba(0, 51, 102, 0.95) 100%);
  color: var(--color-white);
  padding: 6rem 1rem;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(206, 17, 38, 0.3);
}

/* Features Section */
.features {
  padding: 4rem 1rem;
  background-color: var(--color-light-gray);
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

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

.feature-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-blue);
}

.feature-card p {
  color: #666;
}

/* How It Works Section */
.howitworks {
  padding: 4rem 1rem;
  background-color: var(--color-white);
}

.howitworks h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

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

.step {
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-blue);
}

.step p {
  color: #666;
}

/* Documents Section */
.documents {
  padding: 4rem 1rem;
  background-color: var(--color-light-gray);
}

.documents h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.doc-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid var(--color-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.doc-card:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* FAQ Section */
.faq {
  padding: 4rem 1rem;
  background-color: var(--color-white);
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 1.125rem;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #666;
  line-height: 1.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--color-red) 0%, rgba(206, 17, 38, 0.95) 100%);
  color: var(--color-white);
  padding: 4rem 1rem;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

/* Form */
form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

button {
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #a00a1f;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 50;
}

.whatsapp-fab::before {
  content: '';
  width: 28px;
  height: 28px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}

/* Mobile First */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .navbar-container {
    flex-wrap: wrap;
    gap: 0;
  }

  .hamburger {
    display: flex;
    order: 1;
  }

  .navbar-brand {
    flex: 1;
    order: 2;
    justify-content: center;
  }

  .navbar-brand img {
    height: 65px;
  }

  .navbar-brand h1 {
    font-size: 1.25rem;
  }

  .navbar-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-blue);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
    order: 3;
    margin-left: 0;
  }

  .navbar-menu.active {
    max-height: 300px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar-menu a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-menu a:hover {
    background-color: rgba(206, 17, 38, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .language-toggle {
    order: 4;
    gap: 0.25rem;
  }

  .language-toggle button {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features h2,
  .howitworks h2,
  .documents h2,
  .faq h2,
  .cta h2 {
    font-size: 1.5rem;
  }

  .features-grid,
  .steps-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  form {
    margin: 1rem;
    padding: 1rem;
  }

  .footer-links {
    gap: 1rem;
  }
}
