/* =========================================================================
   RESOURCE REVOLUTION GROUP — v3 stylesheet
   Colour palette derived from the brand logo:
   • Deep Navy   — the "R" lettermark and primary text
   • Rich Green   — circular arrows and leaf motifs
   • Golden Amber — globe highlight, sun icon, solar accent
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --white: #FFFFFF;
  --sky: #F0F6F2;
  --sky-deep: #DDE9E0;
  --green: #3A8C3F;
  --green-mid: #2E7D33;
  --green-light: #E8F5E9;
  --navy: #1B3A5C;
  --navy-deep: #0F2840;
  --navy-light: #2A5078;
  --amber: #D4A531;
  --amber-deep: #B8902A;
  --amber-light: #FFF3D6;
  --ink: #1A2E3F;
  --muted: #546E7A;
  --border: #D0DDD4;

  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --edge: 5vw;
  --radius: 8px;
  --ease: cubic-bezier(.25,.65,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .marquee-track{ animation-duration:0.001ms !important; }
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

::selection{ background:var(--navy); color:#fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--green);
  outline-offset:2px;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--edge);
}

/* ---------- shared type ------------------------------------------- */
.eyebrow{
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--green);
  margin:0 0 12px;
}
.eyebrow.on-dark{ color:var(--amber); }

h1,h2,h3,h4{
  font-family:var(--font);
  color:var(--navy);
  margin:0;
  font-weight:700;
  letter-spacing:-.01em;
}

.section-title{
  font-size:clamp(26px,3vw,38px);
  line-height:1.2;
  max-width:640px;
}
.section-sub{
  color:var(--muted);
  font-size:16px;
  max-width:56ch;
  margin-top:14px;
}
.section-head{
  margin-bottom:48px;
}
.section-head.center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.section-head.center .section-title,
.section-head.center .section-sub{
  margin-left:auto;
  margin-right:auto;
}

.section{
  padding:88px 0;
}
.section.tight{ padding:64px 0; }
.section.alt{ background:var(--sky); }

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:700;
  font-size:14.5px;
  padding:14px 26px;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active{ transform:translateY(1px); }
.btn-primary{
  background:var(--green);
  color:#fff;
}
.btn-primary:hover{ background:var(--green-mid); }
.btn-accent{
  background:var(--amber);
  color:var(--navy);
}
.btn-accent:hover{ background:var(--amber-deep); }
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-outline-blue{
  background:transparent;
  border-color:var(--green);
  color:var(--green);
}
.btn-outline-blue:hover{ background:var(--green); color:#fff; }

/* reveal on scroll */
.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in{ opacity:1; transform:none; }

/* =========================================================================
   NAV — single-line, clean, tight
   ========================================================================= */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--edge);
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand img{ height:36px; width:auto; }
.brand-text{
  font-size:13.5px;
  font-weight:800;
  color:var(--navy);
  line-height:1.2;
  white-space:nowrap;
}
.brand-text span{
  display:block;
  font-size:10px;
  font-weight:600;
  color:var(--muted);
  letter-spacing:.08em;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13.5px;
  font-weight:600;
  color:var(--ink);
  margin:0;
  padding:0;
  list-style:none;
  white-space:nowrap;
}
.nav-links li{
  flex-shrink:0;
}
.nav-links a{
  position:relative;
  padding:8px 10px;
  border-radius:6px;
  transition:color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after{
  content:"";
  position:absolute; left:10px; right:10px; bottom:4px;
  height:2px; background:var(--green);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s var(--ease);
}
.nav-links a:hover{ color:var(--green); }
.nav-links a:hover::after{ transform:scaleX(1); }

/* Contact button — solid box in navbar */
.nav-cta-box{
  background:var(--green) !important;
  color:#fff !important;
  padding:10px 22px !important;
  border-radius:var(--radius) !important;
  font-weight:700;
  white-space:nowrap;
  transition:background .2s var(--ease), transform .15s var(--ease) !important;
  border:none;
}
.nav-cta-box:hover{
  background:var(--green-mid) !important;
  color:#fff !important;
  transform:translateY(-1px);
}
.nav-cta-box::after{ display:none !important; }

.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  flex-direction:column; gap:5px; padding:6px;
}
.nav-toggle span{ width:22px; height:2px; background:var(--navy); display:block; border-radius:2px; }

@media (max-width:960px){
  .nav-links{
    position:fixed; inset:64px 0 0 0;
    background:#fff;
    flex-direction:column;
    align-items:flex-start;
    padding:28px var(--edge);
    gap:8px;
    font-size:16px;
    transform:translateY(-8px);
    opacity:0; visibility:hidden;
    transition:opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    overflow-y:auto;
    white-space:normal;
  }
  .nav-links.is-open{ opacity:1; transform:none; visibility:visible; }
  .nav-toggle{ display:flex; }
}

