/* =============================================
   GLOBAL RESET & BASE
   ============================================= */
*, *::before, *::after {
  margin: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #0f172a;
  min-width: 0;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 3000;   /* increase this */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  max-width: 1500px;
  margin: auto;
  padding: 22px 50px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header--transparent {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.header--transparent * {
  color: white;
}

.header--scrolled {
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.logo img {
  height: 125px;
  width: auto;
}

.header--transparent .logo img {
  filter: brightness(0) invert(1);
}

.main-nav a {
  margin-left: 20px;
  text-decoration: none;
}

.btn-cta {
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
  color: white !important;
}

/* =============================================
   HERO – FULLSCREEN WITH LEFT CARD
   ============================================= */
.hero-fullscreen {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background slides */
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(34, 43, 133, 0.25),
    rgba(15, 23, 42, 0.65)
  );
}

/* Centered max-width wrapper */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 5;
}

/* White card anchored to the LEFT */
.hero-content-wrapper {
  position: relative;
  width: 520px;
  max-width: 100%;
  min-height: 280px;   /* prevents layout collapse when all cards are absolute */
}

/* ALL cards: absolutely fill the wrapper width exactly */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;           /* inherits 520px from wrapper — never stretches full screen */
  background: rgba(255, 255, 255, 0.97);
  padding: 55px 50px;
  border-radius: 12px;
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 1;
}

.hero-content.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.1;
  color: #0b2545;
}

