html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  background-color: #ffffff;
  cursor: url('../assets/icons/radai-cursor4.png'), pointer;
}

@font-face {
  font-family: 'Lexend';
  src: url('/assets/fonts/LexendGiga-VariableFont_wght.ttf') format('truetype');
}

h1 {
  font-family: 'Lexend';
  font-weight: 900!important;
  margin: 0;
}

h2, h3, h4, h5, h6 {
  font-family: 'Lexend';
  font-weight: 300!important;
  margin: 0;
}

p {
  font-family: 'Lexend';
  font-weight: 200!important;
  font-size: 16px;
}

.outer {
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.inner {
  margin-left: auto;
  margin-right: auto;
}

.background {
  background-image: url('/assets/tiny-planet-drone.jpg');
  background-position-y: center;
  background-position-x: left;
  background-size: 107%;
  height: 100vh;
  width: 100vw;
}

.bkg-container {
  background: rgba(27, 27, 27, 0.4);
  height: 100vh;
}

.title {
  padding-top: 21%;
}

.title h1 {
  font-size: 66px!important;
  text-align: center;
  line-height: 108%;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.title h2 {
  font-size: 30px;
  text-align: center;
  color: #ffffff;
  padding-top: 3px;
}

/** NAVIGATION NAVIGATION NAVIGATION **/
/** NAVIGATION NAVIGATION NAVIGATION **/

/** Logo **/
.logolink {
  padding: 10px 0 0 15px;
  z-index: 10000000;
  width: fit-content;
}

#logo {
  width: 120px;
  margin: 0;
  padding: 35px 0 0 35px;
  cursor: url('../assets/icons/radai-cursor4.png'), pointer;
}
/** END logo **/

nav {
  display: grid;
  grid-template-columns: 250px auto;
  position: absolute;
  width: 100vw;
}

.menu ul {
  display: flex;
  width: fit-content;
  float: right;
  margin-right: 80px;
  margin-top: 50px;
}

.menu ul li {
  list-style-type: none;
  margin-left: 80px;
  font-size: 16px;
  font-family: 'Lexend';
  font-weight: 300 !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.menu ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s; 
  padding: 7px 0;
  color: #ffffff;
}

.menu button {
  margin-left: 80px;
}

/* top line */
nav {
  z-index: 100000;
}

nav .menu ul li a::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;    /* line thickness */
  background: #029bdf;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease-out;
  height: 4px;
}

/* bottom line */
nav .menu ul li a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: #9aca3c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease-out 0.05s; /* slight delay */
  height: 4px;
}

/* hover/focus state */
nav .menu ul li a:hover,
nav .menu ul li a:focus {
  cursor: url('../assets/icons/radai-cursor4.png'), pointer;
}

nav .menu ul li a:hover::before,
nav .menu ul li a:focus::before {
  transform: scaleX(1);
}

nav .menu ul li a:hover::after,
nav .menu ul li a:focus::after {
  transform: scaleX(1);
}

/* Homepage: Service Area */
.service-area-out-out {
  position: relative;
  background: #011924;
  height: 100vh;
}

.service-area-out {
  /* replace your grid rules with… */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical centering */
  align-items: center;      /* horizontal centering */
  height: 100vh;            /* you already have */
}

.canada img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;         /* or your 30vw if you prefer */
  max-width: 100%;
  opacity: 0.26;       /* your desired translucency */
  z-index: 1;
  pointer-events: none;/* so clicks go through */
}

/* 3) Bring title and province text above the map */
.service-area-title,
.provinces {
  position: relative;
  z-index: 2;
}

/* 4) Style your province text to be bold & centered */
.provinces {
  text-align: center;
}

.provinces h4 {
  font-size: 100px;    /* make it big! */
  font-weight: 900 !important;
  color: #e0e0e0;
  margin: 0;
  text-transform: uppercase;
  line-height:100%;
}

/* Homepage: Magnetic Map Section */
.benefits-background {
  height: 100vh;
  background-image: url('/assets/magnetic.jpg');
  background-size: cover;
}

.benefits-shadow {
  height: 100vh;
  width: 100vw;
  background: rgba(22, 22, 22, 0.7);
  display: grid;
  align-items: center;
}

.benefits-container-in {
  height: fit-content;
}

