/* ================= ROOT ================= */
:root{
  --primary:#002f6c;
  --accent:#c41230;
  --bg:#f4f6fb;
  --text:#333;
}

/* ================= GLOBAL ================= */
*{
  box-sizing:border-box;
}

body{
  background:var(--bg);
  color:var(--text);
}

section{
  padding:90px 6%;
  position:relative;
  overflow:hidden;
}

/* ================= HERO ================= */
/* ================= CINEMATIC HERO ================= */

.cinematic-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* Video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

/* Mobile fallback */
.hero-image {
  display: none;
  position: absolute;
  inset: 0;
  background: url("../images/fleet-hero-fallback.jpg") center/cover no-repeat;
}

/* Overlay */
.fleet-hero-overlay {
  position: absolute;
  inset: 0;
}

/* Content */
.fleet-hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8%;
  max-width: 760px;
  color: #fff;
}

.fleet-hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.fleet-hero-content p {
  margin-top: 18px;
  font-size: 1.15rem;
  opacity: .9;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.hero-stats div strong {
  font-size: 1.6rem;
  color: var(--hero-accent, #00c2ff);
}

.hero-stats span {
  display: block;
  font-size: .9rem;
  opacity: .85;
}

/* Aircraft color sync */
.aircraft-da40 { --hero-accent: #00c2ff; }
.aircraft-da42 { --hero-accent: #ffb300; }
.aircraft-c172 { --hero-accent: #4caf50; }

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-image { display: block; }
  .fleet-hero-content { padding: 0 8%; }
  .hero-stats { gap: 24px; }
}


/* ================= SECTION HEAD ================= */
.section-head{
  text-align:center;
  margin-bottom:60px;
}

.section-title{
  font-size:2.6rem;
  color:var(--primary);
  position:relative;
}

.section-title::after{
  content:'';
  width:80px;
  height:4px;
  background:var(--accent);
  display:block;
  margin:18px auto 0;
  border-radius:4px;
  animation:lineGrow 1s ease;
}

@keyframes lineGrow{
  from{width:0}
  to{width:80px}
}

.section-subtitle{
  max-width:600px;
  margin:12px auto 0;
  opacity:.8;
}

/* ================= FLEET GRID ================= */
.fleet-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:35px;
}

.fleet-card{
  background:#fff;
  border-radius:22px;
  box-shadow:0 20px 55px rgba(0,0,0,.08);
  overflow:hidden;
  position:relative;
  transition:.5s ease;
}

.fleet-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.25),transparent);
  opacity:0;
  transition:.6s;
}

.fleet-card:hover::before{
  opacity:1;
}

.fleet-card:hover{
  transform:translateY(-14px) scale(1.02);
  box-shadow:0 35px 75px rgba(0,0,0,.18);
}

/* ================= IMAGE ================= */
.fleet-img{
  position:relative;
  overflow:hidden;
}

.fleet-img img{
  width:100%;
  height:230px;
  object-fit:cover;
  transition:.8s ease;
}

.fleet-card:hover img{
  transform:scale(1.12) rotate(.5deg);
}

/* ================= TAG ================= */
.fleet-tag{
  position:absolute;
  top:18px;
  left:18px;
  background:rgba(0,0,0,.65);
  color:#fff;
  padding:6px 16px;
  border-radius:20px;
  font-size:.75rem;
  backdrop-filter:blur(6px);
}

/* ================= CONTENT ================= */
.fleet-card-content{
  padding:28px;
}

.fleet-card h3{
  color:var(--primary);
  margin-bottom:10px;
}

.fleet-card p{
  font-size:.95rem;
  color:#555;
}

/* ================= BUTTON ================= */
.fleet-btn{
  display:inline-block;
  margin-top:18px;
  padding:12px 30px;
  background:linear-gradient(135deg,var(--primary),#004aad);
  color:#fff;
  border-radius:30px;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  transition:.4s;
}

.fleet-btn::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.4),transparent);
  transform:translateX(-100%);
  transition:.6s;
}

.fleet-btn:hover::after{
  transform:translateX(100%);
}

.fleet-btn:hover{
  transform:translateY(-3px);
}

