/* ================================================
   Phi Cognition — styles.css
   Brand: Inter font | Norway green + Tiber teal
================================================ */

/* ── CSS VARIABLES ── */
:root {
  /* Norway (primary green) */
  --nor-50:  #f6f8f5; --nor-100:#ebefe9; --nor-200:#d7dfd3;
  --nor-300: #a3b79b; --nor-400:#8da484; --nor-500:#6c8562;
  --nor-600: #566b4e; --nor-700:#45563f; --nor-800:#3a4635;
  --nor-900: #303a2d; --nor-950:#171e15;
  /* Tiber (secondary teal) */
  --tib-50:  #f2fbfa; --tib-100:#d4f3f0; --tib-200:#a9e6e2;
  --tib-300: #76d2cf; --tib-400:#4ab7b7; --tib-500:#309a9c;
  --tib-600: #24797d; --tib-700:#216164; --tib-800:#1e4e51;
  --tib-900: #19383a; --tib-950:#0b2528;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(25,56,58,.08);
  --shadow:    0 4px 24px rgba(25,56,58,.10);
  --shadow-lg: 0 16px 48px rgba(25,56,58,.15);
  --shadow-xl: 0 24px 64px rgba(25,56,58,.20);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Inter',sans-serif; color:var(--tib-900); background:#fff; overflow-x:hidden; }
h1,h2,h3,h4,h5 { font-family:'Inter',sans-serif; font-weight:700; line-height:1.15; }
img { max-width:100%; display:block; }

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 6%; height:70px;
  background:rgba(255,255,255,.97); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--nor-200); box-shadow:var(--shadow-sm);
}
.nav-logo img {
  height: 40px;   /* Adjust as needed */
  width: auto;
  display: block;
}
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-links { display:flex; align-items:center; gap:28px; list-style:none; }
.nav-links a { color:var(--tib-700); text-decoration:none; font-size:14px; font-weight:500; transition:color .2s; }
.nav-links a:hover { color:var(--nor-600); }
.nav-cta {
  background:var(--tib-800) !important; color:white !important;
  padding:9px 22px; border-radius:8px; font-weight:600 !important;
  box-shadow:0 2px 8px rgba(30,78,81,.3);
  transition:background .2s, transform .15s, box-shadow .2s !important;
}
.nav-cta:hover { background:var(--tib-900) !important; transform:translateY(-1px); }

/* --- Industries Dropdown --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown .chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 240px;
  list-style: none;
  padding: 8px 0;
  z-index: 999;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.nav-dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}

.nav-dropdown .dropdown-menu li a:hover {
  background: #f5f3ff;
  color: #4f46e5;
}

/* ── BUTTONS ── */
.btn-primary {
  background:var(--tib-800); color:white; padding:14px 28px; border-radius:9px;
  font-weight:600; font-size:15px; text-decoration:none;
  display:inline-flex; align-items:center; gap:8px;
  transition:background .2s, transform .15s, box-shadow .2s;
  box-shadow:0 4px 16px rgba(30,78,81,.35);
}
.btn-primary:hover { background:var(--tib-900); transform:translateY(-2px); }
.btn-outline {
  color:var(--tib-700); padding:13px 26px; border-radius:9px;
  border:1.5px solid var(--nor-300); font-size:15px; font-weight:600;
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  transition:border-color .2s, background .2s, color .2s;
}
.btn-outline:hover { border-color:var(--tib-700); background:var(--tib-50); }