.benefits-container-in h2 {
  font-size: 55px;
  font-weight: 900!important;
  text-align: center;
  color: #ffffff;
  margin-bottom: 50px;
  text-transform: uppercase;
  line-height: 90%;
  letter-spacing: -1px;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 61vw;
  margin: 0 auto;
}

.grid-item {
  margin: 0 35px;
}

.benefits-grid-item h3 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 600 !important;
  text-transform: uppercase;
  text-align: center;
  margin-top: 18px;
}

.benefits-grid-item p {
  color: #ffffff !important;
  font-family: 'Lexend';
  font-size: 19px;
  font-weight: 200!important;
  text-align: center;
  margin: 6px 0;
}

.grid-img {
  display: flex;
  justify-content: center;
}

.benefits-grid-item img {
  height: 68px;
}

.grid-img.warning img {
  height: 62px;
  padding-bottom: 3px;
  padding-top: 3px;
}

/* Contact Page */
.bkg-container-contact {
  background: rgba(27, 27, 27, 0.4);
  height: 100vh;
  display: flex;
  align-items: center;
}

.contact-form h1 {
  font-size: 52px!important;
  font-weight: 200;
  line-height: 108%;
  letter-spacing: 1px;
  color: #ececec;
  margin: 0 auto;
  text-align: center;
}

.bkg-container-contact-in {
  display: grid;
  align-items: center;
  height: fit-content;
  margin: 0 auto;
}

.contact-form-out {
  width: 550px;
  background: rgba(12, 22, 27, 0.88);
  margin: 0 auto;
  min-height: fit-content;
  padding: 45px 0;
}

.contact-form p {
  text-align: center;
  color: #d4d4d4;
  font-family: 'Lexend';
  margin: 0;
  font-weight: 300;
}

form {
  display: grid;
  width: 75%;
  margin: 0 auto;
}

input, textarea {
  margin-top: 25px;
  height: 30px;
  background: 0;
  border: 0;
  border-bottom: 1px solid #bcbcbc;
  font-family: 'Lexend';
  color: #bcbcbc;
  padding:10px;
  cursor: url('../assets/icons/radai-cursor4.png'), pointer;
}

input[type="submit"] {
  background: #bcbcbc;
  color: #101b22;
  height: 45px;
  border: 0!important;
  cursor: url('../assets/icons/radai-cursor4.png'), pointer;
}

#submit:hover {
  color: #000000;
  background-color: #9aca3c;
}

#textarea {
  height: 100px;
}

input::placeholder {
  color: #bcbcbc;
}

#textarea::placeholder {
  position: absolute;
  bottom: 16px;
  color: #bcbcbc;
}

/* About page */

.about {
  height: 100vh;
  width: 100vw;
  background-color: #000000;
  display: flex;
  align-items: center;
}

.about-in {
  margin: 0 auto;
}

.about-in h1 {
  font-size: 54px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c4c4c4;
}

.about-in h2 {
  font-size: 28px;
  text-align: center;
  color: #dbdbdb;
  padding-top: 3px;
  font-weight: 400!important;
}

/* Services page */

.services-container {
  background-image: url('/assets/evtol-mapping.jpg');
  background-size: 132%;
  background-position-y: 84%;
  background-position-x: 11%;
}

.services {
  height: 100vh;
  width: 100vw;
  background-color: rgba(12, 12, 12, 0.42);
  display: flex;
  align-items: center;
}

.services-in {
  margin: 0 auto;
}

.services h1 {
  font-size: 54px;
  text-align: center;
  line-height: 108%;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.services h2 {
  font-size: 28px;
  text-align: center;
  color: #dbdbdb;
  padding-top: 3px;
  font-weight: 400!important;
}

.serv h2 {
  font-size: 34px;
  font-weight: 800 !important;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.serv h3 {
  font-size: 23px;
  font-weight: 400 !important;
  letter-spacing: -0.5px;
}

.serv p {
  font-size: 18px;
}

.whyus-container {
  height: 100vh;
  width: 100vw;
  background-image: url(../assets/evtol-driveway.jpg);
  background-position: center;
  background-size: cover;
}

.whyus {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: rgb(12 21 27 / 80%);
  color: #fff;
}

.whyus-in {
  width: 64vw;
  margin: 0 auto;
}

.whyus p {
    font-family: 'Lexend';
    font-size: 18px;
    letter-spacing: 0.25px;
    margin: 0;
}

.cap-eff-container {
  height: 100vh;
  width: 100vw;
  background-image: url(../assets/contingency-volume.jpg);
  background-size: cover;
}

.cap-eff {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.73);
  color: #fff;
  height: 100vh;
}

.cap-eff-in {
  width: 64vw;
  margin: 0 auto;
}

.geosolu-container {
  height: 100vh;
  width: 100vw;
  background: url(../assets/evtol-em.jpg);
  background-position: -10% center;
  background-size: 180%;
}

.geosolu {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  height: 100vh;
}

.geosolu-in {
  width: 60vw;
  margin: 0 auto;
}

.deliver-container {
  height: 100vh;
  width: 100vw;
  background: url(../assets/terrain-map-generic.jpg);
}

.deliver {
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.88);
  color: #000;
}