.hero-content p {
  margin-top: 16px;
  line-height: 1.6;
  font-size: 17px;
  color: #475569;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 6;
  display: flex;
  gap: 10px;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dots .dot.active {
  background: #ffffff;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 10%;
  text-align: center;
}

.light {
  background: #f8fafc;
}

/* =============================================
   GRID LAYOUTS
   ============================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* 3rd item in grid-2 centers itself */
.grid-2 > :nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 360px;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

/* =============================================
   CARDS & SERVICES
   ============================================= */
.card,
.service {
  background: white;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.why-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  padding: 16px 44px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
  color: white;
  cursor: pointer;
  margin: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  padding: 16px 44px;
  border-radius: 30px;
  border: 1px solid #2563eb;
  color: white;
  margin: 10px;
}

.btn-link {
  color: #2563eb;
}

.btn-primary:active,
.btn-secondary:active,
.btn-cta:active {
  transform: scale(0.97);
}

/* =============================================
   CLICKABLE MICRO-INTERACTION
   ============================================= */
.clickable {
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.clickable:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px rgba(87, 105, 116, 0.25);
}

.clickable:active {
  transform: scale(0.97);
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.active {
  opacity: 1;
  transform: none;
  transition: 0.8s;
}

/* =============================================
   PARTNERS
   ============================================= */
.partner-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.partner-card img {
  width: 120px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.partner-card:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

/* =============================================
   VIDEO
   ============================================= */
iframe {
  width: 70%;
  height: 400px;
  border: none;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  padding: 70px 15px;
  background: #103a57;
}

.contact-box {
  max-width: 520px;
  margin: auto;
}

.contact-box h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 6px;
  color: #fff;
}

.contact-box p {
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: #c9d7e6;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 10px 8px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: white;
  font-size: 14px;
  display: block;
}

.contact-box textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-bottom: 1px solid #4db3ff;
}

.contact-box input::placeholder,
.contact-box textarea::placeholder {
  color: #b8c9da;
}

.contact-box button {
  margin-top: 12px;
  align-self: center;
  padding: 10px 26px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #4db3ff;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-box button:hover {
  background: #4db3ff;
  color: #0b2236;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-blur {
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(18px);
  text-align: center;
  padding: 40px;
}

/* =============================================
   MOBILE – max-width: 768px
   ============================================= */
@media (max-width: 768px) {

  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  /* Hero card – stack below header with margin */
  .hero-fullscreen {
    align-items: flex-start;
  }

  .hero-inner {
    padding: 0;
  }

  .hero-content-wrapper {
    width: auto;
    min-height: 240px;
    margin: 180px 20px 60px;
  }

  .hero-content {
    padding: 32px 24px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-dots {
    right: 20px;
    bottom: 20px;
  }

  /* Sections */
  .section {
    padding: 60px 20px;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-2 > :nth-child(3) {
    max-width: 100%;
  }

  /* Video */
  iframe {
    width: 100%;
    height: 220px;
  }

}

/* =============================================
   TABLET – max-width: 900px
   ============================================= */
@media (max-width: 900px) and (min-width: 769px) {

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  iframe {
    width: 100%;
  }

  .hero-content-wrapper {
    width: 460px;
  }

}

/* =============================================
   ACCESSIBILITY
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-content {
    transition: none;
  }
}
/* ===== CAREERS PAGE ===== */

.career-page{
  background:linear-gradient(135deg,#152029,#0f4280c9);
  min-height:100vh;
  padding-top:120px;
}

.career-wrapper{
max-width:720px;
margin:0 auto 100px;
padding:60px 60px 55px;
background:rgba(255,255,255,.97);
border-radius:14px;
box-shadow:
0 50px 120px rgba(2,6,23,.45),
0 8px 30px rgba(2,6,23,.25);
}

.career-wrapper h1{
  text-align:center;
  margin-bottom:15px;
  color:#0b2545;
}

.career-wrapper p{
  text-align:center;
  margin-bottom:40px;
  color:#475569;
}

.career-form input{
  width:100%;
  padding:15px;
  margin-bottom:20px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  font-size:15px;
}

.career-form input:focus{
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

.career-form button{
width:100%;
padding:18px;
background:linear-gradient(90deg,#2563eb,#22d3ee);
color:white;
border:none;
border-radius:999px;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.25s;
letter-spacing:.02em;
}

.career-form button:hover{
transform:translateY(-2px);
box-shadow:0 14px 35px rgba(37,99,235,.45);
}
.career-form input[type="text"],
.career-form input[type="tel"],
.career-form input[type="file"]{
width:100%;
padding:16px 18px;
margin-bottom:22px;
border:1px solid #d1d9e6;
border-radius:10px;
font-size:15px;
background:#f8fafc;
transition:.2s;
}

.career-form input::placeholder{
color:#94a3b8;
}

.career-form input:focus{
outline:none;
background:#ffffff;
border-color:#2563eb;
box-shadow:0 0 0 4px rgba(37,99,235,.12);
}/* ===== MOBILE NAVBAR ===== */

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  position:relative;
  z-index:3100;   
}

.menu-toggle span{
width:26px;
height:3px;
background:#0b2545;
display:block;
border-radius:3px;
transition:.3s;
}

/* mobile layout */
@media(max-width:900px){

.main-nav{
  position:fixed;
  top:0;
  right:-100%;
  height:100vh;
  width:260px;
  background:white;
  box-shadow:-10px 0 40px rgba(0,0,0,.2);
  flex-direction:column;
  padding:120px 30px;
  transition:.35s ease;
  z-index:3050;   /* add this */
}

.main-nav a{
display:block;
margin:18px 0;
font-size:17px;
}

.main-nav.active{
right:0;
}

.menu-toggle{
display:flex;
}

.header-inner{
justify-content:space-between;
}

}/* minimal footer layout */

.minimal-footer{
  background:#04080c;
  border-top:1px solid rgba(255,255,255,.08);
}

.footer-inner{
  max-width:420px;
  margin:0 auto;
  padding:28px 20px 26px;
  display:flex;
  justify-content:center;
}

/* LEFT COLUMN STACK */
.footer-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
}

.copyright{
  color:#cbd5e1;
  font-size:14px;
  letter-spacing:.03em;
  opacity:.9;
}
/* linkedin button */
.linkedin-circle{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0A66C2;
  color:white;
  border-radius:50%;
  transition:.25s;
}

.linkedin-circle:hover{
  background:#004182;
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.25);
}

/* mobile center */
@media(max-width:600px){
  .footer-left{
    align-items:center;
    text-align:center;
  }
}/* Contact identity block */

.contact-identity{
  margin-top:1px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}

.company-name{
  color:#cbd5e1;
  font-size:14px;
  letter-spacing:.03em;
  opacity:.85;
}

.linkedin-circle{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0A66C2;
  color:white;
  border-radius:50%;
  transition:.25s;
}

.linkedin-circle:hover{
  background:#004182;
  transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(0,0,0,.3);
}

/*  PARTNERS  */

#partners .grid-4{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:60px;
  flex-wrap:wrap;
}

#partners img{
  height: 180px;        
  width: auto;        
  object-fit: contain; 
  max-width: 260px;
  transition: transform 0.18s ease;
}

#partners img:hover{
  transform:scale(1.12);
}
