/* ==========================================================================
   SoftCo One Page — main styles
   Navy blue theme, modern 2026 look, mobile-first responsive.
   ========================================================================== */

:root{
  --softco-navy: #0b1c33;
  --softco-navy-light: #12294a;
  --softco-accent: #3fb6f5;
  --softco-text: #1c2733;
  --softco-text-light: #5b6b7c;
  --softco-bg-alt: #f4f7fb;
  --softco-white: #ffffff;
  --softco-radius: 14px;
  --softco-shadow: 0 10px 30px rgba(11,28,51,0.08);
  --softco-transition: 0.35s ease;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--softco-text);
  background:var(--softco-white);
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3{ font-family:'Poppins', sans-serif; line-height:1.25; margin:0 0 .5em; color:var(--softco-navy); }
p{ margin:0 0 1em; color:var(--softco-text-light); }
a{ color:var(--softco-accent); text-decoration:none; }
img{ max-width:100%; display:block; border-radius:10px; }

.softco-container{ max-width:1180px; margin:0 auto; padding:0 24px; }

/* ---------------- Header ---------------- */
.softco-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(11,28,51,0.92);
  backdrop-filter:blur(8px);
  transition:box-shadow var(--softco-transition);
}
.softco-header-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.softco-logo-text{ color:var(--softco-white); font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem; }
.softco-logo img{ max-height:44px; width:auto; border-radius:0; }