.deliver-in {
  width: 60vw;
  margin: 0 auto;
}

.whythismatters-container {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  background-color: #000;
}

.whythismatters {
  margin: 0 auto;
}

.whythismatters-in {
  width: 70vw;
}

/* Sweep Animation Styles */
.whythismatters-in h2 {
  font-size: 42px;
  font-weight: 900 !important;
  text-align: center;
  text-transform: uppercase;
  line-height: 110%;
  letter-spacing: -0.5px;
  position: relative;
  overflow: hidden;
  color: #ffffff; /* fallback before animation */
}

/* give them the magnetic map as background text */
.whythismatters-in h2 {
  background-image: url('/assets/magnetic.jpg');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255,255,255,0.2);
  background-clip: text;
  color: transparent;
}

/* Default state: black text (before sweep) */
.whythismatters-in h2::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* covers text */
  z-index: 2;
  transform: translateX(0);
}

/* Active states with staggered animations */
.whythismatters-in.active h2:nth-child(1)::before {
  animation: sweep-ltr 1.5s forwards;
}

.whythismatters-in.active h2:nth-child(2)::before {
  animation: sweep-ltr 1.5s 0.8s forwards;
}

.whythismatters-in.active h2:nth-child(3)::before {
  animation: sweep-ltr 1.5s 1.8s forwards;
}

/* keyframes */
@keyframes sweep-ltr {
  to { transform: translateX(100%); }
}

@keyframes sweep-rtl {
  to { transform: translateX(-100%); }
}

/* Default hidden state for buttons */
.cta-reveal button {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-reveal .r-core-primary {
    background:#963639;
    border: 2px solid #963639;
}

.cta-reveal .r-core-primary:hover {
    background: none;
    border: 2px solid #963639;
    color: #ffffff;
}

.cta-reveal .r-core-outline {
    background: #D6943D;
    border: 2px solid #D6943D;
    color: #000000;
}

.cta-reveal .r-core-outline:hover {
    background: none;
    color: #ffffff;
    border: 2px solid #D6943D;
}

.cta-reveal .r-core-secondary {
    background: #4fd737;
    border: 2px solid #4fd737;
}

.cta-reveal .r-core-secondary:hover {
    background: none;
    border: 2px solid #4fd737;
    color: #ffffff;
}
  
/* When active, animate them in one by one */
.whythismatters-in.active .r-core-cta-row button:nth-child(1) {
    transition-delay: 3s; /* after last h2 finishes */
    opacity: 1;
    transform: translateX(0);
}
  
.whythismatters-in.active .r-core-cta-row button:nth-child(2) {
    transition-delay: 3.5s;
    opacity: 1;
    transform: translateX(0);
}
  
.whythismatters-in.active .r-core-cta-row button:nth-child(3) {
    transition-delay: 4s;
    opacity: 1;
    transform: translateX(0);
}


/* Homepage: video section */

.video-hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: rgba(255,255,255,0.85);
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
  filter: opacity(0.6)
}

.video-overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

.video-title {
  font-size: 64px;
  font-weight: 900 !important;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #313131;
  line-height: 90%;
  letter-spacing: -1px;
}

.video-text {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 670px;
  margin: 0 auto;
  color: #000000;
  font-family: 'Lexend';
  font-weight: 300;
}

/** Test **/
/* ===== Radai — Core Services block (namespaced .r-core-*) ===== */
.core-services-container {
  background-image: url('https://radai.fi/wp-content/uploads/2022/02/2021-11-13-11_cropped-1024x761.gif');
  background-size: cover;
  background-position: center 65%;
}