/* =========================================================================
   HERO — perfectly fitted to 100vh above the fold
   ========================================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:72px 0 24px;
  background:
    linear-gradient(100deg, rgba(15,40,64,.88) 0%, rgba(27,58,92,.72) 45%, rgba(27,58,92,.50) 100%),
    url('src/hero-bg.jpg') center/cover no-repeat;
}
.hero-inner{ max-width:680px; }
.hero .eyebrow{ color:var(--amber); margin-bottom:8px; }
.hero h1{
  color:#fff;
  font-size:clamp(30px, 3.8vw, 46px);
  line-height:1.15;
  margin-bottom:14px;
}
.hero p.lead{
  color:#DCE9F2;
  font-size:clamp(15px, 1.4vw, 16.5px);
  max-width:54ch;
  margin:0 0 20px;
  line-height:1.5;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.hero-actions .btn{
  padding:11px 22px;
  font-size:14px;
}
.hero-trust-bar{
  margin-bottom:20px;
  padding:10px 14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:var(--radius);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.trust-title{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--amber);
  margin-bottom:0;
}
.trust-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:12.5px;
  font-weight:600;
  color:#E1EFF8;
}
.trust-tags span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.trust-tags span::before{
  content:"•";
  color:var(--green);
}
.trust-tags span:first-child::before{
  display:none;
}
.hero-stats{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.22);
  padding-top:16px;
}
.hero-stat b{
  display:block;
  font-size:20px;
  color:#fff;
  font-weight:800;
  line-height:1.2;
}
.hero-stat span{
  font-size:12px;
  color:#B9CBD9;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
@media (max-width:960px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

.service-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:30px 26px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover{
  border-color:var(--green);
  box-shadow:0 10px 28px -18px rgba(58,140,63,.4);
  transform:translateY(-3px);
}
.service-icon{
  width:46px; height:46px;
  border-radius:8px;
  background:var(--green-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  color:var(--green);
}
.service-card h3{
  font-size:18px;
  margin-bottom:10px;
}
.service-card p{
  color:var(--muted);
  font-size:14.5px;
  margin:0 0 14px;
}
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.tag{
  font-size:11.5px;
  font-weight:600;
  color:var(--navy);
  background:var(--sky);
  padding:4px 9px;
  border-radius:4px;
}

/* =========================================================================
   INDUSTRIES — auto-sliding marquee
   ========================================================================= */
.marquee{
  position:relative;
  overflow:hidden;
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track{
  display:flex;
  gap:20px;
  width:max-content;
  will-change:transform;
  animation:scrollX 40s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }

@keyframes scrollX{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

.industry-card{
  flex:0 0 260px;
  width:260px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px 22px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.industry-card:hover{
  border-color:var(--green);
  box-shadow:0 6px 20px -10px rgba(58,140,63,.3);
}
.industry-card .idx{
  font-size:12px;
  font-weight:700;
  color:var(--amber-deep);
  margin-bottom:10px;
  display:block;
}
.industry-card h3{
  font-size:16.5px;
  margin-bottom:8px;
}
.industry-card p{
  font-size:13.5px;
  color:var(--muted);
  margin:0;
}

/* =========================================================================
   MARKETS
   ========================================================================= */
.markets-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:56px;
  align-items:center;
}
@media (max-width:900px){ .markets-grid{ grid-template-columns:1fr; } }

.map-card{
  background:var(--navy-deep);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);
  padding:16px;
  overflow:hidden;
}
.map-card svg{ width:100%; height:auto; display:block; }
.map-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
}
.map-legend{
  display:flex;
  gap:18px;
  justify-content:center;
  margin-top:14px;
  font-size:12.5px;
  color:rgba(255,255,255,.7);
}
.map-legend span{ display:flex; align-items:center; gap:6px; }
.map-legend i{
  width:9px; height:9px; border-radius:50%;
  display:inline-block;
}

.region-table{ width:100%; border-collapse:collapse; margin-bottom:28px; }
.region-table td{
  padding:12px 0;
  border-bottom:1px solid var(--border);
  font-size:15px;
}
.region-table td:first-child{ font-weight:700; color:var(--navy); }
.region-table td:last-child{ text-align:right; color:var(--green); font-weight:600; font-size:13px; }

.focus-list{ display:flex; flex-wrap:wrap; gap:8px; }
.focus-list span{
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  background:var(--sky);
  border:1px solid var(--sky-deep);
  padding:6px 12px;
  border-radius:4px;
}

/* =========================================================================
   BANNER (mid.jpg) — Why Us
   ========================================================================= */
