/* ===========================================================
   CVN CAPITAL
   STYLE SHEET
=========================================================== */

:root{
  --navy:#17324A;
  --gold:#B89A63;
  --light:#FAFAF7;
  --grey:#F2F3F4;
  --text:#444;
  --white:#ffffff;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  font-size:17px;
  line-height:1.8;
  color:var(--text);
  background:var(--light);
}

h1,h2,h3,h4{
  font-family:'Cormorant Garamond',serif;
  color:var(--navy);
}

h1{
  font-size:72px;
  font-weight:500;
  letter-spacing:4px;
}

h2{
  font-size:48px;
  margin-bottom:25px;
}

h3{
  font-size:30px;
  margin-bottom:20px;
}

p{
  margin-bottom:18px;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}

/* ===================================
NAVBAR
=================================== */

.navbar{
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
  transition:.35s;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  padding:22px 0;
}

.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:90%;
  max-width:1200px;
  margin:auto;
}

.navbar-brand{
  font-family:'Cormorant Garamond', serif;
  font-size:30px;
  letter-spacing:2px;
  color:white;
  font-weight:600;
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
}

.nav-link{
  color:white;
  margin-left:25px;
  font-weight:500;
  font-size:15px;
  letter-spacing:.5px;
  transition:.25s;
}

.nav-link:hover{
  color:var(--gold);
}

.nav-link.active{
  color:var(--gold);
}

.nav-toggle{
  display:none;
  color:white;
  font-size:26px;
  background:none;
  border:none;
  cursor:pointer;
}

/* not-home page navbars start solid since hero is shorter */
.navbar.solid{
  background:rgba(255,255,255,.97);
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.navbar.solid .nav-link,
.navbar.solid .navbar-brand{
  color:var(--navy);
}

/* ===================================
HERO
=================================== */

.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
}

.hero video{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:100%;
  height:100%;
  object-fit:cover;
}

.overlay{
  position:absolute;
  top:0;left:0;
  width:100%;
  height:100%;
  background:rgba(10,20,30,.45);
}

.hero-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:900px;
  max-width:90%;
  text-align:center;
  color:white;
  z-index:100;
}

.hero h1{
  color:white;
}

.hero h2{
  color:white;
  font-size:34px;
  margin-top:20px;
  font-weight:400;
}

.hero h3{
  color:white;
  font-size:28px;
  margin-top:30px;
  margin-bottom:35px;
  font-weight:400;
}

.hero p{
  font-size:20px;
  max-width:750px;
  margin:auto;
  margin-bottom:45px;
}

/* Sub-page hero (shorter, for about/platform/opportunities/contact) */
.page-hero{
  position:relative;
  height:55vh;
  min-height:400px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
}

.page-hero img{
  position:absolute;
  top:0;left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.35;
}

.page-hero-content{
  position:relative;
  z-index:10;
  text-align:center;
  color:white;
  max-width:800px;
  padding:0 20px;
}

.page-hero-content h1{
  color:white;
  font-size:56px;
  letter-spacing:2px;
}

.page-hero-content p{
  font-size:19px;
  margin-top:15px;
  color:#e4e8ec;
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:13px;
  color:var(--gold);
  font-weight:600;
  margin-bottom:12px;
  display:block;
}

/* ===================================
BUTTON
=================================== */

.btn-cvn{
  display:inline-block;
  padding:16px 42px;
  border:1px solid white;
  background:transparent;
  color:white;
  border-radius:0;
  transition:.3s;
  font-weight:500;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:14px;
  cursor:pointer;
}

.btn-cvn:hover{
  background:white;
  color:var(--navy);
  transform:translateY(-2px);
}

.btn-cvn-solid{
  display:inline-block;
  padding:16px 42px;
  border:1px solid var(--navy);
  background:var(--navy);
  color:white;
  border-radius:0;
  transition:.3s;
  font-weight:500;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:14px;
  cursor:pointer;
}

.btn-cvn-solid:hover{
  background:transparent;
  color:var(--navy);
}

/* ===================================
LAYOUT HELPERS
=================================== */

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.row{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
}

.col{
  flex:1;
  min-width:280px;
}

.text-center{
  text-align:center;
}

.section-intro{
  max-width:750px;
  margin:0 auto 60px auto;
  text-align:center;
}