/* ── HERO ── */
#hero {
  min-height:100vh; background:#fff;
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center; padding:70px 0 0; overflow:hidden;
}
.hero-left { padding:80px 0 80px 7%; position:relative; z-index:2; }
.hero-badge {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--tib-50); border:1px solid var(--tib-100);
  color:var(--tib-700); font-size:12px; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  padding:6px 14px; border-radius:100px; margin-bottom:24px;
}
.hero-badge-dot { width:6px; height:6px; border-radius:50%; background:var(--nor-400); animation:pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:.6;} }
#hero h1 { font-size:clamp(34px,3.8vw,56px); color:var(--tib-900); margin-bottom:20px; letter-spacing:-.5px; font-weight:800; }
#hero h1 .accent       { color:var(--tib-700); }
#hero h1 .accent-green { color:var(--nor-500); }
.hero-sub { font-size:17px; color:var(--tib-700); line-height:1.75; max-width:500px; margin-bottom:40px; }
.hero-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.hero-trust { display:flex; gap:32px; margin-top:52px; padding-top:40px; border-top:1px solid var(--nor-200); }
.trust-val   { font-size:32px; font-weight:800; color:var(--tib-700); line-height:1; letter-spacing:-.5px; }
.trust-label { font-size:12px; color:var(--nor-500); margin-top:4px; font-weight:500; line-height:1.4; }
.hero-right { height:100vh; position:relative; overflow:hidden; }
.hero-img-main { width:100%; height:100%; object-fit:cover; object-position:center top; }
.hero-img-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to right,rgba(255,255,255,.18) 0%,transparent 35%),
             linear-gradient(to top,rgba(25,56,58,.5) 0%,transparent 55%);
}
.hero-float-card, .hero-float-card2 {
  position:absolute; background:white; border-radius:16px;
  padding:16px 20px; box-shadow:var(--shadow-xl);
  display:flex; align-items:center; gap:12px;
}
.hero-float-card  { bottom:64px; left:-24px; min-width:210px; animation:floatY 3.5s ease-in-out infinite; }
.hero-float-card2 { top:100px; right:20px; min-width:180px; animation:floatY 4s ease-in-out 1.2s infinite; }
@keyframes floatY { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.float-icon       { width:42px; height:42px; min-width:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:19px; }
.float-icon.green { background:var(--nor-100); }
.float-icon.teal  { background:var(--tib-50); }
.float-val        { font-size:18px; font-weight:800; color:var(--tib-900); line-height:1; }
.float-label      { font-size:11px; color:var(--nor-500); margin-top:3px; font-weight:500; }

/* ── TRUST BAR ── */
#trust-bar {
  background:var(--nor-50); border-top:1px solid var(--nor-200);
  border-bottom:1px solid var(--nor-200);
  padding:26px 6%; display:flex; align-items:center; gap:40px; flex-wrap:wrap;
}
.trust-bar-label  { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--nor-500); white-space:nowrap; }
.trust-logos      { display:flex; align-items:center; gap:36px; flex-wrap:wrap; }
.trust-logo-item  { font-size:14px; font-weight:600; color:var(--tib-600); white-space:nowrap; transition:color .2s; cursor:default; }
.trust-logo-item:hover { color:var(--nor-600); }

/* ── SHARED ── */
section { padding:100px 6%; }
.section-tag { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--nor-600); margin-bottom:14px; }
.section-tag::before { content:''; width:18px; height:2px; background:var(--nor-400); border-radius:2px; }
.section-h { font-size:clamp(28px,3vw,44px); color:var(--tib-900); margin-bottom:14px; letter-spacing:-.3px; font-weight:800; }
.section-p { font-size:16px; color:var(--tib-700); line-height:1.8; max-width:520px; }
.section-center { text-align:center; max-width:580px; margin:0 auto; }
.section-center .section-p { margin:0 auto; }

/* ── PROBLEM ── */
#problem { background:#fff; }
.problem-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.problem-cards { display:flex; flex-direction:column; gap:16px; margin-top:36px; }
.prob-card { display:flex; gap:18px; align-items:flex-start; padding:22px 24px; border-radius:12px; background:var(--nor-50); border:1px solid var(--nor-200); transition:border-color .25s,box-shadow .25s; }
.prob-card:hover { border-color:var(--nor-300); box-shadow:var(--shadow); }
.prob-icon { width:44px; height:44px; min-width:44px; border-radius:10px; background:var(--tib-50); display:flex; align-items:center; justify-content:center; font-size:20px; }
.prob-card h4 { font-size:15px; font-weight:700; color:var(--tib-900); margin-bottom:5px; }
.prob-card p  { font-size:13.5px; color:var(--tib-700); line-height:1.65; }
.problem-img-wrap { border-radius:20px; overflow:hidden; box-shadow:var(--shadow-xl); position:relative; }
.problem-img-wrap img { width:100%; height:600px; object-fit:cover; }
.problem-img-badge { position:absolute; bottom:24px; left:24px; background:var(--tib-900); color:white; border-radius:12px; padding:16px 20px; }
.pib-num  { font-size:28px; font-weight:800; color:var(--nor-300); line-height:1; }
.pib-text { font-size:12px; color:rgba(255,255,255,.65); line-height:1.5; }

