/* ================================
   STARLINE – NAVBAR + HEADER ONLY
   Works with:
   - <nav class="navbar ... stl-navbar">
   - <header id="home" class="hero stl-hero">
   ================================ */

html {
    scroll-behavior: smooth
}

body {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff
}

h1,
h2,
h3,
.display-5,
.display-6 {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: .2px
}


/* Design tokens */
:root {
    --stl-brand: #0F1D4A;
    /* deep navy */
    --stl-accent: #1F62A5;
    /* bright blue */
    --stl-ink: #0B1536;
    --stl-text: #E9EEFC;
    --stl-soft: #ffffff22;
}

/* ================================
   STARLINE – NAVBAR + HERO (UPDATED)
   ================================ */

/* NAVBAR */
.stl-navbar {
    --bs-navbar-padding-y: .75rem;
    background: linear-gradient(180deg, var(--stl-brand), #0b1536);
    color: var(--stl-text);
    backdrop-filter: saturate(120%) blur(6px);
    box-shadow: 0 10px 28px rgba(11, 21, 54, .25);
}

/* Brand */
.stl-navbar .navbar-brand {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .2px;
}

.stl-navbar .navbar-brand:hover {
    opacity: .95;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: rgb(255 255 255);
}

/* Nav Links */

.stl-navbar .nav-link {
    opacity: .88;
    color: #e9eefc;
    position: relative;
    margin-right: 24px;
    font-size: 0.95rem;
    padding: .5rem .9rem;
    text-transform: uppercase;
    transition: all .25s ease;
}

.stl-navbar .nav-link:hover,
.stl-navbar .nav-link.active {
    opacity: 1;
    transform: scale(1.1);
    /* scale effect */
}

/* underline effect */
.stl-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .3rem;
    height: 2px;
    background: linear-gradient(90deg, #66a6ff, var(--stl-accent));
    border-radius: 2px;
    opacity: 0;
    transform: translateY(4px);
    transition: all .25s ease;
}

.stl-navbar .nav-link:hover::after,
.stl-navbar .nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar background */
.stl-navbar {
    min-height: 80px;
    background: linear-gradient(180deg, var(--stl-brand), #0b1536);
    box-shadow: 0 10px 28px rgba(11, 21, 54, .25);
}

.offcanvas.hiding,
.offcanvas.show,
.offcanvas.showing {
    height: 100vh;
    background-color: #0f1d4a;
}

/* Nav links */
.stl-nav-link {
    color: #e9eefc;
    opacity: .85;
    padding: .6rem 1rem;
    position: relative;
    transition: opacity .25s ease;
}

.stl-nav-link:hover,
.stl-nav-link.active {
    opacity: 1;
}

.stl-nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .35rem;
    height: 2px;
    background: linear-gradient(90deg, #66a6ff, var(--stl-accent));
    border-radius: 2px;
    opacity: 0;
    transform: translateY(4px);
    transition: all .25s ease;
}

.stl-nav-link:hover::after,
.stl-nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger icon (default 3 lines) */
.stl-toggler {
    border: none;
    background: none;
    padding: .4rem .5rem;
}

.stl-toggler-icon {
    width: 24px;
    height: 2px;
    background: #fff;
    display: block;
    position: relative;
    transition: all .3s ease;
}

.stl-toggler-icon::before,
.stl-toggler-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 0;
    transition: all .3s ease;
}

.stl-toggler-icon::before {
    top: -7px;
}

.stl-toggler-icon::after {
    top: 7px;
}

/* When toggled → turn into X */
.stl-toggler.active .stl-toggler-icon {
    background: transparent;
}

.stl-toggler.active .stl-toggler-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.stl-toggler.active .stl-toggler-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Offcanvas background */
.stl-offcanvas {
    background: linear-gradient(180deg, transparent, var(transparent));
    color: #fff;
}

.stl-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}


/* HERO WITH VIDEO (you may already have some, so add/overwrite as needed) */
.stl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.stl-hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stl-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,29,74,0.85), rgba(15,29,74,0.5));
  z-index: 2;
}

.stl-hero .container {
  position: relative;
  z-index: 3;
}

.stl-highlight {
  color: #8EB4E2; /* brand secondary */
}

/* Button hover / scale effect */
.stl-btn-hover {
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.stl-btn-hover:hover {
  transform: scale(1.05);
  letter-spacing: 1px;
}

.stl-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.stl-scroll-down .chevron {
  width: 30px;
  height: 30px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  transform-origin: center center;   /* lock rotation pivot */
  display: inline-block;
  animation: bounceY 1.2s infinite;
}

/* Bounce only in Y */
@keyframes bounceY {
  0%, 100% {
    transform: rotate(45deg) translateX(0);
  }
  50% {
    transform: rotate(45deg) translateY(12px);
  }
}

/* ================================
   STARLINE – SERVICES SECTION
   ================================ */

/* Section wrapper */
.stl-services {
  background-color: #f7f7f7;;
  padding: 80px 0px;
  min-height: 100vh;
}

/* Section title */
.stl-services .stl-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  position: relative;
  margin-bottom: 1rem;
}
.stl-services .stl-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 70px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #66a6ff, var(--stl-accent));
}
.stl-services .stl-section-sub {
  color: var(--stl-muted);
  margin-bottom: 2rem;
}

