/* Reset & base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: #0f172a; /* dark navy */
  background-color: #f4f6fb;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* COLORS
   Logo blue: adjust if needed */
:root {
  --cosot-blue: #0057ff;
  --cosot-dark: #0f172a;
  --cosot-light: #ffffff;
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cosot-light);
  border-bottom: 1px solid #e2e8f0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  height: 44px;
  display: block;
}

.nav-links a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
}

.nav-links a:hover {
  color: var(--cosot-blue);
}

/* Hero */

.hero {
  background: #ffffff;
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--cosot-blue);
}

.hero-text p {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.hero-logo-wrap {
  flex: 1 1 260px;
  display: flex;
  justify-content: center;
}

.hero-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #ffffff;
}

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

.section-subtitle {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Grid & cards */

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

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* About & contact */

.about-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-list a {
  color: var(--cosot-blue);
}

.contact-form {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cosot-blue);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.form-note {
  font-size: 0.78rem;
  color: #6b7280;
}

/* Buttons */

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background-color: var(--cosot-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0042c7;
}

/* Footer */

.footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Responsive */

@media (max-width: 720px) {
  .hero-inner {
    flex-direction: column-reverse;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .nav-links a {
    margin-left: 1rem;
  }
}