.softco-nav .softco-menu{ list-style:none; display:flex; gap:28px; margin:0; padding:0; }
.softco-nav .softco-menu a{ color:#e7edf5; font-weight:500; font-size:.95rem; transition:color var(--softco-transition); }
.softco-nav .softco-menu a:hover{ color:var(--softco-accent); }

.softco-menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.softco-menu-toggle span{ width:24px; height:2px; background:#fff; border-radius:2px; }

/* ---------------- Sections ---------------- */
.softco-section{ padding:88px 0; }
.softco-section-alt{ background:var(--softco-bg-alt); }
.softco-section-title{ font-size:2rem; text-align:center; }
.softco-section-sub{ text-align:center; max-width:560px; margin:0 auto 3rem; }

/* ---------------- Hero ---------------- */
.softco-hero{
  background:linear-gradient(160deg, var(--softco-navy) 0%, var(--softco-navy-light) 100%);
  padding:130px 0 110px;
  text-align:center;
}
.softco-hero-inner h1{ color:#fff; font-size:2.6rem; max-width:820px; margin:0 auto .6em; }
.softco-hero-sub{ color:#c4d2e3; max-width:600px; margin:0 auto 2em; font-size:1.05rem; }

.softco-btn{
  display:inline-block; padding:14px 30px; border-radius:999px;
  font-weight:600; font-size:.95rem; transition:transform var(--softco-transition), box-shadow var(--softco-transition);
}
.softco-btn-primary{
  background:var(--softco-accent); color:var(--softco-navy);
  box-shadow:0 8px 24px rgba(63,182,245,0.35);
}
.softco-btn-primary:hover{ transform:translateY(-3px); color:var(--softco-navy); }

/* ---------------- Grids ---------------- */
.softco-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.softco-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.softco-grid-team{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.softco-grid-portfolio{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }

.softco-card{
  background:var(--softco-white); border:1px solid #eef1f6; border-radius:var(--softco-radius);
  padding:32px; box-shadow:var(--softco-shadow);
}
.softco-eyebrow{ display:inline-block; color:var(--softco-accent); font-weight:700; font-size:.85rem; margin-bottom:8px; }

/* ---------------- Services ---------------- */
.softco-service-card{
  background:var(--softco-white); border-radius:var(--softco-radius); padding:28px;
  box-shadow:var(--softco-shadow); transition:transform var(--softco-transition);
}
.softco-service-card:hover{ transform:translateY(-6px); }
.softco-service-icon{ font-size:1.8rem; margin-bottom:12px; }
.softco-service-card h3{ font-size:1.1rem; }

/* ---------------- Team ---------------- */
.softco-team-card{
  background:var(--softco-white); border:1px solid #eef1f6; border-radius:var(--softco-radius);
  overflow:hidden; text-align:center; box-shadow:var(--softco-shadow);
  transition:transform var(--softco-transition);
}
.softco-team-card:hover{ transform:translateY(-6px); }
.softco-team-photo{ width:100%; aspect-ratio:1/1; overflow:hidden; background:var(--softco-navy); }
.softco-team-photo img{ width:100%; height:100%; object-fit:cover; border-radius:0; display:block; }
.softco-avatar-placeholder{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background:var(--softco-navy); color:#fff; font-weight:700; font-size:2.2rem;
}
.softco-team-card-body{ padding:22px 24px 26px; }
.softco-team-role{ color:var(--softco-accent); font-weight:600; font-size:.9rem; margin-bottom:10px; }
.softco-team-bio{ font-size:.9rem; }
.softco-team-social{ display:flex; gap:14px; justify-content:center; margin-top:10px; font-size:.85rem; flex-wrap:wrap; }

/* ---------------- Portfolio ---------------- */
.softco-portfolio-card{
  background:var(--softco-white); border-radius:var(--softco-radius); overflow:hidden;
  box-shadow:var(--softco-shadow); transition:transform var(--softco-transition);
}
.softco-portfolio-card:hover{ transform:translateY(-6px); }
.softco-portfolio-image img{ border-radius:0; width:100%; height:220px; object-fit:cover; }
.softco-portfolio-body{ padding:24px; }
.softco-portfolio-client{ color:var(--softco-accent); font-size:.85rem; font-weight:600; }
.softco-link-arrow{ font-weight:600; }

/* ---------------- Contact ---------------- */
.softco-contact-details{ list-style:none; padding:0; margin:0; }
.softco-contact-details li{ margin-bottom:12px; color:var(--softco-text-light); }
.softco-contact-form-wrap{ background:var(--softco-bg-alt); border-radius:var(--softco-radius); padding:32px; }
.softco-contact-form label{ display:block; font-weight:600; font-size:.9rem; margin:14px 0 6px; }
.softco-contact-form input,
.softco-contact-form textarea{
  width:100%; padding:12px 14px; border:1px solid #d9e1ea; border-radius:10px;
  font-family:inherit; font-size:.95rem; background:#fff;
}
.softco-contact-form input:focus,
.softco-contact-form textarea:focus{ outline:2px solid var(--softco-accent); }
.softco-contact-form button{ margin-top:18px; border:0; cursor:pointer; }

.softco-alert{ padding:14px 16px; border-radius:10px; margin-bottom:18px; font-size:.9rem; }
.softco-alert-success{ background:#e4f7ec; color:#1e7a46; }
.softco-alert-error{ background:#fdeaea; color:#b3261e; }

/* ---------------- Footer ---------------- */
.softco-footer{ background:var(--softco-navy); color:#c4d2e3; padding:60px 0 0; }
.softco-footer-inner{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.08); }
.softco-footer-brand p{ color:#9fb0c4; font-size:.9rem; max-width:340px; }
.softco-footer-social{ display:flex; gap:14px; flex-wrap:wrap; margin-top:14px; }
.softco-footer-social a{
  color:#c4d2e3; font-size:.85rem; font-weight:600; padding:6px 14px;
  border:1px solid rgba(255,255,255,0.18); border-radius:999px;
  transition:background var(--softco-transition), color var(--softco-transition), border-color var(--softco-transition);
}
.softco-footer-social a:hover{ background:var(--softco-accent); color:var(--softco-navy); border-color:var(--softco-accent); }
.softco-footer-menu{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.softco-footer-menu a{ color:#c4d2e3; }
.softco-footer-menu a:hover{ color:var(--softco-accent); }
.softco-footer-contact p{ color:#c4d2e3; margin:0 0 6px; }
.softco-footer-bottom{ text-align:center; padding:20px 0; font-size:.85rem; color:#8598ad; }

.softco-back-top{
  position:fixed; right:20px; bottom:20px; width:44px; height:44px; border-radius:50%;
  background:var(--softco-accent); color:var(--softco-navy); display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; opacity:0; pointer-events:none; transition:opacity var(--softco-transition), transform var(--softco-transition);
  box-shadow:0 8px 20px rgba(0,0,0,0.2); z-index:999;
}
.softco-back-top.is-visible{ opacity:1; pointer-events:auto; }

/* ---------------- Scroll reveal (subtle, small) ---------------- */
.softco-reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.softco-reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .softco-grid-2, .softco-grid-3, .softco-grid-team, .softco-grid-portfolio{ grid-template-columns:1fr 1fr; }
  .softco-footer-inner{ grid-template-columns:1fr; text-align:center; }
}

@media (max-width: 680px){
  .softco-menu-toggle{ display:flex; }
  .softco-nav{
    position:absolute; top:72px; left:0; right:0; background:var(--softco-navy);
    max-height:0; overflow:hidden; transition:max-height var(--softco-transition);
  }
  .softco-nav.is-open{ max-height:400px; }
  .softco-nav .softco-menu{ flex-direction:column; padding:20px 24px; gap:16px; }

  .softco-hero-inner h1{ font-size:1.9rem; }
  .softco-section{ padding:60px 0; }
  .softco-grid-2, .softco-grid-3, .softco-grid-team, .softco-grid-portfolio{ grid-template-columns:1fr; }
}