.banner{
  position:relative;
  padding:96px 0;
  background:
    linear-gradient(100deg, rgba(15,40,64,.90) 10%, rgba(27,58,92,.76) 60%, rgba(27,58,92,.58) 100%),
    url('src/why-us-bg.jpg') center/cover no-repeat;
  color:#fff;
}
.banner-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:start;
}
@media (max-width:900px){ .banner-grid{ grid-template-columns:1fr; gap:36px; } }
.banner h2{ color:#fff; font-size:clamp(26px,3.2vw,36px); margin-bottom:16px; }
.banner p.lead{ color:#D6E6F0; font-size:16.5px; max-width:46ch; }

.why-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px 30px;
}
@media (max-width:560px){ .why-list{ grid-template-columns:1fr; } }
.why-item{
  display:flex;
  gap:14px;
}
.why-icon{
  flex:0 0 auto;
  width:34px; height:34px;
  border-radius:50%;
  background:var(--amber);
  color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  font-size:14px;
}
.why-item h3{ color:#fff; font-size:15.5px; margin-bottom:6px; }
.why-item p{ color:#C7D9E4; font-size:13.5px; margin:0; }

/* =========================================================================
   PROCESS
   ========================================================================= */
.process-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
@media (max-width:960px){ .process-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .process-grid{ grid-template-columns:1fr; } }
.process-step{
  background:#fff;
  padding:26px 20px;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.process-step:last-child{ border-right:none; }
@media (max-width:960px){
  .process-step:nth-child(3){ border-right:none; }
}
@media (max-width:600px){
  .process-step{ border-right:none !important; }
}
.process-num{
  width:32px; height:32px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700;
  font-size:13.5px;
  margin-bottom:16px;
}
.process-step h3{ font-size:15px; margin-bottom:8px; }
.process-step p{ font-size:13px; color:var(--muted); margin:0; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
@media (max-width:760px){ .team-grid{ grid-template-columns:1fr; } }
.team-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover{
  border-color:var(--green);
  box-shadow:0 8px 24px -12px rgba(58,140,63,.3);
}
.team-photo-wrap{
  width:96px; height:96px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--sky-deep);
  background:var(--sky);
  margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
}
.team-photo{
  width:100%; height:100%;
  object-fit:cover;
}
.team-card h3{ font-size:18px; margin-bottom:4px; }
.team-role{ font-size:13px; color:var(--green); font-weight:700; margin-bottom:12px; }
.team-bio{ font-size:13.5px; color:var(--muted); margin:0 0 18px; line-height:1.55; }
.team-linkedin{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12.5px;
  font-weight:700;
  color:var(--navy);
  background:var(--sky);
  padding:6px 12px;
  border-radius:20px;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.team-linkedin:hover{
  background:var(--navy);
  color:#fff;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{
  border-bottom:1px solid var(--border);
}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px 4px;
  background:none;
  border:none;
  text-align:left;
  font-size:16px;
  font-weight:700;
  color:var(--navy);
  cursor:pointer;
}
.faq-q .plus{
  flex:0 0 auto;
  width:28px; height:28px;
  border-radius:50%;
  border:1.5px solid var(--green);
  color:var(--green);
  display:flex; align-items:center; justify-content:center;
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.faq-q .plus svg{
  width:12px; height:12px;
  display:block;
}
.faq-item.is-open .plus{
  transform:rotate(45deg);
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s var(--ease);
}
.faq-a p{
  margin:0 0 22px;
  color:var(--muted);
  font-size:14.5px;
  max-width:70ch;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:48px;
  align-items:start;
}
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-form{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--navy);
  margin-bottom:7px;
}
.field input, .field textarea, .field select.select-field{
  width:100%;
  border:1px solid var(--border);
  border-radius:5px;
  padding:12px 14px;
  font-family:var(--font);
  font-size:14.5px;
  color:var(--ink);
  background:var(--sky);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select.select-field:focus{
  border-color:var(--green);
  background:#fff;
  outline:none;
}
.field textarea{ resize:vertical; min-height:120px; }
.form-note{
  font-size:12.5px;
  color:var(--muted);
  margin-top:6px;
}
.form-status{
  margin-top:14px;
  font-size:14px;
  font-weight:600;
}
.form-status.ok{ color:#1c7a3f; }
.form-status.err{ color:#b3261e; }

.info-card{
  background:var(--sky);
  border:1px solid var(--sky-deep);
  border-radius:var(--radius);
  padding:28px;
  margin-bottom:20px;
}
.info-row{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--sky-deep);
  font-size:14.5px;
}
.info-row:last-child{ border-bottom:none; }
.info-row span:first-child{ color:var(--muted); font-weight:600; }
.info-row a:hover{ color:var(--green); }

.map-embed{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:16/10;
}
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer{
  background:var(--navy-deep);
  color:#9FB6C6;
  padding:48px 0 24px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
  padding-bottom:32px;
  border-bottom:1px solid rgba(255,255,255,.12);
  margin-bottom:24px;
}
.footer-brand{ display:flex; align-items:center; gap:10px; }
.footer-brand img{ height:30px; }
.footer-brand b{ color:#fff; font-size:14px; }
.footer-links{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  font-size:13.5px;
}
.footer-links a:hover{ color:#fff; }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:12.5px;
}