/* Cards */
.stl-card {
  background: #fff;
  border: none;
  border-radius: var(--stl-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 28px rgba(15, 29, 74, .08);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.stl-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 48px rgba(15, 29, 74, .15);
}

/* Card icon */
.stl-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--stl-accent);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  transition: transform .35s ease, background .35s ease;
}
.stl-card:hover .stl-card-icon {
  transform: rotate(8deg) scale(1.1);
  background: var(--stl-accent);
  color: #fff;
}

/* Card title */
.stl-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .5rem;
  transition: transform .35s ease;
}
.stl-card:hover .stl-card-title {
  transform: translateY(-3px);
}

/* Card text */
.stl-card p {
  font-size: .95rem;
  color: var(--stl-muted);
  line-height: 1.6;
  transition: opacity .35s ease;
}
.stl-card:hover p { opacity: 0.95; }

/* Card lists */
.stl-card ul {
  margin-top: .75rem;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: var(--stl-muted);
  transition: opacity .35s ease;
}
.stl-card ul li { margin-bottom: .3rem; }
.stl-card:hover ul { opacity: 0.95; }

/* Service badges */
.stl-service-badge {
  display: inline-block;
  font-size: .78rem;
  background: #eef5ff;
  color: #0b1536;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-weight: 500;
  margin-top: .75rem;
  transition: all .25s ease;
}
.stl-card:hover .stl-service-badge {
  background: var(--stl-accent);
  color: #fff;
}

/* Responsive grid */
@media (max-width: 991.98px) {
  .stl-card { padding: 1.5rem; }
}
@media (max-width: 575.98px) {
  .stl-services .stl-section-title { font-size: 1.6rem; }
}
/* ================================
   STARLINE – ABOUT SECTION
   ================================ */

.stl-about {
  background: #fff;
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Section title */
.stl-about .stl-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}
.stl-about .stl-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 70px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #66a6ff, var(--stl-accent));
}

/* Subtitle / intro text */
.stl-about .stl-section-sub {
  color: var(--stl-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Image block */
.stl-about-img {
  border-radius: var(--stl-radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(15, 29, 74, 0.12);
  transition: transform .5s ease;
}
.stl-about-img img {
  width: 100%;
  height: auto;
  display: block;
}
.stl-about-img:hover {
  transform: scale(1.03);
}

/* Content block */
.stl-about-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stl-muted);
  margin-bottom: 1rem;
}

/* Highlight text */
.stl-highlight {
  color: var(--stl-accent);
  font-weight: 600;
}

/* Button */
.stl-about .stl-btn-brand {
  margin-top: 1rem;
  transition: all .35s ease;
}
.stl-about .stl-btn-brand:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .stl-about {
    text-align: center;
  }
  .stl-about .stl-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .stl-about-img {
    margin-bottom: 2rem;
  }
}

/* ================================
   STARLINE – SERVICES CTA
   ================================ */

/* Wrapper row */
.stl-services-cta {
  margin-top: 4rem;
}

/* Glass effect box */
.stl-glass-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: var(--stl-radius);
  box-shadow: 0 12px 36px rgba(15, 29, 74, 0.15);
  transition: all .35s ease;
}
.stl-glass-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 29, 74, 0.22);
}

/* CTA text */
.stl-cta-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b1536;
}
.stl-cta-sub {
  color: #0b1536;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* CTA button */
.stl-btn-brand {
  background: var(--stl-accent);
  color: #fff;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all .35s ease;
}
.stl-btn-brand:hover {
  background: #0b1536;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

/* Right-side link */
.stl-link-dark {
  color: #0b1536;
  font-weight: 500;
  text-decoration: none;
  transition: color .3s ease;
}
.stl-link-dark:hover {
  color: var(--stl-accent);
}

/* ================================
   STARLINE – PORTFOLIO SLIDER
   ================================ */

/* Portfolio Slider */
.stl-portfolio {
  background: #f9fafc;
  padding: 80px 0;
}

.stl-portfolio-slider {
  width: 100%;
  padding: 20px 40px;
  position: relative;
}

/* Slides as cards */
.stl-portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.stl-portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.stl-portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrows */
.stl-portfolio-prev,
.stl-portfolio-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
  transition: all .3s ease;
}
.stl-portfolio-prev:hover,
.stl-portfolio-next:hover {
  background: var(--stl-accent);
  color: #fff;
}
.stl-portfolio-prev { left: 10px; }
.stl-portfolio-next { right: 10px; }
.stl-portfolio-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.stl-portfolio-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  padding-bottom: 16px;
}

.stl-portfolio-content {
  padding: 1rem;
  text-align: center;
}

.stl-portfolio-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stl-portfolio-text {
  font-size: 0.9rem;
  color: var(--stl-muted);
  margin-bottom: 1rem;
}

.stl-portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Button reuse */
.stl-btn-brand {
  background: var(--stl-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all .3s ease;
}
.stl-btn-brand:hover {
  background: #004aad;
  transform: translateY(-2px);
}

/* ===========================
   STARLINE – PROCESS SECTION
   =========================== */
.stl-process {
  background: #f9f9fb;
  padding: 80px 0;
}

.stl-process-step {
  margin-bottom: 60px;
}

.stl-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.stl-process-step p {
  color: var(--stl-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Images */
.stl-process-step img {
  border-radius: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.stl-process-step img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .stl-process-step {
    text-align: center;
  }
  .stl-process-step img {
    margin-bottom: 20px;
  }
}