/* ================= HIGHLIGHTS ================= */
.fleet-highlights{
  background:linear-gradient(180deg,var(--bg),#fff);
}

.highlight-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.highlight-card{
  background:#fff;
  padding:35px;
  border-radius:22px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  text-align:center;
  transition:.4s;
}

.highlight-card:hover{
  transform:translateY(-12px);
  box-shadow:0 35px 70px rgba(0,0,0,.18);
}

/* ================= FLOATING BACKGROUND SHAPES ================= */
section::before{
  content:'';
  position:absolute;
  width:260px;
  height:260px;
  background:radial-gradient(circle,var(--accent),transparent 70%);
  opacity:.05;
  top:-80px;
  right:-80px;
  animation:floatBg 8s ease-in-out infinite;
}

/* ================= AIRCRAFT SKY ENTRY ================= */
.aircraft-overview{
  background:#fff;
  overflow:hidden;
}

.overview-aircraft{
  position:relative;
}

/* Initial hidden state */
.overview-aircraft img{
  width:100%;
  transform:translateY(-180%) scale(.82);
  opacity:0;
  filter:drop-shadow(0 60px 80px rgba(0,0,0,.35));
  transition:none; /* IMPORTANT */
}



/* ================= CINEMATIC AIRCRAFT ================= */
.cinematic-aircraft{
  position:relative;
  height:380px;
  margin:80px 0 120px;
  overflow:hidden;
}

/* CLOUDS */
.cloud{
  position:absolute;
  top:0;
  width:55%;
  height:100%;
  background:
    radial-gradient(circle at 30% 40%, #fff 25%, transparent 60%),
    radial-gradient(circle at 60% 60%, #fff 30%, transparent 65%),
    radial-gradient(circle at 80% 30%, #fff 20%, transparent 55%);
  filter:blur(18px);
  opacity:.85;
  z-index:1;
}

.cloud-left{
  left:-10%;
  transform:translateX(0);
}

.cloud-right{
  right:-10%;
  transform:translateX(0);
}

/* AIRCRAFT */
.fly-aircraft{
  position:absolute;
  top:-180%;
  left:50%;
  transform:translateX(-50%) scale(.85);
  width:420px;
  z-index:3;
  filter:drop-shadow(0 80px 90px rgba(0,0,0,.35));
  opacity:0;
}

/* CONTRAIL */
.contrail{
  position:absolute;
  top:-200px;
  left:50%;
  width:4px;
  height:0;
  background:linear-gradient(to bottom,rgba(255,255,255,.8),transparent);
  transform:translateX(-50%);
  filter:blur(1px);
  opacity:0;
  z-index:2;
}



/* ================= DA42 DISTINCT LOOK ================= */

.aircraft-da42{
  background:
    radial-gradient(circle at 50% 40%, rgba(0,47,108,.06), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6f9ff);
}


/* GRID – less symmetry */
.overview-grid{
  display:grid;
  grid-template-columns:1fr 1.4fr 1fr;
  gap:60px;
  align-items:center;
}

/* FEATURE COLUMN OFFSET */
.overview-text.left{
  transform:translateY(-30px);
}

.overview-text.right{
  transform:translateY(30px);
}

/* FEATURE CARD – glass */
.feature.glass{
  background:rgba(255,255,255,.65);
  backdrop-filter:blur(12px);
  padding:26px 28px;
  border-radius:18px;
  margin-bottom:26px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  transition:.45s ease;
}

.feature.glass:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 65px rgba(0,0,0,.14);
}

/* NUMBER BADGE */
.feature .badge{
  display:inline-flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),#004aad);
  color:#fff;
  font-weight:600;
  margin-bottom:12px;
  box-shadow:0 10px 25px rgba(0,47,108,.4);
}

/* ================= AIRCRAFT TABS (PREMIUM) ================= */

.aircraft-tabs{
  display:flex;
  justify-content:center;
  margin:90px 0 70px;
}

.aircraft-tabs-track{
  position:relative;
  display:flex;
  gap:6px;
  padding:8px;
  background:rgba(255,255,255,.6);
  backdrop-filter:blur(14px);
  border-radius:50px;
  box-shadow:
    0 20px 45px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(255,255,255,.6);
}

/* TAB BUTTON */
.aircraft-tab{
  position:relative;
  z-index:2;
  padding:12px 30px;
  border:none;
  background:transparent;
  font-weight:600;
  font-size:.95rem;
  color:#445;
  cursor:pointer;
  border-radius:40px;
  transition:
    color .35s ease,
    transform .35s ease;
}

.aircraft-tab:hover{
  transform:translateY(-1px);
  color:var(--primary);
}

/* ACTIVE */
.aircraft-tab.active{
  color:#fff;
}

/* SLIDING INDICATOR */
.tab-indicator{
  position:absolute;
  top:6px;
  left:6px;
  height:calc(100% - 12px);
  width:110px;
  background:linear-gradient(135deg,var(--primary),#004aad);
  border-radius:40px;
  box-shadow:
    0 12px 28px rgba(0,47,108,.45),
    inset 0 0 0 1px rgba(255,255,255,.25);
  transition:
    transform .45s cubic-bezier(.4,0,.2,1),
    width .45s ease;
  z-index:1;
}

/* ================= SPECIFICATIONS ================= */

.specs{
  background:
    radial-gradient(circle at 50% 20%, rgba(0,47,108,.06), transparent 55%),
    linear-gradient(180deg,#ffffff,#f5f8ff);
  padding:110px 6%;
}

/* GRID */
.spec-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
  margin-top:60px;
}

/* SPEC CARD */
.spec-card{
  position:relative;
  background:rgba(255,255,255,.7);
  backdrop-filter:blur(14px);
  border-radius:22px;
  padding:40px 30px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  transition:.45s ease;
  overflow:hidden;
}

/* Glow ring */
.spec-card::before{
  content:'';
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg,transparent,rgba(0,47,108,.25),transparent);
  opacity:0;
  transition:.5s;
}

.spec-card:hover::before{
  opacity:1;
}

.spec-card:hover{
  transform:translateY(-14px);
  box-shadow:0 35px 75px rgba(0,0,0,.16);
}

/* NUMBER */
.spec-card h3{
  font-size:3.2rem;
  font-weight:700;
  color:var(--primary);
  margin-bottom:10px;
  letter-spacing:1px;
}

/* UNIT TEXT */
.spec-card p{
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:1px;
  opacity:.7;
}

/* ================= ACCORDION ================= */

.spec-accordion{ 
    margin-top:70px; 
    max-width:820px; 
    margin-inline:auto; 
} 

/* BUTTON */ 
.accordion-btn{ 
    width:100%; 
    padding:18px 30px; 
    font-size:1rem; 
    font-weight:600; 
    border:none; 
    border-radius:30px; 
    cursor:pointer; 
    background:linear-gradient(135deg,var(--primary),#004aad); 
    color:#fff; 
    box-shadow:0 18px 45px rgba(0,47,108,.35); 
    transition:.4s; 
    position:relative; 
} 

/* Chevron */ 
.accordion-btn::after{
  content:"";
  position:absolute;
  right:28px;
  width:14px;
  height:14px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
  transition:.45s cubic-bezier(.4,0,.2,1);
}

/* Rotate on open */
.accordion-btn.active::after{
  transform:rotate(-135deg);
}

.accordion-btn:hover{ 
    transform:translateY(-3px); 
} 

/* CONTENT */ 
.accordion-content{ 
    background:rgba(255,255,255,.85); 
    backdrop-filter:blur(14px); 
    border-radius:22px; 
    margin-top:20px; 
    max-height:0; 
    overflow:hidden; 
    transition:max-height .6s ease; 
    box-shadow:0 20px 50px rgba(0,0,0,.08); 
} 

/* LIST */ 
.accordion-content ul{ 
    list-style:none; 
    padding:30px 40px; 
    display:grid; 
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); 
    gap:18px; 
} 

.accordion-content li{
    font-size:.95rem; 
    position:relative; 
    padding-left:24px; 
}

/* Bullet dot */
.accordion-content li::before{
  content:'✦';
  position:absolute;
  left:0;
  color:var(--accent);
}

.spec-card h3{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:6px;
}

.spec-card .unit{
  font-size:.85rem;
  opacity:.6;
  transform:translateY(6px);
  animation:unitFade .9s ease forwards;
}

.aircraft-da40 { --glow: #00c2ff; }
.aircraft-da42 { --glow: #ffb300; }
.aircraft-c172 { --glow: #4caf50; }

@keyframes unitFade{
  from{opacity:0; transform:translateY(12px)}
  to{opacity:.6; transform:translateY(6px)}
}

.specs::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,47,108,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,47,108,.03) 1px, transparent 1px);
  background-size:40px 40px;
  pointer-events:none;
}

/* ================= FEATURE PATH ================= */


#featureSection .section-title{
  text-align:center;
  margin-bottom:70px;
}

.feature-path{
  background:
    radial-gradient(circle at 50% 30%, rgba(0,47,108,.05), transparent 100%),
    linear-gradient(180deg,#ffffff,#f6f9ff);
  padding-top:40px;
  padding-left:0;
  position:relative;
}


.feature-path .section-title{
  text-align:center;
  margin-bottom:60px;
  position:relative;
}

/* Container */
.feature-path{
  position:relative;
  padding-left:60px;
}

/* Vertical line */
.path-line{
  position:absolute;
  left:30px;
  top:20px;          /* NOT 0 */
  bottom:0;
  width:2px;
  background:linear-gradient(
    to bottom,
    transparent,
    var(--primary),
    transparent
  );
  opacity:.35;
  /*margin-left: 60%;*/
}

/*#featureItems{*/
/*    margin-left: 65%;*/
/*}*/

/* === FEATURE LAYOUT === */
.feature-layout{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:80px;
  align-items:flex-start;
    background:
    radial-gradient(circle at 50% 30%, rgba(0,47,108,.05), transparent 60%),
    linear-gradient(180deg,#ffffff,#f6f9ff);
}

/* LEFT TEXT */
.why-left-content{
  margin-left: 35px;
  font-size:1.05rem;
  line-height:1.75;
  color:#444;
}

/* Remove absolute positioning COMPLETELY */
.why-left-content{
  position:static;
}




/* Item */
.path-item{
  display:flex;
  align-items:flex-start;
  gap:26px;
  margin-bottom:56px;
}

/* Dot */
.path-dot{
  width:42px;
  height:42px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),#004aad);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  box-shadow:0 12px 28px rgba(0,47,108,.45);
  flex-shrink:0;
}

/* Content */
.path-content h4{
  color:var(--primary);
  font-size:1.15rem;
  margin-bottom:6px;
}

.path-content p{
  color:#555;
  font-size:.95rem;
  line-height:1.6;
  max-width:520px;
}

/* Hover micro-interaction */
.path-item:hover .path-dot{
  transform:scale(1.1);
}

@media(max-width:900px){
  .why-left-content{
    position:static;
    max-width:100%;
    margin-bottom:50px;
  }
 .feature-layout{
    grid-template-columns:1fr;
    gap:50px;
  }
}


/* Mobile */
@media(max-width:768px){
  .feature-path{
    padding-left:0;
  }

  .path-line{
    left:21px;
  }

  .path-item{
    gap:20px;
  }
}




/* ================= MOBILE ================= */

@media(max-width:768px){
  .spec-card h3{
    font-size:2.6rem;
  }
}


@media(max-width:600px){
  .aircraft-tabs-track{
    width:100%;
    justify-content:space-between;
  }

  .aircraft-tab{
    flex:1;
    text-align:center;
    padding:12px 0;
    font-size:.9rem;
  }
}




/* MOBILE STACK */
@media(max-width:900px){
  .overview-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .overview-text.left,
  .overview-text.right{
    transform:none;
  }

  .cinematic-core img{
    max-width:360px;
  }
}







/* Subtle idle floating (engine vibration feel) */
@keyframes aircraftFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}


@keyframes floatBg{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(40px)}
}

/* ================= MOBILE ================= */
@media(max-width:768px){
  .fleet-hero{height:58vh;}
  .section-title{font-size:2.1rem;}
  section{padding:70px 6%;}
}