/* ── SOLUTION ── */
#solution { background:var(--tib-900); }
#solution .section-tag { color:var(--nor-300); }
#solution .section-tag::before { background:var(--nor-300); }
#solution .section-h { color:white; }
#solution .section-p { color:rgba(255,255,255,.55); }
.solution-intro { max-width:600px; }
.solution-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:56px; }
.sol-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:36px 32px; transition:background .25s,border-color .25s,transform .25s; position:relative; overflow:hidden; }
.sol-card::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--nor-400),var(--tib-500)); opacity:0; transition:opacity .25s; }
.sol-card:hover { background:rgba(255,255,255,.09); transform:translateY(-4px); }
.sol-card:hover::after { opacity:1; }
.sol-num { font-size:48px; font-weight:800; color:rgba(255,255,255,.07); line-height:1; margin-bottom:12px; }
.sol-icon-wrap { width:52px; height:52px; background:rgba(163,183,155,.15); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:20px; }
.sol-card h3 { font-size:20px; color:white; margin-bottom:10px; }
.sol-card p  { font-size:14px; color:rgba(255,255,255,.55); line-height:1.75; margin-bottom:20px; }
.sol-list { list-style:none; display:flex; flex-direction:column; gap:8px; }
.sol-list li { font-size:13px; font-weight:500; color:rgba(255,255,255,.65); display:flex; align-items:center; gap:8px; }
.sol-list li::before { content:''; width:5px; height:5px; min-width:5px; border-radius:50%; background:var(--nor-300); }
.sol-cta { text-align:center; margin-top:48px; }

/* ── CONTACT ── */
#contact { background:var(--tib-950); padding:100px 6%; }
.contact-wrap { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; max-width:1160px; margin:0 auto; }
#contact .section-tag { color:var(--nor-300); }
#contact .section-tag::before { background:var(--nor-300); }
#contact .section-h { color:white; }
#contact .section-p { color:rgba(255,255,255,.5); }
.contact-items { display:flex; flex-direction:column; gap:16px; margin-top:36px; }
.ci { display:flex; gap:14px; align-items:flex-start; padding:17px 20px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:12px; }
.ci-ico { width:42px; height:42px; min-width:42px; background:rgba(163,183,155,.15); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; }
.ci-lbl { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:3px; }
.ci-val { font-size:15px; color:rgba(255,255,255,.75); font-weight:500; }
.form-wrap { background:white; border-radius:20px; padding:44px; box-shadow:var(--shadow-xl); }
.form-head     { font-size:24px; font-weight:800; color:var(--tib-900); margin-bottom:4px; }
.form-sub-text { font-size:14px; color:var(--nor-500); margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.fg { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.fg label { font-size:12px; font-weight:700; color:var(--tib-900); letter-spacing:.04em; }
.fg input, .fg select, .fg textarea {
  padding:11px 14px; border:1.5px solid var(--nor-200); border-radius:9px;
  font-family:'Inter',sans-serif; font-size:14px; color:var(--tib-900);
  background:white; outline:none; transition:border-color .2s,box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color:var(--tib-600); box-shadow:0 0 0 3px rgba(33,97,100,.1); }
.fg textarea { resize:vertical; min-height:88px; }
.form-btn { width:100%; padding:14px; background:var(--tib-800); color:white; border:none; border-radius:9px; font-family:'Inter',sans-serif; font-size:16px; font-weight:700; cursor:pointer; transition:background .2s,transform .15s; box-shadow:0 4px 14px rgba(30,78,81,.35); }
.form-btn:hover { background:var(--tib-900); transform:translateY(-1px); }

/* ── FOOTER ── */
footer { background:var(--tib-950); border-top:1px solid rgba(255,255,255,.06); padding:64px 6% 32px; }
.footer-logo-link img {
  height: 40px;   /* Adjust as needed */
  width: auto;
  display: block;
}
.footer-top { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand .footer-logo-link { display:flex; align-items:center; text-decoration:none; margin-bottom:14px; }
.footer-tagline { font-size:13px; color:rgba(255,255,255,.35); line-height:1.7; max-width:220px; }
.footer-col h5 { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:16px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { color:rgba(255,255,255,.5); text-decoration:none; font-size:14px; transition:color .2s; }
.footer-col ul a:hover { color:var(--nor-300); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); padding-top:28px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p { font-size:13px; color:rgba(255,255,255,.25); }
.social-links { display:flex; gap:10px; }
.social-links a { width:36px; height:36px; background:rgba(255,255,255,.05); border-radius:8px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.4); text-decoration:none; font-size:13px; font-weight:700; transition:background .2s,color .2s; }
.social-links a:hover { background:rgba(163,183,155,.2); color:var(--nor-300); }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(30px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-d1 { transition-delay:.12s; }
.reveal-d2 { transition-delay:.24s; }

/* ── RESPONSIVE ── */
@media (max-width:960px) {
  #hero { grid-template-columns:1fr; }
  .hero-right { height:380px; }
  .problem-grid, .contact-wrap { grid-template-columns:1fr; }
  .solution-cards { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .nav-links { display:none; }
  .form-row { grid-template-columns:1fr; }
  .hero-trust { gap:20px; }
}
@media (max-width:480px) {
  section { padding:64px 5%; }
  .footer-top { grid-template-columns:1fr; }
}








