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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0e141b;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ================= LAYOUT ================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

section {
  background: #0e141b;
}

section.muted {
  background: #111a22;
}

/* ================= HERO ================= */
.hero {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  width: 300px;
  max-width: 100%;
  margin-bottom: 2rem;
}

.hero-text {
  max-width: 680px;
  opacity: 0.9;
  font-size: 1rem;
}

/* ================= TYPOGRAPHY ================= */
h2 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  opacity: 0.95;
}

ul {
  list-style: none;
}

li {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* ================= GRID ================= */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* ================= DETAILS ================= */
.details li {
  margin-bottom: 0.5rem;
}

/* ================= CONTACT ================= */
.contact form {
  max-width: 520px;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}

input,
textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #0e141b;
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 0.95rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

button {
  padding: 0.85rem;
  background: #ffffff;
  color: #0e141b;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

/* ================= FOOTER ================= */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

/* ================= MOTION (ENTERPRISE SAFE) ================= */

/* Initial hidden state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* Activated */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Staggered feel */
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    width: 240px;
  }
}
/* ================= EMAIL LINK FIX ================= */
a[href^="mailto:"] {
  color: #d7e3f0;              /* soft light blue-grey */
  text-decoration: none;
  border-bottom: 1px solid rgba(215,227,240,0.35);
}

a[href^="mailto:"]:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.6);
}
/* ================= EMAIL LINKS — GLOBAL OVERRIDE ================= */

/* Base mail links everywhere */
a[href^="mailto:"] {
  color: #d7e3f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 227, 240, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Hover state */
a[href^="mailto:"]:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Force visibility inside contact section */
.contact a[href^="mailto:"] {
  color: #d7e3f0;
}
/* ================= FORCE MAIL LINK COLOR (MOBILE + DESKTOP) ================= */

/* Kill browser default blue */
a,
a:visited,
a:active {
  color: inherit;
}

/* Explicit mail link styling */
a[href^="mailto:"] {
  color: #d7e3f0 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(215, 227, 240, 0.35);
}

/* Hover / tap feedback */
a[href^="mailto:"]:hover,
a[href^="mailto:"]:focus {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Ensure contact + footer override opacity */
.contact a[href^="mailto:"],
.footer a[href^="mailto:"] {
  color: #d7e3f0 !important;
}
/* Force visibility inside footer */
.footer a[href^="mailto:"] {
  color: #d7e3f0;
}