/* ===================================
SECTIONS
=================================== */

section{
  padding:120px 0;
}

.section-white{
  background:white;
}

.section-light{
  background:var(--grey);
}

.section-dark{
  background:var(--navy);
  color:#dfe4e9;
}

.section-dark h2,
.section-dark h3{
  color:white;
}

.section-contact{
  background:white;
}

/* ===================================
CARDS
=================================== */

.card-cvn{
  background:white;
  padding:25px;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
  transition:.4s;
  height:100%;
}

.card-cvn:hover{
  transform:translateY(-8px);
}

.card-cvn img{
  height:240px;
  object-fit:cover;
  margin-bottom:20px;
}

.card-cvn ul{
  padding-left:20px;
}

.card-cvn li{
  margin-bottom:6px;
}

/* ===================================
FOCUS BOX
=================================== */

.focus-box{
  background:white;
  padding:35px;
  height:100%;
  border-top:4px solid var(--gold);
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.focus-box h5{
  margin-top:25px;
  color:var(--gold);
  font-size:18px;
  font-weight:600;
}

.focus-box ul{
  list-style:none;
  margin-top:10px;
}

.focus-box li{
  padding:6px 0;
  border-bottom:1px solid var(--grey);
}


.badge-cvn{
  display:inline-block;
  background:var(--navy);
  color:white;
  padding:8px 18px;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-top:20px;
}

/* ===================================
PHILOSOPHY STEPS
=================================== */

.philosophy-step{
  text-align:center;
  padding:20px;
}

.philosophy-step .step-num{
  font-family:'Cormorant Garamond', serif;
  font-size:60px;
  color:var(--gold);
  line-height:1;
  margin-bottom:15px;
}

/* ===================================
FORM
=================================== */

label{
  display:block;
  font-size:14px;
  letter-spacing:.5px;
  margin-bottom:8px;
  color:var(--navy);
  font-weight:600;
}

.form-group{
  margin-bottom:22px;
}

.form-control{
  width:100%;
  border-radius:0;
  padding:16px;
  border:1px solid #ddd;
  box-shadow:none;
  font-family:'Inter',sans-serif;
  font-size:16px;
  background:white;
}

textarea.form-control{
  resize:vertical;
  min-height:150px;
}

.form-control:focus{
  border-color:var(--gold);
  box-shadow:none;
  outline:none;
}

.contact-info-item{
  margin-bottom:25px;
}

.contact-info-item span{
  display:block;
  color:var(--gold);
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:1px;
  margin-bottom:5px;
  font-weight:600;
}

/* ===================================
FOOTER
=================================== */

footer{
  background:#102638;
  color:white;
  padding:70px 0 30px 0;
}

footer h4{
  color:white;
  font-size:32px;
}

footer p{
  color:#d5d5d5;
}

footer a{
  color:#d5d5d5;
  transition:.25s;
}

footer a:hover{
  color:var(--gold);
}

footer hr{
  margin:40px 0;
  border:none;
  border-top:1px solid rgba(255,255,255,.15);
}

.footer-bottom{
  font-size:14px;
  color:#8fa0ae;
  text-align:center;
}
.pe-banner {
    margin-top: 60px;
    padding: 35px;
    border-top: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

.pe-banner h3 {
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.pe-banner p {
    max-width: 700px;
    margin: auto;
}

/* ===================================
ANIMATION
=================================== */

.hidden{
  opacity:0;
  transform:translateY(50px);
  transition:all .8s ease;
}

.show{
  opacity:1;
  transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .hidden{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:991px){
  .hero h1{ font-size:52px; }
  .hero h2{ font-size:28px; }
  .hero h3{ font-size:24px; }
  .hero p{ font-size:18px; }
  section{ padding:80px 0; }
  .page-hero-content h1{ font-size:42px; }
}

@media(max-width:768px){
  .hero h1{ font-size:42px; }
  .hero h2{ font-size:22px; }
  .hero h3{ font-size:20px; }
  h2{ font-size:38px; }

  .nav-links{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:70%;
    background:var(--navy);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    transition:.35s;
  }

  .nav-links.open{
    right:0;
  }

  .nav-link{
    color:white !important;
    margin:15px 0;
    font-size:18px;
  }

  .nav-toggle{
    display:block;
  }

  .row{
    gap:25px;
  }
}
