/* COMPONENTS.CSS — Streamlined, Modern, Professional */

:root {
  --primary: #1e3a8a;
  --primary-hover: #2563eb;
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --white: #ffffff;

  --radius-md: 10px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 22px rgba(15,23,42,0.12);
}

/* NAVBAR */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: var(--white);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav-inner {
  max-width: 1280px;
  height: 70px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links .contact-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-links .contact-btn:hover {
  background: var(--primary-hover);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle i {
  width: 26px;
  height: 26px;
  color: var(--text-dark);
}

/* Mobile Menu */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    right: 1rem;
    top: 70px;
    width: 210px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
}

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

.btn.primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

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

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

/* FOOTER */
.footer.dark {
  margin-top: 4rem;
  padding: 4rem 2rem;
  background: #0f172a;
  color: #cbd5e1;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-container h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-container a {
  text-decoration: none;
  color: #cbd5e1;
  transition: color .25s ease;
}

.footer-container a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  font-size: 0.88rem;
}

.section-title {
  text-align: center !important;
}

/* Fix textarea alignment with input fields */
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  resize: vertical;
  box-sizing: border-box;
  margin-top: 1rem;
}