.r-core-section {
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
}
.r-core-inner { width: 75vw; max-width: 1200px; margin: 0 auto; }

.r-core-header {
  text-align: center;
  width: 600px;
  margin: 0 auto 36px;
}
.r-core-header h2 { font-family: 'Lexend', sans-serif; font-weight: 800 !important; font-size: 38px; margin-bottom: 6px; text-transform: uppercase; }
.r-core-lead { color: #ffffff; margin: 0 0 18px 0; font-size: 19px; }

/* grid */
.r-core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; align-items:stretch; }
.r-core-card {
  background: #00b1ff99;
  padding: 30px;
  min-height: 160px;
  gap: 12px;
}
.r-core-icon { width:56px; height:56px; border-radius:10px; background: rgba(255,255,255,0.04); display:flex; align-items:center; justify-content:center; color:#ffffff; flex:0 0 56px; }
.r-core-card h3 { margin: 13px 0 6px 0; font-size:19px; font-weight:800 !important; color:#ffffff; text-transform: uppercase; }
.r-core-card p { margin: 0; color:#ffffff; font-size:16px; line-height:1.35; }

.r-core-icon img {
  width: 40px;
}

/* CTA row */
.r-core-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin: 36px auto 0;
}
.r-core-btn {
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  font-family: 'Lexend', sans-serif;
  text-transform: uppercase;
}
.r-core-primary {
  background: #0592d0;
  color: #ffffff;
  border: 2px solid #0592d0;
}
.r-core-outline {
  background: transparent;
  color: #9ce0ff;
  border: 2px solid rgb(97 206 255 / 48%);
}

.services-btn-container {
  width: fit-content;
  margin: 20px auto 0;
}

.services-cta-btn {
  background: #9aca3c;
  border: 2px solid #9aca3c;
  color: #000000;
  padding: 14px 28px;
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
  text-transform: uppercase;
  font-size: 15px;
}

.services-cta-btn:hover {
  background: #0592d0;
  color: #ffffff;
  border: 2px solid #0592d0;
}

.hp-cta-btn {
  background: #9aca3c;
  border: 2px solid #9aca3c;
  color: #000000;
}

.hp-cta-btn:hover {
  background: #0592d0;
  color: #ffffff;
  border: 2px solid #0592d0;
}

/* hover */
.r-core-primary:hover, .r-core-outline:hover, .r-core-secondary:hover { background: #9aca3c; color: #071024; border: 2px solid transparent;}

/* responsive */
@media (max-width: 1100px) {
  .r-core-inner { width: 86vw; }
  .r-core-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .r-core-grid { grid-template-columns: 1fr; }
  .r-core-header { text-align:center; }
  .r-core-lead { text-align:center; }
  .r-core-cta-row { flex-direction: column; align-items:stretch; }
  .r-core-cta-row .r-core-btn { width:100%; }
}


/** Value Prop - services page **/
.value-prop-container {
  background-image: url('../assets/evtol-garage1.jpg');
  background-size: cover;
  background-position: center 76%;
}

.value-section {
  padding: 70px 0;
  background: rgba(12, 22, 27, 0.73);
  height: 100vh;
  display: flex;
  align-items: end;
}

.value-inner {
  width: 64vw;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.value-section h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 900 !important;
  font-size: 34px;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: #ffffff;
}

.value-lead {
  font-size: 17px;
  font-weight: 300;
  color: #ffffff;
  margin: 0 auto 50px;
  max-width: 800px;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.value-card {
  background: rgba(0, 0, 0, 0.55);
  padding: 24px;
  min-height: 180px;
  text-align: left;
}

.white-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  min-height: 180px;
  text-align: left;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.white-card h3 {
  color: #000000!important
}

.value-card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #ffffff;
}

.white-card {
  background: none;
  padding: 0;
  min-height: 180px;
  text-align: left;
  display: flex;
  align-items: center;
}

.r-core-secondary {
  color: #000000;
  background: #ffffff;
  padding: 14px 28px;
  border: 2px solid #ffffff;
}

.value-cta .r-core-primary, .value-cta .r-core-outline {
  margin-bottom: 22px;
}

.value-cta .r-core-btn {
  width: 308px !important;
}